Joined: 07 Mar 2005
|Posted: Fri Aug 26, 2005 12:14 am Post subject:
|The speedhack is inside the cehook.dll so the folder cehook. In that folder is a file called speedhack.pas (or something), which contains some routines used. Problem is that the initialisation happens in another part so you may have to look at that as well.
Anyhow, if you just ant to know how it works:
Inject the dll
Hook some timerfunctions like timegettime, gettickcount and the high definition timer functions
activate a new thread that increments a counter itself using sleep(xxx) to increase the timer with a speed that you want. (higher sleep is more accurate, but may result in shocks)
the hooked functions then just return that counter when a game asks for the current tick count.
There is a little more calculating to it, but those are in speedhack.pas