(01-20-2015, 09:08 PM)DiviniT3a Wrote: @chase Barch works absolutely fine for me. Unfortunately it doesn't work with giants on my end. I'm going to have to try it again and post the error when I get a chance but that's beside the point.
edit: Here is the error I get If I don't include barbarians ![[Image: SF0VvL8.jpg]](http://i.imgur.com/SF0VvL8.jpg)
Just comment out the part where barbs are called, save & run (or recompile if you use exe).
For multiple lines, use #comments-start & #comments-end
AUTOIT Programming
#comments-start
SetLog("Dropping first wave of Barbarians")
For $i = 0 To 4 ;Drop first round of Barbarians
Click(68 + (72 * $Barb), 595) ;Select Troop
If _Sleep(100) Then ExitLoop (2)
Click($TopLeft[$i][0], $TopLeft[$i][1], $numBarbPerSpot, 1)
Click($BottomRight[$i][0], $BottomRight[$i][1], $numBarbPerSpot, 1)
Next
If _Sleep(1000) Then ExitLoop
#comments-end
For single line, use semicolon
AUTOIT Programming
; Local $numBarbPerSpot = Ceiling((($atkTroops[$Barb][1] / 2) / 5) / 2)
These are just examples - you may need to comment out more. You should just need to comment out the barb parts in the attack algorithm being used.