02-25-2015, 02:46 AM
(02-25-2015, 01:50 AM)-AC!D- Wrote:(02-25-2015, 01:05 AM)b3n3tt3 Wrote: lol I think just comment out some lines in COC Bot.au3 like:
Code:Func runBot() ;Bot that runs everything in order
While 1
SaveConfig()
readConfig()
applyConfig()
$Restart = False
$fullArmy = False
$CommandStop = -1
If _Sleep(1000) Then Return
checkMainScreen()
If _Sleep(1000) Then Return
ZoomOut()
If _Sleep(1000) Then Return
If BotCommand() Then btnStop()
If _Sleep(1000) Then Return
ReArm()
If _Sleep(1000) Then Return
If $CommandStop <> 0 Then
Train()
If _Sleep(1000) Then ExitLoop
EndIf
BoostBarracks()
If _Sleep(1000) Then ExitLoop
RequestCC()
If _Sleep(1000) Then Return
DonateCC()
If _Sleep(1000) Then Return
Collect()
If _Sleep(1000) Then Return
Idle()
If _Sleep(1000) Then Return
If $CommandStop <> 0 And $CommandStop <> 3 Then
[b];AttackMain()[/b] ;THIS RIGHT HERE
If _Sleep(1000) Then Return
EndIf
WEnd
EndFunc ;==>runBot
What is this May I ask?
tldr if you comment that line then it becomes a donation bot:
1. fine COC bot.au3
2. delete line 82: AttackMain()
3. compile
4. ??
5. profit