Gameserver Error

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Gameserver Error

Post 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
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Gameserver Error

Post 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.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

Post 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?
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

Post by znick55 »

bump
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post by _DS_ »

Bump what ? Update server properly, default npc.sql does not have such problems.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

Post 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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post 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),
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

Post 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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post by _DS_ »

Then why you asking for help ? npc table is not loaded. Remove customs from npc.sql and import again.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

Post 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?
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post by _DS_ »

Added/edited by you.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

Post by znick55 »

_DS_ wrote:Added/edited by you.
I havnt edited any of them, i have the defailt one from the download.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post by _DS_ »

Default table does not have such problems.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

Post 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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post by _DS_ »

Get it from svn or nightlies.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Post Reply