[AutoIt] Delayed Send Problem~

08/23/2016 23:15 Professor Linebeck#1
Hey guys, im making a simple Bot for a Game. It just sends a Key into the Window if a special Minigame appears there.
The Problem is, that Send and Controlsend are highly delayed, but only if the minigame is active(it works like a charm when the minigame isnt active ingame). So it seems like the developers of this game have made a security about simulating Keys when the minigame is active.
So my Question is; is there actually a way to simulate hardware Keystrokes or something? I guess they just "deactivate" simulated Keystrokes then..

Thx in advance
08/24/2016 04:42 elmarcia#2
You mean sth like this don't??
[Only registered and activated users can see links. Click Here To Register...]
08/24/2016 19:51 mlukac89#3
Quote:
Originally Posted by Professor Linebeck View Post
Hey guys, im making a simple Bot for a Game. It just sends a Key into the Window if a special Minigame appears there.
The Problem is, that Send and Controlsend are highly delayed, but only if the minigame is active(it works like a charm when the minigame isnt active ingame). So it seems like the developers of this game have made a security about simulating Keys when the minigame is active.
So my Question is; is there actually a way to simulate hardware Keystrokes or something? I guess they just "deactivate" simulated Keystrokes then..

Thx in advance
U have PostMessage UDF u can try with that, but can u post ur code, maybe is problem in code not in game ?
08/24/2016 20:07 Professor Linebeck#4
Quote:
Originally Posted by mlukac89 View Post
U have PostMessage UDF u can try with that, but can u post ur code, maybe is problem in code not in game ?
Sadly not working too.
As i said, my code works in game pretty well, but its getting blocked by the game once a minigame appears there. It works out of the minigame, but in the game itself. ._.
08/24/2016 20:16 mlukac89#5
Tried with ASCII chars too ?
08/25/2016 09:18 NickHough#6
I would like to point out, as many programmers know. It is very difficult to prevent all client side "simulators" as you can't really block something that just activates a key otherwise that would block internal workings of the game itself.

However from the sounds of it, it may not be your code or the game. It sounds like there is an increased delay caused by the minigame, such that the time taken for the game to process information takes longer. Are you able to get timings of actual keystrokes when in the minigame and when not in the minigame and see if there is a delay there as well. The only other thing i could state is that it maybe a hardware limitation as the minigame may require a lot more resources again slowing down processing times too.
08/25/2016 15:57 Professor Linebeck#7
Quote:
Originally Posted by NickHough View Post
I would like to point out, as many programmers know. It is very difficult to prevent all client side "simulators" as you can't really block something that just activates a key otherwise that would block internal workings of the game itself.

However from the sounds of it, it may not be your code or the game. It sounds like there is an increased delay caused by the minigame, such that the time taken for the game to process information takes longer. Are you able to get timings of actual keystrokes when in the minigame and when not in the minigame and see if there is a delay there as well. The only other thing i could state is that it maybe a hardware limitation as the minigame may require a lot more resources again slowing down processing times too.
I also tried ASCII, sadly not working too.
Well, the Minigame actually looks like [1] [2] [3] with random numbers.
So the Player needs to press 1, 2 or 3 on the Keyboard. Keyboard strokes are not delayed, it is srsly only the simulated Keystrokes which are delayed doing the minigame. And when the minigame is NOT opened, all simulations arent delayed anymore.

So yup, i think you are right with the hardware limitation somehow. But wouldnt there be a way to bypass that?
08/25/2016 19:06 mlukac89#8
This link might help u u need Interceptor for simulating keyboard, i tried long time ago with AutoIt but i deleted example i had.

U must download and install it first then work on sending keys.

This code its in c# but u can use dll file in AutoIt.


[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]