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

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


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