View previous topic :: View next topic |
Author |
Message |
zakusa Cheater
Reputation: 0
Joined: 09 Sep 2015 Posts: 48
|
Posted: Sun Sep 20, 2015 11:28 am Post subject: disabling speedhack |
|
|
hi i need help disabling speedhack like unchecking the checkbox with a script
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Sep 20, 2015 11:31 am Post subject: |
|
|
Edit > Settings > Hotkeys > Speedhack speed #
or create your own script:
Code: | [ENABLE]
{$lua}
speedhack_setSpeed(0.0)
{$asm}
[DISABLE]
{$lua}
speedhack_setSpeed(1.0)
{$asm} |
|
|
Back to top |
|
 |
zakusa Cheater
Reputation: 0
Joined: 09 Sep 2015 Posts: 48
|
Posted: Sun Sep 20, 2015 11:35 am Post subject: |
|
|
no but i want to like uncheck the box with a script because if the box is checked then my game crashes
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Sep 20, 2015 11:37 am Post subject: |
|
|
Edit > Settings > Hotkeys > Toggle the speedhack
|
|
Back to top |
|
 |
zakusa Cheater
Reputation: 0
Joined: 09 Sep 2015 Posts: 48
|
Posted: Sun Sep 20, 2015 11:50 am Post subject: |
|
|
ok that works but i want a script like this because i need a sleep
while sleep() do
speedhack_setSpeed(55)
sleep(3000)
speedhack_setSpeed(uncheck, disable)
end
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25804 Location: The netherlands
|
Posted: Sun Sep 20, 2015 11:57 am Post subject: |
|
|
when you disable the checkbox it actually sets the speed to 1.0 , there is no way to actually disable it
_________________
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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Sep 20, 2015 12:04 pm Post subject: |
|
|
Damn you're picky. Set the hotkey to something like Ctrl+Shift+Alt+R.
Code: | keyDown(VK_SHIFT)
keyDown(VK_CONTROL)
keyDown(VK_MENU)
doKeyPress(VK_R)
keyUp(VK_SHIFT)
keyUp(VK_CONTROL)
keyUp(VK_MENU) |
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25804 Location: The netherlands
|
Posted: Sun Sep 20, 2015 12:07 pm Post subject: |
|
|
heh, if you look at ce's source (or just the forms) there's a way easier method than doing that hotkey thing:
Code: |
getMainForm().cbSpeedhack.Checked=false
|
but really, speedhack_setSpeed(1.0) is the same thing. Disabling the checkbox calls speedhack_setSpeed(1.0) and then hides the speedhack controls
(The reason is that because the time has been manipulated, restoring it would result in unpredicted behaviour)
_________________
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 |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Sep 20, 2015 12:08 pm Post subject: |
|
|
Well sure, if you're lazy and prefer the easy way!
|
|
Back to top |
|
 |
Jou How do I cheat?
Reputation: 0
Joined: 08 Feb 2013 Posts: 4
|
Posted: Sat Dec 30, 2023 6:56 am Post subject: |
|
|
Dark Byte wrote: | heh, if you look at ce's source (or just the forms) there's a way easier method than doing that hotkey thing:
Code: |
getMainForm().cbSpeedhack.Checked=false
|
but really, speedhack_setSpeed(1.0) is the same thing. Disabling the checkbox calls speedhack_setSpeed(1.0) and then hides the speedhack controls
(The reason is that because the time has been manipulated, restoring it would result in unpredicted behaviour) |
Perfect! I searched for exactly that. Quite a number of games (around 10 here) run either a bit too fast or a bit too slow when using speedhack_setSpeed(1.0). C&C Kane's wrath, for example, does stutter and seems to run at 95% of the expected speed. Speedhack of 1.04 seems to be the actual 100% speed for this game. But completely disabled (on hotkey) gives me the perfect result.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25804 Location: The netherlands
|
Posted: Sat Dec 30, 2023 11:03 am Post subject: |
|
|
So disabling the speedhack is better instead of setting speed to 1?
If so, the difference is in your mind
_________________
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 |
|
 |
Jou How do I cheat?
Reputation: 0
Joined: 08 Feb 2013 Posts: 4
|
Posted: Sat Dec 30, 2023 11:20 am Post subject: |
|
|
Dark Byte wrote: | So disabling the speedhack is better instead of setting speed to 1?
If so, the difference is in your mind |
You are free to visit me here, and I will show you the difference. Try with C&C 3, both normal and Kane's wrath (albeit here in 4k). C&C Generals, for example, is as you say: No difference, even though the engine is similar.
On another thing, not related to this: An update in sight to make speedhack work with newer unity / unreal engine games? Would be worth another "beer box money spending", the last was for version 6.3, or whenever you added the higher precision to speedhack (i.e. allowing 0.333333333333.... and not just 0.3, and you fixed it fast back then after I reported/suggested it) .
|
|
Back to top |
|
 |
|