View Single Post
  #10  
Old 12-19-2003, 01:47 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

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...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote