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 


Trouble Finding Pointers or Static Address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Coreveen
Cheater
Reputation: 0

Joined: 12 May 2011
Posts: 41

PostPosted: Fri Apr 26, 2019 12:32 am    Post subject: Trouble Finding Pointers or Static Address Reply with quote

I've never quite seen a game react this way when trying to make cheat engine cooperate with it and I'm not sure what to do or if I've just been away from the CE game for so long that I'm doing something wrong. Likely both and then some.

So in the game there's a shop (which you can build any number of at any time) that generates a handful of random items every few minutes. I can locate the itemstack by purchasing one at a time from the stack and that leads to neighboring item ID and item value addresses at +10 and -10 respectively to the quantity address.

Finding it isn't the problem, it's having cheat engine automatically finding it for me without all the searching and scanning nonsense that I'm having trouble with.

I've followed a multi-level 'find what access this address' video, and a handful of pointer scanning tutorials and followed them to a T but this address doesn't seem like normal addresses and is not cooperating at all.

Pointerscan results empty to 0 after the 2nd or 3rd iteration of searching the same shop's slot (no shops changed or added during these tests) between game restarts. Sometimes the 1st and 2nd pointerscan have a mere 50~ results. Adding them all to the cheat table and reloading the game however, they all become ??? or 0. I've done this pointerscan method at least a dozen times now and another dozen trying out different settings.

For the what access this address method, all modifications in-game to the address as well as the two passively progressing entries all have no offset (or +000000 if you want to imagine it that way as I've seen in other threads on this forum from Dark Byte himself).

Searching up the 'easy guess' in 4 Bytes Hex shows either 0 results or 1-2 results randomly between game restarts. The pointers using the result address with an offset of 0 does show it pointing to the correct address, so I dig deeper with more what access it easy guess searching but after about 4 levels deep it just starts looping back to previous easy guesses.

I've tried to AoB script the value before any of this pointer stuff at all, and during these tests have tried AoB'ing the found hex value/addresses during the what accesses it searches and nothing works.

It's like this address just evaporates and I am really determined to fight this shop RNG. Any help with this issue would be appreciated. What should I try? What specific obvious thing might I be overlooking as a CE newb?

Thanks for your time and for reading everyone.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4702

PostPosted: Fri Apr 26, 2019 7:00 am    Post subject: Reply with quote

Sometimes static pointers just aren't viable (e.g. emulators, VMs). What language/engine does the game use?

Try code injection. (If you don't know how, tutorials tend to use the name "injection copy" / "injection copies")

_________________
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
Coreveen
Cheater
Reputation: 0

Joined: 12 May 2011
Posts: 41

PostPosted: Sat Apr 27, 2019 1:15 am    Post subject: Reply with quote

I'm not entirely sure what engine Foarager uses. I think it might be a custom indie engine. Also unsure of the language it uses. Is there a simple way to check that info for you?

I'll look into injection copies...

Edit:

So I've checked out an injection copy video and that is the exact process I was referring to when I said I was using AoB scans to display the addresses in the cheat table.

The problem I encounter with using the method is the instruction constantly and instantly changes to thousands of other addresses so there is no feasible way to get it to lock onto the one address in question at least to my low amount of knowledge in CE.

Are there are other ideas floating around out there?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4702

PostPosted: Sat Apr 27, 2019 9:01 am    Post subject: Reply with quote

Use a search engine- an article I found implies it was written with GameMaker. If so, you probably won't have an easy time dealing with the assembly (or pointers), but you could try your luck with a decompiler.
_________________
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
Coreveen
Cheater
Reputation: 0

Joined: 12 May 2011
Posts: 41

PostPosted: Sat Apr 27, 2019 10:52 pm    Post subject: Reply with quote

Thanks for the response again. Could you go into a bit more detail on the decompiling process and how it would help with this?

Edit:

I was able to extract what I believe are the assets of the game including some .dat files that I believe contain the code and scripts for the game.

However opening them results in a notepad++ giberish NUL expedition and I'm not sure what else I can try here.

If anyone has any ideas or methods for how I can tap this game using cheat engine I'd really appreciate it!

Edit:

Back to trying CE again and not having much success.. with copy inject, most addresses that are accessed have instructions that are constantly and rapidly accessed by hundreds of operations.

https://i.imgur.com/IFFMjQd.png

I'm at a loss here. Please gurus help! lol
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