11-10-2014, 01:30 AM
(This post was last modified: 11-10-2014, 01:33 AM by smellysocks.)
All that's left is coding the attack function, then it's done. The tricky thing is to get around the fact that during troop selection, depending on what barracks you are training from - you might run into the spell factory or dark barracks. So to avoid making max lightning spells and dark troops, you will need to make the bot distinguish that from the regular barracks and to skip them (I've successfully done that now).
I also need to code some kind of auto collect feature, shouldn't be too difficult but it's on my list after attacking. Also, I noticed LP bot gets out of sync with Clash a lot when it selects the bases too fast. This means that you might loose trained troops during a large loot search where you have to next a lot of bases (e.g. 200k+). So if I have to slow the search down by some ms then I will, as if you're boosting your barracks you want to get as much out of them as possible.
I also need to code some kind of auto collect feature, shouldn't be too difficult but it's on my list after attacking. Also, I noticed LP bot gets out of sync with Clash a lot when it selects the bases too fast. This means that you might loose trained troops during a large loot search where you have to next a lot of bases (e.g. 200k+). So if I have to slow the search down by some ms then I will, as if you're boosting your barracks you want to get as much out of them as possible.