The Bytecode Club
Log inJoin the club
Community profile

Antidote

Respected MemberMember

Posts
157
Discussions
7
Reputation
+29

Recent posts

Developing Bot

Maybe 10 seconds is a bit too soon.. If you don't mind editing inside the code, just go to the code and looks for this part ``` Func CheckSearch() Sleep(2000) $GoldCheck = "" $i = 0 While $GoldCheck = "" $i += 1 If $i = 50 Then If CheckScreenChange(0.25,0.25,0.75,0.75,500) Then C

Dec 24, 2014

Developing Bot

I'm not very comfortable doing teamviewer lol but can you tell me what your problem is?

Dec 24, 2014

Developing Bot

@goondar: I meant the train button position when you click on boosted barracks but nvm, I've tested on my barracks and change the train button slightly to the overlap between boost and non-boost. It should be clicking fine for both now. Can you download the newer one (Bot 001) an

Dec 24, 2014

Developing Bot

I wrote a simple program flow so it's easier for everyone to know exactly what happens in each step Program Start Press Start Bot check if screen is static If static, press reload, wait for 6 second then check again If detect screen changes, move on to zoom out Press down button

Dec 24, 2014

Developing Bot

@Squrl: thanks for your understanding. Trophy drop is quite feasible, but I need to be able to read Trophy value (for now all values reading is done by GkevinOD so we'll gonna have to wait). And the bot progressed much faster than I expected (just last weeks I thought it would ta

Dec 24, 2014

Developing Bot

@Squrl: Very sorry for that.. What happened is it misclick on barrack (either because you have less than 4 barracks or barracks location not set up properly) and continue to click train troop, then click close barrack (this is where it misclick plus sign in buy gems as it's the s

Dec 24, 2014

Developing Bot

@Squrl: I just added a neccessary check in the code so it will work with any number of barracks (for ex. in the selection drop down if you have 3 barracks just choose troops for the first 3 and leave the other as Barrack 04, same for 2 barracks). It's the same links in first post

Dec 24, 2014

Developing Bot

@goondar: thanks, 4 ways atatck & King, Queen is actually quite easy to implement and will be added soon (4 ways is already in the code, just not activated yet). For deadbase I'm gonna need more time (need to use imagesearch, which is what it lacks compared to lf robot)

Dec 24, 2014

Developing Bot

The "disconnected due to inactivity" issue is fixed (I believe) in latest version (refer to page 1) The Zoom Out function use pixel color to detect max zoom out but there's color variation between different computers so I updated it with GkevinOD's code (thanks again). Also optim

Dec 24, 2014

Developing Bot

@GkevinOD: thanks mate 😉 I update checksearch to pass on to next village if it fails to read gold, so for now it can run error free until the 6 hour forced break (will fix that soon) ``` Func CheckSearch() Sleep(2000) $GoldCheck = "" $i = 0 While $GoldCheck = "" $i += 1 If $i > 7

Dec 23, 2014

Developing Bot

> I just tried the bot now and my first search was just dropped 1 barb and then nothing... I returned home and bot start himself, checked the troops and then he start searching for enemy with succes just that i only had 3 giants and rest barbs and archs. > Keep it up! Yes for a v

Dec 23, 2014

Developing Bot

I managed to check for maxed zoom out using PixelGetColor (thanks odySSeys & AtoZ). Here's the updated code for func ZoomOut ``` Func ZoomOut() GUICtrlSetData($Results, "Zoom Out" & @CRLF, -1) While 1 If Hex(PixelGetColor(127, 248, $HWnD),6) = "E8C656" And Hex(PixelGetColor(61, 2

Dec 23, 2014