02-24-2015, 05:50 AM
02-24-2015, 06:06 AM
(02-24-2015, 05:50 AM)Dan Wrote: [ -> ]This is the type of feed back i love from the community guys! I voted.
Thanks man!
02-25-2015, 01:05 AM
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
02-25-2015, 01:50 AM
(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?
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
02-25-2015, 02:57 AM
02-25-2015, 04:01 AM
I'm testing y'alls suggestions
02-25-2015, 04:44 AM
Results ended in this, Although I had troops made I get this.
[8:43:17 PM] Donating Troops
[8:43:19 PM] No troops available for donation, donating later...
[8:43:22 PM] No troops available for donation, donating later...
[8:43:27 PM] No troops available for donation, donating later...
[8:43:30 PM] Finished Donating
[8:43:17 PM] Donating Troops
[8:43:19 PM] No troops available for donation, donating later...
[8:43:22 PM] No troops available for donation, donating later...
[8:43:27 PM] No troops available for donation, donating later...
[8:43:30 PM] Finished Donating
02-25-2015, 03:00 PM
This method has been confirmed working but not with giants.
02-26-2015, 12:11 AM
Giant Porblem not fixed in new version