The Bytecode Club - Reverse Engineering Forum
SUGGESTION: Clan Castle deploy control - Printable Version

+- The Bytecode Club - Reverse Engineering Forum (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: SUGGESTION: Clan Castle deploy control (/showthread.php?tid=314)



SUGGESTION: Clan Castle deploy control - Hervidero - 01-13-2015

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



RE: SUGGESTION: Clan Castle deploy control - Hervidero - 01-14-2015




RE: SUGGESTION: Clan Castle deploy control - Mystery7 - 01-14-2015

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.


RE: SUGGESTION: Clan Castle deploy control - Hervidero - 01-14-2015




RE: SUGGESTION: Clan Castle deploy control - Mystery7 - 01-15-2015




RE: SUGGESTION: Clan Castle deploy control - Hervidero - 01-15-2015

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