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

Re: Gameserver Error

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

Re: Gameserver Error

Post by _DS_ »

Open npc table and check type of this npc.
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: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
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post by _DS_ »

Not file, table in sql.
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:Not file, table in sql.
Image

It is still L2Monster
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Gameserver Error

Post by _DS_ »

Then problem with core, class L2MonsterInstance
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Gameserver Error

Post by momo61 »

just delete the npc o.o?
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

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

Re: Gameserver Error

Post by _DS_ »

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

Re: Gameserver Error

Post by _DS_ »

Then i cant help, try clean core.
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 i cant help, try clean core.
:/ I already tried that
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Gameserver Error

Post by hope »

Was it a new clean install with a new compile with no editing any files
znick55
Posts: 17
Joined: Thu Dec 16, 2010 12:33 am

Re: Gameserver Error

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

Re: Gameserver Error

Post by znick55 »

Here is a video of the gameserver bat

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