Devarion Posted March 27, 2012 Share Posted March 27, 2012 (edited) Alright, so I got this script for a game I play. The issue is, whenever I press F7 to start it, it never works, there's just a red "x" flashing in the task bar icon. I figured maybe it's because we don't have the right screen resolution or I don't have the window in the right place. Could someone possibly figure out what went wrong with it? Unpausing it removed the red "X" but the script is still not working. :s While 1 HotKeySet("{F1}", "PAUSE") HotKeySet("{F7}", "DOSCROLL2") WEnd Func DOSCROLL2() $ZAHL = 0 While 1 Sleep(20) $I = ControlGetText("", "", 1026) $TEST = StringRight($I, 8) If $TEST = "100 EXP!" Then $ZAHL = 0 Else $ZAHL = $ZAHL + 1 If $ZAHL = 1000 Then ControlSend("", "", 65535, "{i}") $ZAHL = 0 EndIf EndIf $I = StringRight($I, 14) $I = StringMid($I, 1, 1) If $I = "Z" Then ControlSend("", "", 65535, "{z}") Sleep(5000) ElseIf $I = "X" Then ControlSend("", "", 65535, "{x}") Sleep(5000) EndIf WEnd EndFunc Func PAUSE() While 1 Sleep(1000) WEnd EndFunc Edited March 27, 2012 by Devarion Link to comment Share on other sites More sharing options...
DW1 Posted March 27, 2012 Share Posted March 27, 2012 Please see the forum rules. Do not discuss any of the following: Automating games or game servers AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Valik Posted March 28, 2012 Share Posted March 28, 2012 Thread locked per the rules. To the reporter of this topic... the report is fine, everything was done correctly. Link to comment Share on other sites More sharing options...
Recommended Posts