|
You last visited: Today at 13:03
Advertisement
[AutoIt] Delayed Send Problem~
Discussion on [AutoIt] Delayed Send Problem~ within the AutoIt forum part of the Coders Den category.
08/23/2016, 23:15
|
#1
|
elite*gold: 0
Join Date: Jul 2010
Posts: 1,345
Received Thanks: 1,610
|
[AutoIt] Delayed Send Problem~
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
|
#2
|
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 167
|
You mean sth like this don't??
|
|
|
08/24/2016, 19:51
|
#3
|
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
|
Quote:
Originally Posted by Professor Linebeck
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
|
#4
|
elite*gold: 0
Join Date: Jul 2010
Posts: 1,345
Received Thanks: 1,610
|
Quote:
Originally Posted by mlukac89
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
|
#5
|
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
|
Tried with ASCII chars too ?
|
|
|
08/25/2016, 09:18
|
#6
|
elite*gold: 0
Join Date: Dec 2009
Posts: 233
Received Thanks: 64
|
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
|
#7
|
elite*gold: 0
Join Date: Jul 2010
Posts: 1,345
Received Thanks: 1,610
|
Quote:
Originally Posted by NickHough
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
|
#8
|
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
|
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.

|
|
|
 |
Similar Threads
|
Send error & Connection delayed
11/24/2011 - CrossFire - 3 Replies
Hallo :D
ich bekomme ohne pause immer send error report in der lobby & wenn ich es einmal schaffe Connection has been delayed während game lädt >.< was kann ich machen ? hab schon cf 2x neu installiert und neuen setup runtergeladen ..
|
Autoit Send Problem
06/02/2011 - General Coding - 2 Replies
Hey ich hab in Autoit diese Kleine Funktion gebastelt
Das klappt ganz super !
Aber sobald ich jetzt einen weiteren Hotkey einfüge
Klappt garnichts mehr . Das würd ich als FatalError Bezeichnen.
Habe alles mögliche versucht . Weiß wer was ich falsch mache?
|
AutoIt Send Problem
11/15/2010 - AutoIt - 0 Replies
Hallöchen.
Ich schreibe gerade an einem Bot für Fiesta Online. Alles funktioniert auch wunderbar, bis auf eine Sache: Ich kann kein SHIFT ans Spiel senden. Gleiches gilt für STRG.
Send("1") zum Beispiel funktioniert problemslos. Send("+1") oder auch Send("^1") scheinen nicht anzukommen.
Weiß jmd, woran das liegen könnte bzw ist es bekannt, dass es bei Fiesta da Probleme gibt?
LG
Edit: Ups, danke für's verschieben :)
Edit 2: Habe verschiedenes ausprobiert. Bei Send("+1") kommt ein !...
|
Autoit Send Problem
02/18/2008 - General Coding - 10 Replies
AutoItSetOption("SendKeyDelay",0)
AutoItSetOption("SendKeyDownDelay",8)
SoundPlay("4.mp3")
sleep(5000)
$i = 5
While $i =5
$coord = PixelSearch( 573, 315, 580, 350, 0x8C34F7, 50 )
If Not @error Then
;MsgBox(0, "X and Y are:", $coord & "," & $coord)
|
All times are GMT +1. The time now is 13:04.
|
|