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 


Addresses don't match game coins
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
nikosmantz
How do I cheat?
Reputation: 0

Joined: 23 Apr 2020
Posts: 8

PostPosted: Tue May 31, 2022 5:59 am    Post subject: Addresses don't match game coins Reply with quote

Okay so I'm trying to change the value of the coins in a game and I do scan increase value every time I get more coins but I end up with around 50-100 addresses that change every time I get more coins. Is there a way I can find the exact one that addresses to the coins? (Btw they are decrypted so it doesn't show the value of my current coins just a random number)

Last edited by nikosmantz on Wed Jun 01, 2022 10:36 am; edited 1 time in total
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Tue May 31, 2022 6:26 am    Post subject: Reply with quote

I can assure you that the values you see are not decrypted values. They are likely to be unrelated to the coin value that you speak of.

I would advise that you follow the tutorial within the Cheat Engine help menu to better grasp scanning techniques.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Tue May 31, 2022 6:43 am    Post subject: Reply with quote

change half of them and see if it has an effect in the game (you may have to spend a coin to see it update)
if not, the correct address is in the other half.
repeat and hope the game doesn't crash

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
nikosmantz
How do I cheat?
Reputation: 0

Joined: 23 Apr 2020
Posts: 8

PostPosted: Wed Jun 01, 2022 9:54 am    Post subject: Reply with quote

I have done the tutorial or as much as I could.

And in that game if I change some of these values it usually crashes.
Plus what do I even change them to because it just shows random numbers like 50259252 when my coins are like 2500
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Wed Jun 01, 2022 10:04 am    Post subject: Reply with quote

take a deep breath, and try searching again, since its encrypted and there are many aadresses, it will take some time but eventually you will get to it, crashing means you are nost likely messing with other game stuff not related to the coins, use the changed/unchanged filters, buy something or gain some coins and keep looking, you could try a searching with the value type set to 'All' too.
Back to top
View user's profile Send private message
nikosmantz
How do I cheat?
Reputation: 0

Joined: 23 Apr 2020
Posts: 8

PostPosted: Wed Jun 01, 2022 10:33 am    Post subject: Update Reply with quote

I managed to get it down to 18 results.
My coins atm are 7,406.
I attached a screenshot with the results how can I know what address is my coins? They all change when I get or lose coins.

edit: idk I give up I tried changing one of them and game crashed I have no clue how to find which one is the coin address



Screenshot_1.png
 Description:
 Filesize:  24.08 KB
 Viewed:  7603 Time(s)

Screenshot_1.png


Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Wed Jun 01, 2022 10:53 am    Post subject: Reply with quote

i'd say focus on the 4 byte values and change these double/float values "type" into 4 bytes, (as they are imaginary numbers and do not make sense) try freezing each one and see if it works, if not, you can try 'find out what writes the address' option on each one and disable the asm instructions to see if they have effect
or you can do it in reverse way, freeze them all at once, if this freeze the coins, then start un-freezing them one-by-one untill you find the one that makes the coin change again
Back to top
View user's profile Send private message
nikosmantz
How do I cheat?
Reputation: 0

Joined: 23 Apr 2020
Posts: 8

PostPosted: Wed Jun 01, 2022 10:59 am    Post subject: Reply with quote

wait if I freeze them all will the coins not change in game when I get or lose any?
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Wed Jun 01, 2022 11:00 am    Post subject: Reply with quote

if you searched correctly then yes
Back to top
View user's profile Send private message
nikosmantz
How do I cheat?
Reputation: 0

Joined: 23 Apr 2020
Posts: 8

PostPosted: Wed Jun 01, 2022 11:25 am    Post subject: Reply with quote

I tried your suggestion to freeze the values I had around 56 I froze them all and my coins were still going up when I got more.
I don't understand all I'm doing is changed and unchanged value every time my coins are going up in All value type.
Maybe the game has a rly good anti-cheat?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 155

Joined: 06 Jul 2014
Posts: 4765

PostPosted: Wed Jun 01, 2022 11:37 am    Post subject: Reply with quote

It's 59254. Shift it right by 3 (i.e. divide by 8, floor the result) and you get 7406.

The lower 3 bits are some other data, and the rest are likely the integer value. IIRC flash used to use this a lot.

Custom type:
Code:
alloc(ConvertRoutine,1024)
alloc(ConvertBackRoutine,1024)
alloc(TypeName,256)
alloc(ByteSize,4)
alloc(UsesFloat,1)
alloc(CallMethod,1)

TypeName:
db 'Signed 4 Bytes *8',0

ByteSize:
dd 4

UsesFloat:
db 0

CallMethod:
db 1

// cdecl int ConvertRoutine(unsigned char *input, PTR_UINT address);
ConvertRoutine:
[64-bit]
//rcx=address of input
//rdx=address
mov eax,[rcx]
sar eax,3
ret
[/64-bit]

[32-bit]
xor eax,eax
ret
[/32-bit]

// cdecl void ConvertBackRoutine(int i, PTR_UINT address, unsigned char *output);
ConvertBackRoutine:
[64-bit]
//ecx=input
//rdx=address
//r8=address of output
mov edx,[r8]
and edx,7
lea edx,[rdx+rcx*8]
mov [r8],edx
ret
[/64-bit]

[32-bit]
ret
[/32-bit]
right click "Value Type" box -> "Define new custom type (Auto Assembler)"
_________________
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
nikosmantz
How do I cheat?
Reputation: 0

Joined: 23 Apr 2020
Posts: 8

PostPosted: Wed Jun 01, 2022 11:41 am    Post subject: Reply with quote

thanks for the information

also what does this code do?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 155

Joined: 06 Jul 2014
Posts: 4765

PostPosted: Wed Jun 01, 2022 11:48 am    Post subject: Reply with quote

Custom types allow conversion of arbitrary data to/from a 4-byte value (int or float). Basically it lets you search and change weird values easily.

If changing the value in CE doesn't seem to affect the game, you didn't find the right value. Try loading the game and disconnecting from the internet. If you can't play the game normally anymore, the real value probably isn't stored on your computer (give up).

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

Joined: 23 Apr 2020
Posts: 8

PostPosted: Wed Jun 01, 2022 12:12 pm    Post subject: Reply with quote

okay quick question when I find the address like I did in the screenshot earlier do I just change the value to the number of coins I want and multiply it by 8?

(also the game is an online game)
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Wed Jun 01, 2022 12:27 pm    Post subject: Reply with quote

since its online then ..... its most likely stored in game servers, you cant do anything about it
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
Goto page 1, 2  Next
Page 1 of 2

 
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