I'm trying to build my own bot learning from what others have done, that's why I'm trying to analyse Babbot's code.
I have some lack on my knowledge in all these reversing and memory editing subjects, but I'm trying to fill those holes.
I saw in Babbot that they have a way to auto login using lua functions calls from bot's code.
Just like in Cypher's post:
http://www.mmowned.com/forums/wow-me...gin-stuff.html
And like in attn's post:
http://www.mmowned.com/forums/bots-p...ot-autoit.html
What I think they do is to inject a DLL so they can use the lua functions from the bot.
To make this work, they use lua_register callback offset.
I'm trying to do the same, but since I don't know yet how to find stuff by myself in wow's memory, I would like to learn it with your help, guys.
I can't find lua_register offset as I read in bobbysing post:
How to find stuff [Archive] - GameDeception - A Development Site for Reverse Engineering
These are the steps he says to use when you want to find lua_register offset:
"Open the game client in IDA and wait until the auto-analysis is finished
Search for the string "DefaultServerLogin" (It could be any lua function that's registered by the game.)
Copy the address of the string
Open the game client in OllyDbg, but don't run it
Put an On-Access breakpoint on the address of the string
When it breaks, execute until return until you end up in a function that looks like the following one..."
To see the function go to the bobbysing post:
How to find stuff [Archive] - GameDeception - A Development Site for Reverse Engineering
Ok...
I followed the steps without a problem. I loaded the game client in IDA and I found the address of the string "DefaultServerLogin".
0x0080265E
Then I opened the wow.exe inside OllyDbg and I went to that address:
I have something like this on this line:
PUSH Wow.00A2FEFC Arg2 = 00A2FEFC ASCII "Usage: DefaultServerLogin("accountName", "password")"
I put an On-Access breakpoint there, but the execution never stops on that line.
Am I doing something wrong? All the stuff I wrote in here are correct, I mean, Am I going in the right direction?