12-16-2014, 09:32 AM
(12-16-2014, 04:35 AM)GeoByte Wrote: Anything us non coders with absolutely no idea how to write code or use those scripts can do to help?Believe me 2 weeks ago I had no idea what Autoit is. Happened to come accross a piece of Autoit script that periodically click on BlueStacks while I was looking for a program to help me keep CoC from getting disconnected. Took me only 1 to 2 days to learn the basic syntax by googling. Their documentation is very good and lots of code snippets being shared online. Then another 2 to 3 days to figure out Tesseract and the rest are just finding what function you need and read it up online. I'm not a programmer myself and don't even work with computer, if you really want to learn it's not that hard
I implemented idea from AtoZ to run Tesseract 3 to 5 times and get the smallest value. It works out really well. Since most of the wrong value we got are from extra number, finding minimum from 3 consecutive Tesseract run seems to minimize chance of error to very low. I tests around 100 search and only get a few wrong, a few of which are from misaligning of array (I've put a Ubound check and will see how it goes)
Also added text box from GkevinOD's idea and Pixelsearch for finding button from odySSeys. Thanks a lot guys!