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 


How To Edit Double Digits

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

Joined: 19 Jan 2014
Posts: 8
Location: South Africa

PostPosted: Mon Feb 09, 2015 12:57 pm    Post subject: How To Edit Double Digits Reply with quote

Well oky, here is to start of. So i am playing a fishing game oky, and each time i reel out a fish, i get the weight value for example 15lbs.09oz.

Next fish i reel out would be 10lbs.19oz.

How do i search for those values and make my next fish be 19lbs.00oz for example??

I know how to find ammo, health and all those Single Base values. But how do i find xx.xx values??

And can i make my next fish be the amount i want it to be?? Or cant those things be changed??
Back to top
View user's profile Send private message Send e-mail
TwoSpooky
Cheater
Reputation: 1

Joined: 03 Feb 2015
Posts: 36

PostPosted: Mon Feb 09, 2015 1:04 pm    Post subject: Reply with quote

Scan for the value as a Double.
Should be able to find it then.
Back to top
View user's profile Send private message
Ruan-Sparky
How do I cheat?
Reputation: 0

Joined: 19 Jan 2014
Posts: 8
Location: South Africa

PostPosted: Mon Feb 09, 2015 1:49 pm    Post subject: Reply with quote

TwoSpooky wrote:
Scan for the value as a Double.
Should be able to find it then.


Oky so if i scan for the value, should i also put the "." in.

Example

xx.xx

or just

xxxx
Back to top
View user's profile Send private message Send e-mail
TwoSpooky
Cheater
Reputation: 1

Joined: 03 Feb 2015
Posts: 36

PostPosted: Mon Feb 09, 2015 1:51 pm    Post subject: Reply with quote

Ruan-Sparky wrote:
TwoSpooky wrote:
Scan for the value as a Double.
Should be able to find it then.


Oky so if i scan for the value, should i also put the "." in.

Example

xx.xx

or just

xxxx


Well if you caught a 15lb, 9oz fish you could search for double value 15. or 15.09.
If you want to be more exact though I would include the decimal and numbers following it.
Back to top
View user's profile Send private message
Ruan-Sparky
How do I cheat?
Reputation: 0

Joined: 19 Jan 2014
Posts: 8
Location: South Africa

PostPosted: Mon Feb 09, 2015 1:56 pm    Post subject: Reply with quote

TwoSpooky wrote:
Ruan-Sparky wrote:
TwoSpooky wrote:
Scan for the value as a Double.
Should be able to find it then.


Oky so if i scan for the value, should i also put the "." in.

Example

xx.xx

or just

xxxx


Well if you caught a 15lb, 9oz fish you could search for double value 15. or 15.09.
If you want to be more exact though I would include the decimal and numbers following it.


If i caught a 15lb. 9oz fish, the game display it as 15lb.9oz and not 15lb.09oz.

I have tried as a double, i can get the first scan to show up muliple numbers of the same amount i have scanned, but as soon as i caught my 2nd fish, type in the digits and click next scan, it shows me 0 results. And i am typing the digits and decimals as the game displays it for me example 15.9 and not 15.09
Back to top
View user's profile Send private message Send e-mail
TwoSpooky
Cheater
Reputation: 1

Joined: 03 Feb 2015
Posts: 36

PostPosted: Mon Feb 09, 2015 2:02 pm    Post subject: Reply with quote

What is the name of the game and System you're playing on?
Back to top
View user's profile Send private message
Ruan-Sparky
How do I cheat?
Reputation: 0

Joined: 19 Jan 2014
Posts: 8
Location: South Africa

PostPosted: Mon Feb 09, 2015 2:04 pm    Post subject: Reply with quote

TwoSpooky wrote:
What is the name of the game and System you're playing on?


What you mean by system?? If by system you mean Windows then yes, im on windows 7

Dovetail games fishing
Back to top
View user's profile Send private message Send e-mail
TwoSpooky
Cheater
Reputation: 1

Joined: 03 Feb 2015
Posts: 36

PostPosted: Mon Feb 09, 2015 2:06 pm    Post subject: Reply with quote

Ruan-Sparky wrote:
TwoSpooky wrote:
What is the name of the game and System you're playing on?


