Jump to content
  • 0

[Help] Gameserver Problem


Emkej

Question

Hi, im using free source L2J Freya pack which i downloaded from svn repository. But got problem with gameserver it always stops here:

FourSepulchersManager: spawned Judges' Sepulcher Manager

Exception in thread "main" java.lang.NullPointerException
        at com.l2jserver.gameserver.instancemanager.FourSepulchersManager.clean(
FourSepulchersManager.java:248)
        at com.l2jserver.gameserver.instancemanager.FourSepulchersManager.timeSe
lector(FourSepulchersManager.java:217)
        at com.l2jserver.gameserver.instancemanager.FourSepulchersManager.init(F
ourSepulchersManager.java:187)
        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:271)
        at com.l2jserver.gameserver.GameServer.main(GameServer.java:484)
if some1 know what the problem could be i woul be really grateful :)
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

If your server is PvP or it isn't but you're not planning to use Four Sepulchers u could just go to com.l2jserver.gameserver, find this line

FourSepulchersManager.getInstance().init();
and delete it or add // in front. But that's just in case you won't use it.

 

If you wanna use it you should take a look from where the problem comes, as I've read in your screen, seems that the NullPointer is coming from com/l2jserver/gameserver/instancemanager/FourSepulchersManager.java

public void clean()
	{
		for (int i = 31921; i < 31925; i++)
		{
			int[] Location = _startHallSpawns.get(i);
			GrandBossManager.getInstance().getZone(Location[0], Location[1], Location[2]).oustAllPlayers();
		}
That's why I asked you about grandbosses, seems that a grandboss is missing and can't load the zone, or a zone is missing.

 

Is that the only error that you get when starting the GameServer?

Edited by ^Wyatt
Link to comment
Share on other sites

  • 0

ok i'll try to find at and post it asap, and it wont be a pvp server so it would be really nice if i could fix it

 

ok here it is 

//it's not the only one exception it's just the last one

//you can lock this, i fixed this, it was just bad table in db

public void clean()
  {
    for (int i = 31921; i < 31925; i++)
    {
      int[] Location = (int[])this._startHallSpawns.get(i);
  248---GrandBossManager.getInstance().getZone(Location[0], Location[1], Location[2]).oustAllPlayers();
    }


    deleteAllMobs();


    closeAllDoors();


    this._hallInUse.clear();
    this._hallInUse.put(Integer.valueOf(31921), Boolean.valueOf(false));
    this._hallInUse.put(Integer.valueOf(31922), Boolean.valueOf(false));
    this._hallInUse.put(Integer.valueOf(31923), Boolean.valueOf(false));
    this._hallInUse.put(Integer.valueOf(31924), Boolean.valueOf(false));
    Iterator i$;
    if (this._archonSpawned.size() != 0)
    {
      Set npcIdSet = this._archonSpawned.keySet();
      for (i$ = npcIdSet.iterator(); i$.hasNext(); ) { int npcId = ((Integer)i$.next()).intValue();


        this._archonSpawned.put(Integer.valueOf(npcId), Boolean.valueOf(false));
      }
    }
  }
Edited by Emkej
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock