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: 230
Joined: Fri Aug 25, 2017 2:37 pm
Reputation: 47

Activate trainer with hotkey

Post by Blayde »

Is this possible with CE ?

Image

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

Re: Activate trainer with hotkey

Post by STN »

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

User avatar
Blayde
Expert Cheater
Expert Cheater
Posts: 230
Joined: Fri Aug 25, 2017 2:37 pm
Reputation: 47

Re: Activate trainer with hotkey

Post by Blayde »

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 »

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 »

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

form.visible=true

Post Reply

Who is online

Users browsing this forum: No registered users