01-07-2015, 04:33 PM
Code:
Func Collect()
While 1
GUICtrlSetData($Results, "Begin Collecting" & @CRLF, -1)
If $RunState = False Then ExitLoop
Local $Collector = PixelSearch(0, 0, 860, 720, 0xB0B875, 1, 1, $HWnD)
While IsArray($Collector)
If $RunState = False Then ExitLoop
ControlClick($HWnD, "","", "left", "1", $Collector[0], $Collector[1])
Sleep(500)
$Collector = PixelSearch(0, 0, 860, 720, 0xB0B875, 1, 1, $HWnD)
WEnd
If $RunState = False Then ExitLoop
GUICtrlSetData($Results, "Collecting Complete" & @CRLF, -1)
ExitLoop
WEnd
EndFunc
idk if that's the code just copy it from antidote's bot v004 it collects all resources when it's available
http://s000.tinyupload.com/index.php?fil...5352186045