GhostOfSoul Posted September 15, 2018 Posted September 15, 2018 (edited) http://prntscr.com/kuqlz6 someone can help ? Edited September 15, 2018 by GhostOfSoul
0 SweeTs Posted September 16, 2018 Posted September 16, 2018 Compare it with another shield xml, you should be able to notice difference, what's missing.
0 SweeTs Posted September 15, 2018 Posted September 15, 2018 Some newly? added skill misses some line, most likely skill type or so. As the line is missing its null and boom error.
0 GhostOfSoul Posted September 15, 2018 Author Posted September 15, 2018 and how can i fix it? i searched for the error with the ids but everything is correct :S also restored last back up from eclipse still the same error
0 SweeTs Posted September 15, 2018 Posted September 15, 2018 It's skill xml, replace them with default ones. If you added custom skills, check em. You can even load only few files, working fine, add more files until you find broken file. Eventually check log folder, you may have there the file name that generates error.
0 GhostOfSoul Posted September 15, 2018 Author Posted September 15, 2018 replaced still the same error ( i didnt add custom skills) :S
0 Reborn12 Posted September 15, 2018 Posted September 15, 2018 Cause the error comes from items..any item you have added check the types
0 GhostOfSoul Posted September 15, 2018 Author Posted September 15, 2018 i have tryed everything also restore to default from backup same error ....
0 SweeTs Posted September 15, 2018 Posted September 15, 2018 What backup are you talking about. If your backup is crap, nothing will change. If it's l2jserver, take their data.
0 SweeTs Posted September 15, 2018 Posted September 15, 2018 2 hours ago, Reborn12 said: Cause the error comes from items..any item you have added check the types At first I tho the same, but check the gs log before error, items were loaded successfully. Again, check log folder the error file, there might be file name which causes the issue.
0 melron Posted September 15, 2018 Posted September 15, 2018 Find the item that is broken and fix it.. else if (_currentItem.type instanceof L2WeaponType) { _currentItem.item = new L2Weapon((L2WeaponType) _currentItem.type, _currentItem.set); } else if (_currentItem.type instanceof L2EtcItemType) { _currentItem.item = new L2EtcItem((L2EtcItemType) _currentItem.type, _currentItem.set); } else - throw new Error("Unknown item type " + _currentItem.type); + throw new Error(String.format("Unknown item type [%s] for Item [%s] - [%s]", _currentItem.type,_currentItem.name , _currentItem.id)); }
0 GhostOfSoul Posted September 16, 2018 Author Posted September 16, 2018 i found the problem but i cant fix it gs error is from dusk shields when i delete it from xml game is running fine... maybe there is a syntax error ? thanks guys for your help! :) <item id='11126' name="Dusk Shied"> <for> <sub val='8' order='0x10' stat='rEvas'/> <set val='300' order='0x08' stat='sDef'/> <set val='50' order='0x08' stat='rShld'/> <enchant val='0' order='0x0C' stat='sDef'/> </for> </item> <item id='11127' name="Shield of Reflection"> <for> <sub val='8' order='0x10' stat='rEvas'/> <set val='276' order='0x08' stat='sDef'/> <set val='20' order='0x08' stat='rShld'/> <enchant val='0' order='0x0C' stat='sDef'/> <add order="0x40" stat="reflectSkillPhysic" val="50"/> <add order="0x40" stat="reflectSkillMagic" val="50"/> </for> </item> <item id='11128' name="Shield of Evasion"> <for> <add val='15' order='0x40' stat='runSpd'/> <set val='276' order='0x08' stat='sDef'/> <set val='20' order='0x08' stat='rShld'/> <enchant val='0' order='0x0C' stat='sDef'/> </for> </item>
0 GhostOfSoul Posted September 16, 2018 Author Posted September 16, 2018 fixed close... thanks guys :)
Question
GhostOfSoul
http://prntscr.com/kuqlz6
someone can help ?
Edited by GhostOfSoul12 answers to this question
Recommended Posts