Can't Seem to Build Bridges in Test Mode (r15130)

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

Post Reply
User avatar
Zutty
Director
Director
Posts: 565
Joined: 22 Jan 2008 16:33

Can't Seem to Build Bridges in Test Mode (r15130)

Post by Zutty »

Hi all,

For some unknown reason it does not seem possible to build birdges in test mode. At first I thought it was just my own AI, but I have also tried this with admiralai v19 and find that it is unable to find a path that involves a bridge.

Try this scenario with admiralai...
bridges-test-3.scn
(13.53 KiB) Downloaded 91 times
It builds bus stops but cannot complete any paths for me. Could someone else try this so I can see if its just me being affected or an actual bug.

I'm using the latest nightly (r15130).

Thanks.

Edit: To clarify, where a bridge can be built in exec mode with no problems, calling AIBridge.BuildBridge() on the exact same tile in the same scenario returns false every time.
PathZilla - A networking AI - Now with tram support.
User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Can't Seem to Build Bridges in Test Mode (r15130)

Post by fanioz »

I've tried your scenario using R15276 with :AdmiralAI.19, Convoy.V10, MedievalAI, OtviAI.1.4, PathZilla.5, PAX Link.4, WrightAI.2. for about 1 year

It seem no one can/want to build a bridge.
1. I try to build it for them and it was Pathzilla that use my bridge followed by AdmiralAI
2. I try to levelling the landscape beetwen 2 island and it was same as above
and They start transporting no longer than 1 year.

That's all
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Can't Seem to Build Bridges in Test Mode (r15130)

Post by Yexo »

Try again in r15277 or later, the problem has been fixed.
User avatar
Zutty
Director
Director
Posts: 565
Joined: 22 Jan 2008 16:33

Re: Can't Seem to Build Bridges in Test Mode (r15130)

Post by Zutty »

Thanks for fixing this by the way Yexo.

Also, a belated congratulations on becoming an official OpenTTD developer. :D
PathZilla - A networking AI - Now with tram support.
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: Jaume and 9 guests