The Bytecode Club - Reverse Engineering Forum
user defined troop deploy - 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: user defined troop deploy (/showthread.php?tid=881)

Pages: 1 2 3 4 5


user defined troop deploy - huanyu - 02-17-2015

I have made a mod to allow user define the attack/deploy algorithm for the following troops:
  • Barbarians
  • Archers
  • Gaints
  • Wall breakers
  • Goblin

the attack/deploy algorithm must define in the root directory of bot (same level as config.ini file) and call "attack_algo.txt"

Each line in the attack_algo.txt represents a troop deploy method. It contents 5 cells and separated by ":". Each of cells is explained as the following:
  1. troop type that you wanna to deploy. Valid troops are:
    • barb
    • arch
    • giant
    • wb
    • goblin
    • king - does not work yet
    • queen - does not work yet
    • cc - does not work yet
  2. edge/side to deploy: range 0-3
    • 0: BottomRight
    • 1: TopLeft
    • 2: BottomLeft
    • 3: TopRight
  3. delay: delay after troops are deployed
  4. number of troop to deploy
  5. number of drop point per edge/side
as a example, giant:0:100:4:2 deploys 4 gaints on BottomRight side with two drop point and wait for 100ms when deploy completed.

source: https://www.dropbox.com/s/0kqb5oy7modidfx/COC-Bot-5.5.1.1-modded.zip?dl=0


RE: user defined troop deploy - SongHyeKyo - 02-17-2015

Nosebleed ^___^


RE: user defined troop deploy - haru072000 - 02-18-2015

Very nice someone here asked how to drop adjacent 2 sides attack. This mod can do it


RE: user defined troop deploy - LurtzMaze - 02-18-2015

Awesome!
Thank you for the mod.


RE: user defined troop deploy - DiviniT3a - 02-18-2015

Does this drop at all points at once or one after another?


RE: user defined troop deploy - promac - 02-18-2015

Great Mod , and i love the new tab auto Walls Upgrade


RE: user defined troop deploy - SongHyeKyo - 02-18-2015

(02-18-2015, 01:46 AM)haru072000 Wrote:  Very nice someone here asked how to drop adjacent 2 sides attack. This mod can do it

i want this also .. this is the best position to attack the storage inside in arch+gob+wall+barb+giant.


RE: user defined troop deploy - haru072000 - 02-18-2015

(02-18-2015, 10:18 AM)promac Wrote:  Great Mod , and i love the new tab auto Walls Upgrade

Auto wall upgrade is part of the alpha you can download from github. Not sure why they stop updating it though and made it private.


RE: user defined troop deploy - SongHyeKyo - 02-18-2015

(02-18-2015, 11:11 AM)haru072000 Wrote:  Auto wall upgrade is part of the alpha you can download from github. Not sure why they stop updating it though and made it private.

I don't know already what is the latest version ..

the wall upgrade version or the hungle mod version ( with costum troops, fast attack .. etc! )


RE: user defined troop deploy - promac - 02-18-2015

can i change the sequence of LauchTroop()?
like that?
giant:0:100:3:3
wb:0:100:2:1
barb:0:200:40:5
arch:0:200:44:4

giant:3:100:3:3
wb:3:100:2:1
barb:3:200:40:5
arch:3:200:44:4