Jump to content

Recommended Posts

Posted

90% ok so the Orc this not working the magician and fight are coming with the same items

 

 

public static boolean ENABLE_ORC_FIGHTER_REWARD;
public static boolean ENABLE_ORC_MAGE_REWARD;
[/code/
 
[code]
public static int ORC_M_HELM_ID;
    public static int ORC_M_CHEST_ID;
    public static int ORC_M_LEGS_ID;
    public static int ORC_M_BOOTS_ID;
    public static int ORC_M_GLOVES_ID;
    public static int ORC_M_WEAPON_ID;
    public static int ORC_F_HELM_ID;
    public static int ORC_F_CHEST_ID;
    public static int ORC_F_LEGS_ID;
    public static int ORC_F_BOOTS_ID;
    public static int ORC_F_GLOVES_ID;
    public static int ORC_F_WEAPON_ID;
[/code]
 
[code]
ENABLE_ORC_FIGHTER_REWARD = Boolean.parseBoolean(L2JWZModSettings.getProperty("EnableOrcFighterReward", "True"));
ENABLE_ORC_MAGE_REWARD = Boolean.parseBoolean(L2JWZModSettings.getProperty("EnableOrcMageReward", "True"));
[/code]
 
[code]
ORC_M_HELM_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcMageHelmID", ""));
            ORC_M_CHEST_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcMageChestID", ""));
            ORC_M_LEGS_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcMageLegsID", ""));
            ORC_M_BOOTS_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcMageBootsID", ""));
            ORC_M_GLOVES_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcMageGlovesID", ""));
            ORC_M_WEAPON_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcMageWeaponID", ""));
            ORC_F_HELM_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcFighterHelmID", ""));
            ORC_F_CHEST_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcFighterChestID", ""));
            ORC_F_LEGS_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcFighterLegsID", ""));
            ORC_F_BOOTS_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcFighterBootsID", ""));
            ORC_F_GLOVES_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcFighterGlovesID", ""));
            ORC_F_WEAPON_ID = Integer.parseInt(L2JWZModSettings.getProperty("OrcFighterWeaponID", ""));
[/code]
 
[code]
if (Config.ENABLE_ORC_FIGHTER_REWARD)
                {
                        if (newChar.getRace() == Race.Orc && !newChar.isMageClass())
                       {
                               final L2ItemInstance Helm = newChar.getInventory().addItem("Init", Config.ORC_F_HELM_ID, 1, newChar, null);

                               final L2ItemInstance Chest = newChar.getInventory().addItem("Init", Config.ORC_F_CHEST_ID, 1, newChar, null);

                               final L2ItemInstance Legs = newChar.getInventory().addItem("Init", Config.ORC_F_LEGS_ID, 1, newChar, null);

                               final L2ItemInstance Boots = newChar.getInventory().addItem("Init", Config.ORC_F_BOOTS_ID, 1, newChar, null);

                               final L2ItemInstance Gloves = newChar.getInventory().addItem("Init", Config.ORC_F_GLOVES_ID, 1, newChar, null);

                               final L2ItemInstance Weap = newChar.getInventory().addItem("Init", Config.ORC_F_WEAPON_ID, 1, newChar, null);
                       }
               }
               
        if (Config.ENABLE_ORC_MAGE_REWARD)
               {
                       if (newChar.getRace() == Race.Orc && newChar.isMageClass())
                       {
                               final L2ItemInstance Helm = newChar.getInventory().addItem("Init", Config.ORC_M_HELM_ID, 1, newChar, null);

                               final L2ItemInstance Chest = newChar.getInventory().addItem("Init", Config.ORC_M_CHEST_ID, 1, newChar, null);

                               final L2ItemInstance Legs = newChar.getInventory().addItem("Init", Config.ORC_M_LEGS_ID, 1, newChar, null);

                               final L2ItemInstance Boots = newChar.getInventory().addItem("Init", Config.ORC_M_BOOTS_ID, 1, newChar, null);

                               final L2ItemInstance Gloves = newChar.getInventory().addItem("Init", Config.ORC_M_GLOVES_ID, 1, newChar, null);

                               final L2ItemInstance Weap = newChar.getInventory().addItem("Init", Config.ORC_M_WEAPON_ID, 1, newChar, null);
                       }
                }         
[/code]
 
[code]
# New players Starting Items ( Orc )
# Orc Fighter
# Default: False
EnableOrcFighterReward = True
OrcFighterHelmID = 43
OrcFighterChestID = 23
OrcFighterLegsID = 2386
OrcFighterBootsID = 39
OrcFighterGlovesID = 49
OrcFighterWeaponID = 2
# Orc Mage
# Default: False
EnableOrcMageReward = False
OrcMageHelmID = 43
OrcMageChestID = 1101
OrcMageLegsID = 1104
OrcMageBootsID = 39
OrcMageGlovesID = 49
OrcMageWeaponID = 6

 

even the Orc mage being false, he is coming with the items Fighter

  • 2 weeks later...
Posted (edited)

as SweeTs said, on aCis, equiping works perfectly, if you want to add custom starting items, you just have to go in classes .xml in every class (darkfighter, humanfighter etc) and change this line on the first class of the xml which is the parent class of the race (Human Fighter,DE Fighter, Elf Fighter, DE Mage):

 

<items val="X;Y;Z;A;B" />

 

but be aware that you have to put the weapon as the last equiping item on the list cause if you put it first it will equip only this and will ignore the rest, and if you put it 3rd f.e. the 4th,5th etc item wont be equiped.

 

So lets say you want to put:

Chest = 395 (Manticore Skin Shirt)

Legs = 417 (Manticore Skin Gaiters)

Gloves = 2448 (Manticore Skin Gloves)

Boots = 2424 (Manticore Skin Boots)

Helm = 2412 (Plate Helmet)

Rings = 882 (Mithril Ring)

Earings = 851 (Omen Beast's Earring)

Neck = 914 (Necklace of Darkness)

WeaponEquipped = 2499 (Elven Long Sword)

AltWeapon = 225 (Mithril Dagger)

 

 

You have to make the list like this:

 

<items val="395;417;2424;2448;2412;914;851;851;882;882;225;2499" />

 

so its like: ArmorPiece1;..;ArmorPieceN;Jewel1;...;Jewel5;AltWep;EquippedWep

 

Be carefull you put first the AltWepons which you want to be on inventory and LAST the equipped one, the one you want the new Char to hold on his hands. Also after the red (the Equipping Weapon) you can add other non equipping items w/e you want, for example a custom item like an extractable chest or w/e you DONT WANT to be equipped (except if its weapon type you have to put before equipped weapon as I said)!

 

 

All these is about aCis starting char items and how you can set them properly...

 

Now about the code of the maker, as someone said, you can make configs only for Fighter and Mage armor (instead of ElfMageHelm etc) you can make it something like this:

 

MageStartingArmor= X,Y,Z,...,N

FighterStartingArmor = A,B,...,N

 

and after you can make for weapons:

FighterWeps = X,Y (some standard weps used by all races)

MageWeps = (Here I suppose one kind of weap can fit all mage races)

 

And finally you can add some fighter weapon configs for special races like dwarf (add blunt) orc (add fists) etc...

 

So that way you have way less configs and you make it also the same way you made it in you first version... If I was in your place I would use aCis way for this, its simpler, easier and flexible for configure different equipment for every class...

 

Sorry for long post, I just wanted to help!

Edited by DaFFyNaSH
  • 1 year later...
Posted

 

Custom Race Starting Items v1

 

 

# New players Starting Items ( Human )
# Default: False
EnableHumanReward = False
# Human Fighter
HumanFighterHelmID = 
HumanFighterChestID = 
HumanFighterLegsID = 
HumanFighterBootsID = 
HumanFighterGlovesID = 
HumanFighterWeaponID = 
# Human Mage
HumanMageHelmID = 
HumanMageChestID = 
HumanMageLegsID = 
HumanMageBootsID = 
HumanMageGlovesID = 
HumanMageWeaponID = 

# New players Starting Items ( Elf )
# Default: False
EnableElfReward = False
# Elf Fighter
ElfFighterHelmID = 
ElfFighterChestID = 
ElfFighterLegsID = 
ElfFighterBootsID = 
ElfFighterGlovesID = 
ElfFighterWeaponID = 
# Elf Mage
ElfMageHelmID = 
ElfMageChestID = 
ElfMageLegsID = 
ElfMageBootsID = 
ElfMageGlovesID = 
ElfMageWeaponID = 

# New players Starting Items ( DarkElf )
# Default: False
EnableDEReward = False
# DarkElf Fighter
DEFighterHelmID = 
DEFighterChestID = 
DEFighterLegsID = 
DEFighterBootsID = 
DEFighterGlovesID = 
DEFighterWeaponID = 
# DarkElf Mage
DEMageHelmID = 
DEMageChestID = 
DEMageLegsID = 
DEMageBootsID = 
DEMageGlovesID = 
DEMageWeaponID = 

# New players Starting Items ( Orc )
# Default: False
EnableOrcReward = False
# Orc Fighter
OrcFighterHelmID = 
OrcFighterChestID = 
OrcFighterLegsID = 
OrcFighterBootsID = 
OrcFighterGlovesID = 
OrcFighterWeaponID =
# Orc Mage
OrcMageHelmID = 
OrcMageChestID = 
OrcMageLegsID = 
OrcMageBootsID = 
OrcMageGlovesID = 
OrcMageWeaponID = 

# New players Starting Items ( Dwarf )
# Default: False
EnableDwarfReward = False
# Dwarf Fighter
DwarfFighterHelmID = 
DwarfFighterChestID = 
DwarfFighterLegsID = 
DwarfFighterBootsID = 
DwarfFighterGlovesID = 
DwarfFighterWeaponID = 

http://pastebin.com/ywGtFmGY

 

 

Credits : (Me) iSparky

 

Edit: Ignore this :P

 

 

@@ -233,8 +498,7 @@
               
                // Shortcuts
                newChar.registerShortCut(new L2ShortCut(0, 0, 3, 2, -1, 1)); // Attack
-               newChar.registerShortCut(new L2ShortCut(3, 0, 3, 5, -1, 1)); // Take
-               newChar.registerShortCut(new L2ShortCut(10, 0, 3, 0, -1, 1)); // Sit
+               newChar.registerShortCut(new L2ShortCut(1, 0, 3, 5, -1, 1)); // Take
               
                final ItemTable itemTable = ItemTable.getInstance();
                final L2Item[] items = template.getItems();

 

have code for acis 364 and 365?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • ⚡ PRIVATE L2 SOURCE CODE & CONTRACT BUILDS Essence / Classic / High Five / Main GOD Private enterprise-level Lineage 2 development for serious projects ENGLISH For many years our studio was known mostly for public Lineage 2 builds and public development services. However, for many years now our main focus has been private development for serious projects and investors. Over time we moved away from mass-market development and focused on quality, stability, deep detailing and long-term project support. This approach allowed us to create products of a completely different level designed for large live-projects and long-term operation. Today, in addition to our old public builds, we also offer private enterprise-level solutions developed by a full professional team with many years of Lineage 2 experience. We work only with serious teams, investors and projects that understand the value of quality private development. ◆ L2 Essence — Private Builds & Source Code Latest protocols: 557–559+ Available only on a long-term contract basis. Includes: • 100% official content implementation • Custom interface systems • Active protocol updates while the contract is active • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 10,000 USD Monthly contract: 3,000 USD / month Older Essence source code available for direct purchase: • Protocols 507–520 — 10,000 USD • Protocols 474–502 — 7,000 USD • Protocols 447–464 Seven Signs — 5,000 USD • Protocol 388 Crusade — 2,500 USD Full details: https://mmore.dev/en/essense2.html ◆ L2 Classic — Private Builds & Source Code Latest protocols: 557–559+ Available only on a long-term contract basis. Includes: • 100% official content implementation • Custom interface systems • Active protocol updates while the contract is active • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 10,000 USD Monthly contract: 3,000 USD / month Classic source code available for direct purchase: • Classic 542 protocol — 15,000 USD • Classic 520 protocol — 12,000 USD • Classic 507 protocol — 10,000 USD • Classic 286 protocol — 8,000 USD Negotiable. Contract support is available. Full details: https://mmore.dev/en/classic2.html ◆ High Five — Private Build Private High Five build with years of live-server experience. Includes: • 100% official content • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 3,000 USD Monthly contract: 3,000 USD / month Full details: https://mmore.dev/en/hf2.html ◆ Main / GOD — In Development Development of the Main / GOD branch, protocol 559+, has started. Pre-orders and sponsorship discussions are open. We accept only a limited number of projects from different regions with maximum regional exclusivity for each partner. IMPORTANT The latest Essence and Classic protocols are available only through long-term private contracts. Direct source code sales are available only for older protocols. If you need the newest protocols, active development, updates and support — contract work is the correct option. РУССКИЙ Ранее наша студия в основном занималась публичными сборками Lineage 2 и массовыми услугами разработки. Однако уже много лет основное направление нашей работы — приватная разработка для серьёзных проектов и инвесторов. Со временем мы ушли от работы на массовость и сосредоточились на качестве, стабильности, глубокой детализации и долгосрочном развитии проектов. Именно такой подход позволил нам создать продукты совершенно другого уровня, рассчитанные на крупные live-проекты и долгосрочную эксплуатацию. Сегодня помимо наших старых публичных сборок мы также предлагаем приватные enterprise-level решения, над которыми работает полноценная команда профессиональных разработчиков с многолетним опытом работы в сфере Lineage 2. Мы работаем только с серьёзными командами, инвесторами и проектами, которые понимают ценность качественной приватной разработки. ◆ L2 Essence — приватные сборки и исходники Актуальные протоколы: 557–559+ Доступны только на контрактной основе. Входит: • 100% реализация официального контента • Кастомные интерфейсные системы • Обновления протоколов на время действия контракта • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 10,000 USD Ежемесячно: 3,000 USD / месяц Старые протоколы Essence для прямой покупки исходников: • Протоколы 507–520 — 10,000 USD • Протоколы 474–502 — 7,000 USD • Протоколы 447–464 Seven Signs — 5,000 USD • Протокол 388 Crusade — 2,500 USD Подробнее: https://mmore.dev/essense2.html ◆ L2 Classic — приватные сборки и исходники Актуальные протоколы: 557–559+ Доступны только на контрактной основе. Входит: • 100% реализация официального контента • Кастомные интерфейсные системы • Обновления протоколов на время действия контракта • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 10,000 USD Ежемесячно: 3,000 USD / месяц Исходники Classic для прямой покупки: • Classic 542 protocol — 15,000 USD • Classic 520 protocol — 12,000 USD • Classic 507 protocol — 10,000 USD • Classic 286 protocol — 8,000 USD Торг возможен. Контрактная поддержка доступна. Подробнее: https://mmore.dev/classic2.html ◆ High Five — приватная сборка Приватная High Five сборка с многолетним опытом работы на живых проектах. Входит: • 100% официальный контент • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 3,000 USD Ежемесячно: 3,000 USD / месяц Подробнее: https://mmore.dev/hf2.html ◆ Main / GOD — в разработке Мы начали разработку ветки Main / GOD, протокол 559+. Открыты предварительные обсуждения, предзаказы и спонсорские контракты. Принимается ограниченное количество проектов из разных регионов мира с максимальной региональной эксклюзивностью для каждого партнёра. ВАЖНО Самые актуальные протоколы Essence и Classic доступны только на долгосрочном контракте. Прямая продажа исходного кода доступна только для более старых протоколов. Если вам нужны самые свежие версии, развитие, обновления и поддержка — выбирайте контрактную работу с нашей командой. CONTACTS / КОНТАКТЫ Telegram:  @L2scripts Microsoft Teams:   l2-scripts.com@outlook.com      Old Skype account: Urchika E-mail:    L2scripts.com@gmail.com IMPORTANT All discussions, project details, examples, testing access, source code demonstrations, technical discussions and cooperation terms are discussed strictly in Telegram only. We do not discuss private development publicly on the forum. Telegram is the main and preferred communication platform for all serious inquiries. ВАЖНО Все обсуждения, детали проектов, примеры, предоставление тестирования, демонстрации исходников, технические вопросы и условия сотрудничества обсуждаются строго только в Telegram. Публично на форуме приватная разработка не обсуждается. Telegram — основная и приоритетная платформа для связи по всем серьёзным вопросам. All questions are discussable. We work for the best Lineage 2 projects in the world.
    • cRazy??? If i just say good job its not even fair....
    • τι εκανες εκει παλι ρε τρελάρα; 🤣   welcome back mate, happy seeing you online again, well thats beyond l2 needs for sure and It’s rare to see anyone pushing Interlude this far technically anymore without trying to monetize it. definitely interested in seeing the source whenever you're ready to share it! keep it up!
    • your only choice brother cmon https://www.l2jsunrise.com/
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..