Thread Rating:
  • 7 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Developing Bot
I updated the bot with GkevinOD's new code and implement kojometa's idea to check for full army camp. I also redesigned GUI a bit to make room for the additional dark elixir and trophy. Search function still use gold & elixir only as I haven't added dark and trophy yet. Error when searching for village and return home function is fixed as well. Haven't tested Giants again to see what cause the problem but I will do soon. Anw here's the script: Bot.au3, GkevindOD.au3 & pre-compiled Bot.exe for those just want to test and don't mind the exe

http://www25.zippyshare.com/v/20548746/file.html
http://www25.zippyshare.com/v/71348480/file.html
http://www25.zippyshare.com/v/25890047/file.html
(12-23-2014, 03:07 AM)odySSeys Wrote:  @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"

I don't know if I did it right, I edited the pastebin. Can you check if it is correct because I've never done it before haha
yes adding dark and trophy would be easy, I'm gonna do it soon. I noticed the out of sync too and still thinking of ways to deal with it. It's not easy to do with Autoit since it's not multithreaded, you can only execute one function at a time (the Start/Stop button things require special function to actively monitor the GUI and even then variable check has to be implemented throughout the whole code ($RunState). I'm still looking for ways to do it, otherwise we're gonna need another lengthy check. It'll be great if you can help me list all possible error message or random pop up in game so we know what to deal with
I personally don't like the gold change either, but it seems effective, you can try to vary waiting time to see what works best..
don't know why but for some reason pixelsearch seems inconsistent to me, many times color end up not matching.. I'm still finding a solution for max zoom out check..
If we can successfully implement all check, next step would be optimizing attack. After all the bot's main purpose is loot lol
Thanks for all the hard work, guys. The latest update via Antidote has a bug for me. While the bot is searching for a village to attack it will sometimes stop on a village and simply do nothing, but if i hit next it begins reading out gold elix de etc, for a couple of times and then stops again. The previous version did not have me experiencing this problem. Just wanted to throw that out there and see if anyone else has experienced this problem with this version.


p.s. What language is this written in? I have taken a couple of programming classes in school
 


Forum Jump:


Users browsing this thread: 101 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website