hi, i just registered here only to take part at this great topic.
the past few days i coded my own bot in autoit for CoC based on imagesearch.
unfortunately this is a lot harder than on every bot i did before because they managed it to make nearly everything look a little different.
i compared 2 lvl 8 barracks.
when you zoomed out they look identical. but when you zoom in, you will see that the pixels are a bit different and thats causing a LOT of errors when you do a pixel-/imagesearch-based bot.
At first you code was working but now it isnt anymore. Dont ask me why. I tried to run it on my server. Over there it's at least reading values of gold and elixier.
The test.au3 isnt working as well and not showing up a single value.
The problem is not the zoom-level but something else.
when the bot enters the first enemy base it shouldn't try to click on any place that makes the "red text" showing up.
it actually should go start tesseract and try to read out some screencaptures for some values.
for me it doesnt even start to read out anything.
i'm not sure what is causing this problem but i hope you have something in mind cause i didnt go through all of your code yet.
i hope you have some idea on a solution for that problem.
furthermore ive got to say that you wrote it in a very professional way comparing to my sources and im really glad to take part on this topic.
i got some nice ideas i already put into my own bot and if your bot will be stable one day they are some possible features to add!
i also think that switching from pixelsearch to coords will be a more efficient way that should be done!
gotta get some sleep now cause i spent about 5 hours with your code now and im tired as hell :D
the past few days i coded my own bot in autoit for CoC based on imagesearch.
unfortunately this is a lot harder than on every bot i did before because they managed it to make nearly everything look a little different.
i compared 2 lvl 8 barracks.
when you zoomed out they look identical. but when you zoom in, you will see that the pixels are a bit different and thats causing a LOT of errors when you do a pixel-/imagesearch-based bot.
(12-19-2014, 10:58 AM)Antidote Wrote: @GeoByte: I think it's because your village hasn't been zoomed out completely. That's why you got the message "you cannot deploy troops in the red area". (since it deploy troops near the edge if you're not zoomed out it will get stuck in enemy's base.@Antidote: I doubt your answer will help him since i just experienced the same problem.
I edit attack button and set bot to press down 30 times to zoom for you two here: http://www14.zippyshare.com/v/48158606/file.html
I'm gonna get some sleep now. If there's any error you guys just leave it here and I'll reply to it later..
At first you code was working but now it isnt anymore. Dont ask me why. I tried to run it on my server. Over there it's at least reading values of gold and elixier.
The test.au3 isnt working as well and not showing up a single value.
The problem is not the zoom-level but something else.
when the bot enters the first enemy base it shouldn't try to click on any place that makes the "red text" showing up.
it actually should go start tesseract and try to read out some screencaptures for some values.
for me it doesnt even start to read out anything.
i'm not sure what is causing this problem but i hope you have something in mind cause i didnt go through all of your code yet.
i hope you have some idea on a solution for that problem.
furthermore ive got to say that you wrote it in a very professional way comparing to my sources and im really glad to take part on this topic.
i got some nice ideas i already put into my own bot and if your bot will be stable one day they are some possible features to add!
i also think that switching from pixelsearch to coords will be a more efficient way that should be done!
gotta get some sleep now cause i spent about 5 hours with your code now and im tired as hell :D