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 display value in a label?

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

Joined: 17 Dec 2017
Posts: 22

PostPosted: Tue Dec 19, 2017 5:46 pm    Post subject: How to display value in a label? Reply with quote

Hello everyone! I have just one quick newbie question.

I figured out how to set values from an edit box:
Code:
function CEButton1Click(sender)
pValue = '"[process.exe"+offset]+offset'
writeInteger(pValue, getProperty(CETrainer_CEEdit1, "Text"))
end


But how do I output that value inside a trainer in a label, in real time?
So as soon as value of that variable changes either by cheat engine, trainer or the game itself, I want to output that value inside the trainer as a label?

I've tried to Google it and to find it on YouTube but no success.
Back to top
View user's profile Send private message Send e-mail
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Tue Dec 19, 2017 6:46 pm    Post subject: Reply with quote

may see this :

http://www.cheatengine.org/forum/viewtopic.php?t=603629&sid=c82a85a9be889c48a4aac871539f9faa

and

http://forum.cheatengine.org/viewtopic.php?t=676023&sid=20e9d74bd5207b5bae38cf49072a6ab9

also

http://forum.cheatengine.org/viewtopic.php?t=539748

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Lynxz Gaming
Expert Cheater
Reputation: 4

Joined: 01 Jul 2017
Posts: 208
Location: help

PostPosted: Wed Dec 20, 2017 4:35 am    Post subject: Re: How to display value in a label? Reply with quote

This is my script

Code:

anything = getAddressList().getMemoryRecordByDescription("Description Name")
-- Label show value
function Button1_Click(sender)
UDF1.CELabel1.Caption = anything.value
end
-- Change Value
function Button2_Click(sender)
anything.Value = UDF1.CEEdit1.Text
end


Hope this help Very Happy
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
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