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 find a value that has gone past the 4 byte limit?

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

Joined: 02 Nov 2015
Posts: 6

PostPosted: Wed Aug 13, 2025 5:52 pm    Post subject: How to find a value that has gone past the 4 byte limit? Reply with quote

Title, the game in question is Anti Idle: The Game, I'm using Adobe Flash Player 29.

Basically I'd like to find the address for Green Coins, a secondary currency in the game, the image shows that the value is over 300m and the value in the 4b address is randomly jumping between various values.

Naturally I tried X*8, X*8+6 and X with "Value Between" and "All" in the scan type and value type and trying with "Increased Value" as it increases faster than I can think of lowering it.

I tried looking for the pointer but the way that the tutorial makes it doesn't work at all as I'm finding no addresses in the search and adding them manually doesn't give me an X, X*8 or X*8+6 value for the coins.

What am I missing here? Or is there a way to "transform" the 4 byte address to another? I try to chose a different type in the CE screen but it gives me random numbers that go up and down in 8 bytes and xE-30 or numbers like that in double and float values.

Thanks Very Happy

EDIT: For clarity, the value when below 270 million is a typical 4 byte X*8



GC Thing.png
 Description:
The value of the green coins was originally a simple X*8 but is quickly surpasses the 4 byte limit
 Filesize:  7.88 KB
 Viewed:  99 Time(s)

GC Thing.png




Last edited by lolera222 on Wed Aug 13, 2025 6:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Aug 13, 2025 6:08 pm    Post subject: Reply with quote

try the float or double type
_________________
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
Back to top
View user's profile Send private message MSN Messenger
lolera222
How do I cheat?
Reputation: 0

Joined: 02 Nov 2015
Posts: 6

PostPosted: Wed Aug 13, 2025 6:39 pm    Post subject: Reply with quote

Already did, it shows the value but it can't be modified, like it was just the displayed value instead of the "true" value

EDIT: and that's IF I get an address at all, most of the time I get nothing
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Aug 14, 2025 4:44 am    Post subject: Reply with quote

try a range. e.g. 317352000 to 317353000

followed by the next range scan

_________________
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
Back to top
View user's profile Send private message MSN Messenger
lolera222
How do I cheat?
Reputation: 0

Joined: 02 Nov 2015
Posts: 6

PostPosted: Thu Aug 14, 2025 7:40 am    Post subject: Re: How to find a value that has gone past the 4 byte limit? Reply with quote

lolera222 wrote:

Naturally I tried X*8, X*8+6 and X with "Value Between" and "All" in the scan type and value type and trying with "Increased Value" as it increases faster than I can think of lowering it.


Already tried it too, didn't work, I did all the obvious stuff so that's why I'm asking here.

In the OP X is the value of the Green Coins.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4690

PostPosted: Thu Aug 14, 2025 1:34 pm    Post subject: Reply with quote

That's nostalgic.

I think that game came out before actionscript 3 was commonly used. actionscript 2 is annoying to approach from a low level since it's purely interpreted and not JIT-compiled.

I'd get the swf, decompile it (e.g. JPEXS), and change the bytecode as needed. If it's AS2, changing it at runtime is easy since it's interpreted; if it's AS3, you'll need to change the bytecode before it gets JIT compiled. You might be able to change it in the swf file itself, but I don't know if there are any checksums that might be invalidated. Maybe JPEXS has some features that can help with that.

A long time ago I messed around with an old AS2 or maybe even AS1 game, and I discovered the virtual machine was reallocating values on each mutation ("next scans" were practically useless). I had to abuse the pointer scanner to find the value I was looking for.

After the value surpasses 2^28 (~268M), does changing the 4-byte value have any effect on the value in-game? You might need to do something to update the display. If it does, then maybe you can figure out a correlation; if it just crashes, then maybe it's a pointer and you can look at the address it's pointing to.

_________________
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
lolera222
How do I cheat?
Reputation: 0

Joined: 02 Nov 2015
Posts: 6

PostPosted: Thu Aug 14, 2025 3:01 pm    Post subject: Reply with quote

Yes it changes after the random numbers start appearing and again I can just do 260000000*8 to take it up to the limit and re-start earning them, what would the next step be after that?
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