Ohhh, so Iam not supposed to log all values from ESP because it
is like a constant pointer to the beginning of the stack...
But wait, wouldn't it be easier to just single step through all calls, and
keep an eye on the Stack-Tab?
edit: ok, GetTickCount() is only used by nvd3dum.dll and fraps.dll.
As long as it isn't used by game.dat it has nothing to do with the timers
i'am looking for, isn't it?
edit2:
QueryPerformanceCounter() is just used by MSS32.dll and ntdll.
There is nothing left but Sleep(), I'am going to try that one now...
edit3:
This is stange, Sleep() is just called once per frame (due to the frame limit in the game?).
But I don't know wich address it is jumping back to.
Here's a pic from the stack view:
What is the calling code now??
The values at the two blue and the orange highlighted adresses are
401C46, 413866, and 40FEC4 (the value of ESP as it tells me).
3 addresses, I'am really confused now
edit4:
and by the way, why does the game crash when i remove breakpoints?
disabling is ok, but removing crashes all the time...
also resuming autohack seems to crash it once breakpoints were set.