Page 1 of 3

Gameserver Error

Posted: Thu Dec 16, 2010 12:36 am
by znick55
When I run the gameserver I get this error over and over again

Code: Select all

NPC 35372 class not foundjava.lang.reflect.InvocationTargetException        at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source)         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)        at java.lang.reflect.Constructor.newInstance(Unknown Source)        at com.l2jserver.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:479)        at com.l2jserver.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:435)        at com.l2jserver.gameserver.model.L2Spawn.init(L2Spawn.java:394)        at com.l2jserver.gameserver.datatables.SpawnTable.fillSpawnTable(SpawnTable.java:120)        at com.l2jserver.gameserver.datatables.SpawnTable.<init>(SpawnTable.java:58)        at com.l2jserver.gameserver.datatables.SpawnTable.<init>(SpawnTable.java:40)        at com.l2jserver.gameserver.datatables.SpawnTable$SingletonHolder.<clinit>(SpawnTable.java:405)        at com.l2jserver.gameserver.datatables.SpawnTable.getInstance(SpawnTable.java:52)        at com.l2jserver.gameserver.model.entity.Fort.initNpcs(Fort.java:1276)        at com.l2jserver.gameserver.model.entity.Fort.<init>(Fort.java:260)        at com.l2jserver.gameserver.instancemanager.FortManager.loadInstances(FortManager.java:177)        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:275)        at com.l2jserver.gameserver.GameServer.main(GameServer.java:506)Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.l2jserver.gameserver.skills.BaseStats        at com.l2jserver.gameserver.skills.Formulas$FuncMaxHpMul.calc(Formulas.java:747)        at com.l2jserver.gameserver.skills.Calculator.calc(Calculator.java:177)        at com.l2jserver.gameserver.model.actor.stat.CharStat.calcStat(CharStat.java:101)        at com.l2jserver.gameserver.model.actor.stat.CharStat.getMaxVisibleHp(CharStat.java:276)        at com.l2jserver.gameserver.model.actor.L2Character.getMaxVisibleHp(L2Character.java:6816)        at com.l2jserver.gameserver.model.actor.L2Character.initCharStatusUpdateValues(L2Character.java:428)        at com.l2jserver.gameserver.model.actor.L2Npc.<init>(L2Npc.java:538)        at com.l2jserver.gameserver.model.actor.L2Attackable.<init>(L2Attackable.java:328)        at com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance.<init>(L2MonsterInstance.java:64)        ... 16 more
any help appreciated, thanks

Re: Gameserver Error

Posted: Thu Dec 16, 2010 8:09 am
by janiii
check your npc table and the column class of the npc with id 35372 . check that the class of the npc is correctly written and exists in core.

Re: Gameserver Error

Posted: Thu Dec 16, 2010 10:40 pm
by znick55
janiii wrote:check your npc table and the column class of the npc with id 35372 . check that the class of the npc is correctly written and exists in core.
The highest npc id in the npc table is 14567 though

edit: found npc 35372 and the class is LineageMonster.ol_mahum, where is that?

Re: Gameserver Error

Posted: Fri Dec 17, 2010 9:37 pm
by znick55
bump

Re: Gameserver Error

Posted: Fri Dec 17, 2010 10:07 pm
by _DS_
Bump what ? Update server properly, default npc.sql does not have such problems.

Re: Gameserver Error

Posted: Fri Dec 17, 2010 10:44 pm
by znick55
_DS_ wrote:Bump what ? Update server properly, default npc.sql does not have such problems.
I have the default npc.sql, its the exact same one that came with the nightly download

Re: Gameserver Error

Posted: Fri Dec 17, 2010 11:29 pm
by _DS_
(35372,35372,'Partisan Soldier',0,'',0,'LineageMonster.ol_mahum','13.50','25.00',68,'male','L2Monster',40,'1184.00000','556.00000','7.50000','2.70000',40,43,30,21,20,20,2312,1,'1006.00000','450.00000','693.00000','299.00000',230,4,0,333,2,0,0,50,110,1,1,0,1),

Re: Gameserver Error

Posted: Sat Dec 18, 2010 12:19 am
by znick55
_DS_ wrote:(35372,35372,'Partisan Soldier',0,'',0,'LineageMonster.ol_mahum','13.50','25.00',68,'male','L2Monster',40,'1184.00000','556.00000','7.50000','2.70000',40,43,30,21,20,20,2312,1,'1006.00000','450.00000','693.00000','299.00000',230,4,0,333,2,0,0,50,110,1,1,0,1),
Thats what is in there already

Re: Gameserver Error

Posted: Sat Dec 18, 2010 7:59 am
by _DS_
Then why you asking for help ? npc table is not loaded. Remove customs from npc.sql and import again.

Re: Gameserver Error

Posted: Sat Dec 18, 2010 6:02 pm
by znick55
_DS_ wrote:Then why you asking for help ? npc table is not loaded. Remove customs from npc.sql and import again.
Loading custom npc tables is already false, and what do you mean by remove customs from npc.sql, how do I know which ones are custom?

Re: Gameserver Error

Posted: Sat Dec 18, 2010 7:26 pm
by _DS_
Added/edited by you.

Re: Gameserver Error

Posted: Sat Dec 18, 2010 7:32 pm
by znick55
_DS_ wrote:Added/edited by you.
I havnt edited any of them, i have the defailt one from the download.

Re: Gameserver Error

Posted: Sat Dec 18, 2010 10:40 pm
by _DS_
Default table does not have such problems.

Re: Gameserver Error

Posted: Sat Dec 18, 2010 11:19 pm
by znick55
_DS_ wrote:Default table does not have such problems.
Could you provide me with the default one then? I thought I had it

Re: Gameserver Error

Posted: Sat Dec 18, 2010 11:52 pm
by _DS_
Get it from svn or nightlies.