Page 2 of 3

Re: Gameserver Error

Posted: Sun Dec 19, 2010 12:37 am
by znick55
_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

Re: Gameserver Error

Posted: Sun Dec 19, 2010 1:32 am
by _DS_
Open npc table and check type of this npc.

Re: Gameserver Error

Posted: Sun Dec 19, 2010 2:25 am
by znick55
_DS_ wrote:Open npc table and check type of this npc.
(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),

It says the type is L2Monster

Re: Gameserver Error

Posted: Sun Dec 19, 2010 6:45 am
by _DS_
Not file, table in sql.

Re: Gameserver Error

Posted: Sun Dec 19, 2010 3:44 pm
by znick55
_DS_ wrote:Not file, table in sql.
Image

It is still L2Monster

Re: Gameserver Error

Posted: Sun Dec 19, 2010 5:21 pm
by _DS_
Then problem with core, class L2MonsterInstance

Re: Gameserver Error

Posted: Sun Dec 19, 2010 5:48 pm
by momo61
just delete the npc o.o?

Re: Gameserver Error

Posted: Sun Dec 19, 2010 7:01 pm
by znick55
_DS_ wrote:Then problem with core, class L2MonsterInstance
Ill look but I havnt edited anything idk why there would be a problem with it
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;  }}
momo61 wrote:just delete the npc o.o?
Tried it already, it just gives me more errors with different npcs

Re: Gameserver Error

Posted: Sun Dec 19, 2010 7:48 pm
by _DS_
No errors during compile ?

Re: Gameserver Error

Posted: Sun Dec 19, 2010 8:55 pm
by znick55
_DS_ wrote:No errors during compile ?
Nope

Re: Gameserver Error

Posted: Sun Dec 19, 2010 11:13 pm
by _DS_
Then i cant help, try clean core.

Re: Gameserver Error

Posted: Sun Dec 19, 2010 11:22 pm
by znick55
_DS_ wrote:Then i cant help, try clean core.
:/ I already tried that

Re: Gameserver Error

Posted: Mon Dec 20, 2010 12:13 pm
by hope
Was it a new clean install with a new compile with no editing any files

Re: Gameserver Error

Posted: Mon Dec 20, 2010 6:32 pm
by znick55
hope wrote:Was it a new clean install with a new compile with no editing any files
Yes, I downloaded the nightlies, installed the databases, edited the ips, registered the gameserver and then tried to run it and got these errors

Re: Gameserver Error

Posted: Mon Dec 20, 2010 10:03 pm
by znick55
Here is a video of the gameserver bat

http://tinypic.com/player.php?v=2aj6m4w&s=7