The Bytecode Club
Log inJoin the club
Community profile

Antidote

Respected MemberMember

Posts
157
Discussions
7
Reputation
+29

Recent posts

v5.4.0 (development)

I've included rar file with everything and compiled exe as well. Yes the train troop fix is included

Jan 6, 2015

FAO GKevinOD or Antidote

Yes I'm aware of this (this is how other bots are doing as well). When I first wrote it I haven't properly figured out pixel search so I just let it locate 4 barracks to be safe. But it can be added soon

Jan 6, 2015

v5.4.0 (development)

I modified v5.4.0's attack function to drop troop more naturally (resemble spreading troops around the borders). I'm not sure if efficiency will be the same as current one. If you guys need it you can test and help improve it 😉 ================ UPDATE 08/01/2015 ================

Jan 6, 2015

Dropping troops

This is actually quite simple to do. I modified attack function to resemble what you say (if you want to look more naturally random factor can be added to coord as well) sample code: ```autoit Local $numBarbPerWave = Ceiling($atkTroops[$Barb][1] / 2) Local $numArchPerWave = Ceili

Jan 6, 2015

Android bot.

I used to create a custom lua script to run on my rooted iphone with xmod. it managed to attack twice I think before getting out of sync and screwed up lol. After playing around a bit more I gave up and used it for tinder instead =) But I believe if you have a stable connection i

Jan 5, 2015

BUG: 5.3.1: Bot hang/ blank windows

Hmm. That's strange, since I'm aware of checking for out of sync and if you notice, func _Sleep() is already used for out of sync and inactivity check. So when while loop pass through _Sleep(), it will check for out of sync and if found, it will stop there and calling main progra

Jan 5, 2015

BUG: 5.3.1: Bot hang/ blank windows

@Cocsi: try this, replace Func GetResources() with this one. I haven't tested it yet ```autoit Func GetResources() ;Reads resources While 1 Local $i = 0 While getGold(51, 66) = "" And Not _Sleep(500); Loops until gold is readable If Not $RunState Then ExitLoop (2) $i += 1 If $i >

Jan 5, 2015

BUG: 5.3.1: Bot hang/ blank windows

Also I think this 2 lines doesn't change anything, as it would return right in the previous screen, we can actually leave it and let it wait for 5 minutes before doing a complete restart ```autoit Local $RunApp = StringReplace(_WinAPI_GetProcessFileName(WinGetProcess("BlueStacks

Jan 5, 2015

BUG: 5.3.1: Bot hang/ blank windows

If that's the case I think we can target the checknextbutton(). Actually it can be optimized like this: ``` While not detect out of sync or inactivity message If next button found exitloop If detect out of sync, click message, runBot If 1 minutes pass restart BS, runBot Wend ```

Jan 5, 2015

BUG: 5.3.1: Bot hang/ blank windows

About it failing to detect Next button, I think it's because GkevinOD set maximum waiting time to 10 seconds (including loading time and reading resource) so in some instances on slow machines or slow connection next village hasn't loaded --> 10 seconds passed --> bot restart. Ac

Jan 5, 2015

BUG: 5.3.1: Bot hang/ blank windows

So for now we are sure that the event is triggered during the 5 minutes count down. I've tried to optimized the processs, including - close BS process and restart (failsafe but takes 3 minutes on average to get to main screen) - click home button on BS, wait 30 seconds, reload ga

Jan 5, 2015

Clash of Clans Bot Discussion/Chatroom

I created a chatroom for you guys to discuss regarding development/bugs reporting or just chatting around :D http://cocbot.chatovod.com/ I think it's easier to communicate this way 😉

Jan 5, 2015