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 


Any way to make a pointer check part of the address?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Winsane
Newbie cheater
Reputation: 0

Joined: 12 Mar 2016
Posts: 12

PostPosted: Thu Mar 17, 2016 6:02 pm    Post subject: Any way to make a pointer check part of the address? Reply with quote

Hello again!

I'm having a bit of trouble with a pointer. It seems no matter what pointers I use, there is always other stuff writing to the pointer sometimes other than the address that I need.

The address is for the position of the player. When moving around, the pointer is correct 90% of the time, but then it changes to something completely different sometimes, which messes things up.

The last part of the address is always the same, so if I could just somehow check that the end of the address found by the pointer is "88", then I'd be set.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Mar 17, 2016 8:00 pm    Post subject: Reply with quote

Use injection.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4717

PostPosted: Thu Mar 17, 2016 9:11 pm    Post subject: Reply with quote

I'm guessing it's a threadstack address? Try to find some base address inside a module instead. Note that if you're playing on something that's either emulated or interpreted (i.e. flash, java, .net, etc.), then you probably won't ever find a good static pointer. Instead, just hook some instruction that solely accesses that address and copy it to a registered symbol.

If you really want to use that pointer, then you could use a Lua script to make a timer that automatically checks the last byte of the end address of the pointer path. Then just write to the address field of a memory record object if it's 88.

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

Joined: 12 Mar 2016
Posts: 12

PostPosted: Fri Mar 18, 2016 11:45 am    Post subject: Reply with quote

ParkourPenguin wrote:
I'm guessing it's a threadstack address? Try to find some base address inside a module instead. Note that if you're playing on something that's either emulated or interpreted (i.e. flash, java, .net, etc.), then you probably won't ever find a good static pointer. Instead, just hook some instruction that solely accesses that address and copy it to a registered symbol.

If you really want to use that pointer, then you could use a Lua script to make a timer that automatically checks the last byte of the end address of the pointer path. Then just write to the address field of a memory record object if it's 88.


It's flash, so that's probably why.

I'm using hotkeys to increase/decrease the value of the address to move my character around, so I'm not sure how I would do that with aob injection. As for the lua script, I have never tried to do anything with lua, but I might look into it!

Would doing what you said still allow me to use hotkeys to increase/decrease the address?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4717

PostPosted: Fri Mar 18, 2016 12:04 pm    Post subject: Reply with quote

No, that's just to get you a reliable reference to the address so that you don't have to find it every time you restart the game. Once you have that, you can do whatever you want with it. See the "injection copies" section of this topic to learn more.
_________________
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
Winsane
Newbie cheater
Reputation: 0

Joined: 12 Mar 2016
Posts: 12

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

Thanks for the link, I think I know what to do now.
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