The Bytecode Club

Full Version: [SUGGESTION] Donation Bot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
This is the type of feed back i love from the community guys! I voted.
(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! Smile
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: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, 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
I'm testing y'alls suggestions
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
This method has been confirmed working but not with giants.
Giant Porblem not fixed in new version
Pages: 1 2 3