Trouble with AIAbstractList (split from: Terron AI)
Moderator: OpenTTD Developers
Trouble with AIAbstractList (split from: Terron AI)
I'm getting an error with this AI (and a few others)
"the index 'AIAbstractList' does not exist"
I 'think' I have all the libraries. Any idea how to fix this? I'm using nightly 22471, is that the problem?
"the index 'AIAbstractList' does not exist"
I 'think' I have all the libraries. Any idea how to fix this? I'm using nightly 22471, is that the problem?
Re: Terron AI
Are you using a binary download from openttd.org or did you download it from the forum or compile yourself? This AI works fine for me in r22471. If you can repeat the problem, can you please make a screenshot of the AI debug window and post that here? There is more important information in there than just the message itself.3iff wrote:I'm getting an error with this AI (and a few others)
"the index 'AIAbstractList' does not exist"
I 'think' I have all the libraries. Any idea how to fix this? I'm using nightly 22471, is that the problem?
Re: Terron AI
While I do normally use a self-compiled exe, I've just tried the official downloaded version of 22471.
Screenshot enclosed. A number of different AIs fail with the same error (but AroAI and Dictator work fine).
Libraries were mostly downloaded via the in-game downloader. I have all the libraries available. I can supply a list if required.
Screenshot enclosed. A number of different AIs fail with the same error (but AroAI and Dictator work fine).
Libraries were mostly downloaded via the in-game downloader. I have all the libraries available. I can supply a list if required.
- Attachments
-
- Unnamed, 14th Feb 1950.png (41.54 KiB) Viewed 2670 times
Re: Terron AI
extending the ai debug window so you can see ALL the text would be nice... 

AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: Terron AI
Doesn't matter in this case, it can only be a single line.Lord Aro wrote:extending the ai debug window so you can see ALL the text would be nice...
@3iff: self-compiled exe is fine, as long as no patches were applied that could possible influence it. My next guess is that your ai/compat_1.0.nut file is somehow corrupted, or that you have an old version of that file in a wrong location. It should only be in your installation/download directory. If you have a file named like that in My Documents/OpenTTD/ai, delete it. I've attached the file as it should be for current trunk.
- Attachments
-
- compat_1.0.nut
- (2.59 KiB) Downloaded 162 times
Re: Terron AI
Anyway I should have changed AIAbstractList references into AIList long time ago, and will do it for next upload.
Re: Terron AI
Once I did a completely fresh install it all worked. Tried my self compiled version and that's fine too. I haven't changed anything that could 'break' things. Something somewhere did get out of whack but hopefully it's all back into proper shape.
I tend to stay well out of "My Documents" but I'll double check that location. I always keep the config file in to ottd folder.
Sorry ac84 for talking all over your thread...at least now I can try your AI.
I tend to stay well out of "My Documents" but I'll double check that location. I always keep the config file in to ottd folder.
Sorry ac84 for talking all over your thread...at least now I can try your AI.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Terron AI
It - IMHO - is usually a good folder to make use of, though. It allows you to share the available NewGRFs among your different OpenTTD versions without any worry or work on your part.3iff wrote: I tend to stay well out of "My Documents" but I'll double check that location. I always keep the config file in to ottd folder.
.
</off topic>
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
Who is online
Users browsing this forum: No registered users and 10 guests