The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Developing Bot

Started by Antidote · Dec 5, 2014

1,033 replies21,297,466 viewsLocked
Dec 31, 2014#801

@GKevinOD,
The checkMainScreen was working well as it looks more clean and faster in restarting bluestack and coc. Not sure if this is the expected process of restarting bluestack and coc. What I see is, bluestack instantly back to homepage, after few second, coc came up without loading and the coc was at where my last load page (last searched base).

If the top process is correct then I think there is some loop problem where while searching for base, checkMainScreen activated and restart coc successfully but the screen was still at the last searched base instead of back to my own base and the next bot action is zoomout,train.......

Dec 31, 2014#802

its spamming between the barracks super quickly and doing nothing else

I also had this problem when I changed/tried to change the Random factor.

Just delete your config.ini and don't touch the numbers in "Random Factor", this solved it for me.

Dec 31, 2014#803

What I see when I'm following some attacks with the latest version 5.2 is that not all troops are used. There are always about 20-30 barbarians and archers left. In the log I see the drop of the first and second wave, should there be a third wave?
Is this a setting or a bug? Other people experiencing the same thing?

Dec 31, 2014#804

@mine214
I am experiencing the same thing.
Didn't find a fix for this though.
@GkevinOD Maybe you can help here?

Dec 31, 2014#805

Hi,

My first test with this Pre-Alpha version , and sorry if anyone report in last day , but i working and don´t saw de code of line 1904.

Win8.1 x64

  • Barch
  • Dead Bases
  • Attack on All Sides
  • G+E = 120K each
2014-12-31 11:26:37 : Training Troops Complete
2014-12-31 11:27:06 : Zooming Out
2014-12-31 11:27:06 : Zoom Out Complete
2014-12-31 11:27:07 : Training Troops...
2014-12-31 11:27:20 : Training Troops Complete
2014-12-31 11:27:21 : Preparing to search
2014-12-31 11:27:25 : ===============Searching For Base===============
2014-12-31 11:27:26 : (1) [G]: 27928        [E]: 58692        [D]: 589          [T]: 13
2014-12-31 11:27:30 : (2) [G]: 156576       [E]: 148989       [D]: 461          [T]: 27

I would like to wish you a happy new year 🙂

Dec 31, 2014#806

I just looked at GkevinOD's latest code and was really impressed with his work. He added another layer of sophistication to the bot and optimized lots of function, coord and values. I tested run it for a while and haven't started looking for bugs yet but did noticed a few problems others are facing.
@GkevinOD: I read through your code and noticed you implemented GUIGetMsg and func _Sleep() to check for interaction of gui. The sleep function is a nice idea as it doesn't put the whole script to a halt. However, as you manually check GUI in every idle's time (_sleep) instead of using GuiRegisterMsg, it could be quite unresponsive in between (for ex when bot is training barrack clicking stop or close would only response after that function finish). May I know your rationale behind this?

Dec 31, 2014#807

In addition to my post #811; the problem with not dropping all the troops seems to happen in the three side attack mode.

Another I have seen is that the bot turns non responsive after some time, at random. The window of the bot becomes white and nothing will happen anymore. It happened about 3-4 times in about 5 hours.
It could be an issue on my PC, but I haven't had this before with the earlier versions.

Dec 31, 2014#808

not sure if im alowed to request here but could someone work on a castle clash version of this

Dec 31, 2014#809

The "Compiled Pre-Alpha v005.2 (x64)" works perfectly on my PC (i7 4770 8gb).
Just wanna say thanks to all developers, wish you guys all the best and happy new year 🙂

Dec 31, 2014#810

wish you all happy new year especially to all dev @antidote @GkevinOD @Kaz @Atoz 🙂

This discussion is closed.