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 


Help finding Time Value in football game

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

Joined: 19 Jul 2015
Posts: 3

PostPosted: Sun Jul 19, 2015 6:24 am    Post subject: Help finding Time Value in football game Reply with quote

I need help finding the time value.

I searched using the seconds of the game eg 5:43 is 343 seconds(5*60+43). I used 4 bytes and also tried it float and got like 45 results that did match the time that was on the clock but when I changed the values nothing would happen to the time on the clock.

Can someone help me please. Would be much appreciated Smile
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Jul 19, 2015 6:37 am    Post subject: Reply with quote

Normally, time is stored in two ways and two types.

The first type is a float or double representing seconds.
When searching this method, always search a range between plus/minus one of the display time.
So for 5:43, you want to search between 342 and 344.

The second type is a 4-byte or 8-byte representing milliseconds.
Similarly, you want to search a range of values.
So for 5:43, you want to search between 342000 and 344000.

In addition to these types, games don't always store the value as total time left.
Sometimes, they use total elapsed time and count up from zero.
So if the game starts at 10:00, when it reaches 5:43, you want to search ranges around 4:17.
You should probably increase that range to 3 seconds, just in case.
Back to top
View user's profile Send private message
gameplayer
Advanced Cheater
Reputation: 2

Joined: 26 Jun 2011
Posts: 97
Location: Vietnam

PostPosted: Sun Jul 19, 2015 10:42 pm    Post subject: Re: Help finding Time Value in football game Reply with quote

carmag wrote:
I need help finding the time value.

I searched using the seconds of the game eg 5:43 is 343 seconds(5*60+43). I used 4 bytes and also tried it float and got like 45 results that did match the time that was on the clock but when I changed the values nothing would happen to the time on the clock.

Can someone help me please. Would be much appreciated Smile

I don't know much about game timers. However, most of my games store the global time in 4 bytes integers. Those in-game timers always increase the values since the games begin to animate events. When an event starts, the game possibly marks the beginning time with a non-zero value referring to a moment in the global time. Then, the in-game timer passes and it will calculate the passing time by subtract the current value to the marked value. So, the values you are seeing may be used for displaying purposes only. I'm not sure if that is true with your game. I just want to share my thoughts. The values you want to find could be the number of frames, not the seconds. I guess so.
Back to top
View user's profile Send private message
elnio
How do I cheat?
Reputation: 0

Joined: 20 Nov 2013
Posts: 4

PostPosted: Thu Oct 01, 2015 5:54 pm    Post subject: Reply with quote

I have stumbled upon the same problem so I am trying to figure out if there is a way to increase the frequency of the timer. Do you guys have any way to find the address of the timer interval (much like speedhack would do but I want to do it manually).
Back to top
View user's profile Send private message
TechnicalTitan
How do I cheat?
Reputation: 0

Joined: 18 Feb 2016
Posts: 1

PostPosted: Thu Feb 18, 2016 6:49 pm    Post subject: Reply with quote

Here is a method that has worked for me many times: First, start the game with the timer counting down then pause. Go into cheat engine and search for all value types. Many different games store many different timers as floats, 2 bytes, 4 bytes, or 8 bytes. Then, search for an unknown initial value. After you find your (many) results, simply unpause the game, allow the timer to decrease, and go into cheat engine and scan for a decreased value. If it is possible to add time in the game, you could do so then searched for an increased value to greatly narrow the results. This should, in theory, lead you to the address that controls the timer. From there, you could either freeze the value or nop the code that decreases it.

Admittedly, I haven't the slightest clue how the values are represented. For example: A 4-Byte address that freezes a timer at 2:00:02 has a value of 18065729001.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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