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 


Pointer to Trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Oxijen
Expert Cheater
Reputation: 0

Joined: 07 May 2020
Posts: 163
Location: On The Moon

PostPosted: Sat May 30, 2020 1:21 pm    Post subject: Pointer to Trainer Reply with quote

I am trying to use a pointer in a trainer.
I have a pointer but I don't know how can I use it in a trainer (add it).
I want to make an if statement so when the value of the pointer reaches ...
I saw someone uses addresslist_getMemoryRecordByDescription but I did not get it

_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum Wink
Back to top
View user's profile Send private message
exohaxor
Expert Cheater
Reputation: 1

Joined: 02 Sep 2018
Posts: 101

PostPosted: Sat May 30, 2020 2:32 pm    Post subject: Reply with quote

you can use CE's lua functions to read/write memory or pointer values in your case
all the CE functions are listed in celua.txt in CE's installation folder
see the attachment for some of them



Screenshot_3.png
 Description:
 Filesize:  110.22 KB
 Viewed:  1544 Time(s)

Screenshot_3.png



_________________
hi
Back to top
View user's profile Send private message
Oxijen
Expert Cheater
Reputation: 0

Joined: 07 May 2020
Posts: 163
Location: On The Moon

PostPosted: Sat May 30, 2020 2:45 pm    Post subject: Reply with quote

Oh, I almost forgot about Cheat Engine Lua docs.
Thanks for the help Very Happy
I can't double post so I edited the message to add :
For anyone who needs :
Code:
your_pointer_desc = "strike"
getting_pointer_by_desc = addresslist_getMemoryRecordByDescription(getAddressList(), your_pointer_desc)
getting_value = memoryrecord_getValue(getting_pointer_by_desc)

_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum Wink
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