Originally posted by [b]mkbu95[/b]
He does now Vali. I gave him a raise, he's being very kind to the players

Just update to [rev=17013].
Let me know if you feel any performance drop (playing localhost is one thing, server full with players is another).
Now with technicals, when it finds a NPC with OnTouch it performs another lookup to check warps with OnTouch on that map.
If found, they're then checked if they're close to player location and thus teleport the player to the specified location.
I went from O(n³) to O(n)-i, I guess it is much better now, even though it isn't 100% precise (it fixes both cases you presented, but I didn't test other possibilities).
You'll notice that you still talk to the NPC but you are warped after done talking or if you click directly to the warp, the NPC interaction will start and then is terminated after the warp.
This post has been edited by
mkbu95
on Dec 9, 2012 22:18