The Bytecode Club
pls Help me fixed CreateSpell.au3! - Printable Version

+- The Bytecode Club (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: pls Help me fixed CreateSpell.au3! (/showthread.php?tid=1128)

Pages: 1 2


RE: pls Help me fixed CreateSpell.au3! - nhoc_ly - 02-27-2015

Huunguyen, can u add creat spell and atack dark store in newest version tcb 5.6.5 plz


RE: pls Help me fixed CreateSpell.au3! - henrynguyen - 02-27-2015

(02-27-2015, 02:46 PM)huunguyen Wrote:  find it in C:\COC-Bot-5.5.1.1\COCBot\functions\Attack\Attack Algorithms
if using algorithm_Barch.au3 you can add Attack Algorithms
$LSpell = -1
   For $i = 0 To 8
If $atkTroops[$i][0] = $eBarbarian Then
$Barb = $i
ElseIf $atkTroops[$i][0] = $eArcher Then
$Arch = $i
ElseIf $atkTroops[$i][0] = $eCastle Then
$CC = $i
ElseIf $atkTroops[$i][0] = $eKing Then
$King = $i
ElseIf $atkTroops[$i][0] = $eQueen Then
$Queen = $i
ElseIf $atkTroops[$i][0] = $eLSpell Then
$LSpell = $i
EndIf
Next
;attack dark storage with lighting spell here
If(($DarkElixLocation = 1) And ($LSpell <> -1 And $DarkElixx <> 0)) Then
  Click(68 + (72 * $LSpell), 595) ;Select Troop
  If _Sleep(500) Then Return
  Click($DarkElixx, $DarkElixy, 2)
EndIf


Thanks huunguyen! Where can I find to edit total amount of DE to light spell? For example, I want bot just lighting DE storage if >3000. How to edit? Please guide..


RE: pls Help me fixed CreateSpell.au3! - mtrong - 02-27-2015

It here!!!!
COCBot\functions\Search\GetResources.au3

If($searchDark < 350) Then
$DarkElixLocation = 0
$DarkElixx = 0
$DarkElixy = 0
EndIf


RE: pls Help me fixed CreateSpell.au3! - nhoc_ly - 02-27-2015

Mtrong, do u have mod for newest version?
Plz share me


RE: pls Help me fixed CreateSpell.au3! - mtrong - 02-27-2015

im try, but can't... very hard with me..-.-


RE: pls Help me fixed CreateSpell.au3! - huunguyen - 02-28-2015

I'm new member and need more time to study autoit. I can modify and add something to coc-bot's code for myself. I hope completely it and share for u.
I find auto for coc and see bytecode.club forum -> I just know autoit. -> hard with u and me. ^.^
mod for weak pc. https://www.dropbox.com/s/0ahtzhc7v3ymxcf/COC-Bot-5.5.1.1.rar?dl=0


RE: pls Help me fixed CreateSpell.au3! - mtrong - 03-02-2015

huunguyen.
u have mod vesion 5.6.4 ??
im have change but cant play.
seacher DEs error ...Sad


RE: pls Help me fixed CreateSpell.au3! - mtrong - 03-04-2015