ferreon Posted April 15, 2017 Report Share Posted April 15, 2017 (edited) Hi people! Today I was updating old scripts but Im stuck at one point since Trinity has changed a little bit. https://paste2.org/OJpeHIyA I'm trying to update this part but itr->second->GetPlayer() does not exist in this context anymore and I dont really know what to do. Thanks for your time and answers. Edited April 16, 2017 by ferreon Link to comment Share on other sites More sharing options...
Rochet2 Posted April 15, 2017 Report Share Posted April 15, 2017 Hmm, looks like it does tho: master: https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Texts/CreatureTextMgr.h#L234 3.3.5; https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/Texts/CreatureTextMgr.h#L241 maybe you should post the error message. You probably have not included Player.h or WorldSession.h or something lke that 1 Link to comment Share on other sites More sharing options...
Recommended Posts