norecha / pokubot

Clash of Clans bot
GNU General Public License v2.0
163 stars 83 forks source link

Troops Count #75

Open Mondster opened 9 years ago

Mondster commented 9 years ago

Looks like the troops count indeed have a bug and unable to count and deploy troops if no king is at the loot.

[07.04.15 10:21:25 AM] INFO: StateAttack [07.04.15 10:21:27 AM] INFO: [gold: 269602, elixir: 148246, de: 255] [07.04.15 10:21:31 AM] INFO: [Troop count: [0, 89, 0, 0]] [07.04.15 10:21:36 AM] INFO: StateAttack [07.04.15 10:21:38 AM] INFO: [gold: 93651, elixir: 83643, de: 739] [07.04.15 10:21:42 AM] INFO: [Troop count: [0, 89, 0, 0]] [07.04.15 10:21:45 AM] INFO: StateAttack [07.04.15 10:21:48 AM] INFO: [gold: 45142, elixir: 69836, de: 487] [07.04.15 10:21:52 AM] INFO: [Troop count: [0, 89, 0, 0]] [07.04.15 10:21:56 AM] INFO: StateAttack [07.04.15 10:21:58 AM] INFO: [gold: 36339, elixir: 45919, de: 609] [07.04.15 10:22:02 AM] INFO: [Troop count: [0, 89, 0, 0]] [07.04.15 10:22:06 AM] INFO: StateAttack [07.04.15 10:22:08 AM] INFO: [gold: 205791, elixir: 134196, de: 777] [07.04.15 10:22:12 AM] INFO: [Troop count: [0, 89, 0, 0]]

04-jul-15 10-26-31 am 04-jul-15 10-26-50 am

norecha commented 9 years ago

I'm sure it is not about king but about the number. It probably cannot parse 111 correctly. Try with 111, 89 and then try with a different barb number and let me know if that is the case.

norecha commented 9 years ago

And while this happens, your barbs are selected right?

Mondster commented 9 years ago

i only have 2 barracks working for now because 2 is under upgrading. how do i try with other number for bar? i thought the troops is automatically created.

when this happen barbs are not select it just skip to select the archs to loot.

Mondster commented 9 years ago

04-jul-15 10-44-39 am

norecha commented 9 years ago

By selected I mean little white box around the unit. Selected group has a bigger portrait.

You just need to have barb count other than 111. Just go to your army camp, delete a couple of them

Mondster commented 9 years ago

you are right looks like 111 unable to pass. i try it with 110 and is work.

04-jul-15 11-45-50 am 04-jul-15 11-44-56 am

norecha commented 9 years ago

I made a fix for it, can you test it if I send you fixed version?

Mondster commented 9 years ago

Sure.

norecha commented 9 years ago

whats your email

On 7/4/2015 1:49 AM, Mondster wrote:

Sure.

— Reply to this email directly or view it on GitHub https://github.com/norecha/pokubot/issues/75#issuecomment-118463977.

Mondster commented 9 years ago

raymond@sgoceanus.com