The Bytecode Club
Log inJoin the club
Community profile

Antidote

Respected MemberMember

Posts
157
Discussions
7
Reputation
+29

Recent posts

Developing Bot

The most important thing is your village has to be zoomed out maximum, as all co-ordinate relies on that. The bot will do the zoom out itself, but sometimes it might fail to zoom out all the way, so better you zoom out first to reduce chance of error

Dec 19, 2014

Developing Bot

I managed to wrap all necessary components for the script to run inside an exe file (using DirCrete and FileInstall). When run it will extract Tesseract and execute the script so you don't have to install anything, just make sure you are in your main village, press down button to

Dec 19, 2014

Developing Bot

@qaqaqa: I have no idea but it seems like the cause is function ClearBox(). I comment it out and compile for you here: http://www36.zippyshare.com/v/19275166/file.html

Dec 18, 2014

Developing Bot

shit I just look up the hex. It's really midnight blue.. I think my pixel get color script fails to get the correct co-ord. I just printscreen and check again in photoshop. Can you change the value to 0xc00000? I use replace color and it's indeed the only spot on the screen with

Dec 18, 2014

Developing Bot

@konloch: thanks, didn't expect so many people contribute :D

Dec 18, 2014

Developing Bot

The pixelsearch is just looking for a specific shade of red from the End Battle button so it knows when to start reading. I cannot reproduce your error but I do notice sometimes the bot cannot detect a specific shade when battle finish to click return home. For CheckSearch you ca

Dec 18, 2014

Developing Bot

For the attack strategy, you are right. I still think each method has its own up and down. I personally used both lp and lf, in my experience bruteforce approach used by lp or attack 'em all in lf is inconsistence in loot for each attack but in the long run can be more rewarding

Dec 18, 2014

Developing Bot

@travis: Normally it has to zoom out all the way before you map your barrack, since the default position for every thing is max zoomed out. 2 possible reasons: either your village wasn't properly zoomed out before training starts (the bot send down keyboard 20 times to zoom out,

Dec 18, 2014

Developing Bot

@odySSeys, vanadium: I'm not sure how training actually works, never use tesseract before, just trying different settings and see which works best. I agree it doesn't make sense to train every number, but training with larger data does improve accuracy. My first traineddata with

Dec 18, 2014

Developing Bot

> I need a sample code for me to learn. It'll be hard for a non-coder like me. Anyone? > > Question in mind: what if there are two or more images ex. 111_111? will image search detect more than one coordinates? Here's the one I'm working on, it's quite long but very basic syntax,

Dec 17, 2014

Developing Bot

> @Vanadium, Antidote > Try incorporating these to your code after string split when reading Tesseract value.. (Declare $Read1 & 2) > $Read1=StringLeft($Read[1],3-7+_Min(7,StringLen($Read[1]))+3-StringLen(StringRegExpReplace(StringLeft($Read[1],4)," ",""))) & StringRight(StringRe

Dec 17, 2014

Developing Bot

I've just updated the code with some minor improvement, currently ocr still relies on Tesseract as I haven't figured out the other method, but accuracy should be decent enough. Right now there's no image recognition so on first run it'll prompt you to manually click on each barra

Dec 17, 2014