Activate trainer with hotkey

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
User avatar
Blayde
Expert Cheater
Expert Cheater
Posts: 229
Joined: Fri Aug 25, 2017 2:37 pm
Reputation: 39
Contact:

Activate trainer with hotkey

Post by Blayde » Mon Nov 27, 2017 9:58 am

Is this possible with CE ?

Image

User avatar
STN
Founder
Founder
Posts: 2936
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 353

Re: Activate trainer with hotkey

Post by STN » Mon Nov 27, 2017 10:55 am

Blayde wrote:
Mon Nov 27, 2017 9:58 am
Is this possible with CE ?

Image
Sure, make one big script called it activation set a hotkey. Then simple have flags inside that toggle each cheat

e.g

activation script:
[enable]
cmp [unl_health], 1
jne @F
@@:
cmp [unl_stamina], 1
jne code


in your individual scripts, do

[enable]
unl_health:
dd 1
[disable]
unl_health:
dd 0

and so on
For site updates, follow FRF's official Twitter, Facebook

User avatar
Blayde
Expert Cheater
Expert Cheater
Posts: 229
Joined: Fri Aug 25, 2017 2:37 pm
Reputation: 39
Contact:

Re: Activate trainer with hotkey

Post by Blayde » Mon Nov 27, 2017 11:27 am

STN wrote:
Mon Nov 27, 2017 10:55 am
Sure, make one big script called it activation set a hotkey. Then simple have flags.......
I was hoping that it may be possible, but if there is no other way...
Thank you for reply.

movss
Noobzor
Noobzor
Posts: 11
Joined: Fri Feb 09, 2018 2:14 pm
Reputation: 0

Re: Activate trainer with hotkey

Post by movss » Fri Feb 09, 2018 3:23 pm

sure
e.g
'========== this is lua script
enable=[[
---your assemble code
....
]]

function work()
autoAssemble(enale)
end

createHotkey("work",VK_HOME)
'==========
then it will run the code of enable

movss
Noobzor
Noobzor
Posts: 11
Joined: Fri Feb 09, 2018 2:14 pm
Reputation: 0

Re: Activate trainer with hotkey

Post by movss » Fri Feb 09, 2018 3:26 pm

er,maybe you want to activate the form
so that ,on hotkey event you can define

form.visible=true

Post Reply