SphereServer BugTracker - SphereServer
View Issue Details
0001622SphereServerexecutable - genericpublic07-06-09 14:2521-06-09 01:55
SomeBody 
 
normalminoralways
closedno change required 
 
 
09-09-2008
DiagonalWalkCheck, WalkCheck
Command_Sysmsgs, NoHouseMuteSpeech, NoPrefix
0001622: Lost NPC teleport doesn't consider Z coordinate
When NPC is too far from it's home it will teleport back and can get under floor. This happens when NPC's home have some Z coordinate > 0 (e.g. spawn inside a building).
No tags attached.
Issue History
07-06-09 14:25SomeBodyNew Issue
07-06-09 14:25SomeBodyNightly Version => 09-09-2008
07-06-09 14:25SomeBodyExperimental Flags => DiagonalWalkCheck, WalkCheck
07-06-09 14:25SomeBodyOption Flags => Command_Sysmsgs, NoHouseMuteSpeech, NoPrefix
07-06-09 16:59cloud_brNote Added: 0000234
07-06-09 19:48SomeBodyNote Added: 0000235
21-06-09 01:55MrSugarCubeStatusnew => closed
21-06-09 01:55MrSugarCubeResolutionopen => no change required

Notes
(0000234)
cloud_br   
07-06-09 16:59   
try without walkcheck
(0000235)
SomeBody   
07-06-09 19:48   
Ok, this is not an issue. Sorry.

I figured out that "home" was incorrectly set on NPC create. When you make "newnpc" inside a building (e.g. a player summons an NPC via scripted item) by default the NPC will be placed at the point where the player is but under the floor (setting Z coordinate of P and HOME to the ground level not considering floor level of the building).

So teleport is OK. This issue can be closed.