am i the only one not deploying cc troops in this version?
Video Game Reverse Engineering
v 5.4.2.2
Started by GkevinOD · Jan 11, 2015
@blindpick Does the bot recognize that there is a clan castle? Also does it say that it's deploying clan castle but actually not?
@GkevinOD did some fixes but im lost with a few things like what does the click(x,y) rely on and the Hex usage for getBSPos. And basically changing the whole code from old way to new way is a bit complicated for me as you have changed/merged some functions. I think ill just wait for you to do what we discussed. Some of the functions are basically copy paste back from old to new but ones like CCReq or drop are just new to me so as is this whole thing. Either way...... waiting ! XD
Been lurking a bit - nice work!
Only issue I've had so far is it doesn't zoom out after reconnecting, so it's stuck clicking random stuff 😉
Oh, one more issue I had at first was I had all barracks set to train archers, but when running, it was looking for barbs & throwing an error. Just had to add barbs to 1 barrack to make it work.
@Mystery7: Click(x,y) relies on information on Autoit Windows Info (set Options -> Coord Mode -> Client, switch to Control and drag Finder Tool to desired location in BlueStacks). Color hex can be found using Pixelgetcolor (BSPos used to be for reference of BS's windows position relative to screen but is not needed anymore due to improved functions). The main difference in new version (5.4 onwards) is GkevinOD's custom functions to capture image for reading (enable backgrounding ability but still has issues which is why 5.3.x still works most stably for most). If you're interested in joining development feel free to join us in skype. New developers are always welcome 😉
@barracoda: sometimes 20 DOWN is not enough for complete zoom out so you can change the value 20 in func ZoomOut() to something like 30 or 40 (it's just the maximum, bot still detects for max zoom out). About training troops I believe for now there's only algorithm for barbarian & archers so it will set it as default.
Sure @Antidote add me up, im already past all that.. im working on troop requests but for some reason its missclicking another location ... that ttool for locating is quiet what i need right now
im following the runbot function to see how the scrript is running soo after the request troops im going after attackmain or whatever comes next.
ill need 3 hours maybe if i can get assistance on the spot, i may be able to do it in less and upload a version with "OldStyle" no background thing which will probably work for all.
Hi all, there is any github for this project? So we can track the development via github. It will be easy for developers to track changes.
I want to join this development too
@bushido-21 or anyone else:
Has anyone already seen that it stucks at the "cannot find next button, restarting bluestacks" and then stuck at trying to get to main screen?
Don't have the option to try it out right now, that's why I am asking... just curious 🙂
@Sopyan When you run the bot, make sure to use the correct version. The reason it is not detecting dead bases is because you did not run the script as x64. Right click on the au3 file and it should give you that option.
Can you give the log when the bot hangs or has whitescreen after an hour or so? Also if you can, check what your memory usage and cpu usage is and tell us.
Now running as 64Bit.
After losing about 12 matches in crystal league.
Damn. You know I'm lvl 113 this ain't silver league
Gonna give an update on how this has done, it's looking for a base right now.
Thanks in advance
EDIT! Now skips bases with 64 Bit
Now the only problem left is it turning completely white and unresponsive after 2 to 3 hours....
And the deploying CC troops.
Thank you very much for keeping this an open source project.
This discussion is closed.