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 a pointer of a string that never change
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Onelio
Newbie cheater
Reputation: 0

Joined: 22 Mar 2016
Posts: 20

PostPosted: Thu Mar 24, 2016 5:12 pm    Post subject: Reply with quote

Am... I'm not sure.. But the game "load" it when it's running so I think that it's dynamically allocated.
This dynamic string is just a path that added to the domain make another url that download more data.

That is why I want both of the strings, the static and the dynamic one.
(Forget about the static one, I'm just mean it for explaining better where is the dynamic one)
I've tryed using WireShark to detect the dynamic path everytime the game download it and then I tryed to scan the memory searching for the offset but it always show 0 in the second scan...
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4299

PostPosted: Thu Mar 24, 2016 6:22 pm    Post subject: Reply with quote

Ok, search for the string using CE. Find the string and bring it down to the address list. Double click on the number under the "Address" column. If the same number is there, then it was dynamically allocated. If it shows something like derp.dll+DAF7, then it is a static address.

Try searching for the address of the string directly. Set the value type to 4 bytes, check the "Hex" checkbox, set the "Writable" and "Executable" checkboxes to grey (neither checked nor unchecked), and uncheck the "Fast Scan" checkbox. If anything pops up, disassemble that region and see if it looks like it's valid asm. If it is, then you should be able to copy the address of that instruction to some registered symbol just by using an AoB scan. You might be able to even if it's not valid asm, but try to find something that is.

_________________
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
Onelio
Newbie cheater
Reputation: 0

Joined: 22 Mar 2016
Posts: 20

PostPosted: Fri Mar 25, 2016 10:55 am    Post subject: Reply with quote

I've restarted the computer many times but I'm still getting more than 10.000 results... Am I missing something?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4299

PostPosted: Fri Mar 25, 2016 11:09 am    Post subject: Reply with quote

No; that many results is pretty common. Just pick one and it should work for you. I generally go for the pointers with the lowest number of offsets and/or those in an important-looking module (i.e. the exe). You can also rescan the list at different points in the game. For example, rescan it when you start the game up, after you've played it for a while, and after you're ready to quit.

Those pointers should work for you; however, if you want a pointer that should also work for other people, you should rescan that list on another computer.

_________________
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
Onelio
Newbie cheater
Reputation: 0

Joined: 22 Mar 2016
Posts: 20

PostPosted: Fri Mar 25, 2016 11:32 am    Post subject: Reply with quote

One thing more, Some of the items in my list have as baseaddress "ThreadSTACK0"...
What this mean? Usually they should be more like "Process.exe"
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4299

PostPosted: Fri Mar 25, 2016 11:59 am    Post subject: Reply with quote

Threadstack addresses reside pretty low in the stack of the first few threads. These addresses are unlikely to change and as such can sometimes be treated as static addresses. Add it to your cheat table and see what's being written to it (if anything) to make sure that it's reasonably safe to use.
_________________
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
Onelio
Newbie cheater
Reputation: 0

Joined: 22 Mar 2016
Posts: 20

PostPosted: Fri Mar 25, 2016 12:03 pm    Post subject: Reply with quote

Mm.. I thnk I will pass of using them xD.
Back to top
View user's profile Send private message
WilliamW1979
How do I cheat?
Reputation: 0

Joined: 08 May 2020
Posts: 1

PostPosted: Fri May 08, 2020 9:12 pm    Post subject: Thank You! Reply with quote

I was going nuts trying to figure out why I couldn't find a pointer, but your advice let me fine them all when I increased the offset searches. I appreciate this help, even if it is 4 years old it is still great advice that works today! Just in case anyone searches and finds this, they know it still works! Thanks again!
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
Goto page Previous  1, 2
Page 2 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