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 


Can't freeze a timer?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
JohnCayuto
How do I cheat?
Reputation: 0

Joined: 21 Apr 2014
Posts: 4

PostPosted: Mon Apr 21, 2014 3:08 pm    Post subject: Can't freeze a timer? Reply with quote

So I'm trying to freeze or change the value of a timer in one flash game. I extract the correct address which is the only one corresponding to the timer I see on screen and whenever I change its value, it bounces back to the original value. When I freeze it, however, the game become non responsive and crashes within seconds. Does that mean you can't freeze a timer at all or is there some method? I tried checking what writes to the adress but the "count" column beside no adress was equal to the timer so I don't know if that's a right way to go.
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Tue Apr 22, 2014 3:36 am    Post subject: Reply with quote

JohnCayuto wrote:

Does that mean you can't freeze a timer at all or is there some method?


Of course you can freeze timers Smile
The problem is probably that you didn't find the correct address of the time. You only found the visual one, which holds the displayed value, but the real timer address and also value is at another location.

Try to scan with different scan types (the best one would be probably "Changed Value") and different datatypes (I guess you're dealing with a double). It will take some time Razz
Back to top
View user's profile Send private message
JohnCayuto
How do I cheat?
Reputation: 0

Joined: 21 Apr 2014
Posts: 4

PostPosted: Tue Apr 22, 2014 4:42 am    Post subject: Reply with quote

I see, thank you! The timer I'm dealing with here counts the time to the order of milliseconds (cause after you die you get a result like /minutes : /seconds : /milliseconds) - is there some known convention of how such timers are usually stored? Double, int?
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Tue Apr 22, 2014 5:47 am    Post subject: Reply with quote

As mentioned above from me, I guess it's a double. At least it's a common datatype to store such things like a timer.

Edit:
If you have problems finding the real address go from scratch and start searching with any datatype. Of course this will take alot of research time within the games memory...
Btw you can also try scanning for increase or decrease value (dont change between your scans, since a timer always counts to one direction (up or down with the exception is somehow (e.g. XOR) encrypted)). Just take some time and play around a little. Gather the information you need and then you're ready to manipulate Smile
Back to top
View user's profile Send private message
JohnCayuto
How do I cheat?
Reputation: 0

Joined: 21 Apr 2014
Posts: 4

PostPosted: Tue Apr 22, 2014 5:57 am    Post subject: Reply with quote

Mhm, I see, thank you. I tried looking for unknown initial value which increases (the timer here only goes up) in all numeric datatypes but none returned anything with value similar to what the timer is showing. I also tried speedhack and while it does speed up the moves in the game, the timer remains intact. Is there something else that I may try?

Edit: OK, found something! I found three Double type values which are all the same and correspond exactly to the timer in game being in a format [<seconds>,<milliseconds>]. When I freeze all of them, though, nothing happens. I tried looking at what writes into them - each one has only one thing writing to it. After I NOPed the instructions of the two addresses, nothing happened and after I NOPed the last one, the game froze and Firefox asked me if I want to terminate the Flash Player so the game crashed... How can I handle it?

Edit2: Huh, found another record as well - a 4 bytes Int which counts all the milliseconds. Freezing it or NOPing what writes to it (just one instruction again) does nothing either, though... Sad
Back to top
View user's profile Send private message
zm0d
Master Cheater
Reputation: 7

Joined: 06 Nov 2013
Posts: 423

PostPosted: Tue Apr 22, 2014 7:04 am    Post subject: Reply with quote

JohnCayuto wrote:
[...] but none returned anything with value similar to what the timer is showing


exactly. Dont expect that the timer is looking like the value you see on your screen. It could be a total different one and the value of the screen you get with a more or less complex calculation.

Example:
Screen displayes: 100
Real Value, that will affect the displayed one: 10
Calculation to get the displayed one: 10 * real value

Effect: You would probably search for 100 and will find a address. But it's only the displayed one. Actually, you already filtered out your real address because its only 10. So if you find the address of this "10", you can freeze it and the displayed value will always stay 100.
Back to top
View user's profile Send private message
JohnCayuto
How do I cheat?
Reputation: 0

Joined: 21 Apr 2014
Posts: 4

PostPosted: Tue Apr 22, 2014 1:08 pm    Post subject: Reply with quote

Oh, I see! Thank you a lot for all the answers, will fiddle around with it and hopefully something finally clicks Smile
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