NewStations, CB18 and AIs

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

NewStations, CB18 and AIs

Post by michael blunck »

NewStations v0.44, originally released for TTDPatch includes code based on CB18 (AI construction/purchase selection) to allow the AI to use the new stations. Regarding ongoing work on v0.50, I have two questions:

1) is CB18 implemented in OTTD? At least for stations?
2) are there any AIs available using CB18 for station building, according to the specs?

regards
Michael
Image
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: NewStations, CB18 and AIs

Post by Kogut »

ad 1) no idea, but there is AIRail::BuildNewGRFRailStation ( http://noai.openttd.org/api/1.2.3/class ... 2262c8b42f )
ad 2) yes, for example AIAI ( currently there is no newgrf that supports it without bugs, see http://www.tt-forums.net/viewtopic.php? ... 40#p887606 )
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: NewStations, CB18 and AIs

Post by Eddi »

yes, CB18 for stations is implemented (CB18 for trains is not)

Afair, AdmiralAI supports it, and probably many others.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: NewStations, CB18 and AIs

Post by Yexo »

Kogut wrote:( currently there is no newgrf that supports it without bugs, see http://www.tt-forums.net/viewtopic.php? ... 40#p887606 )
The bugs mentioned in that topic are specific to the station NewGRF used, they have nothing to do with the AI.
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: NewStations, CB18 and AIs

Post by michael blunck »

Kogut wrote: [...] ad 2) yes, for example AIAI ( currently there is no newgrf that supports it without bugs, see http://www.tt-forums.net/viewtopic.php? ... 40#p887606 )
Hm, AIAI seems to built only standard stations, and even crashes OTTD when trying to build planes ...
Eddi wrote:Afair, AdmiralAI supports it, and probably many oth
I´m going to try AdmiralAI now.

[edit]
Right, AdmiralAI is building NewStations for passengers.
[/edit]

regards
Michael
Image
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: NewStations, CB18 and AIs

Post by Kogut »

michael blunck wrote: Hm, AIAI seems to built only standard stations, and even crashes OTTD when trying to build planes ...
I am not sure what caused first one, second one should happen only with outdated AIAI and outdated Openttd (bug 5215 - http://bugs.openttd.org/task/5215 ).

Are you sure that you use OpenTTD 1.2.3 and updated your AIs? Can you tell what station newgrf causes problems?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: NewStations, CB18 and AIs

Post by michael blunck »

Kogut wrote:
michael blunck wrote: Hm, AIAI seems to built only standard stations, and even crashes OTTD when trying to build planes ...
I am not sure what caused first one, second one should happen only with outdated AIAI and outdated Openttd (bug 5215 - http://bugs.openttd.org/task/5215 ).
Are you sure that you use OpenTTD 1.2.3 and updated your AIs?
Ah yes, I´m still using 1.2.2 and did not update. BTW, I was unable to reproduce the crash, but this bug report makes it understandable.
Kogut wrote: Can you tell what station newgrf causes problems?
For this test I was using the old NewStations set (0.42/0.44 whatever). Since it doesn´t contain freight stations, the AIs always built standard stations, because they seemed to like to transport only wood and coal. :cool:

I´ll run another test later.

regards
Michael
Image
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 16 guests