Thread Rating:
  • 40 Vote(s) - 4.78 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5.4.2.5.2 - Better Troops Deployment (LF Style), Fixed Train Troops
#68
(01-27-2015, 01:58 PM)saxmydix Wrote:  This edited bot working perfect for CC Drop feature, i just change hex code to my clan logo color, which is at function prepare attack at line

Code:
ElseIf _ColorCheckVariation(_PixelGetColor_GetPixel(68 + (72 * $i), 588), Hex(0xB02830, 6), 5) Then ;Check if slot is Clan Castle
$atkTroops[$i][0] = "Clan Castle"
$atkTroops[$i][1] = 1


my clan logo is no. 17 from the left to right. im not sure if this the case, but i can see that bot detect my CC when prepare troop which is bot cant detect before edit that line.

[Image: 500px-Clan_Symbol.png]

U can try to edit as yours clan color if bot cant detect your CC when prepare attack. Use auto it window info.

Im also add double click this line as i see that bot sometimes just single click at CC slot.

Code:
Func dropCC($x, $y, $slot) ;Drop clan castle
SetLog("Dropping Clan Castle")
Click(68 + (72 * $slot), 595, 1, 500)
Click(68 + (72 * $slot), 595, 1, 500)
Click($x, $y)
Click($x, $y)
EndFunc   ;==>dropCC



Here im attach my edited bot with fully working CCdrop.

EDITED bot with working CCdrop.

by any chance can you show us the exact place you get the right hex of the mouse pointer using the auto info? a screenshot would be great ^^
 


Messages In This Thread
Edited bot - by saxmydix - 01-27-2015, 01:28 AM
RE: 5.4.2.2.2 - by saxmydix - 01-27-2015, 01:58 PM
RE: 5.4.2.2.2 + More Troops Options (Giants, Goblin, WBs) and Donating Barb, Arch, Giants - by Cerillus - 01-29-2015, 05:21 PM
RE: 5.4.2.2.2 + - by saxmydix - 01-29-2015, 06:03 PM
RE: 5.4.2.2.2 - Looking @ dropCC - by LiveToDrink - 01-30-2015, 12:55 PM
TRAIN SPEED - by kennethwut - 02-01-2015, 07:18 AM
Crash on deploying Wall Breakers - by clarkii - 02-01-2015, 07:05 AM
RE: 5.4.2.4 Safar46's Mods - - by saxmydix - 02-01-2015, 01:07 PM
RE: 5.4.2.4.3 - Fix Attack Townhall - by promac - 02-03-2015, 12:12 AM
RE: 5.4.2.4.3 - by promac - 02-03-2015, 01:29 AM
RE: 5.4.2.4.3 - by promac - 02-03-2015, 01:40 AM
RE: - by promac - 02-03-2015, 03:48 AM
RE: 5.4.2.4.4 - Fixed Locate Collectors - by BoBz - 02-03-2015, 04:02 AM
RE: 5.4.2.5 - by indy - 02-03-2015, 08:36 PM
RE: 5.4.2.5 - - by indy - 02-03-2015, 09:35 PM

Forum Jump:


Users browsing this thread: 16 Guest(s)

About The Bytecode Club

We're a community focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website