The Bytecode Club
Log inJoin the club
Community profile

Antidote

Respected MemberMember

Posts
157
Discussions
7
Reputation
+29

Recent posts

Developing Bot

@odySSeys: thanks for pointing that out. Actually most coord for controlclick are for 800x600 converted to 860x720 through $x_ratio and $y_ratio since I used that at the beginning, so 560*$x_ratio is actually 560*800/860 = 522, 490*720/600 = 588. I didn't experience any issue wit

Dec 23, 2014

Developing Bot

Did it output your barrack's position in the box? And did it clicking on different places your just at the middle of your screen?

Dec 23, 2014

Developing Bot

Also loot depend a lot on trophy and time as well. There are days when loots are abundant in certain trophy range (I'm also mid TH8 and getting good loot in 1400~1500) but also at times there are little. If you experience many loss, you can try different troop composition or lowe

Dec 23, 2014

Developing Bot

for now I haven't been able to read army troops so what the drop troop function does is very simple: if giant selected, drop 5 giants on the left, wait 3 seconds if barbarian selected, drop 40 barbarian on the left, wait 1 seconds if archer selected, drop 40 archer on the left, w

Dec 23, 2014

Developing Bot

I wasn't aware that there's a small variation in y axis, but it shouldn't matter anway, since the margin for x and y of barrack is quite large, 1 or 2 pixels off shouldn't affect bot clicking. Can you delete configs.ini file and make sure your resolution is 860x720 and try again?

Dec 23, 2014

Developing Bot

I think I know what the problem is. Barrack's location is stored in configs.ini file, when you run the bot on your new village, it will overwrite values for your first 2 barracks but the other 2 are still there, (bot was clicking on what supposed to be your barrack's location in

Dec 23, 2014

Developing Bot

can you described how the forced break message looks like (from what I remember there's a warning message before that). And does it appear only in main screen or anywhere when it reaches 6 hours limit? The out of sync is easy to fix as it only happens in search screen, if it can

Dec 23, 2014

Developing Bot

Glad to have all errors fixed for you guys. I just tested and out of sync error is handled properly (if stuck in search screen for more than 30 seconds it will click Reload and run from beginning). To look for deadfish (or specific town hall, defense, ..) it will have to do image

Dec 23, 2014

Developing Bot

Updated code. include GkevinOD's fix, giant's fix & out of sync error check (haven't tested) http://www34.zippyshare.com/v/86209128/file.html http://www34.zippyshare.com/v/90807583/file.html http://www34.zippyshare.com/v/22137389/file.html

Dec 23, 2014

Developing Bot

@mikypark: Was BlueStacks already open? It seems to me that BlueStacks was not open so $aPos didn't get any value thus the non-accesible error. In short just open BS first before opening the bot

Dec 23, 2014

Developing Bot

@fly3r01: damn it was a silly mistake. Thanks a lot for the screenshot, lots people were reporting this problem can you go to the code and find func DropSingle($T,$W) ``` Func DropSingle($T, $W) While 1 If $RunState = False Then ExitLoop EndIf If CheckTroop($T) Then Select Case $

Dec 23, 2014

Developing Bot

Thanks a lot for helping to fix the errors Kevin. Latest errors all relate to func ReadValue, which run fines on my machine but may fails on other computers. For non-dark value, y will be off by +1 or -1, and base x,y might be 52,93 or 53,94 accross different computers. Both chec

Dec 23, 2014