| View previous topic :: View next topic |
| Author |
Message |
lilezek Newbie cheater
Reputation: 0
Joined: 30 Jun 2009 Posts: 13
|
Posted: Wed Feb 03, 2010 8:30 am Post subject: How works speed hack? |
|
|
Hi everyone. I just have that question, how works speed hack?
I know how find and replace a memory part works. It can be done with ReadMemory and WriteMemory functions of Windows API. You read all memory you need, store adresses, read those adresses again and you remove those changed, etc... Until you find the good one. But, what about speed hack?
Thanks for read.
|
|
| Back to top |
|
 |
dEagle Expert Cheater
Reputation: 0
Joined: 17 Jun 2006 Posts: 225 Location: CheatEngine Forum
|
Posted: Wed Feb 03, 2010 9:27 am Post subject: |
|
|
| It is done by QueryPerformanceCounter
|
|
| Back to top |
|
 |
lilezek Newbie cheater
Reputation: 0
Joined: 30 Jun 2009 Posts: 13
|
Posted: Wed Feb 03, 2010 10:12 am Post subject: |
|
|
| dEagle wrote: | | It is done by QueryPerformanceCounter |
It returns a large, what to do with it?
|
|
| Back to top |
|
 |
Guy Expert Cheater
Reputation: 0
Joined: 30 May 2009 Posts: 187
|
Posted: Wed Feb 03, 2010 10:39 am Post subject: |
|
|
The speedhack in CE hooks a number of timer functions and alters the return value, either multiplication or division by the given number.
_________________
Has anyone seen Hitler around..? If so, PM me! |
|
| Back to top |
|
 |
lilezek Newbie cheater
Reputation: 0
Joined: 30 Jun 2009 Posts: 13
|
Posted: Wed Feb 03, 2010 10:43 am Post subject: |
|
|
| Guy` wrote: | | The speedhack in CE hooks a number of timer functions and alters the return value, either multiplication or division by the given number. |
What API functions does it use to alter them?
I imagined something like that. Get the real time, store somewhere. Then when application access to timer functions it returns (current time - Stored timer) * speedhack value. Am I wrong?
| Code: |
StoredTime = time
int CurTime()
begin
result = StoredTime - _RealCurTime()
result *= speedhack
end
|
|
|
| Back to top |
|
 |
haddenharley How do I cheat?
Reputation: 0
Joined: 09 Feb 2010 Posts: 4
|
Posted: Mon Feb 15, 2010 5:58 am Post subject: |
|
|
Hello Friends.
I read your post and I does not know any thing abut the QueryPerformanceCounter so tell me
first what is this ? and how it work and hoe to improve the performance.
thanks in advance.
_________________
We must change in order to survive. |
|
| Back to top |
|
 |
Mozilla Firefox Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Feb 2007 Posts: 1250
|
Posted: Mon Feb 15, 2010 6:58 am Post subject: |
|
|
| haddenharley wrote: | Hello Friends.
I read your post and I does not know any thing abut the QueryPerformanceCounter so tell me
first what is this ? and how it work and hoe to improve the performance.
thanks in advance. |
Maybe you should attempt to use Google, or even better use MSDN. And also as far as I know, how the application was programmed will also vary on how it could be modified. Obviously they don't all use the same APIs or functions.
|
|
| Back to top |
|
 |
|