The Bytecode Club - Reverse Engineering Forum
5.4.2.5.2 - Better Troops Deployment (LF Style), Fixed Train Troops - 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: 5.4.2.5.2 - Better Troops Deployment (LF Style), Fixed Train Troops (/showthread.php?tid=441)



RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - indy - 02-02-2015

(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.


RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - SongHyeKyo - 02-02-2015




RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - mathdarkmoon - 02-02-2015




RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - COBOT - 02-02-2015

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.


RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - SongHyeKyo - 02-02-2015

(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


RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - mathdarkmoon - 02-02-2015




RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - indy - 02-02-2015

(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.


RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - SongHyeKyo - 02-02-2015

(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.


RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - Black Hat - 02-02-2015




RE: 5.4.2.4.2 - Fix Attack Townhall algorithm - DiviniT3a - 02-02-2015

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.