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 


AOE IV unable to find static adress of a value ( video )

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

Joined: 03 Sep 2011
Posts: 6

PostPosted: Sun Feb 20, 2022 6:16 pm    Post subject: AOE IV unable to find static adress of a value ( video ) Reply with quote

Hello all thank you for taking your time to read,

i have been trying to get resources for gold and stone have managed to find the external memory address however unable to find static address getting some strange memory addresses back along with the functions

ht**://***.youtube.c**/watch?v=-Yoii9apCqw&ab_channel=elfenliedtopfan5

any help would be much appriated.

Kind regards,
elfenliedtopfan5
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: Mon Feb 21, 2022 4:22 am    Post subject: Reply with quote

A few things that I notice in the video. Firstly, it's really difficult to hear what you're saying. When you're trying to find out what instructions handle that address you selected 'Find out what accessess this address', that will include read-only instructions. It's better to choose 'Find out what writes to this address'. The other thing is that when scanning for the possible address which could be the pointer, you selected 4 bytes instead of 8 (64-bit games will be 8-byte addresses).
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4717

PostPosted: Mon Feb 21, 2022 12:14 pm    Post subject: Reply with quote

When finding offsets in a pointer path, you want to know how the game is accessing data. reads / writes don't make a difference. Look at the instructions themselves to figure it out.
In this case, most instructions are using the offset 10 (hex), so it's probably 10.

First major problem I spotted is that you're searching for a 4-byte value when pointers are 8 bytes in size. The value you scanned for (14F271DA5C0) is 6 bytes long. I didn't watch the video past this point.

It looks like the value you're trying to find a pointer to is the amount of gold in a gold vein in the map. Have you ever considered what type of data structure the gold veins could be contained in? It might not be something simple like a fixed size array, and there's no guarantee you'd get any particular gold vein on the map.

I think you'd be better off injecting code to do whatever you want. If you want infinite gold in a gold vein, that might be as easy as replacing an instruction with NOPs.

If you must find pointers, you could try the pointer scanner. See this video on step 8 for more information:
https://www.youtube.com/watch?v=3dyIrcx8Z8g

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

Joined: 03 Sep 2011
Posts: 6

PostPosted: Sat Feb 26, 2022 7:33 am    Post subject: what is the best way to find this kind of value AOE IV Reply with quote

i have managed to do injecting of the code before posting the thing is i want to make a c# trainer and i know you cant do assembly code inside c# that is why i have been trying to find a way of getting a static address and i love the pointer scan idea but pointer scans don't work on that address and have no idea,

done both methords,
standard pointer scan,
and doing to pointer maps and compare but both of them return no results have tryied my best to get the pointers working with 8byte managed to get 2 pointers - and then the third one it just gives me

push rax
and pop eax

so was unable to get any offsets or anthing from it so was confused on where to go next.
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