The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

user defined troop deploy

Started by huanyu · Feb 17, 2015

44 replies664,211 views
Feb 17, 2015#1

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

Feb 17, 2015#2

Nosebleed ^___^

Feb 17, 2015#3

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

Feb 17, 2015#4

Awesome!
Thank you for the mod.

Feb 17, 2015#5

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

Feb 18, 2015#6

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

Feb 18, 2015#7

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.

Feb 18, 2015#8

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.

Feb 18, 2015#9

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! )

Feb 18, 2015#10

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

Got something to add?

Log in to post a reply.

Join the conversation