MrGioba   02-16-2015, 08:28 PM
#10
Ah, ok sorry.
BTW for the 2nd thing I suppose you can go in ..\COC-Bot-5.5.1.1\COCBot\functions\Attack and modify DropHeroes.au3
Line 28 ORIGINAL:
Code:
Case 2 ;All Base If $KingSlot <> -1 And $KingAttack[2] = 1 Then SetLog("Dropping King", $COLOR_BLUE) Click(68 + (72 * $KingSlot), 595) ;Select King If _Sleep(500) Then Return Click($x, $y) $checkKPower = True EndIf

You can try to change like this PSEUDO CODE!! (Pseudo code! It is not in the correct sintax beacuse i don't know autoit sintax for multiple action in if condition. I used c++ {} to explain but u need to modify the {})


Code:
Case 2 ;All Base If checkDeadBase() Then { SetLog("Dead base. NOT dropping King", $COLOR_BLUE) } Else { If $KingSlot <> -1 And $KingAttack[2] = 1 Then SetLog("Dropping King", $COLOR_BLUE) Click(68 + (72 * $KingSlot), 595) ;Select King If _Sleep(500) Then Return Click($x, $y) $checkKPower = True } EndIf
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Hack Log - Reverse Engineering Forum
Copyright © 2014-2026 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.