Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.
Moderator: OpenTTD Developers
Wormnest
Engineer
Posts: 117 Joined: 14 Jul 2013 12:33
Location: Netherlands
Post
by Wormnest » 11 May 2016 11:54
Not a crash but SynTrans v.15 took 40 years to notice that it could'nt find a path for it's second moneymaker train route.
Maybe you should add a check to stop pathfinding after a certain amount of time.
Attachments
AI Test Inflation ON, 1980-02-29.png
(993.16 KiB) Not downloaded yet
Kogut
Tycoon
Posts: 2493 Joined: 26 Aug 2009 06:33
Location: Poland
Post
by Kogut » 17 Sep 2016 11:13
2cc trainset has passenger-only monorail. This AI attempts to use it to move other cargo.
Attachments
Synaptic.sav
(68.07 KiB) Downloaded 217 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
DerekCZ
Engineer
Posts: 105 Joined: 29 Jul 2014 18:08
Location: Czech Republic
Post
by DerekCZ » 25 Mar 2017 10:01
Hello sire I just found what looks like a bug; I can not change the only setting this AI has, when I for example click at "Long", it will stay at "Short".
xarick
Transport Coordinator
Posts: 350 Joined: 26 Feb 2015 00:52
Post
by xarick » 25 Mar 2017 14:24
SPolygon wrote: Hello sire I just found what looks like a bug; I can not change the only setting this AI has, when I for example click at "Long", it will stay at "Short".
That's a bug in OpenTTD, it has been fixed in trunk r27786.
Formerly known as Samu
xarick
Transport Coordinator
Posts: 350 Joined: 26 Feb 2015 00:52
Post
by xarick » 27 Dec 2017 18:31
SynTrans is using large aircraft on small airports. It's draining all his money on replacing them with other large aircraft that end up crashing again.
Attachments
TracAI, 1972-04-02.sav
(316.19 KiB) Downloaded 219 times
Formerly known as Samu
xarick
Transport Coordinator
Posts: 350 Joined: 26 Feb 2015 00:52
Post
by xarick » 06 Jan 2018 13:03
SynTrans got a train crashing a road vehicle and is failing to build a bridge over the rail.
The log is constantly repeating. I'm not sure if it will stop trying at some point, but it happened in 2064 and in 2076 is still trying.
Log:
[+] Spoiler dbg: [script] [0] [2064-05-22] =========================================
dbg: [script] [0] [2064-05-22] ==========MANAGING NEXT NETWORK==========
dbg: [script] [0] [2064-05-22] =========================================
dbg: [script] [0] [2064-05-22] This is an airport network
dbg: [script] [0] [2064-05-22] Set route distance to 300
dbg: [script] [0] [2064-05-22] Building First City
dbg: [script] [0] [2064-05-22] ==========Adding town Rudworth==========
dbg: [script] [0] [2064-05-22] Building a new station in Rudworth
dbg: [script] [0] [W] [2064-05-26] Could not build station in this city
dbg: [script] [0] [W] [2064-05-26] Failed to build the inital city. Leaving and finding a new one next time we have the chance on this network.
dbg: [script] [0] [2064-05-26] Waiting...
dbg: [script] [0] [2064-05-28] Caught vehicle crash report!
dbg: [script] [0] [I] [2064-05-28] Trying to fix road vehicle crash with train...
dbg: [script] [0] [I] [2064-05-28] after_dn_slope = false | before_dn_slope = false | same_height = false
dbg: [script] [0] [I] [2064-05-29] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-05-31] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-01] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-03] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-04] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-06] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-07] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-09] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-10] Detected own vehicle in the way -> delay removing road
dbg: [script] [0] [I] [2064-06-12] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-12] Road was not removed, possible because a vehicle in the way
dbg: [script] [0] [I] [2064-06-12] Since this is the tile before the railway crossing the road MUST be removed -> wait and hope the vehicles go away
dbg: [script] [0] [I] [2064-06-14] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-14] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-15] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-15] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-17] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-17] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-18] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-18] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-20] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-20] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-21] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-21] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-23] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-23] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-24] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-24] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-26] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-26] Road was not removed, possible because a vehicle in the way
dbg: [script] [0] [I] [2064-06-26] Since this is the tile before the railway crossing the road MUST be removed -> wait and hope the vehicles go away
dbg: [script] [0] [I] [2064-06-27] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-27] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-29] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-29] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-06-30] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-06-30] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-02] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-02] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-03] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-03] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-05] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-05] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-07] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-07] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-08] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-08] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-10] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-10] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-11] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-11] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-13] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-13] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-14] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-14] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-16] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-16] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-17] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-17] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-19] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-19] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-20] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-20] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-22] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-22] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-23] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-23] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-25] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-25] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-26] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-26] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-28] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-28] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-29] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-29] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-07-31] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-07-31] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-01] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-01] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-03] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-03] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-04] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-04] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-06] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-06] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-07] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-07] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-09] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-09] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-10] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-10] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-12] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-12] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-13] Tried to remove road over rail for a while, but failed
dbg: [script] [0] [I] [2064-08-13] Fail 8
dbg: [script] [0] [W] [2064-08-13] Failed to build bridge to cross rail because ERR_AREA_NOT_CLEAR. Now try to build road to repair the road.
dbg: [script] [0] [I] [2064-08-13] Fail 9
dbg: [script] [0] [I] [2064-08-13] Trying again...
dbg: [script] [0] [I] [2064-08-13] after_dn_slope = false | before_dn_slope = false | same_height = false
dbg: [script] [0] [I] [2064-08-15] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-15] Road was not removed, possible because a vehicle in the way
dbg: [script] [0] [I] [2064-08-15] Since this is the tile before the railway crossing the road MUST be removed -> wait and hope the vehicles go away
dbg: [script] [0] [I] [2064-08-16] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-16] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-18] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-18] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-19] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-19] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-21] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-21] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-22] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-22] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-24] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-24] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-25] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-25] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-27] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-27] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-28] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-28] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-08-30] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-08-30] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-01] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-01] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-02] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-02] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-04] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-04] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-05] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-05] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-07] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-07] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-08] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-08] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-10] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-10] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-11] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-11] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-13] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-13] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-14] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-14] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-16] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-16] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-17] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-17] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-19] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-19] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-20] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-20] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-22] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-22] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-23] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-23] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-25] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-25] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-26] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-26] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-28] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-28] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-09-29] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-09-29] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-01] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-01] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-02] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-02] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-04] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-04] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-05] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-05] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-07] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-07] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-08] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-08] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-10] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-10] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-11] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-11] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-13] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-13] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-14] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-14] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-16] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-16] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-17] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-17] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-19] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-19] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-20] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-20] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-22] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-22] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-23] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-23] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-25] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-25] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-27] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-27] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-28] Tile is clear -> remove road
dbg: [script] [0] [I] [2064-10-28] Couldn't remove road because of unknown error - strange -> wait and try again
dbg: [script] [0] [I] [2064-10-29] Tried to remove road over rail for a while, but failed
Attachments
Synaptic Transport Inc., 1st Jun 2064.sav
(421.9 KiB) Downloaded 211 times
Synaptic Transport Inc., 1st Jul 2064.sav
(421.84 KiB) Downloaded 193 times
Synaptic Transport Inc., 2064-07-07.png
(219.98 KiB) Not downloaded yet
Formerly known as Samu
xarick
Transport Coordinator
Posts: 350 Joined: 26 Feb 2015 00:52
Post
by xarick » 21 May 2019 15:56
excessive cpu usage in valuator function
Attachments
Unnamed, 3115-05-01.sav
(1.4 MiB) Downloaded 180 times
Unnamed, 3115-05-01.png (59.08 KiB) Viewed 1720 times
Formerly known as Samu
Redirect Left
Tycoon
Posts: 7418 Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire
Post
by Redirect Left » 21 May 2019 16:46
You may be waiting a while, I suspect the author has gone AWOL
You can try to modify the AI yourself though to correct it. Unfortunately right now It seems a lot of AIs are by authors who are no longer active, at least not right now.
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is
here .
Users browsing this forum: srschacher and 10 guests