View Full Version : [Help] HotKeyNet--Movement Key delay?
georgewashingmonton
11-03-2017, 05:14 PM
Hello,
I am playing an MMORPG ["Onigiri"] & am able to utilize all of the following keys perfectly in unison:
//-----------------------------------------------------------
<Hotkey B, C, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, X, Y, Z, 0-9, Plus, Minus, ESC, F1-F12>
<SendLabel w1, w2>
<Key %Trigger%>
However, when I add the movement keys [W, A, S, D] as part of a <Hotkey> or a separate <MovementHotkey> ...I am not able to move with both clients (running in windowed mode) & I have tried switching both clients between foreground/background. I am playing on one computer, with 2 clients, with one keyboard.
Is anyone familiar with using Hotkeynet key delays for movements only?
Wubsie
11-04-2017, 04:14 AM
Do they not move at all? Or is it just that they get out of sync? If it's the latter, it's just how it works. Key broadcasting is rarely 100% accurately duplicated to all game clients. This is why we general rely on mechanic like /follow to move around.
georgewashingmonton
11-04-2017, 07:46 PM
Hello Wubsie,
Yes, they do not move at all. I believe the game may have some anti-multibox thing going on (i looked in the exe file and found something that checks if the window is in focus). I have tried my script on VBA (a gameboy advance emulator) and HotkeyNet works perfectly, so I know my pc isn't a problem.
To clarify, when I try to walk (with W,A,S,D) none of the clients move at all when they are binded as a <Hotkey> or even as a <MovementHotkey>
Also, the game does not feature a /follow command or anything.
The game supports Xbox 1 controller inputs...Hotkeynet doesn't work with this.
[This is also my first attempt at multiboxing...i'm new]
Wubsie
11-04-2017, 08:04 PM
Hmm... Well, it's always plausible there is some sort of protection that is messing with it. However as your other keystrokes are going through fine that would not be my first guess. Would it be possible to see your full script (ofc remove anything involving personal data if any is present)?
The WASD keys might be going through fine in your <Hotkey> definitions, but the difference between this and <MovementHotkey> is that only movement hotkeys are held for each client when you keep the button pressed, so if they were, you would not know it since they would still not move your characters.
EaTCarbS
11-06-2017, 03:46 AM
which game? Some games will not accept keypresses unless they are in the foreground, and I don't remember hotkeynet having a solution for this.
georgewashingmonton
11-08-2017, 08:22 PM
@Eatcarbs. The game is "Onigiri".
The movement key presses are not allowed when the game is in the background [but all other action keys are fine with HKN].
@Wubsie I might not have access to the computer with the script until tomorrow.
EaTCarbS
11-10-2017, 12:25 AM
http://hotkeynet.com/ref/key.html
what might be happening is that hotkeynet is only sending a single press of the movement key instead of holding the key down. Try modifying your script to use keydown and keyup.
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.