Thread Rating:
  • 40 Vote(s) - 4.78 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5.4.2.5.2 - Better Troops Deployment (LF Style), Fixed Train Troops
(02-02-2015, 09:20 AM)SongHyeKyo Wrote:  update: i fix it already

Question:

What gold and elixir detected changing means( i forgot the message )

do you mind sharing how you fixed?


about your question, that message is "Gold & Elixir change detected, waiting..."
while attacking, if you're still earning gold/elixir, the bot waits. if not, it ends the match.
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
[Image: sigpic4011302_1.gif]
Only thing I found is if u set up barb arch giant wallbreakers for example, it trains them all in the same barrack, 10 giants, 4 wallbreakers and if theres any space left for others before it goes on to the next.. it is great, just a suggestion if u set it up that way it should somehow divide those 10 giants into these 3 or 4 barracks while making troops instead.. the problem is that yhis way it doesnt recognize how many giants it trained and in next attack u end up with 18 giants and 6 wallbreakers or none.. if theres a way, this would be the fix id focus on next when it comed to troops.
(02-02-2015, 10:16 AM)mathdarkmoon Wrote:  @safar46

The only bug I found is that attacking is not finished yet but the bot press the surrender button if I get two stars.

Otherwise, the bot working flawlessly to me... Thanks once again for the great update,


Is not bug ... bot surrender when no elixir gold detected already or troops kill already all the storage collector or bot got all the gold and elixir.

If you want to get 3 star .. we need an option to delay battle end
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
[Image: sigpic4011302_1.gif]
(02-02-2015, 10:28 AM)SongHyeKyo Wrote:  
(02-02-2015, 10:16 AM)mathdarkmoon Wrote:  @safar46

The only bug I found is that attacking is not finished yet but the bot press the surrender button if I get two stars.

Otherwise, the bot working flawlessly to me... Thanks once again for the great update,


Is not bug ... bot surrender when no elixir gold detected already or troops kill already all the storage collector or bot got all the gold and elixir.

If you want to get 3 star .. we need an option to delay battle end

change this line in GoldElixirChange function

While TimerDiff($iBegin) < 30000

to

While TimerDiff($iBegin) < 60000

or more. it will wait 60 seconds before ending battle instead of 30.
(02-02-2015, 11:03 AM)indy Wrote:  change this line in GoldElixirChange function

While TimerDiff($iBegin) < 30000

to

While TimerDiff($iBegin) < 60000

or more. it will wait 60 seconds before ending battle instead of 30.

T H A N K Y O U for this tutorial how to delay battle end.
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
This version is absolutely amazing. You've done awesome work man and I really appreciate it. Like what has been mentioned before, if there was an option to use spells on the dark elixir storage I don't think I would need anything else.
 


Forum Jump:


Users browsing this thread: 11 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