02-10-2015, 11:03 PM
GoldElixirChange funktion is not called in COC Bot.au3
I think you misses to readd the call of the funktion!
should be:
I think you misses to readd the call of the funktion!
Code:
Func AttackMain() ;Main control for attack functions
PrepareSearch()
If _Sleep(1000) Then Return
VillageSearch($TakeAllTownSnapShot)
If _Sleep(1000) Or $Restart = True Then Return
PrepareAttack()
If _Sleep(1000) Then Return
Attack()
If _Sleep(1000) Then Return
ReturnHome($TakeLootSnapShot)
If _Sleep(1000) Then Return
EndFunc ;==>AttackMain
Code:
Func AttackMain() ;Main control for attack functions
PrepareSearch()
If _Sleep(1000) Then Return
VillageSearch($TakeAllTownSnapShot)
If _Sleep(1000) Or $Restart = True Then Return
PrepareAttack()
If _Sleep(1000) Then Return
Attack()
If _Sleep(1000) Then Return
GoldElixirChange()
If _Sleep(1000) Then Return
ReturnHome($TakeLootSnapShot)
If _Sleep(1000) Then Return
EndFunc ;==>AttackMain