Cant load AI

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
derepresas
Engineer
Engineer
Posts: 3
Joined: 06 Jan 2011 13:41

Cant load AI

Post by derepresas »

forum,

I've been trying to load an AI to my OpenTTD for hours now and I can't seem to get it right. Ive been playing ttd for years now but I had never tried to use the OpenTTD until recently, so I'm a true newbie for this thing.
I am trying to download the SimpleAI into the game, but no matter what I do I always get some kind of error indicating the AI can't read the libraries.

my AI is located under
OpenTTD/ai/SimpleAI.5
and the library is under
OpenTTD/ai/library/---the queues, pathfinders, and graph files

currently, my AI debug screen says:

Your script made an error: couldn't find library graph.aystar
and it follows with a bunch of stuff that I can make no sense of...

WHAT AM I DOING WRONG?! ;(
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Cant load AI

Post by Zuu »

Dumb question, but since you have specified a few libraries that you have installed, but not the aystar library, did you by accident miss to install that library?

Your paths look good.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
SmatZ
OpenTTD Developer
OpenTTD Developer
Posts: 351
Joined: 03 Oct 2006 18:26
Location: Prague, Czech Republic
Contact:

Re: Cant load AI

Post by SmatZ »

If you download the AI via BaNaNaS (the Online Content service), all dependencies should be automatically selected.
Image
derepresas
Engineer
Engineer
Posts: 3
Joined: 06 Jan 2011 13:41

Re: Cant load AI

Post by derepresas »

yeah I installed graph.aystar.6. I have it as a folder inside of openttd/ai/library... still no results
derepresas
Engineer
Engineer
Posts: 3
Joined: 06 Jan 2011 13:41

Re: Cant load AI

Post by derepresas »

also, my online content downloader doesnt work.. it never did, and I'm not using a firewall..
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Cant load AI

Post by planetmaker »

But you use a router / modem? And it's configured to let all ports pass inbound as well as outbound?
Brumi
President
President
Posts: 921
Joined: 18 Jul 2009 17:54

Re: Cant load AI

Post by Brumi »

SimpleAI needs Aystar v4 (as well as some other AIs), download that one as well.
The full dependency list:
  • Pathfinder.Road v3
  • Pathfinder.Rail v1
  • Graph.AyStar v4 (it's a dependency of the above pathfinders)
It's quite a shame that I didn't add this dependency list to the first post of the SimpleAI topic so far... :oops:
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Semrush [Bot] and 2 guests