Originally Posted by
ejt
Hooks in my opinion is the "fast and furious" way of going and I completly agree with the statement above.
To bad about the errors, I've changed the code some since last commit and will be updating it soon when I get it running again.
At the moment its also worth mentioning that its built for 32-bit version of wow. Also since this is the "start of something new" I ignored adding check for pretty much everything so there will be errors and crashes until a proper exception system is built-in.
Anyhow thank you for your report and I hope to see more!
Yeah, I figured it was for x86, which is what like 99% of all hacks and bots are made for lol. I also figured you hadn't added any "hey, is the game even open? am I logged in?" kind of checks, I do the same thing, error checks just get in the way when you are first building shit =-) I always end up getting them wrong myself, and try to debug other code that would have actually worked but never got executed cause my little If statement was wrong.
Ok so here is my error:
Code:
Unhandled exception at 0x003EC9FF in Frost.exe: 0xC0000094: Integer division by zero.
VS is pointing me to this line of code in CMemory.cpp in the CSystem::msgRouter:
Code:
sprintf_s(power, "%d / %d (%d%%)", m_Application->ObjectManager->GetLocalPlayer()->Power(),
m_Application->ObjectManager->GetLocalPlayer()->MaxPower(),
(m_Application->ObjectManager->GetLocalPlayer()->Power() / m_Application->ObjectManager->GetLocalPlayer()->MaxPower()) * 100);