Skip to content

Cloak stats help

Featured Replies

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

You miss the order value, for example <add order="0x10" stat="pDef" val="333" /> 

  • Author

this value must be in cloak?

  • Author

[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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.