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 


Grab a pointer value, and use it on another pointers value

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

Joined: 11 Jul 2018
Posts: 4

PostPosted: Mon Sep 17, 2018 2:15 pm    Post subject: Grab a pointer value, and use it on another pointers value Reply with quote

Hey all, been reading on these forums for a very long time, and have learned alot but I am stuck on this and no searches can yield me an answer =/

Is this possible?

Basically I would like to grab pointers A value, and use it for pointers B value. Thanks for the help all!
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Mon Sep 17, 2018 4:46 pm    Post subject: Reply with quote

writeXXX('B',readXXX('A')) where XXX is the corresponding type name Bytes, SmallInteger (2 bytes), Integer, Qword, Pointer, Float, Double, String etc.
_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Mon Sep 17, 2018 10:50 pm    Post subject: Reply with quote

set the value of pointer B to
Code:

(Pointer A)

(assuming the description of the memoryrecord describing pointer a is "Pointer A")

if you wish to constantly match it then first freeze it and afterwards set the value to (Pointer A)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Dr_gibblin
How do I cheat?
Reputation: 0

Joined: 11 Jul 2018
Posts: 4

PostPosted: Tue Sep 18, 2018 3:53 pm    Post subject: Reply with quote

Awesome worked great! Tyvm
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 Lua Scripting 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