I can't seem to get my EndScene hook working using injected .NET code. For all I know my hooking method could be completely wrong. Any ideas?
(Sorry Cypher, this isn't even trying to be x64 compatible... yet!)
C# pastebin - collaborative debugging tool
I've tried to hook ClntObjMgrGetActivePlayer at 0x004769B0 with this and it also doesn't work.
edit: done a bit more experimenting with trying to hook ClntObjMgrGetActivePlayer, and I've found that if I do it before logging in, WoW refuses to log in saying the game files have been modified. If I apply the hook at character select, the game crashes on the loading screen.