View Single Post
  #13  
Old 12-19-2003, 10:58 AM
rockocool
Sarnak
 
Join Date: Mar 2003
Location: california
Posts: 63
Default

But very often these misplaced NPCs are between walls. :( Only very few are placed very far away from the main teritory which could be easily tracked down like you described.

Quote:
Originally Posted by Trumpcard
The 'outside' NPC's could be really easy to track down. I'd just create a configuration file that defined zone boundaries in x/y, then a parser that searched through the table looking for values that exceeded the limits. That would give you a simple list of what zones have mobs too far out on the fringe and you could fix them one by one...

befallen 1000 1000 -1000 -1000

for instance.. look for x/y's greater than 1000 and less than -1000..

A shell script could parse that out in seconds from the database and return you a list of npcs id's that needed to be corrected, or you could modify the script to automaticlly move them within the boundary limits...
Reply With Quote