Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat May 25, 2019 12:11 pm

All times are UTC




Post new topic  Reply to topic  [ 35 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Thu Dec 29, 2011 10:15 pm 
Offline
Engineer
Engineer

Joined: Thu Dec 29, 2011 10:08 pm
Posts: 8
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?


Top
   
PostPosted: Fri Dec 30, 2011 12:20 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Mon Jun 09, 2003 6:21 pm
Posts: 4552
Location: /home/sweden
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)


Top
   
PostPosted: Fri Dec 30, 2011 12:54 pm 
Offline
Engineer
Engineer

Joined: Thu Dec 29, 2011 10:08 pm
Posts: 8
I downloaded it through the in-game downloader.


Top
   
PostPosted: Wed Apr 10, 2013 9:11 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Tue Apr 17, 2007 2:28 pm
Posts: 236
This AI has never worked for me, says it's missing SuperLib V16? I think.


Top
   
PostPosted: Wed Apr 10, 2013 10:39 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Mon Jun 09, 2003 6:21 pm
Posts: 4552
Location: /home/sweden
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.

_________________
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)


Top
   
PostPosted: Wed Apr 10, 2013 11:42 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Tue Apr 17, 2007 2:28 pm
Posts: 236
Ah! Can't it be fixed at that end? That would be appreciated.


Top
   
PostPosted: Sat May 25, 2013 3:09 pm 
Offline
Engineer
Engineer

Joined: Tue Feb 12, 2013 5:29 pm
Posts: 79
passing by here to report an bug on 1.3 when it tries to build an air connection


Attachments:
File comment: the bug
bug.png [158.69 KiB]
Downloaded 3 times

_________________
Activity-absent for now.
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!
Top
   
PostPosted: Sun Jul 14, 2013 8:44 pm 
Offline
Engineer
Engineer

Joined: Sun Jul 14, 2013 12:33 pm
Posts: 89
Location: Netherlands
Teshinet crashes when trying to upgrade a level crossing.


Attachments:
Unnamed, 11th Jun 2010.png [1.22 MiB]
Downloaded 2 times
Top
   
PostPosted: Sun Jul 14, 2013 11:02 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Mon Jun 09, 2003 6:21 pm
Posts: 4552
Location: /home/sweden
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)


Top
   
PostPosted: Sat Nov 14, 2015 4:01 am 
Offline
Engineer
Engineer

Joined: Sun May 12, 2013 10:28 pm
Posts: 94
Location: Argentina
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]
Not downloaded yet
Top
   
PostPosted: Fri Jun 10, 2016 5:23 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Feb 26, 2015 12:52 am
Posts: 259
Quote:
dbg: [script] [0] [S] Your script made an error: the index 'station_id' does not exist
dbg: [script] [0] [S]
dbg: [script] [0] [S] *FUNCTION [BuildPassengerRoute()] teshinet-4.0.3\main.nut line [664]
dbg: [script] [0] [S] *FUNCTION [NewRoadRoute()] teshinet-4.0.3\main.nut line [459]
dbg: [script] [0] [S] *FUNCTION [Start()] teshinet-4.0.3\main.nut line [209]
dbg: [script] [0] [S]
dbg: [script] [0] [S] [endReturn] TABLE
dbg: [script] [0] [S] [startReturn] false
dbg: [script] [0] [S] [endDepotTile] -1
dbg: [script] [0] [S] [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 60 times
TeshiNet, 1st Apr 1967.sav [1.71 MiB]
Downloaded 44 times
TeshiNet, 1967-05-15.png
TeshiNet, 1967-05-15.png [ 56.13 KiB | Viewed 1653 times ]

_________________
Formerly known as Samu
Top
   
PostPosted: Tue Aug 23, 2016 9:58 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Feb 26, 2015 12:52 am
Posts: 259
TeshiNet crashes

Quote:
dbg: [script] [0] [E] [1971-08-16] Unable to find a suitable town pair.
dbg: [script] [0] [I] [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] [I] [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] [I] [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] [I] [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] [I] [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] [I] [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] [I] [1971-08-21] Managing existing routes.
dbg: [script] [0] [I] [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] [I] [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-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] [S] Your script made an error: parameter 1 has an invalid type 'null' ; expected: 'integer'
dbg: [script] [0] [S]
dbg: [script] [0] [S] *FUNCTION [FindAirportPair()] teshinet-4.0.3\planes.nut line [256]
dbg: [script] [0] [S] *FUNCTION [BuildAirRoute()] teshinet-4.0.3\planes.nut line [44]
dbg: [script] [0] [S] *FUNCTION [Start()] teshinet-4.0.3\main.nut line [219]
dbg: [script] [0] [S]
dbg: [script] [0] [S] [town_list] INSTANCE
dbg: [script] [0] [S] [pair] NULL
dbg: [script] [0] [S] [secondTown] NULL
dbg: [script] [0] [S] [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 40 times
openttdCore7.cfg [10.8 KiB]
Downloaded 52 times
openttdCore7.txt [202.81 KiB]
Downloaded 41 times

_________________
Formerly known as Samu
Top
   
PostPosted: Sun Sep 18, 2016 10:07 pm 
Offline
Tycoon
Tycoon

Joined: Wed Aug 26, 2009 6:33 am
Posts: 2493
Location: Poland
crash


Attachments:
Selection_003.png [103.19 KiB]
Not downloaded yet

_________________
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
Top
   
PostPosted: Tue Jan 23, 2018 10:55 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Feb 26, 2015 12:52 am
Posts: 259
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 32 times

_________________
Formerly known as Samu
Top
   
PostPosted: Fri Apr 26, 2019 5:14 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Feb 26, 2015 12:52 am
Posts: 259
Parameter 1 has na invalid type 'null' ; expected: 'integer'


Attachments:
R09-G23 - SnakeAI vs TeshiNet - 8,430 days.sav [183.67 KiB]
Downloaded 4 times
Unnamed, 2018-10-30.png [739.35 KiB]
Not downloaded yet

_________________
Formerly known as Samu
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 35 posts ]  Go to page Previous 1 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.