FactorX Posted October 20, 2017 Posted October 20, 2017 Hi all....first of all i want to thanks all developers for help me with good answers. I want to add stats for Cloak of Zaken. Any stats i add in game doesn't have Effect. for exemple i try to add Speed. So this is syntax <add stat="runSpd" val="150" /> Value it`s just exemple. in game i type //reloaditem (no errors in gameserver) and cloak doesn;t have effect for Speed. What is wrong? Thanks Quote
0 SweeTs Posted October 20, 2017 Posted October 20, 2017 You miss the order value, for example <add order="0x10" stat="pDef" val="333" /> Quote
0 FactorX Posted October 20, 2017 Author Posted October 20, 2017 [22:13:12] WARN: Cannot create item 21716 java.lang.NumberFormatException: For input string: "0x10" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at l2r.gameserver.engines.DocumentBase.attachFunc(DocumentBase.java:269) at l2r.gameserver.engines.DocumentBase.parseTemplate(DocumentBase.java:2 56) at l2r.gameserver.engines.items.DocumentItem.parseItem(DocumentItem.java :132) at l2r.gameserver.engines.items.DocumentItem.parseDocument(DocumentItem. java:83) at l2r.gameserver.engines.DocumentBase.parse(DocumentBase.java:175) at l2r.gameserver.engines.DocumentEngine.loadItems(DocumentEngine.java:1 26) at l2r.gameserver.data.xml.impl.ItemData.load(ItemData.java:128) at l2r.gameserver.data.xml.impl.ItemData.reload(ItemData.java:382) at handlers.admincommandhandlers.AdminReload.useAdminCommand(AdminReload .java:201) at l2r.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendB ypassBuildCmd.java:87) at l2r.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameCli entPacket.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) with your command Quote
0 SweeTs Posted October 20, 2017 Posted October 20, 2017 (edited) Dunno your pack, but a tip. Find a retail, original cloak or any other item and check it's structure, see how it works - defined inside the item xml or it's linked to the skill, then do the same - copy & paste for your item. I would say all packs around use the same structure and order value, so that's kinda weird you get an error, what a bloody pack. So, simply check your items folder, the structure :) Edited October 20, 2017 by SweeTs Quote
Question
FactorX
Hi all....first of all i want to thanks all developers for help me with good answers.
I want to add stats for Cloak of Zaken. Any stats i add in game doesn't have Effect.
for exemple i try to add Speed.
So this is syntax
Value it`s just exemple.
in game i type //reloaditem (no errors in gameserver)
and cloak doesn;t have effect for Speed.
What is wrong? Thanks
4 answers to this question
Recommended Posts
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.