WARNING AutoSpawnHandler L2J 

Dox

Newbie Spellweaver
Joined
Oct 13, 2008
Messages
38
Reaction score
0
And anyone knows where this WARNING comes from..?

Dox - WARNING AutoSpawnHandler - RaGEZONE Forums


it just popuped up one day ,and now i cannot get rid of it..
i guess it has something to do with a NPC or something..
And where would i be able to find these Objec_ID`s?

Thanks in advance
 
check the spawnlist and custom_spawnlist for those IDs and change them to something normal
 
Upvote 0
those id`s dont even exist only id`s that comes close to the range of those Object_ID`s is the list with the TemporaryObjectTable but those id`s cannot be found there either

//Edit

mm oke i had 9 of those warnings that kept comming every minute or so..
now after i placed the 'Fantasy Isle' Zone back into the Peace.xml file
i only get 4 of those warnings at reboot of the server and the funny thing is..
they only popup once , after server loaded it gives these 4 warnings now. And thats all..

Anyway if i find a way to get rid of those last 4 warnings that dont rly bug me as much at this point
ill post it here to for others that might have the same problem.
 
Last edited:
Upvote 0
Damnit i thought i solved the problem but they just had a break or sumthing..
Warnings have returned..Still dont know what to do, Im not sure what Object_Id`s are ment here in these warnings. Please someone help me out here im going crazy!!

i dont know if it helps but ive looked up the .java file that handles this Warning

AutoSpawnHandler.java:
Code:
478                 String nearestTown = MapRegionTable.getInstance().getClosestTownName(npcInst);  
479                  
480                 // Announce to all players that the spawn has taken place, with the nearest town location.  
481                 if (spawnInst.isBroadcasting())  
482                     Announcements.getInstance().announceToAll("The " + npcInst.getName() + " has spawned near " + nearestTown + "!");  
483                  
484                 if (Config.DEBUG)  
485                     _log.info("AutoSpawnHandler: Spawned NPC ID " + spawnInst.getNpcId() +  
486                               " at " + x + ", " + y + ", " + z + " (Near " + nearestTown +  
487                               ") for " + (spawnInst.getRespawnDelay() / 1000 / 60) + " minute(s).");  
488                  
489                 // If there is no despawn time, do not create a despawn task.  
490                 if (spawnInst.getDespawnDelay() > 0) {  
491                         AutoDespawner rd = new AutoDespawner(_objectId);  
492                     ThreadPoolManager.getInstance().scheduleAi(rd, spawnInst.getDespawnDelay()-1000);  
493                 }  
494                         }  
495                         catch (Exception e) {  
496                                 _log.warning("AutoSpawnHandler: An error occurred while initializing spawn instance (Object ID = " + _objectId + "): " + e);  
497                 e.printStackTrace();  
498                         }  
499                 }

the console displayes the lines 496 and the prinstack line 497
but im not sure what happens here im a bit into Java but not enough to maybe find out where the _log.warning gets the _objectId
 
Upvote 0
Whoeh problem solved now!!

Turns out i deleted the fantasy island and Huntersvillage out of the peace.xml
to make it pvp...

now i just copied those 2 zones into the custom.xml made them pvp there.
And lowered the range of the 2 zones in the peace.xml, made the towns xLoc yLoc just very close togheter and now everything works stable
 
Upvote 0
Back