Jump to content
  • 0

Cloak stats help


Question

Posted

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

4 answers to this question

Recommended Posts

  • 0
Posted

[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

  • 0
Posted (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 by SweeTs

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
Answer this question...

×   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.

×
×
  • Create New...