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 


Finding the value of a single item

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

Joined: 06 Mar 2023
Posts: 3

PostPosted: Mon Mar 06, 2023 9:50 pm    Post subject: Finding the value of a single item Reply with quote

Hello! I'm new here to the forums and have a question. If I have 1 of an item and no other way to obtain more of it, how do I search the address of that item?

Thanks! Smile
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Mon Mar 06, 2023 10:08 pm    Post subject: Reply with quote

Get the address of some other item. Right click it and select "Find out what instructions access this address". Do stuff in the game related to that item- open / close your inventory, hover over it, etc.

Go to each instruction in the disassembler, right click it, and select "Find out what addresses this instruction accesses". Then do the same thing for the item you want to find. Maybe it comes up.

It's possible but more complicated to do something similar with pointers.

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

Joined: 06 Mar 2023
Posts: 3

PostPosted: Mon Mar 06, 2023 10:32 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Get the address of some other item. Right click it and select "Find out what instructions access this address". Do stuff in the game related to that item- open / close your inventory, hover over it, etc.

Go to each instruction in the disassembler, right click it, and select "Find out what addresses this instruction accesses". Then do the same thing for the item you want to find. Maybe it comes up.

It's possible but more complicated to do something similar with pointers.



I see Find out what accesses this address & Find out what writes to this address. I dont see what you stated above
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Mon Mar 06, 2023 11:58 pm    Post subject: Reply with quote

If you click "Find out what instructions access this address", the window that pops up will show you instructions that access that address. You can right click any of those instructions and see the option for "Find out what addresses this instruction accesses". It's very simple.

Alternatively, that same window has a button called "Show Disassembler" when an instruction is selected or you can right click one of the instructions and select "Show this address in the disassembler" or hit Ctrl-D with an instruction selected.

Then find that instruction in the new window that pops up and select "Find out what addresses this instruction accesses".

Follow the steps previously outlined to see if you can find the unknown address with a quantity of 1. This is an instance where you will learn by playing with it and building your own observations.
Back to top
View user's profile Send private message
Deama270
How do I cheat?
Reputation: 0

Joined: 06 Mar 2023
Posts: 3

PostPosted: Tue Mar 07, 2023 1:22 am    Post subject: Reply with quote

cooleko wrote:
If you click "Find out what instructions access this address", the window that pops up will show you instructions that access that address. You can right click any of those instructions and see the option for "Find out what addresses this instruction accesses". It's very simple.

Alternatively, that same window has a button called "Show Disassembler" when an instruction is selected or you can right click one of the instructions and select "Show this address in the disassembler" or hit Ctrl-D with an instruction selected.

Then find that instruction in the new window that pops up and select "Find out what addresses this instruction accesses".

Follow the steps previously outlined to see if you can find the unknown address with a quantity of 1. This is an instance where you will learn by playing with it and building your own observations.


Does this still work with programs that dont require you to search for 1 but instead require you to search for 1x2+1 ?



Not sure if this helps, but I have here "F8 9A 38 A5 A6 01" which is apparently the code for that stash and 01 is the slot in the stash. "0C 3B 2C 02" is the code for the actual item I used (not the other item that I only have 1 of). The item I used I have multiples of so it was fairly easy to find this.

I was also able to verify that the first code beginning with F8 was indeed the stash and 01 was the slot by putting an other item in the stash to take up slot 2. Would it be easier to find "F8 9A 38 A5 A6 01"? the memory address changes every time you restart the game OR completely empty the stash, but putting an item back into the stash the F8 code remains the same but in a completely different address.
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