Almost 5am, this is what I found:
Func STATS()
DEBUG("waiting for stats")
Sleep(5000)
$NUM = $NUM + 1
$ACCNUM += 1
IniWrite($ACCINI, "acc", $ACC, $ACCNUM)
WinWaitActive("[CLASS:ApolloRuntimeContentWindow]")
WinActivate("[CLASS:ApolloRuntimeContentWindow]")
$WINDOWCURRENT = WinGetPos("[CLASS:ApolloRuntimeContentWindow]")
While (1)
$FINDWAITOVER = PixelSearch(((($WINDOWCURRENT[2] / 1024) * 685) + $WINDOWCURRENT[0]), ((($WINDOWCURRENT[3] / 640) * 545) + $WINDOWCURRENT[1]), ((($WINDOWCURRENT[2] / 1024) * 945) + $WINDOWCURRENT[0]), ((($WINDOWCURRENT[3] / 640) * 560) + $WINDOWCURRENT[1]), 16777215, 5)
If @error Then
Sleep($DELAY)
Else
ExitLoop
EndIf
WEnd
DEBUG("going to create screen")
CLICKCLIENT("left", 790, 580, 1005, 595)
Sleep($DELAY)
EndFunc
If G4ME could be nice and tell us where is the problem, we can fix this right now
And because we are changing to "Home" button instead of "Play Again" so the bot must click "Play" instead of "Create Game". After that click "Custom Game" then "Create Game"... This is driving me crazy...