Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How works speed hack?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
lilezek
Newbie cheater
Reputation: 0

Joined: 30 Jun 2009
Posts: 13

PostPosted: Wed Feb 03, 2010 8:30 am    Post subject: How works speed hack? Reply with quote

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
View user's profile Send private message
dEagle
Expert Cheater
Reputation: 0

Joined: 17 Jun 2006
Posts: 225
Location: CheatEngine Forum

PostPosted: Wed Feb 03, 2010 9:27 am    Post subject: Reply with quote

It is done by QueryPerformanceCounter
Back to top
View user's profile Send private message
lilezek
Newbie cheater
Reputation: 0

Joined: 30 Jun 2009
Posts: 13

PostPosted: Wed Feb 03, 2010 10:12 am    Post subject: Reply with quote

dEagle wrote:
It is done by QueryPerformanceCounter


It returns a large, what to do with it?
Back to top
View user's profile Send private message
Guy
Expert Cheater
Reputation: 0

Joined: 30 May 2009
Posts: 187

PostPosted: Wed Feb 03, 2010 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
lilezek
Newbie cheater
Reputation: 0

Joined: 30 Jun 2009
Posts: 13

PostPosted: Wed Feb 03, 2010 10:43 am    Post subject: Reply with quote

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
View user's profile Send private message
haddenharley
How do I cheat?
Reputation: 0

Joined: 09 Feb 2010
Posts: 4

PostPosted: Mon Feb 15, 2010 5:58 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Mozilla Firefox
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Feb 2007
Posts: 1250

PostPosted: Mon Feb 15, 2010 6:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites