... Ive redownloaded the nightlies 3 times and used the npc.sql from them and I still get this error and I even tried svn_DS_ wrote:Get it from svn or nightlies.
Gameserver Error
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am
Re: Gameserver Error
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Gameserver Error
Open npc table and check type of this npc.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am
Re: Gameserver Error
(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),_DS_ wrote:Open npc table and check type of this npc.
It says the type is L2Monster
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Gameserver Error
Not file, table in sql.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am
Re: Gameserver Error
_DS_ wrote:Not file, table in sql.

It is still L2Monster
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Gameserver Error
Then problem with core, class L2MonsterInstance
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- momo61
- Posts: 1648
- Joined: Fri Jun 06, 2008 2:05 pm
- Location: Europe
Re: Gameserver Error
just delete the npc o.o?
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am
Re: Gameserver Error
Ill look but I havnt edited anything idk why there would be a problem with it_DS_ wrote:Then problem with core, class L2MonsterInstance
L2MonsterInstance, I dont see anything wrong with it :/
Code: Select all
package com.l2jserver.gameserver.model.actor.instance; import com.l2jserver.gameserver.ThreadPoolManager;import com.l2jserver.gameserver.model.L2Object.InstanceType;import com.l2jserver.gameserver.model.actor.L2Attackable;import com.l2jserver.gameserver.model.actor.L2Character;import com.l2jserver.gameserver.model.actor.knownlist.MonsterKnownList;import com.l2jserver.gameserver.templates.chars.L2NpcTemplate;import com.l2jserver.gameserver.util.MinionList;import com.l2jserver.util.Rnd;import java.util.concurrent.ScheduledFuture; public class L2MonsterInstance extends L2Attackable{ private boolean _enableMinions = true; private L2MonsterInstance _master = null; private MinionList _minionList = null; protected ScheduledFuture<?> _maintenanceTask = null; private static final int MONSTER_MAINTENANCE_INTERVAL = 1000; public L2MonsterInstance(int objectId, L2NpcTemplate template) { super(objectId, template); setInstanceType(L2Object.InstanceType.L2MonsterInstance); setAutoAttackable(true); } public final MonsterKnownList getKnownList() { return ((MonsterKnownList)super.getKnownList()); } public void initKnownList() { setKnownList(new MonsterKnownList(this)); } public boolean isAutoAttackable(L2Character attacker) { return ((super.isAutoAttackable(attacker)) && (!(this.isEventMob))); } public boolean isAggressive() { return ((getTemplate().aggroRange > 0) && (!(this.isEventMob))); } public void onSpawn() { if (getLeader() != null) { setIsNoRndWalk(true); setIsRaidMinion(getLeader().isRaid()); getLeader().getMinionList().onMinionSpawn(this); } if (hasMinions()) { getMinionList().onMasterSpawn(); } startMaintenanceTask(); super.onSpawn(); } protected int getMaintenanceInterval() { return 1000; } protected void startMaintenanceTask() { if (getTemplate().getMinionData() == null) { return; } this._maintenanceTask = ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() { public void run() { if (L2MonsterInstance.this._enableMinions) L2MonsterInstance.this.getMinionList().spawnMinions(); } } , getMaintenanceInterval() + Rnd.get(1000)); } public boolean doDie(L2Character killer) { if (!(super.doDie(killer))) { return false; } if (this._maintenanceTask != null) { this._maintenanceTask.cancel(false); } return true; } public void deleteMe() { if (this._maintenanceTask != null) { this._maintenanceTask.cancel(false); } if (hasMinions()) { getMinionList().onMasterDie(true); } if (getLeader() != null) { getLeader().getMinionList().onMinionDie(this, 0); } super.deleteMe(); } public L2MonsterInstance getLeader() { return this._master; } public void setLeader(L2MonsterInstance leader) { this._master = leader; } public void enableMinions(boolean b) { this._enableMinions = b; } public boolean hasMinions() { return (this._minionList != null); } public MinionList getMinionList() { if (this._minionList == null) { this._minionList = new MinionList(this); } return this._minionList; }}
Tried it already, it just gives me more errors with different npcsmomo61 wrote:just delete the npc o.o?
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Gameserver Error
No errors during compile ?
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am
Re: Gameserver Error
Nope_DS_ wrote:No errors during compile ?
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Gameserver Error
Then i cant help, try clean core.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am
Re: Gameserver Error
:/ I already tried that_DS_ wrote:Then i cant help, try clean core.
-
- Posts: 1160
- Joined: Thu Aug 30, 2007 5:17 pm
Re: Gameserver Error
Was it a new clean install with a new compile with no editing any files
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am
Re: Gameserver Error
Yes, I downloaded the nightlies, installed the databases, edited the ips, registered the gameserver and then tried to run it and got these errorshope wrote:Was it a new clean install with a new compile with no editing any files
-
- Posts: 17
- Joined: Thu Dec 16, 2010 12:33 am