Moderator: OpenTTD Developers
i've made AI with 1.1 in mind which does have it.
1.0.4 version http://noai.openttd.org/docs/1.0.4/clas ... yType.html
vs 1.1 http://noai.openttd.org/docs/1.1.0/clas ... yType.html
there can be workaround in this particular case, but i don't know how many other compatibility issues you may face further, so sorry but all i can is to recommend you 1.1 or higher openttd version
AI looks stable enough but surely needs more testing. OpenTTD version 1.2.3 is required.
Most noticeable new features are road networks planning and raw resources gathering through transfer.
First one means that AI can find and build roads(starting from mines or farms) needed to e.g. supply specific town with goods or food. Opens many new possibilities but currently isn't free of problems.
The second feature looks like kind of network too and similar to already existing passengers transfer. You can see how it works in the picture below. Readme(with AI settings description) and changelog are available from in-game AIs selection screen if you need them.
Edit: old file removed, new version on bananas.
Is there any reason why you didn't update it on Bananas?
Optimization awaits, as do new awesome bugs. Particularly saving/loading with new truck mode has own issues.
And there is also gamescripts. Maybe i'll use SCP and add scripts support before going to bananas.
Plus I can't specify 1.2.x as version requirement in info.nut(). AI disappears from selection menu. Am i missed something?
AI says it needs 1.2 currently. Very important issue because I experienced game crash(!) with earlier OpenTTD versions. Seemed like AIEngine.GetMaximumOrderDistance was the cause(btw i saw similar bug reported in AIAI thread). Free access from bananas can create a lot of problems for 1.2 users.
last night I ran a little test game to test some AIs. Terron AI was very good. It takes the lead short after start and keeped it all the game. But when I later tried to load a savegame, Terron crashed.
Here's a screenshot and the save game file:
- (2.01 MiB) Downloaded 83 times
Eg. if you open library.nut in a text editor, can "AILibrary" be found in the file? If you find "GSLibrary" instead, you have the Game Script version of the library.
Since version 3 of that library is now the current version for AIs, the dependency of version 2 can no longer be set in the Bananas web UI. The changes from version 2 to 3 are non-breaking. So all you need to do is to update all import statements in your code to reference version 3 and then set the dependency in bananas to version 3.svetovoi wrote:I could accidentally remove lib dependency.
I'll take a look tomorrow.
Edit: The fact that you cannot set old libraries as dependency is a known issue. Its something that I personally would like to see change to something better to avoid issues like this one. However so far noone have made a patch to solve the issue. The web UI is written in Django (Python).
Sure, would be nice.Zuu wrote:The fact that you cannot set old libraries as dependency is a known issue. Its something that I personally would like to see change to something better to avoid issues like this one.
Users browsing this forum: No registered users and 3 guests