OpenTTD

Tasklist

FS#6460 - Can't access Random AI Parameters in a game

Attached to Project: OpenTTD
Opened by Ricardo (Samu) - Thursday, 05 May 2016, 22:22 GMT
Type Bug
Category Interface
Status New
Assigned To No-one
Operating System Windows
Severity Very Low
Priority Normal
Reported Version 1.6.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Steps:
- launch OpenTTD
- click AI/Game Script Settings
- Configure at least 1 Random AI...
(screenshot 1) - when a Random AI is selected in the main menu, the Configure button is not disabled.
- start new game
- open Options > AI/Game script settings
- select the Random AI...
bug: (screenshot 2) - when a Random AI is selected in a game, the Configure button is disabled.
- Click Select AI, chose Random AI again and click Accept.
(screenshot 3) - when a AI slot changes its script to Random AI, the Configure button becomes enabled.

In my opinion, the indended behaviour would be to have the Configure button not disabled in all these cases.
This task depends upon

Comment by Ricardo (Samu) - Friday, 13 May 2016, 19:34 GMT
I discovered something more.

- follow the same steps up to screenshot 2
- save the game, load it back
- open Options > AI/Game script settings
- select the Random AI...
... it becomes exactly as in screenshot 3

Comment by Ricardo (Samu) - Wednesday, 22 June 2016, 20:49 GMT
https://paste.openttdcoop.org/phsw73z9z

The problem is the missing start_date when starting a new game. This fixes it.

Loading...