Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
user defined troop deploy
#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/0kqb5oy7modidf...d.zip?dl=0
Reply
#2
Nosebleed ^___^
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
Reply
#3
Very nice someone here asked how to drop adjacent 2 sides attack. This mod can do it
Reply
#4
Awesome!
Thank you for the mod.
Reply
#5
Does this drop at all points at once or one after another?
Reply
#6
Great Mod , and i love the new tab auto Walls Upgrade
Reply
#7
(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.
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
Reply
#8
(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.
Reply
#9
(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! )
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
Reply
#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
Reply
 


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