1. Don't you think appearing underground is just a coincidence when porting to a player? Only thing I can think of is to increase the Z coordinates in the appear command.
Originally Posted by newbieON
In cs_misc.cpp, under 'HandleAppearCommand' on this line: https://github.com/TrinityCore/Trini..._misc.cpp#L403
Change 'z' to 'z+2'. Example:
2. This seems like a bug on TrinityCore. I've never read about this happening to other people, but if you think it is an issue related to TrinityCore's source itself - create an issue on their tracker: https://github.com/TrinityCore/Trini...e=1&state=open
_player->TeleportTo(target->GetMapId(), x, y, z+2, _player->GetAngle(target), TELE_TO_GM_MODE);
If you run into any spell or other bugs that you come across, always create an issue on their tracker as it isn't our duty to fix them.