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 


Universal Float Values for Time and Distance in Miles

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Flava0ne
Cheater
Reputation: 0

Joined: 19 Jun 2010
Posts: 41
Location: Canada

PostPosted: Wed May 13, 2015 1:21 pm    Post subject: Universal Float Values for Time and Distance in Miles Reply with quote

Are there universal float values for time and distance in miles for a game like Grand Theft Auto V? Like what would the float value be for 1 second and 0.01 miles?

Sorry if I posted this in the wrong section, if I did could a moderator please move it, thanks.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed May 13, 2015 8:42 pm    Post subject: Reply with quote

GTA5 values are encrypted.

Unencrypted, time is actually stored as an integer, in milliseconds.

Miles is stored as a float containing the total meters plus some offset I didn't bother looking into.
So if the game showed 1.0 miles, the unencrypted value would be a bit over 1609.34.

Can use the Encrypted Value Editor to find the values if you wish.
http://forum.cheatengine.org/viewtopic.php?p=5589173#5589173
Back to top
View user's profile Send private message
Flava0ne
Cheater
Reputation: 0

Joined: 19 Jun 2010
Posts: 41
Location: Canada

PostPosted: Wed May 13, 2015 9:24 pm    Post subject: Reply with quote

I'm using a Save Editor to modify some stats, and that's actually around the number I got when I divided the float value by what it was showing in the game, more or less 1608.xxxx - 1609.xxxx for distance in miles. Just wanted to know the exact values if there were any or if it was specific to a certain stat.

I already have your table for GTA V it's very useful in some areas, but I find that editing specific stats is a lot easier with the Save Editor.
Back to top
View user's profile Send private message
Xathan
Advanced Cheater
Reputation: 1

Joined: 19 Jun 2014
Posts: 72

PostPosted: Thu May 14, 2015 5:13 am    Post subject: Reply with quote

Zanzer wrote:
So if the game showed 1.0 miles, the unencrypted value would be a bit over 1609.34.

Seems like the precise value is 1609.334 as this is the amount of meters for exactly one mile. Try your luck Wink
Back to top
View user's profile Send private message
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