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 


How to show address value in lua ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Sun Dec 15, 2013 2:28 am    Post subject: How to show address value in lua ? Reply with quote

I tried this
Code:

 local memrec=addresslist_getMemoryRecordByDescription(getAddressList(), "test1")
  local value=memoryrecord_getValue(memrec)
  control_setCaption(CETrainer_CELabel2, value)


I put it inside of a timer and generated the trainer but still it didnt show the value of the address.
Back to top
View user's profile Send private message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Sun Dec 15, 2013 4:41 pm    Post subject: Reply with quote

This worked for me
Code:
addr=addresslist_getMemoryRecordByID(addresslist,0)
value=memoryrecord_getValue(addr)
 control_setCaption(CETrainer_CELabel2, value)
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