is that C++?
No, it is L. Spiro Script.
The GetAsyncKeyState() function will appear in MHS’s L. Spiro Script in the next release.
When i press the F3 Hotkey inside the game dont work
MHS comes with 2 Hotkey methods for just this reason.
If you are using Polling, don’t. If you aren’t do.
One of them usually works.
But you also need to verify that the Hotkey is not being activated. It may be activated but Maple Story has hooks on MouseEvent to prevent the mouse from moving while it is active.
You should print a message upon success to be sure the Hotkey was activated. If not, switch methods.
As you have heard, the legendary “next release” can not be hooked, so if it is hooking the functions for moving the mouse it shouldn’t be a problem.
If the problem is only the Hotkey, you can press the Hotkey outside of the game and then go in. The script would have a timer to wait 3 seconds before working, allowing you to get into the game. This is a hassle, but works, especially if your bot does something that you can not humanly do.
L. Spiro