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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • hello everyone! I am wanting to save the files (Ini. - Data - ) of the EP5 Client: Salvation... But they generate the error "corrupt files"... I tried several versions of L2FileEditor without good results. I need help! Thank you!
    • Opening December 6th at 19:00 (GMT +3)! Open Beta Test from November 30th!   https://l2soe.com/   🌟 Introducing L2 Saga of Eternia: A Revolution in Lineage 2 High Five! 🌟   Dear Lineage 2 enthusiasts, Prepare to witness the future of private servers! L2 Saga of Eternia is not just another High Five project—it’s a game-changing experience designed to compete with the giants of the Lineage 2 private server scene. Built for the community, by the community, we’re here to raise the bar in quality, innovation, and longevity. What Sets Us Apart? 💎 No Wipes, Ever Say goodbye to the fear of losing your progress. Our server is built to last and will never close. Stability and consistency are our promises to you. ⚔️ Weekly New Content Our dedicated development team ensures fresh challenges, events, and updates every week. From custom quests to exclusive features, there will always be something exciting to explore. 💰 No Pay-to-Win Skill and strategy matter most here. Enjoy a balanced gameplay environment where your achievements come from effort, not your wallet. 🌍 A Massive Community With 2000+ players expected, join a vibrant and active community of like-minded adventurers ready to conquer the world of Aden. 🏆 Fair and Competitive Gameplay Our systems are designed to promote healthy competition while avoiding abusive mechanics and exploits. 🔧 Professional Development From advanced bug fixes to carefully curated content, we pride ourselves on smooth performance, no lag, and unparalleled server quality. Key Features Chronicle: High Five with unique interface Rate: Dynamic x10 rates Class Balance: Carefully fine-tuned for a fair experience PvP Focused: PvP Ranking & aura display effect for 3 Top PvPers every week Custom Events: Seasonal and permanent events to keep you engaged Additional Features:   Custom Endgame Content: Introduce unique dungeons, raids, or zones unavailable in other servers. Player-Driven Economy: Implement a strong market system and avoid overinflated drops or rewards. Epic Siege Battles: Announce special large-scale sieges and PvP events. Incentives for Streamers and Clans: Attract influencers and big clans to boost server publicity. Roadmap Transparency: Share a public roadmap of planned updates to build trust and excitemen   Here you can read all the features: https://l2soe.com/features   Video preview: Join the Revolution! This is your chance to be part of something legendary. L2 Saga of Eternia is not just a server; it’s a movement to redefine what Lineage 2 can be. Whether you’re a seasoned veteran or a newcomer to the world of Aden, we invite you to experience Lineage 2 at its finest.   Official Launch Date: December 6th 2024 Website: https://l2soe.com/ Facebook: https://www.facebook.com/l2soe Discord: https://discord.com/invite/l2eternia   Let’s build the ultimate Lineage 2 experience together. See you in-game! 🎮
    • That's like a tutorial on how to run l2 on MacOS Xd but good job for the investigation. 
    • small update: dc robe set sold   wts adena 1kk = 1.5$ 
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hood-services https://campsite.bio/utchihaamkt
  • Topics

×
×
  • Create New...