I seem to be having a problem with my NPCs. Every so often they’ll just disappear from where they should be show up on roofs or whatever on other levels.
I have no idea why they are doing this. Does anyone have any idea what this problem is and how to solve it?
EDIT: I apologise if this is in the wrong topic. This just seemed like the logical place to put it.
Hmm, after reducing the number of NPCs on the level (and levels that are linked to/from it), it seems to have stopped teleporting them all over the place.
I suppose I could of use a level check with a timeout, but I don’t know the command for checking what level a player or NPC is on
[QUOTE=Cadavre;7733]This might be a GServer bug. Try /updatelevelall when it happens again. Else, I don’t know. :S Nalin might have a look at it.[/QUOTE]
Nalin can’t fix this problem, hes tried and nothing.
Maybe if it’s an outside level you could have the NPC not walk beyond the level limits?
Don’t let an NPC’s x or y variable to be be less then zero or more than 64. Other than that, I have no idea. Put something in there so it changes direction when it gets near those coordinates.