Re: Gameserver Error
Posted: Sun Dec 19, 2010 12:37 am
... 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.
... 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.
(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.
_DS_ wrote:Not file, table in sql.
Ill look but I havnt edited anything idk why there would be a problem with it_DS_ wrote:Then problem with core, class L2MonsterInstance
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?
Nope_DS_ wrote:No errors during compile ?
:/ I already tried that_DS_ wrote:Then i cant help, try clean core.
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