What you mean by system??

Dovetail games fishing


I mean what type of platform do you use to play the game.
Web browser, PC, Xbawks, PeeEs, iPad, ect.
I found it on Steam though. I don't have $11 to help you out. Sorry.
Back to top
View user's profile Send private message
Ruan-Sparky
How do I cheat?
Reputation: 0

Joined: 19 Jan 2014
Posts: 8
Location: South Africa

PostPosted: Mon Feb 09, 2015 2:08 pm    Post subject: Reply with quote

TwoSpooky wrote:
Ruan-Sparky wrote:
TwoSpooky wrote:
What is the name of the game and System you're playing on?


What you mean by system??

Dovetail games fishing


I mean what type of platform do you use to play the game.
Web browser, PC, Xbawks, PeeEs, iPad, ect.
I found it on Steam though. I don't have $11 to help you out. Sorry.


yeah its on steam, windows 7. Lol no need to buy the game just to help me out here.

I mean if i cannot do it by following you guys advise, then its fine by me. Im just curious if it can be done at all
Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25856
Location: The netherlands

PostPosted: Mon Feb 09, 2015 2:19 pm    Post subject: Reply with quote

scanning double digits is done using the float/double type (and sometimes the money type which is just 4 bytes that count the number of cents)

for this game that might not be usable though as each fish is probably a new instance, so a different memory location. And unless the fish gains or loses weight while you have it, it'll be difficult to find)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping


Last edited by Dark Byte on Mon Feb 09, 2015 2:20 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Feb 09, 2015 2:20 pm    Post subject: Reply with quote

There is no general rule.

If you have no idea how to find it, it's recommended to search for unknown value and try increased/decreased value searches.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Ruan-Sparky
How do I cheat?
Reputation: 0

Joined: 19 Jan 2014
Posts: 8
Location: South Africa

PostPosted: Mon Feb 09, 2015 2:24 pm    Post subject: Reply with quote

Dark Byte wrote:
scanning double digits is done using the float/double type (and sometimes the money type which is just 4 bytes that count the number of cents)

for this game that might not be usable though as each fish is probably a new instance, so a different memory location. And unless the fish gains or loses weight while you have it, it'll be difficult to find)


yeah i think thats whats going on. Every fish locates a new memory which resets the value each time
Back to top
View user's profile Send private message Send e-mail
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Feb 10, 2015 9:03 pm    Post subject: Reply with quote

Just throwing this out there, but 15 lbs. 9 oz. equals 249 ounces.
I would search for 249 in both a 4-byte and float.

Less likely, but possible that the value is stored strictly as pounds (15.5625).
In this case, I would search for a float between 15.55 and 15.57.
Back to top
View user's profile Send private message
nazgand
How do I cheat?
Reputation: 0

Joined: 23 Mar 2006
Posts: 9

PostPosted: Sun Feb 15, 2015 11:33 am    Post subject: Reply with quote

Ruan-Sparky wrote:
Dark Byte wrote:
scanning double digits is done using the float/double type (and sometimes the money type which is just 4 bytes that count the number of cents)

for this game that might not be usable though as each fish is probably a new instance, so a different memory location. And unless the fish gains or loses weight while you have it, it'll be difficult to find)


yeah i think thats whats going on. Every fish locates a new memory which resets the value each time


If Cheat Engine becomes updated so that you could run a pointer scan without knowing the final address, then it will likely be possible to modify (the weight of currently being generated fish) or (the weight of currently displayed fish). With pointer scans like that you could switch items locations so that you can modify an item in a specific location even though items take different locations in memory.

_________________
Have you ever run Linux in a Virtual Machine in Windows just so you could use Cheat Engine on Linux Processes?
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 Feb 15, 2015 1:12 pm    Post subject: Reply with quote

I feel confident the game is storing the value as the total ounces.
Dividing the total by 16 and using the result for pounds and remainder for ounces in the text string.

You may get lucky by searching for the assembly code div 10 in the memory viewer.
Could also try searching for mov *,10 and finding a code block that has a div below it.

May then be able to scroll up and find the code that retrieves the address you're looking for.
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 Discussions 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