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 


Combobox Help

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

Joined: 20 Dec 2018
Posts: 2
Location: No

PostPosted: Thu Dec 20, 2018 11:57 am    Post subject: Combobox Help Reply with quote

So I posted a picture on how I would like it to work. To be able to select a address, and a combo box to change the value of that selected address.

!!!!!!!!!!!!>This is all I need it to do. Just change a value of a selected address. Pretty much <!!!!!!!!!!!!!!!

Hello. I'm new at this stuff was just wondering.

So I would like to select a certain address.

And use a Combo box to change the value of the selected address. I hope I make since.

I'm trying to make a Form combobox, to change a certain address's value in the cheat table.
So I would use the combo box on the form gui to change the value of the address in my cheat table.

USING that certain address from the cheat table!!!!

here is my lua code below:
--------------------------------------------------------------------

--Creates first the form
UDF1_1 = createForm(true)
UDF1_1.caption = [[UDF1]]
UDF1_1.left = 560
UDF1_1.top = 359
UDF1_1.width = 295
UDF1_1.height = 236
UDF1_1.align = alNone
UDF1_1.enabled = nil
UDF1_1.visible = true
-- Creating the objects

CEPanel1 = createPanel(UDF1_1)

CEPanel1.caption = [[]]
CEPanel1.left = [[-8]]
CEPanel1.top = [[-18]]
CEPanel1.width = [[310]]
CEPanel1.height = [[262]]
CEPanel1.align = [[alNone]]
CEPanel1.enabled = [[true]]
CEPanel1.visible = [[true]]

DoodleBob = createComboBox(CEPanel1)

DoodleBob.left = [[96]]
DoodleBob.top = [[136]]
DoodleBob.width = [[100]]
DoodleBob.height = [[23]]
DoodleBob.align = [[alNone]]
DoodleBob.enabled = [[true]]
DoodleBob.visible = [[true]]

CEEdit1 = createEdit(CEPanel1)

CEEdit1.left = [[106]]
CEEdit1.top = [[65]]
CEEdit1.width = [[80]]
CEEdit1.height = [[23]]
CEEdit1.align = [[alNone]]
CEEdit1.enabled = [[true]]
CEEdit1.visible = [[true]]

CELabel1 = createLabel(CEPanel1)

CELabel1.caption = [[Selected Address ]]
CELabel1.left = [[105]]
CELabel1.top = [[45]]
CELabel1.width = [[92]]
CELabel1.height = [[15]]
CELabel1.align = [[alNone]]
CELabel1.enabled = [[true]]
CELabel1.visible = [[true]]

CELabel2 = createLabel(CEPanel1)

CELabel2.caption = [[Select a value to change the Selected address's Value]]
CELabel2.left = [[18]]
CELabel2.top = [[111]]
CELabel2.width = [[276]]
CELabel2.height = [[15]]
CELabel2.align = [[alNone]]
CELabel2.enabled = [[true]]
CELabel2.visible = [[true]]
--Creates first the form
UDF1_1 = createForm(true)
UDF1_1.caption = [[UDF1]]
UDF1_1.left = 627
UDF1_1.top = 340
UDF1_1.width = 295
UDF1_1.height = 236
UDF1_1.align = alNone
UDF1_1.enabled = nil
UDF1_1.visible = true
-- Creating the objects

CEPanel1 = createPanel(UDF1_1)

CEPanel1.caption = [[]]
CEPanel1.left = [[-12]]
CEPanel1.top = [[-18]]
CEPanel1.width = [[310]]
CEPanel1.height = [[262]]
CEPanel1.align = [[alNone]]
CEPanel1.enabled = [[true]]
CEPanel1.visible = [[true]]

SelectAValueHere = createComboBox(CEPanel1)

SelectAValueHere.left = [[60]]
SelectAValueHere.top = [[136]]
SelectAValueHere.width = [[160]]
SelectAValueHere.height = [[23]]
SelectAValueHere.align = [[alNone]]
SelectAValueHere.enabled = [[true]]
SelectAValueHere.visible = [[true]]

CEEdit1 = createEdit(CEPanel1)

CEEdit1.left = [[106]]
CEEdit1.top = [[65]]
CEEdit1.width = [[80]]
CEEdit1.height = [[23]]
CEEdit1.align = [[alNone]]
CEEdit1.enabled = [[true]]
CEEdit1.visible = [[true]]

CELabel1 = createLabel(CEPanel1)

CELabel1.caption = [[Selected Address ]]
CELabel1.left = [[105]]
CELabel1.top = [[45]]
CELabel1.width = [[92]]
CELabel1.height = [[15]]
CELabel1.align = [[alNone]]
CELabel1.enabled = [[true]]
CELabel1.visible = [[true]]

CELabel2 = createLabel(CEPanel1)

CELabel2.caption = [[Select a value to change the Selected address's Value]]
CELabel2.left = [[18]]
CELabel2.top = [[111]]
CELabel2.width = [[276]]
CELabel2.height = [[15]]
CELabel2.align = [[alNone]]
CELabel2.enabled = [[true]]
CELabel2.visible = [[true]]




---------------------------------------------------------------------------
So here is the basic form I got. I just don't know how to make it change a certain address's value.

That's all I need it to do. Just change a value of a selected address.
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 Tutorials -> LUA Tutorials 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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites