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

    • Hello Everyone  I hope you missed Old nostalgia BNB , is time to come back and be ready for the new journey  L2 BnB C3 Website: https://l2bnb.eu/ Discord: https://discord.gg/jaCJKYXgYZ Max Level 75 Max Grade (A) Safe:3 , Max:16 Anti-Botting. Auto learning skills , Auto Loot , Auto Create Account Subclass (NO) quest. Retail Buffs/DS Time ,Need Buffer Char (NO NPC Buffer) OfflineShop,OfflineCraft,ChangePass No GM Shop,No Global Gk,No Donate,Free Teleport only LVL 1 commands: .offline , .changepassword 99+% Retail 1+1 Window Per Pc BASIC FEATURES: Exp/SP: x 3 Adena: x3 Drop: х3 Spoil: x3 Support 24/7 GLOBAL COMMUNITY
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock