The Bytecode Club
Log inJoin the club
Community profile

vanadium

Member

Posts
26
Discussions
0
Reputation
0

Recent posts

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 ba

Dec 22, 2014

Developing Bot

It's not sufficient to detect When Home button appears: all troops and spells may not have been used for the battle. In this case, return home appears only after 3min timeout. Also, depending you get at least one star or not, the button is either "Surrender" or "End battle", with

Dec 21, 2014

Developing Bot

Also, i dont have any issue with imagesearch on barracks, troops etc. But i'm developing my bot in java, notre using autour.

Dec 20, 2014

Developing Bot

You can do the same with image search quicker and without having to have first pixel of the nimber. And it's way less brute force.

Dec 20, 2014

Developing Bot

> I only managed to locate the gem values in the coc main screen in BMP and PNG format. It's really quite hard to use imagesearch as it is really picky on the image. Image size is also a big concern. I browsed again on the coc-en files and found out a lot of similar numbers of di

Dec 19, 2014

Developing Bot

You have to compute the window position and size. Autoit has all the necessary function to get the window position and size.

Dec 18, 2014

Developing Bot

This is useless. There is not need to train it for every number, that's absolutely not how OCR works.

Dec 17, 2014

Developing Bot

You don't even need a tutorial for that, it's pretty simple: 1. Make Pngs of numbers from 0 to 9, 2. Capture the part of the screen containing the numbers, 3. Use image search algorithm to find the position of the number by testing all of them, 4. Order the found numbers by incre

Dec 16, 2014

Developing Bot

Right, i'm also experimenting glyph recognition algorithm, and i get almost 100% success. And it's way easier than using Tesseract, although it requires to make png files of each displayed number (but in a matter of minutes you get this done using Gimp or Paint.net).

Dec 16, 2014