Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

User avatar
Posts: 34
Joined: 22 Jul 2018 20:30
Location: Headquarters

Re: SmallTownAI

Post by RailwAI » 21 Jul 2019 10:41

I was checking games similar to xarick's AI competition. In 'my' game against SmallTownAI I saw that your AI was handling the game settings better and did a very good job! But then, after doing some improvements on my side, the odds had a new random seed and SmallTownAI quickly stopped doing anything, only saying "Money is lacking, taking out loan" (while it did not increase or decrease its loan). With a higher loan it should have enough money to buy a second bus and make profit, so I guess it should not be very hard to improve on this one :)

Unnamed, 1968-09-20.sav
(593.37 KiB) Downloaded 21 times

User avatar
Posts: 14
Joined: 05 Apr 2018 16:50
Location: due west of somewhere...

Re: SmallTownAI

Post by ethaninfinity » 21 Jul 2019 19:38

Thanks for the report! I updated my AI significantly during Xarick's awesome tests, so it performs better now than it did during those. What happened in your game appears to be that you have the maximum loan set much lower than my AI can currently handle, causing it to try to borrow more than it was allowed to. Right now, it takes massive loans early on to start making money, and it was not prepared to try to make money when it was limited. The next addition to this AI should be actual budgeting, and I will make sure this is fixed when working on it. :D

Posts: 95
Joined: 12 May 2013 22:28
Location: Argentina

Re: SmallTownAI

Post by HGus » 26 Jul 2019 10:39

ethaninfinity wrote:
22 May 2018 23:31
How do you make a quote show who was quoted?

Code: Select all

where "source" is the name that will show at left of "wrote:"

Also it is done automatically if you click the " button on the source post, labeled as "Reply with quote", that adds some aditional data as post and user id's (the little up arrow at right of "wrote:")

Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 4 guests