The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

"Waiting for full army"

Started by Duffyduck · Jan 19, 2015

13 replies206,002 views
Jan 19, 2015#1

EDIT :::
I figured i need to download the cross version thanks to @Mystery7
after it collects resources, it goes on each barracks - Train Troops but never trains them..
So i made some troops and now my army camp is full, i started the bot again and
after the Training Troops Complete message, it stays at Waiting for full army.
Here's a Screen shot :
http://puu.sh/eKyjR/7c8bbfdf16.jpg

I followed all the instructions in the forum, tried to figure out through the topics and the comments, nothing helped me so far..

Hello !

So i'm new here, and after i located the Barracks spots and pressed Start,
it seems like the bot can't find the "Train Troops" button,
I have no idea why actually, that's the part of the bot that does the error :
Local $TrainPos = _PixelSearch(155, 603, 694, 605, Hex(0x603818, 6), 5) ;Finds Train Troops button
If IsArray($TrainPos) = False Then
SetLog("Barrack " & $i + 1 & " is not available")
I never worked with autoit, or with pixels 😛
It seems it just gets to that condition and never train my troops so..
Should i try to make the train troops button possition manually?

Thanks in advance!\

Jan 19, 2015#2

Im guessing this is bot ver 5.4.2.2, try using cross bot.

Jan 19, 2015#3

That did the job, but now i'm facing another problem,
it seems like when it enters the barracks, it won't make any troops..
i tried the both options "Barch" & "Use Barracks"..

Jan 19, 2015#4

Im guessing this is bot ver 5.4.2.2, try using cross bot.

NOTE
I followed all the instructions, i click on the Desktop after clicking start, and mouse is outside the bound of BlueStacks window..

Jan 19, 2015#5

Another NOTE :
I made troops manually, and now my army is full,
it stays as it is after "Training Troops"..
Also its still not training the troops, and however if the army is full or not, it will continue with the "Training Troops" loop..
Help 😕

Jan 19, 2015#6

Hmmmm there is another guy with the same problem he solved it but he didnt mention how... I honestly dont know whats causing that to happen. Its incredibly rare....

Jan 19, 2015#7

Hmmmm there is another guy with the same problem he solved it but he didnt mention how... I honestly dont know whats causing that to happen. Its incredibly rare....

I see, well thanks for the answer 🙂
Though i found some things that may help :
the RunState variable seems to be False when getting to the Train Troops function,
i belive that's why it doesn't train any troops..
Also, the fullarmy seems to be false too, maybe both of them do not reach somehow to a function that will turn them true (I still didn't catched up with all of the code so i don't know yet what turns them up, i bet it by pixels but you know the best)
Anyhow, thanks for the help !
I'll figure this up tommorow i hope, though some hints would be awesome !

Jan 21, 2015#8

Duffyduck wrote:

Mystery7 wrote:

Hmmmm there is another guy with the same problem he solved it but he didnt mention how... I honestly dont know whats causing that to happen. Its incredibly rare....

I see, well thanks for the answer 🙂
Though i found some things that may help :
the RunState variable seems to be False when getting to the Train Troops function,
i belive that's why it doesn't train any troops..
Also, the fullarmy seems to be false too, maybe both of them do not reach somehow to a function that will turn them true (I still didn't catched up with all of the code so i don't know yet what turns them up, i bet it by pixels but you know the best)
Anyhow, thanks for the help !
I'll figure this up tommorow i hope, though some hints would be awesome !

Im starting to think this is caysed by BS, what ver are you using?

Jan 21, 2015#9

@Duffyduck Looking at your screenshot, you can see that the game is shifted downwards a bit causing all those pixel searches to fail due to wrong positioning.

Try reinstalling Clash of Clans in bluestacks and see if it goes back to normal.

Jan 21, 2015#10

Mystery7 wrote:

Duffyduck wrote:

Mystery7 wrote:

Hmmmm there is another guy with the same problem he solved it but he didnt mention how... I honestly dont know whats causing that to happen. Its incredibly rare....

I see, well thanks for the answer 🙂
Though i found some things that may help :
the RunState variable seems to be False when getting to the Train Troops function,
i belive that's why it doesn't train any troops..
Also, the fullarmy seems to be false too, maybe both of them do not reach somehow to a function that will turn them true (I still didn't catched up with all of the code so i don't know yet what turns them up, i bet it by pixels but you know the best)
Anyhow, thanks for the help !
I'll figure this up tommorow i hope, though some hints would be awesome !

Im starting to think this is caysed by BS, what ver are you using?

GkevinOD wrote:

@Duffyduck Looking at your screenshot, you can see that the game is shifted downwards a bit causing all those pixel searches to fail due to wrong positioning.

Try reinstalling Clash of Clans in bluestacks and see if it goes back to normal.

Thanks for responding, i'll try to reinstall CoC 🙂
I'll update you if that works or not 🙂

Got something to add?

Log in to post a reply.

Join the conversation