The Bytecode Club
Log inJoin the club
Community profile

Antidote

Respected MemberMember

Posts
157
Discussions
7
Reputation
+29

Recent posts

Developing Bot

@GkevinOD: I think we'll have to rely on you to work out the pixel as I haven't fully understood your implementation, just merely bruteforcing the correct first pixel lol @kojometa: I'm having good loots too, if it's just for personal use I'm happy with the current one now xD i'm

Dec 22, 2014

Developing Bot

I think I know where the mistake is. Can you look through the code for this line: ``` If getDarkElixir($x_default+1, $y_default+58) <> "" & getDarkElixir($x_default, $y_default+57) <> "" Then ``` change & to OR ``` If getDarkElixir($x_default+1, $y_default+58) <> "" Or getDarkEli

Dec 22, 2014

Developing Bot

yes adding dark and trophy would be easy, I'm gonna do it soon. I noticed the out of sync too and still thinking of ways to deal with it. It's not easy to do with Autoit since it's not multithreaded, you can only execute one function at a time (the Start/Stop button things requir

Dec 22, 2014

Developing Bot

@GkevinOD: I saw that before but didn't try it since I was more concern with functionality. Also I'm not familiar with design, graphic things.. but I will improve GUI once the bot becomes usable :D @odySSeys: haha don't worry bro I salute his work as well. He defitnitely has the

Dec 22, 2014

Developing Bot

I updated the bot with GkevinOD's new code and implement kojometa's idea to check for full army camp. I also redesigned GUI a bit to make room for the additional dark elixir and trophy. Search function still use gold & elixir only as I haven't added dark and trophy yet. Error whe

Dec 22, 2014

Developing Bot

@GkevinOD: glad you got it work for all values, speed is still superb. I tested it and managed to get all values correct. I have to tweak $x_default and $y_default a bit though, since 52,93 seems to work better for me. Anw, I updated the bot with your code and make sure to run al

Dec 22, 2014

Developing Bot

I've managed to tweak GkevinOD's code a bit to get both gold & elixir reading. It's super fast (it was nexting faster than you can read). Should've added parameters to it but I was lazy and ended up making 2 separate au3 files for gold and elixir lol. Below is the link to Bot.au3

Dec 22, 2014

Developing Bot

@kojometa: Glad you got it working for so long, I never let it run continuously before lol. I'll look into what causing the problem with Giants but in the mean time if bar and archer works for you you already got a working bot for yourself 😉 @GkevinOD: very impressive work Kevin.

Dec 21, 2014

Developing Bot

It's still in development so I cannot say for sure what features will be added. For now it's not ready for use yet.

Dec 21, 2014

Developing Bot

@Envyus: it's intended to run on its own, for now search only function is already possible, just not 100% accuracy.

Dec 21, 2014

Developing Bot

@GkevinOD: I edited your code to change between 52,93 and 53,94 until it finds match and for now it works really well. 100% accuracy and takes around 2~4 seconds depending on first pixel match. I'm trying to replicate the color for elixir but I cannot find the exact pixel color y

Dec 21, 2014

Developing Bot

Make sense to me now since I tend to always use up all troops in battle I might overlook that. By detecting gold & elixir change, do you detect change in that screen region (pixelchecksum) or actually read gold & elixir to compare? How would it handle when you get 3 stars or batt

Dec 21, 2014