Checking spawn

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
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Checking spawn

Post by tukune »

Code: Select all

   Announcements.getInstance().announceToAll("Warpgate is now 80% energized!");- if (checkNpcSpawn())- {-     _warpgateverdeescuroum.deleteMe();-     _warpgateverdeescurodois.deleteMe();-     _warpgateverdeescurotres.deleteMe();- }+ if (_warpgateverdeescuroum != null) _warpgateverdeescuroum.deleteMe();+ if (_warpgateverdeescurodois != null) _warpgateverdeescurodois.deleteMe();+ if (_warpgateverdeescurotres != null) _warpgateverdeescurotres.deleteMe();+ _warpgateverdeescuroum = null;+ _warpgateverdeescurodois = null;+ _warpgateverdeescurotres = null;
User avatar
DreamStage
Posts: 222
Joined: Mon Oct 11, 2010 2:38 am
Location: Portugal

Re: Checking spawn

Post by DreamStage »

didnt solved the problem. The problem still persists
Ignorance comes when you dont want to know the truth about facts.
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: Checking spawn

Post by SolidSnake »

Post the errors showed in the gameserver console.
Image
User avatar
DreamStage
Posts: 222
Joined: Mon Oct 11, 2010 2:38 am
Location: Portugal

Re: Checking spawn

Post by DreamStage »

i told you yesterday at private chat man:

says the same problem:

Code: Select all

for (L2Spawn spawn : SpawnTable.getInstance().getSpawnTable()) Can only iterate over an array or an of java.lang.Iterable
Ignorance comes when you dont want to know the truth about facts.
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Checking spawn

Post by tukune »

for (L2Spawn spawn : SpawnTable.getInstance().getSpawnTable().values())
Post Reply