The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

SUGGESTION: Clan Castle deploy control

Started by Hervidero · Jan 13, 2015

5 replies81,610 views
Jan 13, 2015#1

v.5.4.2.2
I would like the possibility to turn off Clan Castle deploy, maybe in Attack Settings?
I do not always want my CC to drop. (when I sleep and my clanmates also, I like to keep my CC even when BOT is running)

For now I have changed the script:

Starting line 1179:

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

@Hervidero

Well maybe if I have some more time I can implement it myself ;-)
Will let you know about the progress. I will use v5.4.2.2 as a starting point.

Jan 14, 2015#3

In your case, put this " ; " before func dropcc
and search for other dropcc() do the same.

Either have it disabled by the way above or leave it working, currently those are your choices.

Jan 14, 2015#4

In your case, put this "  ; " before func dropcc
and search for other dropcc() do the same.
Either have it disabled by the way above or leave it working, currently those are your choices.

@Mystery7
I had some time to make changes. Based on the 5.4.2.2 version I made a version of my own including the ability to turn CC deploy on/off.
It also writes an extra entry to the ini file.
I can upload or PM you the version I made. (it also includes some minor visual changes to the log onscreen and to the log file).

Jan 15, 2015#5

Hervidero wrote:

Mystery7 wrote:

In your case, put this "  ; " before func dropcc
and search for other dropcc() do the same.
Either have it disabled by the way above or leave it working, currently those are your choices.

@Mystery7
I had some time to make changes. Based on the 5.4.2.2 version I made a version of my own including the ability to turn CC deploy on/off.
It also writes an extra entry to the ini file.
I can upload or PM you the version I made. (it also includes some minor visual changes to the log onscreen and to the log file).

Please post your latest update here like one u pmed me with so other developers can look into it

Jan 15, 2015#6

OK, here is my work:

  • GUI has check box for Clan Castle deploy, ini is written, read and applied accordingly.
  • Log screen and logfile has some visual changes, changed the font to Courier New onscreen.
  • Log entries are padded with spaces using StringFormat()
  • Changed Loot snaphot routine

When the bot searches for a base to attack, the log is more in columns.
Search the script for "DeployCC", "Courier New" and "StringFormat" to see my changes

Anyway here is my version:
v5.4.2.2_Herv.au3

Got something to add?

Log in to post a reply.

Join the conversation