OpenTTD doesn't see AIs
Moderator: OpenTTD Developers
OpenTTD doesn't see AIs
AI libraries, but not AIs themselves. I can even download AIs from Bananas and confirm them present in the ai directory, yet OpenTTD does not find them there. All other content (NewGRFs etc.) have always worked fine...
Re: OpenTTD doesn't see AIs
Please try to give us some more clues if you want help.
- Version of OpenTTD
- How do you know that OpenTTD finds the libraries but not the AIs?
- Does Game Scripts work for you?
- Layout of your installation (eg. how did you install it, do you keep openttd.cfg at some exotic place?)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: OpenTTD doesn't see AIs
I use Chill's patch pack h4f8131fc, but also tried with vanilla 1.1.5.Zuu wrote:Version of OpenTTD
The libraries have the green circle next to them on the online content browser. Any AIs I try to download do not.Zuu wrote:How do you know that OpenTTD finds the libraries but not the AIs?
I see no mention of "game scripts" anywhere on the online content browser. What are you referring to?Zuu wrote:Does Game Scripts work for you?
Pretty simple Windows XP setup; extract a zipped binary release into program files, keep config and all NewGRF etc. content in my documents. I also tried copying the AIs into the program directory without avail.Zuu wrote:Layout of your installation (eg. how did you install it, do you keep openttd.cfg at some exotic place?)
- Level Crossing
- Tycoon
- Posts: 1187
- Joined: 07 Feb 2011 22:04
- Location: East Coast, United States
Re: OpenTTD doesn't see AIs
1.2.0+ only feature, distributed similar to AIs.Core Xii wrote:I see no mention of "game scripts" anywhere on the online content browser. What are you referring to?Zuu wrote:Does Game Scripts work for you?
Like my avatar? See my screenshot thread
Re: OpenTTD doesn't see AIs
If you undo that move (so that you don't have any AI files in your program directory) and rename C:Documents and settings<your name>My DocumentsOpenTTD into C:Documents and settings<your name>My Documents_OpenTTD, and then start OpenTTD, it shouldn't find any of your configs etc. Try to start OpenTTD and see how that works.Core Xii wrote:Pretty simple Windows XP setup; extract a zipped binary release into program files, keep config and all NewGRF etc. content in my documents. I also tried copying the AIs into the program directory without avail.Zuu wrote:Layout of your installation (eg. how did you install it, do you keep openttd.cfg at some exotic place?)
If you resolve the problem, the problem is related to files in your now _OpenTTD directory. If that didn't resolve your issue, you have a problem elsewhere. (but could have one also in _OpenTTD)
Edit: Did you try to go to the AI settings and in there bring up the list of installed AIs?
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: OpenTTD doesn't see AIs
Done, no effect. Still fails to detect AIs.Zuu wrote:If you [...] Try to start OpenTTD and see how that works.
If that didn't resolve your issue, you have a problem elsewhere. (but could have one also in _OpenTTD)
Yes. It complains that no suitable AIs are available, and the 'Select AI' list contains only 'Random AI'.Zuu wrote:Did you try to go to the AI settings and in there bring up the list of installed AIs?
Re: OpenTTD doesn't see AIs
Huh, I should've been more thorough. I downloaded AdmiralAI and it worked! I had only tried WmDOT, which, for whatever reason, OpenTTD fails to detect. My own AI which I was writing had a problem where a setting defined in the info had what was probably an invalid name (containing spaces and stuff). When I changed that, my AI showed up as well.
Re: OpenTTD doesn't see AIs
I think it's got to do with the API version defined in the info.nut. OpenTTD just silently ignores all AIs with API versions higher than available.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: OpenTTD doesn't see AIs
It does that, yes. By intention.Core Xii wrote:I think it's got to do with the API version defined in the info.nut. OpenTTD just silently ignores all AIs with API versions higher than available.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: OpenTTD doesn't see AIs
Well, I'm of the opinion that there should be some way to find out why an AI isn't loading. If it just silently ignores, how is one supposed to know what exactly is wrong?
Re: OpenTTD doesn't see AIs
You could ask the author of wmDOT to in Bananas indicate a correct minimum OpenTTD version so that it will not be visible for download on OpenTTD < 1.2.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: OpenTTD doesn't see AIs
There is:Core Xii wrote:Well, I'm of the opinion that there should be some way to find out why an AI isn't loading. If it just silently ignores, how is one supposed to know what exactly is wrong?
http://wiki.openttd.org/AI:Introduction wrote:Any errors that are found, both compile-time and run-time, are send to the AI Debug Window. If your info.nut doesn't load, you won't see the errors unless you enable the debug console from the command line of the game. -d ai=5.
- MinchinWeb
- Traffic Manager
- Posts: 225
- Joined: 01 Feb 2011 12:41
- Contact:
Re: OpenTTD doesn't see AIs
WmDOT v9 is indeed set to require version 1.2 of the API. Anyone know what revision of the nightly builds first supported v1.2 of the API?
@Core Xii - try version 8 of WmDOT. It should work with version 1.1.5 of OpenTTD. For now, you can download it off the first post of the WmDOT thread.
@Core Xii - try version 8 of WmDOT. It should work with version 1.1.5 of OpenTTD. For now, you can download it off the first post of the WmDOT thread.
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department
Re: OpenTTD doesn't see AIs
The first nightly after the creation of the 1.1 branch, which means a nightly from over a year ago. However the 1.2 API only became "stable" with 1.2.0-RC1 (-beta1 can be argued too).MinchinWeb wrote:WmDOT v9 is indeed set to require version 1.2 of the API. Anyone know what revision of the nightly builds first supported v1.2 of the API?
- MinchinWeb
- Traffic Manager
- Posts: 225
- Joined: 01 Feb 2011 12:41
- Contact:
Re: OpenTTD doesn't see AIs
I was hoping for an actual number... Bananas gives you options of v1.1.5, or nightly (but requires you to specify which one), with no options for beta or RC builds....Yexo wrote:The first nightly after the creation of the 1.1 branch, which means a nightly from over a year ago. However the 1.2 API only became "stable" with 1.2.0-RC1 (-beta1 can be argued too).MinchinWeb wrote:WmDOT v9 is indeed set to require version 1.2 of the API. Anyone know what revision of the nightly builds first supported v1.2 of the API?
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department
Re: OpenTTD doesn't see AIs
Here you can see when 1.2 was branched off trunk: http://finger.openttd.org/branches.txt
Here you can see which revision that the betas corresponds to: http://finger.openttd.org/tags.txt
As you can see it actually looks like 1.2 was branched off trunk after 1.2-RC3.
If you want to have 1.2-beta4 as minimum I would guess that you set r23879 as minimum nightly.
Here you can see which revision that the betas corresponds to: http://finger.openttd.org/tags.txt
As you can see it actually looks like 1.2 was branched off trunk after 1.2-RC3.
If you want to have 1.2-beta4 as minimum I would guess that you set r23879 as minimum nightly.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
- MinchinWeb
- Traffic Manager
- Posts: 225
- Joined: 01 Feb 2011 12:41
- Contact:
Re: OpenTTD doesn't see AIs
Thanks Zuu 

Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department
Re: OpenTTD doesn't see AIs
The logic you used here is incorrect. You can't say that because the revision of 1.2 is higher than a release candidate the branch was branched after that. The files just show the last changed revision of each of the branches. Or do you want to claim that 1.1 was branched after 1.2.0-bet2? Anyhow, 1.2 was branched just before 1.2.0-RC1.Zuu wrote:As you can see it actually looks like 1.2 was branched off trunk after 1.2-RC3.
Re: OpenTTD doesn't see AIs
I now notice warnings in the game console. It's indeed saying that some AIs failed to compile. Might be useful to know why, though!
Who is online
Users browsing this forum: No registered users and 7 guests