ChooChoo, a train network AI
Moderator: OpenTTD Developers
Re: ChooChoo, a train network AI
the index 'find' does not exist
- Attachments
-
- Unnamed, 1955-07-31.png
- (43.45 KiB) Not downloaded yet
-
- R25-G21 - ChooChoo vs PathZilla - 7,463 days.sav
- (3.43 MiB) Downloaded 114 times
Formerly known as Samu
- Redirect Left
- Tycoon
- Posts: 6768
- Joined: 22 Jan 2005 19:31
- Location: Wakefield, West Yorkshire
Re: ChooChoo, a train network AI
I've also had this just now with find error, on a map with lots of AIs and me spectating them.
Unfortunately the author has gone AFK for over 2 years at this point, so we might be on our own. Unless someone heree knows how to fix it, i've tried numerous times but i can't get the AI programming language down, it's very confusing and non-sensical to me, otherwise i'd have a good go at fixing numerous issues with lots of old AIs.
Unfortunately the author has gone AFK for over 2 years at this point, so we might be on our own. Unless someone heree knows how to fix it, i've tried numerous times but i can't get the AI programming language down, it's very confusing and non-sensical to me, otherwise i'd have a good go at fixing numerous issues with lots of old AIs.
Re: ChooChoo, a train network AI
I was trying out some AIs, including ChooChoo and noticed it wasn't working. I fixed two breaking bugs:
- Updated road pathfinding library version from 3 to 4
- Checked that a returned vehicle name is not null before doing name.find("X")
- Attachments
-
- choochoo-412-findbug-libupgrade.patch
- (867 Bytes) Downloaded 121 times
-
- ChooChoo412-a.tar
- (180 KiB) Downloaded 121 times
- Donald Duck
- Engineer
- Posts: 10
- Joined: 24 Apr 2020 07:05
Re: ChooChoo, a train network AI
I tried using this AI and got some errors:


Re: ChooChoo, a train network AI
That is not an error from AI, but your installation. Use the update function from ingame or install manually Pathfinder library version 3
Re: ChooChoo, a train network AI
Hello! Not dead, just busy elsewhere. Looks like it doesn't download that library automatically (anymore). I'll see if I can package a copy with my AI, so it just works out of the box.
Re: ChooChoo, a train network AI
It's working again! You may have to update or reload the AI from the "check online content" screen.
Who is online
Users browsing this forum: No registered users and 1 guest