Trinitycore: Core/Command: Appear provide a wrong undermap position

Created on 24 Sep 2018  路  6Comments  路  Source: TrinityCore/TrinityCore

.app player

Game Master goes under the ground, Some areas

for fix , gm fly on.

Branch(es):
3.3.5
TC rev. hash/commit:
TrinityCore rev. 609c1ac

Branch-3.3.5a Comp-Core

All 6 comments

any example about where this happens ? a .gps coordinate of the target player would be nice

i am sure this is duplicate ticket, but cannot find other

@Aokromes : maybe you are thinking about the numerous warrior charge mentions of charging through the map, or maybe the PR Golrag wrote (#21322) earlier this year?

@Hir0shi : it would be very helpful if you make a short list of places/areas where this happens, so other users and TC members can test it.

no, gm command too.

Actually I get this issue, but you can reproduce it only with gm fly off:
1- Connect the first char
2- .go xyz 3559.759, 352.908, 118.595978 571 (Char1)
3- Connect the second char
4- .tele shattrath (Char2)
5- .appear char1 and notice the position (Char2)

Position of the char1: 3559.759, 352.908, 118.595978
Position of the char2: 3557.179, 355.273, -507.334320 (after the appear "under map")

The correct position of the appear must be 3556.445068 Y: 351.782349 Z: 118.595978 (you can get it by usinf appear a second time)

Cause: WorldObject::GetNearPoint calls (searcher ? searcher : this)->UpdateAllowedPositionZ(x, y, z) which looks for Z coord at original gm map (GetContactPoint should never be used for units on different maps)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daddycaddy picture daddycaddy  路  3Comments

Jildor picture Jildor  路  3Comments

besplash picture besplash  路  3Comments

Lopfest picture Lopfest  路  3Comments

cbcs picture cbcs  路  3Comments