(11-08-2014, 01:52 PM)smellysocks Wrote: Hi, smelly here,
I think I'll have a functioning version tomorrow or the day after, Xanathos has been quite helpful. So far I'm only implementing barbs and archers as I think anything else defeats the purpose of collector farming and I'm trying to just get it functioning and stable as soon as possible (I will he TH8 in the game soon). Extras are nice but the main purpose of the bot is just to gain resources while gone. I have some great ideas but I'm new to this so its taking me quite a while to get the basics done but it's definitely doable.
The image recognition has worked out quite nicely for me, although it's definitely been time consuming to get it at a level where I'm comfortable with the accuracy.
(11-10-2014, 02:16 AM)spelaben Wrote: I spent all day trying to figure out how to unpack / decompile Lazypressing (I have no idea what I'm doing though). Although my coding skills are also very limited, I thought maybe if I see how he implemented different features I could learn from it and maybe even improve them (for example to also train minions in the dark barracks for faster overall training time shouldn't be too hard to add I guess).You would get more benefits (and all the time spent on trying to unpack it) by learning the basics of a bot than trying to learn from a decompiled program, first because you have to make it "readable", and without programming knowledge you would get nowhere, and second, you will probably wonder what is "X" or "Y" function.
Does anyone have the skillset and is willing to spend some of his time to point me in the right direction?
(11-10-2014, 01:30 AM)smellysocks Wrote: 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.