View previous topic :: View next topic |
Author |
Message |
chandest Newbie cheater Reputation: 0
Joined: 27 Feb 2013 Posts: 17
|
Posted: Wed Feb 27, 2013 3:00 pm Post subject: Need help implementing speedhack into another lua script |
|
|
Hi.
I have a program running coded in lua. I need help to implement speedtoogle into the scripts i'm running.
I have several programs running so I guess I would need to inject every single dll for each program running?
I really hope you guys can assist me!
_________________
The king is dead. Long live the king! |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Wed Feb 27, 2013 3:23 pm Post subject: |
|
|
look into the createHotkey function
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
chandest Newbie cheater Reputation: 0
Joined: 27 Feb 2013 Posts: 17
|
Posted: Wed Feb 27, 2013 4:49 pm Post subject: |
|
|
Ok I read about the createHotkey function and I believe it would be simplier to just make two programs
One which made speedhack go 1000 and another which made speedhack go 1.
I could then from my other program call these two programs? Wouldn't that be easier?
_________________
The king is dead. Long live the king! |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Wed Feb 27, 2013 8:30 pm Post subject: |
|
|
Why not just create two hotkeys in one program?
One hotkey points to a function that calls speedhack_setSpeed(1000) and the other hotkey points to a function that calls speedhack_setSpeed(1)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
chandest Newbie cheater Reputation: 0
Joined: 27 Feb 2013 Posts: 17
|
Posted: Thu Feb 28, 2013 8:57 am Post subject: |
|
|
I have two hotkey programs (J.exe and K.exe) running now which is simply attached to two keys (for instance, when clicking on J.exe manually, J-butten is clicked)
In cheat engine I have bound J-button to speed 500x and the K-button to speed 1x.
My lua script should then then call the keys by io.popen(path) but it doesn't seem to work :-/
_________________
The king is dead. Long live the king! |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu Feb 28, 2013 9:03 am Post subject: |
|
|
How "two programs" would be simpler than this:
Code: |
function speed_1()
speedhack_setSpeed(1)
end
function speed_500()
speedhack_setSpeed(500)
end
createHotkey(speed_1, VK_J)
createHotkey(speed_500, VK_K) |
_________________
|
|
Back to top |
|
|
chandest Newbie cheater Reputation: 0
Joined: 27 Feb 2013 Posts: 17
|
Posted: Thu Feb 28, 2013 9:49 am Post subject: |
|
|
It's working.
Only problem is, the speedhack in CE adjusts the speed on ALL my programs (the same program)? Is there any way to seperate them?
In other words, can I run multiple instances with different speeds? Whenever it adjusts it adjusts all the programs
The bad option is to run VM's instead of several of the same programs.
Could really use some help here!
_________________
The king is dead. Long live the king! |
|
Back to top |
|
|
|