View previous topic :: View next topic |
Author |
Message |
carmag How do I cheat? Reputation: 0
Joined: 19 Jul 2015 Posts: 3
|
Posted: Sun Jul 19, 2015 6:24 am Post subject: Help finding Time Value in football game |
|
|
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
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Jul 19, 2015 6:37 am Post subject: |
|
|
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 |
|
|
gameplayer Advanced Cheater Reputation: 2
Joined: 26 Jun 2011 Posts: 97 Location: Vietnam
|
Posted: Sun Jul 19, 2015 10:42 pm Post subject: Re: Help finding Time Value in football game |
|
|
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 |
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 |
|
|
elnio How do I cheat? Reputation: 0
Joined: 20 Nov 2013 Posts: 4
|
Posted: Thu Oct 01, 2015 5:54 pm Post subject: |
|
|
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 |
|
|
TechnicalTitan How do I cheat? Reputation: 0
Joined: 18 Feb 2016 Posts: 1
|
Posted: Thu Feb 18, 2016 6:49 pm Post subject: |
|
|
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 |
|
|
|