Dear GKevinOD & Antidote,
i have test your bot v 5.4.0
i have some issue that dropping tropies does not work in hide mode, as far just that the issue i get beside dead base search is also not working,
and also antidote fix is working like charm to my barracks when its not at boost mode,
and i also change vilagesearch() function to make it show for searching a dead base, but i think you can do better,
Code:
Func VillageSearch() ;Control for searching a village that meets conditions
While 1
SetLog("===============Searching For Base===============")
$SearchCount = 0
While 1
If _Sleep(1000) Or $RunState = False Then ExitLoop (2)
GetResources() ;Reads Resource Values
If $Restart = True Then ExitLoop (2)
If CompareResources() Then
If $iradAttackMode = 0 Then
;==================hervian
If $Hide = true Then
GUICtrlSetData($btnHide, "Hide")
WinMove("BlueStacks App Player", "", $botPos[0], $botPos[1])
;$Hide = true;"====
EndIf
;==============hervian
If ZombieSearch() Then
SetLog("~~~~~~~Dead Base Found!~~~~~~~")
If $Hide = true Then
GUICtrlSetData($btnHide, "Show")
$botPos[0] = WinGetPos("BlueStacks App Player")[0]
$botPos[1] = WinGetPos("BlueStacks App Player")[1]
WinMove("BlueStacks App Player", "", -32000, -32000)
$Hide = True
EndIf
ExitLoop
Else
SetLog("~~~~~~~Not dead base, skipping~~~~~~~")
Click(750, 500) ;Click Next
If $Hide = true Then
GUICtrlSetData($btnHide, "Show")
$botPos[0] = WinGetPos("BlueStacks App Player")[0]
$botPos[1] = WinGetPos("BlueStacks App Player")[1]
WinMove("BlueStacks App Player", "", -32000, -32000)
$Hide = True
EndIf
EndIf
Else
ExitLoop
EndIf
Else
Click(750, 500) ;Click Next
EndIf
WEnd
SetLog("===============Searching Complete===============")
ExitLoop
WEnd
EndFunc ;==>VillageSearch
i already that, its only show a sec then back to hide, maybe its distrubing, but still can use while browsing or something else,
Best Regrads,
Hervianzhou