Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIRail::BuildNewGRFRailStation - weird and undocumented behavior #5641

Closed
DorpsGek opened this issue Jul 9, 2013 · 1 comment
Closed

AIRail::BuildNewGRFRailStation - weird and undocumented behavior #5641

DorpsGek opened this issue Jul 9, 2013 · 1 comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jul 9, 2013

Kogut opened the ticket and wrote:

tested in r25578 with TEST AI (available at http://www.tt-forums.net/viewtopic.php?p=1085612# p1085612 )

NoAI API docs: http://noai.openttd.org/api/trunk/classAIRail.html# e6b94816dcb8d99d433ef82262c8b42f

In game without NewGrfs AIRail::BuildNewGRFRailStation will result in construction of default train station.

In game with ISR 9.0 requesting steel loading station with length 7 (unavailable, length is restricted to 6) will fail with ERR_UNKNOWN

It seems like a bug - and if it is not than better documentation would be welcome

Reported version: trunk
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/5641
@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r25605, though technically it's a broken NewGRF. It can (and should) check the station size to decide what station to build.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5641

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant