View previous topic :: View next topic |
Author |
Message |
Meiyoh Master Cheater
Reputation: 1
Joined: 14 Mar 2015 Posts: 402
|
Posted: Sun May 22, 2016 7:39 am Post subject: Bug Report - Some Hotkeys Combinations do not work. |
|
|
For example in a code when I set Shift+N+J to set value to 0 or 1 it doesn't work. When I put Spacebar+1 or 2 it sets the value to the desired number.
Shift+ W for example works . So Cheat Engine detects my hotkeys however it doesn't change anything after setting the code and trying to use them.
I noticed Shift+ two keys combinations does not work for some reason. It doesn't toggle / set value. I had to use other hotkeys for my table .
Can this be fixed?
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4700
|
Posted: Sun May 22, 2016 9:28 am Post subject: |
|
|
The hotkey works just fine for me:
Code: | hk = createHotkey(function(sender)
print("hk.OnFunction called")
end, VK_SHIFT, VK_J, VK_N) |
It's probably something else in your code.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
Meiyoh Master Cheater
Reputation: 1
Joined: 14 Mar 2015 Posts: 402
|
Posted: Sun May 22, 2016 10:24 am Post subject: |
|
|
ParkourPenguin wrote: | The hotkey works just fine for me:
Code: | hk = createHotkey(function(sender)
print("hk.OnFunction called")
end, VK_SHIFT, VK_J, VK_N) |
It's probably something else in your code. |
hope so .
|
|
Back to top |
|
 |
Meiyoh Master Cheater
Reputation: 1
Joined: 14 Mar 2015 Posts: 402
|
Posted: Mon May 23, 2016 5:44 pm Post subject: |
|
|
nope . Same happened again Shift+A+1 - Doesn't toggle script
Shift+A+2 - Disables Script. I can't get it. Never had such problems. Just some codes refuse to toggle , set when hotkeys are used like the mentioned and I have to do it manually.
edit:
Holding Shift then A and pressing 1 does not detect 1 but holding Shift+A+2 detects it. Why I can't use shift+a+1?
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4700
|
Posted: Mon May 23, 2016 5:55 pm Post subject: |
|
|
Again, it's something on your end. This works fine for me:
Code: | hk = createHotkey(function(sender)
print("test")
end, VK_SHIFT, VK_A, VK_1) |
Posting your code might help.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
Meiyoh Master Cheater
Reputation: 1
Joined: 14 Mar 2015 Posts: 402
|
Posted: Mon May 23, 2016 6:01 pm Post subject: |
|
|
It's happening on every code address/script it's not just one code .
I dunno what's causing this.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon May 23, 2016 6:32 pm Post subject: |
|
|
Meiyoh wrote: | I dunno what's causing this. |
ParkourPenguin wrote: | Posting your code might help. |
Also...are you sure the hotkeys aren't being sent more than once, and you're just not seeing it? Make sure you are really quick about it and test it several times.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Mon May 23, 2016 6:52 pm Post subject: |
|
|
go to settings->hotkeys and set "Delay between reactivating hotkeys to 1000" and keypoll interval to 10
Also, it depends on your keyboard. Some keyboards do not support more than 2 keys if they are in the same side of the keyboard. (That's why gaming keyboards register as multiple HID's so they can bypass that limitation)
_________________
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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon May 23, 2016 7:57 pm Post subject: |
|
|
Dark Byte wrote: | go to settings->hotkeys and set "Delay between reactivating hotkeys to 1000" and keypoll interval to 10 | -I hadn't noticed these before. Do these carry over for exe trainers?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Mon May 23, 2016 8:05 pm Post subject: |
|
|
No, but you can use these lua commands to accomplish the same
Code: |
setGlobalKeyPollInterval(integer): Sets the global keypoll interval. The interval determines the speed of how often CE checks if a key has been pressed or not. Lower is more accurate, but eats more cpu power
setGlobalDelayBetweenHotkeyActivation(integer): Sets the minimum delay between the activation of the same hotey in milliseconds. Affects all hotkeys that do not set their own minimum delay
|
_________________
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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon May 23, 2016 9:16 pm Post subject: |
|
|
Thanks, DB.
|
|
Back to top |
|
 |
Meiyoh Master Cheater
Reputation: 1
Joined: 14 Mar 2015 Posts: 402
|
Posted: Tue May 24, 2016 12:10 am Post subject: |
|
|
Dark Byte wrote: | go to settings->hotkeys and set "Delay between reactivating hotkeys to 1000" and keypoll interval to 10
Also, it depends on your keyboard. Some keyboards do not support more than 2 keys if they are in the same side of the keyboard. (That's why gaming keyboards register as multiple HID's so they can bypass that limitation) |
Thank you my friend. I will be making sure to donate next month
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue May 24, 2016 3:38 am Post subject: |
|
|
Also, hotkeys created with
Code: | local hk1=createHotkey(function, {keys, ...}) |
have DelayBetweenActivate property
@DB, I don't know if this happens to other people.
Try placing this:
Code: | setGlobalKeyPollInterval(50)
setGlobalDelayBetweenHotkeyActivation(300) |
at the end or at the beginning of the Lua script. Save.
Then double click CT, allow Lua script. Those lines are ignored/overwritten.
Probably because handleparameters procedure executes Lua script, and then sets
mainform.visible:=mainformvisible; // which is true for CT
TMainForm.FormShow procedure loads settings from the registry with LoadSettingsFromRegistry.
Workaround will be:
- using a timer object
- or placing above lines inside onOpenProcess function.
Is it possible you can fix above issue by moving LoadSettingsFromRegistry to the first lines of handleparameters?
Code: | Index: cheatengine.lpr
===================================================================
--- cheatengine.lpr (wersja 2385)
+++ cheatengine.lpr (kopia robocza)
@@ -111,7 +111,7 @@
tabletoload:='';
origin:='';
mainformvisible:=true;
-
+ LoadSettingsFromRegistry;
try
for i:=1 to Paramcount do
Index: MainUnit.pas
===================================================================
--- MainUnit.pas (wersja 2385)
+++ MainUnit.pas (kopia robocza)
@@ -6980,7 +6980,7 @@
rsLicenseExpired, mtWarning, [mbOK], 0);
- LoadSettingsFromRegistry;
+ //LoadSettingsFromRegistry;
//Load the table if one was suplied
overridedebug := False;
|
_________________
|
|
Back to top |
|
 |
|