Cheat Engine
The Official Site of Cheat Engine

Author Message
MateeJr Gaming
Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 26

 Posted: Thu Feb 22, 2018 5:34 am    Post subject: []HELP , How make Calculator? (Trainer) How i make calculator with IF I CLICK CEPANEL WITH CAPTION ( + ) THEN IT WILL Get EEDIT1 AND CEEDIT2 CAPTION VALUES IT WILL LIKE THIS CEEDIT1 + CEEDIT2 = WILL SHOW THE ANSWER ON CEEDIT 3 PLEASE GIVE SCRIPT WITH : + - × ÷ :V _________________MateeJr Gaming MASTERCHEATER :v subs MateeJr Gaming Lynxz Gaming
movss
Cheater
Reputation: 0

Joined: 10 Feb 2018
Posts: 33

 Posted: Thu Feb 22, 2018 5:51 am    Post subject: this is simple with lua useing control.getCaption(ID) and control.setCaption(ID) _________________A wild programmer
MateeJr Gaming
Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 26

Posted: Thu Feb 22, 2018 6:05 am    Post subject:

 movss wrote: this is simple with lua useing control.getCaption(ID) and control.setCaption(ID)

I not understand . Please give A Some Logic

_________________
MateeJr Gaming
MASTERCHEATER
:v
subs MateeJr Gaming
Lynxz Gaming
Corroder
Grandmaster Cheater
Reputation: 14

Joined: 10 Apr 2015
Posts: 560

Posted: Thu Feb 22, 2018 7:30 am    Post subject:

try :

 Code: function calc()  input1 = UDF1.CEEdit1.Text  input2 = UDF1.CEEdit2.Text  if tonumber(input1) == nil or tonumber(input2) == nil then   showMessage('Invalid Input. Only accepting NUMBERS')  else  result = tonumber(input1) + tonumber(input2)   UDF1.CELabel3.Visible = true   UDF1.CELabel3.Caption = 'Result is '..tostring(result)  end end UDF1.CEPanel1.onClick = calc UDF1.Show()

_________________
Singapore Sling + Johnnie Walker + Some Peanuts....
Lynxz Gaming
Cheater
Reputation: 1

Joined: 01 Jul 2017
Posts: 34

 Posted: Thu Feb 22, 2018 9:24 am    Post subject: Re: []HELP , How make Calculator? (Trainer) ? function btnresultplus(sender) UDF1.CEEdit3.Text = UDF1.CEEdit1.Text + UDF1.CEEdit2.Text end function btnresultminus(sender) UDF1.CEEdit3.Text = UDF1.CEEdit1.Text - UDF1.CEEdit2.Text end function btnresulttimes(sender) UDF1.CEEdit3.Text = UDF1.CEEdit1.Text * UDF1.CEEdit2.Text end function btnresultdiv(sender) UDF1.CEEdit3.Text = UDF1.CEEdit1.Text / UDF1.CEEdit2.Text end can?
Corroder
Grandmaster Cheater
Reputation: 14

Joined: 10 Apr 2015
Posts: 560

Posted: Thu Feb 22, 2018 11:52 am    Post subject:

Why not learn ?

 Code: function Butt_Add()  input1 = UDF1.CEEdit1.Text  input2 = UDF1.CEEdit2.Text  if tonumber(input1) == nil or tonumber(input2) == nil then   showMessage('Invalid Input. Only accepting NUMBERS')  else   result = tonumber(input1) + tonumber(input2)   UDF1.CEEdit3.Text = tostring(result)  end end function Butt_Min()  input1 = UDF1.CEEdit1.Text  input2 = UDF1.CEEdit2.Text  if tonumber(input1) == nil or tonumber(input2) == nil then   showMessage('Invalid Input. Only accepting NUMBERS')  else   result = tonumber(input1) - tonumber(input2)   UDF1.CEEdit3.Text = tostring(result)  end end function Butt_Mtply()  input1 = UDF1.CEEdit1.Text  input2 = UDF1.CEEdit2.Text  if tonumber(input1) == nil or tonumber(input2) == nil then   showMessage('Invalid Input. Only accepting NUMBERS')  else   result = tonumber(input1) * tonumber(input2)   UDF1.CEEdit3.Text = tostring(result)  end end function Butt_Div()  input1 = UDF1.CEEdit1.Text  input2 = UDF1.CEEdit2.Text  if tonumber(input1) == nil or tonumber(input2) == nil then   showMessage('Invalid Input. Only accepting NUMBERS')  else   result = tonumber(input1) / tonumber(input2)   UDF1.CEEdit3.Text = tostring(result)  end end function Butt_Clear()  UDF1.CEEdit1.Text = '0'  UDF1.CEEdit2.Text = '0'  UDF1.CEEdit3.Text = ' ' end UDF1.CEPanel1.onClick = Butt_Add UDF1.CEPanel2.onClick = Butt_Min UDF1.CEPanel3.onClick = Butt_Mtply UDF1.CEPanel4.onClick = Butt_Div UDF1.CEPanel5.onClick = Butt_Clear UDF1.Show()

Capture.JPG
Description:
 LOL KID CALCULATOR
Filesize:  18.68 KB
Viewed:  767 Time(s)

_________________
Singapore Sling + Johnnie Walker + Some Peanuts....
MateeJr Gaming
Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 26

 Posted: Sat Feb 24, 2018 5:49 am    Post subject: Thanks you all! _________________MateeJr Gaming MASTERCHEATER :v subs MateeJr Gaming Lynxz Gaming
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 6 Hours Page 1 of 1

 Jump to: Select a forum Cheat Engine----------------Cheat EngineCheat Engine Lua ScriptingCheat Engine TutorialsGeneral GamehackingAuto Assembler tutorialsPointer tutorialsGame specific tutorialsWebbrowser stuff related tutorialsConsole ModdingLUA TutorialsLua Extensions General Discussions----------------General DiscussionsArtComputer TalkRandom spamArt RequestsArt TutorialsWillekeurige RotzooiGuestsHorse Excrement Cheat Requests----------------Single player cheat request Cheat Engine Downloads----------------TablesTrainersAuto Assemble scripts Coding----------------Cheat Engine SourceCETC Server and ClientsDBVMPlugin developmentGeneral programmingBinariesCrackmesGeneral programming+Game Development2D Graphics3D ModelingGameplay designWeb Development Games----------------Flash GamesGaia OnlineStick Arena
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