[DiscordArchive] breakpoints on the actual member methods of playerscript?
[DiscordArchive] breakpoints on the actual member methods of playerscript?
Archived author: Kiffy • Posted: 2023-06-01T12:19:28.690000+00:00
Original source
breakpoints on the actual member methods of playerscript?
Archived author: Kiffy • Posted: 2023-06-01T12:22:12.415000+00:00
Original source
ill j try it
Archived author: Kiffy • Posted: 2023-06-01T12:30:02.056000+00:00
Original source
it seems to only break on one of them, I will change the arguments to be more like that one
Archived author: Kiffy • Posted: 2023-06-01T12:31:04.263000+00:00
Original source
may be different ones like whisper or something
Archived author: bulbous0617 • Posted: 2023-06-01T12:32:25.368000+00:00
Original source
I meant finding the place calling OnChat so `ScriptMgr::OnPlayerChat` and then finding the place calling that like `Player::Say` which would allow you to set a breakpoint in `sScriptMgr->OnPlayerChat(this, CHAT_MSG_SAY, language, _text);` as an example
Archived author: bulbous0617 • Posted: 2023-06-01T12:34:04.530000+00:00
Original source
yes, seems these are divided into different types and you were using a hook for a different type than you intended
Archived author: Kiffy • Posted: 2023-06-01T12:34:21.030000+00:00
Original source
yep it was just the wrong overloaded method
Archived author: Kiffy • Posted: 2023-06-01T12:34:23.998000+00:00
Original source
works now
Archived author: bulbous0617 • Posted: 2023-06-01T12:34:28.197000+00:00
Original source
nice
Archived author: Kiffy • Posted: 2023-06-01T12:35:40.938000+00:00
Original source
yeah