View previous topic :: View next topic |
Author |
Message |
BOSCHDRIFT How do I cheat?
Reputation: 0
Joined: 27 May 2014 Posts: 9
|
Posted: Tue May 27, 2014 8:23 pm Post subject: Trainer CheckBox Help! |
|
|
Can some one explain this to me, because i made a Trainer for LFS and i have to use the standard keyboard buttons and i dont like that. Ive looked on here but i could not understand some stuff, So any game hacker out if you can please help me.So heres what i dont understand:
CheckBox Class: (Inheritance: ButtonControl->WinControl->Control->Component->Object)
createCheckBox(owner): Creates a CheckBox class object which belongs to the given owner. Owner can be any object inherited from WinControl
checkbox_getAllowGrayed(CheckBox)
checkbox_setAllowGrayed(CheckBox, boolean)
checkbox_getState(checkbox): Returns a state for the checkbox.
(cbUnchecked, cbChecked, cbGrayed)
checkbox_setState(checkbox, boolean): Sets the state of the checkbox
checkbox_onChange(checkbox, function)
ToggleBox Class: (Inheritance: CheckBox->ButtonControl->WinControl->Control->Component->Object)
createToggleBox(owner): Creates a ToggleBox class object which belongs to the given owner. Owner can be any object inherited from WinControl
GroupBox Class: (Inheritance: WinControl->Control->Component->Object)
createGroupBox(owner): Creates a GroupBox class object which belongs to the given owner. Owner can be any object inherited from WinControl
|
|
Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Wed May 28, 2014 3:14 am Post subject: Re: Trainer CheckBox Help! |
|
|
BOSCHDRIFT wrote: | Can some one explain this to me, because i made a Trainer for LFS and i have to use the standard keyboard buttons and i dont like that. Ive looked on here but i could not understand some stuff, So any game hacker out if you can please help me.So heres what i dont understand:
CheckBox Class: (Inheritance: ButtonControl->WinControl->Control->Component->Object)
createCheckBox(owner): Creates a CheckBox class object which belongs to the given owner. Owner can be any object inherited from WinControl
checkbox_getAllowGrayed(CheckBox)
checkbox_setAllowGrayed(CheckBox, boolean)
checkbox_getState(checkbox): Returns a state for the checkbox.
(cbUnchecked, cbChecked, cbGrayed)
checkbox_setState(checkbox, boolean): Sets the state of the checkbox
checkbox_onChange(checkbox, function)
ToggleBox Class: (Inheritance: CheckBox->ButtonControl->WinControl->Control->Component->Object)
createToggleBox(owner): Creates a ToggleBox class object which belongs to the given owner. Owner can be any object inherited from WinControl
GroupBox Class: (Inheritance: WinControl->Control->Component->Object)
createGroupBox(owner): Creates a GroupBox class object which belongs to the given owner. Owner can be any object inherited from WinControl |
This means that you can create a checkbox with createCheckBox(owner),owner is the form where you want to put your checkbox,then you can access some properties of your checkbox with those methods,for example:
Code: | do
local cb=createCheckBox(getMainForm())
cb.Top,cb.Left=325,270
showMessage(cb.getState())
cb.setState(1) --cb.setState is the same as checkbox_setState
end
This example code will show a checkbox in the main CE window,when it is unchecked,checkbox_getState will return 0,and when checked,it'll return 1 |
|
|
Back to top |
|
 |
BOSCHDRIFT How do I cheat?
Reputation: 0
Joined: 27 May 2014 Posts: 9
|
Posted: Wed May 28, 2014 6:30 am Post subject: Trainer CheckBox Help! |
|
|
Am getting alittle bit of it. But i want to make check boxes to enable my hack on and off. I found something on here:
[enable]
00C2CF77:
db 90 90 90 90 90 90 90 90
[disable]
00C2CF77: // 90 90 90 90 90 90 90 90 90 81 EC ?? ?? ?? ?? 33 C0
db ff 75 0c e8 2e 4e 02 00
I dont get what the (db ect etc...)
and the two slashes after the address ( 90 90 90 90 90 90 90 90 90 81 EC ?? ?? ?? ?? 33 C0 ) Can you explain me that. Or can i post my trainer here or cheat table and you can help me with it.
|
|
Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Wed May 28, 2014 1:54 pm Post subject: Re: Trainer CheckBox Help! |
|
|
BOSCHDRIFT wrote: | Am getting alittle bit of it. But i want to make check boxes to enable my hack on and off. I found something on here:
[enable]
00C2CF77:
db 90 90 90 90 90 90 90 90
[disable]
00C2CF77: // 90 90 90 90 90 90 90 90 90 81 EC ?? ?? ?? ?? 33 C0
db ff 75 0c e8 2e 4e 02 00
I dont get what the (db ect etc...)
and the two slashes after the address ( 90 90 90 90 90 90 90 90 90 81 EC ?? ?? ?? ?? 33 C0 ) Can you explain me that. Or can i post my trainer here or cheat table and you can help me with it. |
db : write bytes : when the script will execute,it'll write the associated bytes to the specified region.
// can be removed,it starts a comment,just like '--' in Lua
for block comments,use {multi
line
comment}
|
|
Back to top |
|
 |
BOSCHDRIFT How do I cheat?
Reputation: 0
Joined: 27 May 2014 Posts: 9
|
Posted: Wed May 28, 2014 2:43 pm Post subject: Trainer CheckBox Help! |
|
|
Ok am kinda getting it, Is it ok for you if you write me a lua script for one hack, i wan to see how you do it , ill give u the cheat table and everything, Thank you i really apriciated.
|
|
Back to top |
|
 |
BOSCHDRIFT How do I cheat?
Reputation: 0
Joined: 27 May 2014 Posts: 9
|
Posted: Thu Jun 05, 2014 7:44 pm Post subject: Trainer CheckBox Help! |
|
|
So am guessing now one knows how to add a CheckBox to a trainer. Sad
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Thu Jun 05, 2014 9:31 pm Post subject: |
|
|
Code: | createCheckBox(createForm()).Caption = 'Checkbox.. as you requested'; |
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
BOSCHDRIFT How do I cheat?
Reputation: 0
Joined: 27 May 2014 Posts: 9
|
Posted: Thu Jun 05, 2014 10:00 pm Post subject: Trainer CheckBox Help! |
|
|
I know that part, but the part to activate and deactivate the hack. Sorry for being rude am just really tryna learn this. Sorry gaing
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Fri Jun 06, 2014 9:36 am Post subject: |
|
|
Code: | createCheckBox(createForm()).onChange = function (sender) if sender.Checked then autoAssemble('luacall(showMessage("Activated"))'); else autoAssemble('luacall(showMessage("Deactivated"))'); end; end; |
insert the auto assemble scripts instead of the luacall command.
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
BOSCHDRIFT How do I cheat?
Reputation: 0
Joined: 27 May 2014 Posts: 9
|
Posted: Sat Jun 07, 2014 4:16 pm Post subject: Trainer CheckBox Help! |
|
|
Thnk U!
|
|
Back to top |
|
 |
|