The Bytecode Club
Developing Bot - Printable Version

+- The Bytecode Club (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: Developing Bot (/showthread.php?tid=155)



RE: Developing Bot - Antidote - 12-23-2014




RE: Developing Bot - Antidote - 12-23-2014

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


RE: Developing Bot - odySSeys - 12-23-2014




RE: Developing Bot - GkevinOD - 12-23-2014




RE: Developing Bot - odySSeys - 12-23-2014




RE: Developing Bot - GkevinOD - 12-23-2014

(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


RE: Developing Bot - kojometa - 12-23-2014




RE: Developing Bot - Antidote - 12-23-2014




RE: Developing Bot - Antidote - 12-23-2014

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


RE: Developing Bot - frequent - 12-23-2014

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