@Antidote and @GkevinOD I have been playing around with imagesearch and pixelsearch. I found out it very unreliable especially on the following condition: 1. Level of zoom changed the pixel color. 2. Placement of the building/item changed the pixel color. I have written a short i
Dec 30, 2014> @Antidote,GKevinOD,Others > > Here is my revised imagesearch code for zombie detection. I simplified it to 2x2 (4 search areas instead of 9). You may add it to func village search TWICE for double check. @AtoZ, What is zombie since I'm not able to see your bmp file?
Dec 27, 2014@Antidote, 1. There slightly variable mis-spell in line 54 "$Goblin" instead of "$Golbin". 2. For zoom-out, you can try pixcelgetcolor to get the color of the most outer of North, South, East and West point. Using AND to get few color of each pole. 3. I tried disable all the $B3P
Dec 23, 2014@Antidote, I have tested your script with new coc account but there problem with troop training selection. When press start button, it zoom out and pop up msg asking for barrack location. Continue and pressed the location of 1st barrack, 2nd barrack and press cancel for 3rd and 4
Dec 23, 2014@GkevinOD: You may refer to this GNU organization of steps to register GPL. http://www.gnu.org/licenses/gpl-howto.html Secondly, I would like to ask how did u obtained the first pixel coordinate of the gold digit. Based on MS paint, the coordinate of the most left and most top of
Dec 22, 2014@GkevinOD, your GetResource 3.0 function is excellent.. Solute you.. You might wanna GPL it before other bot took it for commercial use since other bot used "W" @Antidote, don't get me wrong.. I don't mean your work is not appreciated. Your work definitely the pioneer of this thr
Dec 22, 2014Wooo 🙂 .. I'm impressed. I'm just out of 3 days (Business trip), so many update and progress. Specially thanks to @Antidote, @GkevinOD @kojometa and @vanadium Since GkevinOD's code beat Tesseract, I shall stop and move to another stage. Where shall I step in? Any task that requir
Dec 22, 2014> @Antidote if you got time soon you maybe could have a look at the ReadValue function. i tried it for hours now and still dont understand why its stuck for me in this function. > its just not giving out any results. it opens tesseract.exe a few times but nothing happens. autoit
Dec 21, 2014@Antidote, I have retrained the coc.traineddata. It took me 2hours++ to get it done http://www47.zippyshare.com/v/24242903/file.html
Dec 19, 2014Guy, do you need the tesseract traineddata of 1000 to 999,999. I did not start from 0 because chances of below 1000 gold/elixir is very low. The process required me to generate 30,000 of each tiff/box and merge it. If you guy need it, i'll only generate it as it is very time cons
Dec 17, 2014> First to train Tesseract you'll need the following files: (for training with supercell magic font and naming the new language 'coc') > > coc.supercell-magic.exp0.tif (image file containing letters/numbers/symbols you need to train Tesseract with) > coc.supercell-magic.exp0.box
Dec 16, 2014Let put the coding aside, why not we focus on the coc.traineddata. So far, all of us been focusing on the coding, captured region and arguing about the accuracy. If you all realize, we all been using the same coc.traineddata which was done by @Antidote. @Antidote has done a basic
Dec 15, 2014