Players are wise enough not to spend $4000+ per tech on a Thursday, bots are not. That's why I suggested the tier system.
The bots tech levels were adjusted to buy more tech (which is great) because beforehand they were not buying enough.
However; there's still flaws.
$spend = $c->money - max($c->bpt,30)*$c->build_cost*10;
if($c->pt_agri < 160)
buy_tech($c,'t_agri',$spend*1/2,3500*$tol);
if($c->pt_bus < 140)
buy_tech($c,'t_bus',$spend*1/4,3500*$tol);
if($c->pt_res < 140)
buy_tech($c,'t_res',$spend*1/4,3500*$tol);
$c = get_advisor(); //UPDATE EVERYTHING
//out("Try Higher Amount!");
$spend = $c->money - max($c->bpt,30)*$c->build_cost*10;
if($c->pt_agri < 200)
buy_tech($c,'t_agri',$spend*1/2,3500*$tol);
if($c->pt_bus < 160)
buy_tech($c,'t_bus',$spend*1/4,3500*$tol);
if($c->pt_res < 160)
buy_tech($c,'t_res',$spend*1/4,3500*$tol);
I'll explain the code:
The bots first buys AGRI tech to 160%, BUS tech to 140%, and RES tech to 140%. This is a strategy error. Farmer bots should ONLY be buying AGRI tech until at LEAST 220% before even thinking about BUS / RES.
As you can see in the code: he up'd the amounts to 200% AGRI , 160% RES & 160% RES. Again, BUS RES shouldn't be touched until 220% agri tech is reached. Even then., there are better techs than BUS RES as a farmer.
This causes farmer bots to buy all three techs. Making the bus/res tech demand higher than pre-bots. The farmer bots then sell all their food on market between $25-$34. The higher priced food is never seen, because the cheap food is so flooded, that eventually the higher priced food drops off market and is resold cheap too.
This is just an example from the farmer bot.
The same can be said with other bots too:
if($c->money > max($c->bpt,30)*$c->build_cost*10){ //buy_tech
//out("Try to buy tech?");
$spend = $c->money - $c->bpt*$c->build_cost*10;
if($c->pt_agri < 140)
buy_tech($c,'t_indy',$spend*1/2,3500*$tol);
if($c->pt_bus < 140)
buy_tech($c,'t_bus',$spend*1/4,3500*$tol);
if($c->pt_res < 140)
buy_tech($c,'t_res',$spend*1/4,3500*$tol);
$spend = $c->money - $c->bpt*$c->build_cost*10;
if($c->pt_agri < 150)
buy_tech($c,'t_indy',$spend*1/2,3500*$tol);
if($c->pt_bus < 160)
buy_tech($c,'t_bus',$spend*1/4,3500*$tol);
if($c->pt_res < 160)
buy_tech($c,'t_res',$spend*1/4,3500*$tol);
}
Look at the C/I bot for a minute. It's buying 150% agri tech, 160% BUS tech and 160% RES tech. There's 0 indy tech. And besides, none of these techs should be touched until indy tech is at least 150%. This too, adds more demand on BUS / RES tech, which shouldn't be happening. That's why you have these sudden massive buyouts of tech. Because all these strategy bots are all buying BUS / RES, which shouldn't be buying them.
And this is just two examples. If a bot is Demo, these %s are not adjusted. They are static, thus making the demo 10+ tech bonus almost negated.