View previous topic :: View next topic |
Author |
Message |
MateeJr GT Advanced Cheater Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Sun Dec 24, 2017 7:26 pm Post subject: How To Use Progress Bar in Trainer? |
|
|
Ow use Progress bar?
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Mon Dec 25, 2017 10:58 pm Post subject: |
|
|
Code: | local pb = MainForm.ProgressBar -- some progress bar (this uses the main one)
pb.Position = pb.Min -- set current position to min
if t then t.destroy(); t = nil end -- destroy any old timer from demo
t = createTimer() -- create new timer
t.Interval = 100 -- run every 100 milliseconds or 1/10 of a second
t.OnTimer = function() -- code to run
pb.stepIt() -- increase by pb.Step (1, can be changed)
if pb.Position >= pb.Max then -- check if at max
-- destroy timer if so
t.destroy()
t = nil
end
end
|
check celua.txt in the install directory for a couple more options like stepBy.
|
|
Back to top |
|
|
MateeJr GT Advanced Cheater Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Sat Jan 27, 2018 6:09 pm Post subject: |
|
|
yeah FreeER Thanks for script but that just work on.CHEAT ENGINE EXE APP TRACK BAR But o want is The trackbar on my traimer move
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sat Jan 27, 2018 6:47 pm Post subject: |
|
|
If you want to use your own progress bar then create one and change the settings to what you want (if the defaults aren't good enough) and set pb to it instead of the MainForm's, it's that simple
A trackbar is not the same thing as a progressbar despite both being bars... a trackbar is a type of input (where a user can select a value by sliding a marker along a track of values) while a progressbar is a type of output (typically it increases from 0% to 100% to indicate completion status).
|
|
Back to top |
|
|
MateeJr GT Advanced Cheater Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Sun Feb 11, 2018 4:48 am Post subject: |
|
|
Quote: | If you want to use your own progress bar then create one and change the settings to what you want (if the defaults aren't good enough) and set pb to it instead of the MainForm's, it's that simple
A trackbar is not the same thing as a progressbar despite both being bars... a trackbar is a type of input (where a user can select a value by sliding a marker along a track of values) while a progressbar is a type of output (typically it increases from 0% to 100% to indicate completion status). |
I not understand FreeER .
More helps ?
I already tryed but error . Idk he say pb error
please give a simple CT OR ANY SCRIPS FOR CEPROGRESSBAR RUN
_________________
Hi Lynxz Gaming |
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sun Feb 11, 2018 6:54 am Post subject: |
|
|
I already did. It doesn't get any simpler than that nor does changing it to use your own, change MainForm.ProgressBar to whateverYourFormNameIs.WhateverYourProgressBarNameIs.
Ok, technically I suppose the simplest would be MainForm.ProgressBar.stepIt() but that's probably an entirely worthless example...
Go learn lua and write some lua scripts that do stuff, then go read the CE documentation and write some actual scripts, then come back and you'll understand that what you were given is super trivial code.
|
|
Back to top |
|
|
MateeJr GT Advanced Cheater Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Sun Feb 11, 2018 7:28 am Post subject: |
|
|
FreeER wrote: | I already did. It doesn't get any simpler than that nor does changing it to use your own, change MainForm.ProgressBar to whateverYourFormNameIs.WhateverYourProgressBarNameIs.
Ok, technically I suppose the simplest would be MainForm.ProgressBar.stepIt() but that's probably an entirely worthless example...
Go learn lua and write some lua scripts that do stuff, then go read the CE documentation and write some actual scripts, then come back and you'll understand that what you were given is super trivial code. |
Thanks FreeER You is the best helper. Its worked! ? Thanks thanks!
Bye
_________________
Hi Lynxz Gaming |
|
Back to top |
|
|
|