first tell what server patch you use .. and try to download Ezeral with his team server patch !
there are fixed all !
This is a discussion on weapon XML error within the Old L2J Index Archive forums, part of the L2J Archives category; Hi, I have a problem adding new weapons but I don't know how to solve it. I have a 9000-9099.xml ...
Hi,
I have a problem adding new weapons but I don't know how to solve it.
I have a 9000-9099.xml file with a weapon with ID 9000 and L2J works fine, but if I add a new weapon the L2J shows up this error:
The 9001 weapon code is the same as 9000 weapon code.Code:Cleaned 0 elements from database. IDFactory: 102912 id's avaliable. data error on item: java.lang.NullPointerException at net.sf.l2j.gameserver.ItemTable.readWeapon(ItemTable.java:290) at net.sf.l2j.gameserver.ItemTable.<init>(ItemTable.java:224) at net.sf.l2j.gameserver.ItemTable.getInstance(ItemTable.java:177) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:246) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:555) ItemTable: Loaded 905 Armors. ItemTable: Loaded 6646 Items. SkillTreeTable: Loaded 35188 skills. FishingSkillTreeTable: Loaded 109 general skills. FishingSkillTreeTable: Loaded 8 dwarven skills. EnchantSkillTreeTable: Loaded 13200 enchant skills. PledgeSkillTreeTable: Loaded 64 pledge skills SkillsEngine: Loaded 14573 Skill templates from XML files. Error in file D:\Servers\L2j_C5_470\gameserver\data\stats\weapon\9000-9099.xml java.lang.NullPointerException at net.sf.l2j.gameserver.skills.DocumentItem.parseItem(DocumentItem.java:119) at net.sf.l2j.gameserver.skills.DocumentItem.parseDocument(DocumentItem.java:97) at net.sf.l2j.gameserver.skills.DocumentBase.parse(DocumentBase.java:85) at net.sf.l2j.gameserver.skills.SkillsEngine.loadData(SkillsEngine.java:159) at net.sf.l2j.gameserver.skills.SkillsEngine.loadWeapons(SkillsEngine.java:129) at net.sf.l2j.gameserver.ItemTable.<init>(ItemTable.java:248) at net.sf.l2j.gameserver.ItemTable.getInstance(ItemTable.java:177) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:246) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:555)
Could you help me?
first tell what server patch you use .. and try to download Ezeral with his team server patch !
there are fixed all !
Just look around ! Testing everything !
hmm.. sorry. I use L2j 470 and DataPack 2546, updated 2 days ago. I don't use custom packs, except my 9000-9099.xml
I have already downloaded the Ezeral L2j but if I add a new weapon in 9000-9099.xml the L2J shows up the error.
The XML is this:
9000 works fine, 9001 shows the error. The weapons has SQL info in database.Code:<?xml version='1.0' encoding='utf-8'?> <list> <item id='9000' name="duales_zariche"> <for> <set val='300' order='0x08' stat='pAtk'/> <set val='200' order='0x08' stat='mAtk'/> <set val='8' order='0x08' stat='rCrit'/> <add val='0' order='0x10' stat='accCombat'/> <set val='600' order='0x08' stat='pAtkSpd'/> <enchant val='0' order='0x0C' stat='pAtk'/> <enchant val='0' order='0x0C' stat='mAtk'/> </for> </item> <item id='9001' name="infinity_dragon_slayer"> <for> <set val='390' order='0x08' stat='pAtk'/> <set val='175' order='0x08' stat='mAtk'/> <set val='8' order='0x08' stat='rCrit'/> <add val='0' order='0x10' stat='accCombat'/> <set val='325' order='0x08' stat='pAtkSpd'/> <enchant val='0' order='0x0C' stat='pAtk'/> <enchant val='0' order='0x0C' stat='mAtk'/> </for> </item> </list>