Skip to content

[Help] Gameserver Problem

Featured Replies

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 :)

Didn't you edit anything?

Didn't you touch something related with grandbosses or grandbosses areas?

Edited by ^Wyatt

  • Author

nope, i didnt edit anything

Post dat file FourSepulchersManager, clean() method under code tag and mark the 248 line :P

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

  • Author

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

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.