Jump to content
  • 0

db error


GhostOfSoul

Question

12 answers to this question

Recommended Posts

  • 0

Some newly? added skill misses some line, most likely skill type or so. As the line is missing its null and boom error. 

Link to comment
Share on other sites

  • 0

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. 

Link to comment
Share on other sites

  • 0

What backup are you talking about. If your backup is crap, nothing will change. If it's l2jserver, take their data.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 0

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));

}

 

Link to comment
Share on other sites

  • 0

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>


 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...