Problems with AI

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
Peraphita
Engineer
Engineer
Posts: 3
Joined: 04 May 2010 15:37

Problems with AI

Post by Peraphita »

Hello guys,

First of all I want to thank you for the great job you did overhauling TT. I played this game in single player for a very long time. But I miss playing against the AI, fighting against him. I tried several AI`s and solved several problems, but now I got stuck with the problem in the screen`shot.

If you have any ideas I would gladly try them.

Thanks in advance.

=====
Im using the old 1.0 release + files from the original Transport Tycoon. Also I tried on 1.0.1 (with those new graphics) but with the same result.
Attachments
I get this error everytime.
I get this error everytime.
Ai_error.JPG (28.11 KiB) Viewed 1718 times
Timmaexx
Transport Coordinator
Transport Coordinator
Posts: 301
Joined: 03 Jan 2009 17:55

Re: Problems with AI

Post by Timmaexx »

Hello,

to activate this AI you need the pathfinder: queue.fibonacci_heap
This one you can find in the Content Downloader!

PS: And please report such problems to the AdmiralAI Thread!
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Problems with AI

Post by planetmaker »

It might also be a result of you using a broken zlib version. Either update your zlib to 1.2.5 (or older than 1.2.3.4) or update to OpenTTD 1.0.1 which circumvents the issues also present with the broken zlib.
Peraphita
Engineer
Engineer
Posts: 3
Joined: 04 May 2010 15:37

Re: Problems with AI

Post by Peraphita »

Timmaexx wrote:Hello,

to activate this AI you need the pathfinder: queue.fibonacci_heap
This one you can find in the Content Downloader!

PS: And please report such problems to the AdmiralAI Thread!
Hello again,

I cannot use content downloader because Im at work with some internet restrictions, so Im unable to connect ingame. Im playing OpenTTD because registry entries are not needed. So basically its a nice game that can be played at work.

I downloaded that library from : http://noai.openttd.org/downloads/ but I dont have any idea where I should place it. Also I did not report this to the AdmiralAI thread because its a general problem [see bellow], it just took the print when using that AI.
planetmaker wrote:It might also be a result of you using a broken zlib version. Either update your zlib to 1.2.5 (or older than 1.2.3.4) or update to OpenTTD 1.0.1 which circumvents the issues also present with the broken zlib.
Iam using OpenTTD 1.0.1, I placed in the AI folder all the folders containing AI`s separately.
Attachments
This picture shows that I have this problem with other AI`s aswell.
This picture shows that I have this problem with other AI`s aswell.
AI_general_error.JPG (55.66 KiB) Viewed 1651 times
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Problems with AI

Post by planetmaker »

In the directory where you put the AI itself you create a sub-directory called "library"
Put the libraries into that sub-dir.
Peraphita
Engineer
Engineer
Posts: 3
Joined: 04 May 2010 15:37

Re: Problems with AI

Post by Peraphita »

Thanks for your fast answear, I`ll try it right away.

Later Edit: Its working, busses are running through towns. I`ll try now with a saved game, I hope it works.
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 10 guests