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 


[Scanning] Values with Decimals?

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

Joined: 29 Dec 2015
Posts: 1
Location: Over There

PostPosted: Tue Dec 29, 2015 4:24 pm    Post subject: [Scanning] Values with Decimals? Reply with quote

Hi, been using cheat engine for stupid shit here and there, usually money hacks in games.

However I'm running into the problem of whenever a value uses a decimal it usually fucks my cheat engine.

For example: Crusader Kings 2 I can't scan the money.

I scan the game with the value of the money, which was 166.459 and it comes up with 9 entries

[apperantly can't post pictures or urls, sucks]

Wait until it increases by a value of at least 1.

Yet when I scan the next value (which was, 167.443) it comes up with nothing

[apperantly can't post pictures or urls here either, sucks]

Am I doing something wrong? I tried doing it with Double, All Types, and even Unknown Initial Value > Increased Value By... and it ain't coming up with anything.

Any help is appreciated

_________________
I fuck money
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4700

PostPosted: Tue Dec 29, 2015 5:31 pm    Post subject: Reply with quote

If it has a decimal, it's probably either float or double.

float = single-precision floating point value
double = double-precision floating point value
Both are used to represent rational numbers.

If you still can't find it, try doing unknown initial value then changed/unchanged scans.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Dec 29, 2015 7:14 pm    Post subject: Reply with quote

According to this, gold is actually a 4-byte integer who's value is equal to half the amount shown on screen.
http://forum.cheatengine.org/viewtopic.php?p=5330275#5330275
Another reason why you may be having issues, some games like to hide the actual value.

By the way
http://forum.cheatengine.org/viewtopic.php?t=548355
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