There's nothing wrong with the script. What you're attempting will never be feasible. Multiboxing is an active process, not just a means of creating a perfect clone. There are a million ways to lose sync between characters ranging from latency to change of terrain and even bumping the mouse while it's traveling from one window to another can alter the mouse placement or camera angle or facing, all of which also need to be perfect at all times to do what you are looking to do.
Attempting to move by holding down the left and right mouse buttons together - completely impossible with HotKeyNet and totally impractical in general. Mouse actions, as Wubsie already explained, are not a seamless action that is duplicated everywhere at once. The mouse is forcibly moved from one window to the other for a split second to take the action requested and then returned to the home window {unless it's not and gets stuck on the slave window}. These are limitations that practice will never overcome and only get more pronounced the more that's going on.
To multibox, you need to set the slave up to follow and assist the main. For a melee team, your slave also needs to use interact with target and click to move.
The only thing you're going to reliably duplicate is hotkey presses. This, however, does not mean you can use WASD or the arrow keys to do the job you were trying to do with the mouse. Though it's more reliable than the mouse for movement, most of the same issues apply to cause the loss of sync. Hotkey-based movement is something that should be reserved for small amounts of movement, such as dodging out of the way of something during a boss fight.
I'd suggest going through MiRai's videos and some of the other posts around here to get a better idea of what multiboxing really is so you can get a better idea of how it works.
Connect With Us