| View previous topic :: View next topic |
| Author |
Message |
Ghosting Advanced Cheater
Reputation: 0
Joined: 05 Feb 2016 Posts: 54 Location: 127.0.0.1
|
Posted: Mon Feb 08, 2016 6:48 pm Post subject: How do I set a.. |
|
|
How do I set a value in my case player coordinates, but not have them activate UNTIL I check the checkbox I do whatever, (not asking for hotkeys)
ty.
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Feb 08, 2016 7:24 pm Post subject: |
|
|
| Code: | [ENABLE]
cheat_enable:
db 1
[DISABLE]
cheat_enable:
db 0
|
In your primary script:
| Code: | globalalloc(cheat_enable,4)
//code
cmp byte ptr [cheat_enable],1
je cheat |
|
|
| Back to top |
|
 |
Ghosting Advanced Cheater
Reputation: 0
Joined: 05 Feb 2016 Posts: 54 Location: 127.0.0.1
|
Posted: Mon Feb 08, 2016 7:38 pm Post subject: |
|
|
| ++METHOS wrote: | | Code: | [ENABLE]
cheat_enable:
db 1
[DISABLE]
cheat_enable:
db 0
|
In your primary script:
| Code: | globalalloc(cheat_enable,4)
//code
cmp byte ptr [cheat_enable],1
je cheat |
|
Thanks, Just wondering;
Is cheat engine more ASM or more lua? because I know lua way better then ASM
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Feb 08, 2016 7:41 pm Post subject: |
|
|
CE supports both. If you want to know how to do the above with LUA, someone else will have to chime in because I am stupid.
Meanwhile, you can check main.lua in the CE sub-directory for a guide.
|
|
| Back to top |
|
 |
Ghosting Advanced Cheater
Reputation: 0
Joined: 05 Feb 2016 Posts: 54 Location: 127.0.0.1
|
Posted: Mon Feb 08, 2016 8:00 pm Post subject: |
|
|
| ++METHOS wrote: | CE supports both. If you want to know how to do the above with LUA, someone else will have to chime in because I am stupid.
Meanwhile, you can check main.lua in the CE sub-directory for a guide. |
I've tried too search for tutoriels on CELua but can't find one that are good..
(note, I have seen them, just most are not very well.)
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Feb 08, 2016 8:11 pm Post subject: |
|
|
| Code: | {$lua}
[ENABLE]
writeBytes("cheat_enable", 1)
[DISABLE]
writeBytes("cheat_enable", 0) |
| Code: | if readBytes("cheat_enable", 1) == 1 then
-- dunno
end |
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Feb 08, 2016 8:42 pm Post subject: |
|
|
| The main.lua is very CE-specific but should be easily understood if you already know LUA and have an understanding about what CE does. Most of the common and practical applications can be found by just reading through the forum...not necessarily in a tutorial. If you have a question about how to do something, just ask.
|
|
| Back to top |
|
 |
|