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
#51
(01-27-2015, 10:54 AM)danilp12 Wrote:  
(01-27-2015, 01:28 AM)saxmydix Wrote:  edited with most fastest train speed and added donate cc after train troop. i've seen that bot not detect CC because of search pixel color dint match with other clan logo. should edit matching yours clan. im also edit donate trop as it cant detect request on 1st row of chat. TQ

5.4.2.2.2 EDITED Bot by safar

testing it and it work perfect!!! awesome edit man! =D

did Cc drop function well for you?
#52
[5:27:23 PM] Donating for Clan Castle's Troops
[5:27:28 PM] Found donate button on 121,580
[5:27:30 PM] Error cannot check for Dead Base, Attacking...
[5:27:35 PM] Found donate button on 121,483
[5:27:38 PM] Error cannot check for Dead Base, Attacking...
[5:27:43 PM] Found donate button on 121,382
[5:27:45 PM] Error cannot check for Dead Base, Attacking...

Any idea how to fix this? Thanks for this update!
#53
#54
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.
#55
(01-27-2015, 04:47 PM)Sneaky_Maori Wrote:  when i click on the link to go download the bot it comes up with this
"Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/home/u221905102/public_html/do.php' (include_path='.Facelinesideusr/lib/php') in Unknown on line 0"
any help?

Potato server is down.

here alternative to OP link.Alternative download link.
#56
#57
(01-27-2015, 05:17 PM)bushido-21 Wrote:  @saxmydix dude i try to edit the script for drooping cc for my clan logo but its not work Sad but its ok i'm gona w8 for other fix thanks

pm me which one is your clan logo. i'll try to do it for u.
#58
(01-27-2015, 10:58 AM)saxmydix Wrote:  
(01-27-2015, 10:54 AM)danilp12 Wrote:  
(01-27-2015, 01:28 AM)saxmydix Wrote:  edited with most fastest train speed and added donate cc after train troop. i've seen that bot not detect CC because of search pixel color dint match with other clan logo. should edit matching yours clan. im also edit donate trop as it cant detect request on 1st row of chat. TQ

5.4.2.2.2 EDITED Bot by safar

testing it and it work perfect!!! awesome edit man! =D

did Cc drop function well for you?

nope...it doesnt deploy cctroops...but im ok with that..i like to save them for defense =)
Windows 8 pro x64
Ati 5770 HD
AMD Phenom II x6 1090 T
4Gb Ram
DirectX 11
NET .Framework 4.5.1
AutoIt. v3.3.12.0
#59
It will not let me go to potatobot so i can not download. I would appreciate if someone can upload it someother place! Thank you in advance!
Im sorry for the inconvenience. Did not see the alternative download.
#60
still get this error

2015-01-28 07:29:06 : Donating for Clan Castle's Troops
2015-01-28 07:29:11 : Found donate button on 121,189
2015-01-28 07:29:13 : Error cannot check for Dead Base, Attacking...
2015-01-28 07:29:20 : Requesting for Clan Castle's Troops
2015-01-28 07:29:25 : Collecting Resources
2015-01-28 07:29:29 : Collecting Complete
2015-01-28 07:29:32 : Trying to locate Main Screen
2015-01-28 07:29:32 : Main Screen Located
2015-01-28 07:29:34 : Donating for Clan Castle's Troops
2015-01-28 07:29:39 : Found donate button on 121,189
2015-01-28 07:29:41 : Error cannot check for Dead Base, Attacking...
2015-01-28 07:29:48 : Requesting for Clan Castle's Troops
2015-01-28 07:29:53 : Training Troops...
 


Forum Jump:


Users browsing this thread: 2 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