hey @safar46 nice work so far and awesome algorithm! unfortunately i have to call out a bug.
when it's trying to attack the townhall with archers, the bot is crashing. i didnt look into the source myself because maybe you already have a solution for that problem 😉
2015-01-30 19:32:35 : ===============Searching Complete===============
2015-01-30 19:32:36 : Preparing to attack
2015-01-30 19:32:36 : -Barbarian 102
2015-01-30 19:32:37 : -Archer 98
2015-01-30 19:32:37 : -Lightning Spell 1
2015-01-30 19:32:38 : ======Beginning Attack======
2015-01-30 19:32:38 : Error cannot check for Dead Base, Attacking...
2015-01-30 19:32:38 : Townhall location (0, 0)
2015-01-30 19:32:38 : ~Attacking in all sides...
2015-01-30 19:32:40 : Dropping first wave of Barbarians
2015-01-30 19:32:40 : Getting Attack Townhall location...
2015-01-30 19:32:40 : Getting Attack Townhall location...
2015-01-30 19:32:41 : Getting Attack Townhall location...
2015-01-30 19:32:41 : Getting Attack Townhall location...
2015-01-30 19:32:41 : Getting Attack Townhall location...
2015-01-30 19:32:41 : Getting Attack Townhall location...
2015-01-30 19:32:42 : Getting Attack Townhall location...
2015-01-30 19:32:42 : Getting Attack Townhall location...
2015-01-30 19:32:42 : Getting Attack Townhall location...
2015-01-30 19:32:42 : Getting Attack Townhall location...
2015-01-30 19:32:43 : Getting Attack Townhall location...
2015-01-30 19:32:43 : Getting Attack Townhall location...
2015-01-30 19:32:43 : Getting Attack Townhall location...
2015-01-30 19:32:43 : Getting Attack Townhall location...
2015-01-30 19:32:44 : Getting Attack Townhall location...
2015-01-30 19:32:44 : Attacking Townhall with first wave Barbarians
2015-01-30 19:32:44 : Attacking Townhall with first wave Barbarians
2015-01-30 19:32:45 : Attacking Townhall with first wave Barbarians
2015-01-30 19:32:45 : Attacking Townhall with first wave Barbarians
2015-01-30 19:32:45 : Attacking Townhall with first wave Barbarians
2015-01-30 19:32:47 : Dropping first wave of Archers
2015-01-30 19:32:47 : Attacking Townhall with first wave of Archers
the barbarians are droppel at the top of the map and not at the townhall.
when its time to drop the archers, the crash happens.
regards