TeshiNet, yet another AI
Moderator: OpenTTD Developers
Re: TeshiNet, yet another AI
I get this error when it loads the AI:
"Your script made an error: couldn't find library 'util.superlib'"
I have superlib-16. Is there something I'm missing?
"Your script made an error: couldn't find library 'util.superlib'"
I have superlib-16. Is there something I'm missing?
Re: TeshiNet, yet another AI
Did you download TeshiNet and SuperLib via the in-game downloader? Or did you manually download them? In the later case, where exactly did you place the files?
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: TeshiNet, yet another AI
I downloaded it through the in-game downloader.
Re: TeshiNet, yet another AI
This AI has never worked for me, says it's missing SuperLib V16? I think.
Re: TeshiNet, yet another AI
If you need to dowload libraries manually, you can obtain old versions here:
http://noai.openttd.org/downloads/Libraries/
SuperLib v16, and its dependencies:
- PathFinder.Road v3
- Graph.AyStar v4
Edit: If you got TeshiNet via bananas, you already got PathFinder.Road v3 and Graph.AyStar v4. This is because in bananas, TeshiNet depends on SuperLib 17 which depends on PathFined.Road v3 which in turn depends on Graph.AyStar v4.
So the problem at hand is that the bananas entry for TeshiNet depends on SuperLib v17, while the AI itself tries to import version 16 of SuperLib which will fail because an AI needs exactly the correct version of a library when importing it.
http://noai.openttd.org/downloads/Libraries/
SuperLib v16, and its dependencies:
- PathFinder.Road v3
- Graph.AyStar v4
Edit: If you got TeshiNet via bananas, you already got PathFinder.Road v3 and Graph.AyStar v4. This is because in bananas, TeshiNet depends on SuperLib 17 which depends on PathFined.Road v3 which in turn depends on Graph.AyStar v4.
So the problem at hand is that the bananas entry for TeshiNet depends on SuperLib v17, while the AI itself tries to import version 16 of SuperLib which will fail because an AI needs exactly the correct version of a library when importing it.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: TeshiNet, yet another AI
Ah! Can't it be fixed at that end? That would be appreciated.
-
- Engineer
- Posts: 79
- Joined: 12 Feb 2013 17:29
Re: TeshiNet, yet another AI
passing by here to report an bug on 1.3 when it tries to build an air connection
- Attachments
-
- bug.png
- the bug
- (158.69 KiB) Downloaded 3 times
Activity-absent for now.
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!
Re: TeshiNet, yet another AI
Teshinet crashes when trying to upgrade a level crossing.
- Attachments
-
- Unnamed, 11th Jun 2010.png
- (1.22 MiB) Downloaded 2 times
Re: TeshiNet, yet another AI
The problem is that TeshiNet calls SuperLib.Road.ConvertRailCrossingToBridge(rail_tile, prev_tile) with prev_tile as null. However, prev_tile should be a tile adjacent to rail_tile. (both rail_tile and prev_tile should have road)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: TeshiNet, yet another AI
I got this error a couple of times. I don't know if it is a problem in TeshiNet or the library. It is triggered in coastal cities.
- Attachments
-
- HGus Transport, 1748-08-11#2.png (308.84 KiB) Viewed 1301 times
Re: TeshiNet, yet another AI
dbg: [script] [0] Your script made an error: the index 'station_id' does not exist
dbg: [script] [0]
dbg: [script] [0] *FUNCTION [BuildPassengerRoute()] teshinet-4.0.3\main.nut line [664]
dbg: [script] [0] *FUNCTION [NewRoadRoute()] teshinet-4.0.3\main.nut line [459]
dbg: [script] [0] *FUNCTION [Start()] teshinet-4.0.3\main.nut line [209]
dbg: [script] [0]
dbg: [script] [0] [endReturn] TABLE
dbg: [script] [0] [startReturn] false
dbg: [script] [0] [endDepotTile] -1
dbg: [script] [0] [startDepotTile] -1
dbg: [script] [0] [S] [endStationTile] -1
dbg: [script] [0] [S] [startStationTile] -1
dbg: [script] [0] [S] [townEndTile] 958565
dbg: [script] [0] [S] [townStartTile] -1
dbg: [script] [0] [S] [townEnd] 166
dbg: [script] [0] [S] [townStart] 533
dbg: [script] [0] [S] [this] INSTANCE
dbg: [script] [0] [S] [cargoType] 0
dbg: [script] [0] [S] [indPair] NULL
dbg: [script] [0] [S] [townPair] NULL
dbg: [script] [0] [S] [destIdx] 166
dbg: [script] [0] [S] [startIdx] 533
dbg: [script] [0] [S] [mySubsidy] 2
dbg: [script] [0] [S] [this] INSTANCE
dbg: [script] [0] [S] [skipPlaneRoute] true
dbg: [script] [0] [S] [skipNewRoute] false
dbg: [script] [0] [S] [this] INSTANCE
dbg: [script] The script died unexpectedly.
Crashes shortly after loading the attached savegame.
- Attachments
-
- openttdCore7.cfg
- (10.98 KiB) Downloaded 258 times
-
- TeshiNet, 1st Apr 1967.sav
- (1.71 MiB) Downloaded 159 times
-
- TeshiNet, 1967-05-15.png (56.13 KiB) Viewed 6406 times
Formerly known as Samu
Re: TeshiNet, yet another AI
TeshiNet crashes
dbg: [script] [0] [E] [1971-08-16] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-17] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-17] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-18] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-18] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-18] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-18] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-19] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-19] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-20] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-20] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-20] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-20] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-21] Managing existing routes.
dbg: [script] [0] [1971-08-21] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-21] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-22] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-22] Unable to find a suitable town pair.
dbg: [script] [0] [1971-08-22] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-22] Unable to find a suitable town pair.
dbg: [script] [0] [I] [1971-08-23] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-23] Unable to find a suitable town pair.
dbg: [script] [0] [I] [1971-08-24] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-24] Unable to find a suitable town pair.
dbg: [script] [0] [I] [1971-08-24] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-24] Unable to find a suitable town pair.
dbg: [script] [0] [I] [1971-08-25] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-25] Unable to find a suitable town pair.
dbg: [script] [0] [I] [1971-08-26] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-26] Unable to find a suitable town pair.
dbg: [script] [0] [I] [1971-08-26] Constructing a new road route.
dbg: [script] [0] [E] [1971-08-26] Unable to find a suitable town pair.
dbg: [script] [0] [I] [1971-08-26] Trying to build an airport route
dbg: [script] [0] Your script made an error: parameter 1 has an invalid type 'null' ; expected: 'integer'
dbg: [script] [0]
dbg: [script] [0] *FUNCTION [FindAirportPair()] teshinet-4.0.3\planes.nut line [256]
dbg: [script] [0] *FUNCTION [BuildAirRoute()] teshinet-4.0.3\planes.nut line [44]
dbg: [script] [0] *FUNCTION [Start()] teshinet-4.0.3\main.nut line [219]
dbg: [script] [0]
dbg: [script] [0] [town_list] INSTANCE
dbg: [script] [0] [pair] NULL
dbg: [script] [0] [secondTown] NULL
dbg: [script] [0] [second] NULL
dbg: [script] [0] [S] [firstTown] 87
dbg: [script] [0] [S] [first] 210895
dbg: [script] [0] [S] [airport_rad] 5
dbg: [script] [0] [S] [airport_y] 6
dbg: [script] [0] [S] [airport_x] 6
dbg: [script] [0] [S] [airport_type] 1
dbg: [script] [0] [S] [this] INSTANCE
dbg: [script] [0] [S] [airport_type] 1
dbg: [script] [0] [S] [this] INSTANCE
dbg: [script] [0] [S] [skipPlaneRoute] false
dbg: [script] [0] [S] [skipNewRoute] false
dbg: [script] [0] [S] [this] INSTANCE
dbg: [script] The script died unexpectedly.
One of the running scripts crashed. Please report this to the script author with a screenshot of the AI/Game Script Debug Window
- Attachments
-
- TeshiNet, 1st Aug 1971.sav
- (565.88 KiB) Downloaded 169 times
-
- openttdCore7.cfg
- (10.8 KiB) Downloaded 161 times
-
- openttdCore7.txt
- (202.81 KiB) Downloaded 151 times
Formerly known as Samu
Re: TeshiNet, yet another AI
crash
- Attachments
-
- Selection_003.png (103.19 KiB) Viewed 1301 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: TeshiNet, yet another AI
Crashed, while testing aircraft only vs other ais.
- Attachments
-
- Sem nome, 2019-09-11.png
- (48.55 KiB) Not downloaded yet
-
- Sem nome, 2019-09-13.sav
- (1.51 MiB) Downloaded 153 times
Formerly known as Samu
Re: TeshiNet, yet another AI
Parameter 1 has na invalid type 'null' ; expected: 'integer'
- Attachments
-
- R09-G23 - SnakeAI vs TeshiNet - 8,430 days.sav
- (183.67 KiB) Downloaded 119 times
-
- Unnamed, 2018-10-30.png
- (739.35 KiB) Not downloaded yet
Formerly known as Samu
Who is online
Users browsing this forum: No registered users and 15 guests