I have been working on an AI for a few days now, and have been having an absolute blast! First and foremost I want to congratulate the developers for creating such an amazing addition to OpenTTD. I don't even think I play OpenTTD anymore, when ever it's open it's 'cause i'm working on my AI. I'm looking forward to having something complete enough to share fairly soon.
I have just run into a problem that is really confusing me at the moment. My Start() function begins like this:
Code: Select all
AILog.Info("Welcome to robotAI.")
this.Sleep(1);
this.SetCompanyName();
this.name = AICompany.GetCompanyName(AICompany.MY_COMPANY);
AILog.Info("INIT: Name set: " + this.name);
this.Sleep(1);
this.myCargo = this.ChooseBestCargo(AICargo.CC_BULK);
AILog.Info("INIT: Gonna go for cargo #" + myCargo);
this.Sleep(1);
I have looked through the documentation and this forum, and have no idea what could be causing this problem. I am running r13532 under Ubuntu 8.04, on a 750MHz Pentium 3.
If anyone has any suggestions as to a solution I would be very appreciative!
--
yorg