well then have a look at the UnitTable class (The uploaded version gives no credit to sub, I fixed that now) and work out why the hell it creates a table and cannot load it afterwards!
It was fine then suddenly it screwed up after i added the GetEnergyScore and GetEnergyMaker functions!
I must have changed something by mistake since the table file size suddenly jumped from 24 to 28kb and those functions werent supposed to make any difference to it!
anyways thats the source of my AI, its totally incomplete and although i have a few functions not shown in the RAR file, i cba fidind them all in other projects...
Good luckhttp://www.fileuniverse.com/?p=showitem&ID=1891