RoadRunner AI
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 45
- Joined: 16 Apr 2007 19:50
- Location: Louvain
- Contact:
Re: RoadRunner AI
Thanks for correcting the bug (it was me who put the bug in to the flyspray thingie).
Felix Atagong
The Holy Church of Iggy the Inuit
The Holy Church of Iggy the Inuit
Re: RoadRunner AI
Nothing to thank. It would be against my honor if I write something that has so big bugs in it. 
Thank you again for reporting it. I haven't thought before that an AI is able to crash the hole game in some situations.

Thank you again for reporting it. I haven't thought before that an AI is able to crash the hole game in some situations.
-
- Engineer
- Posts: 45
- Joined: 16 Apr 2007 19:50
- Location: Louvain
- Contact:
Re: RoadRunner AI
Roadrunner refuses to save on a 1024 x 1024 map.
I have uploaded a save game as well.
Keep on AI-ing!
I have uploaded a save game as well.
Keep on AI-ing!
- Attachments
-
- 1862.png (7.5 KiB) Viewed 9683 times
-
- Blauw Transport, 24 Jan 1862.sav
- (1.39 MiB) Downloaded 318 times
Felix Atagong
The Holy Church of Iggy the Inuit
The Holy Church of Iggy the Inuit
Re: RoadRunner AI
it does that on mine too maybe its the verison
Re: RoadRunner AI
Firstly i want to say that this is a great AI...but secondly i feel so mad at you (the developer)...the AI is ruining towns left right and center with 100s of vehicles causing all types of jams! I dread putting out a single bus/truck on the towns occupied by this AI.
Btw, vehicles get jammed nicely in your AI and it takes some time to recover. I wanted to take a screenshot but the jam got resolved by the time I came around again to the town
Btw, vehicles get jammed nicely in your AI and it takes some time to recover. I wanted to take a screenshot but the jam got resolved by the time I came around again to the town
Re: RoadRunner AI
RoadRunner has a setting 'Level of traffic the AI should generate'. Doesn't it help?
-
- Engineer
- Posts: 45
- Joined: 16 Apr 2007 19:50
- Location: Louvain
- Contact:
Re: RoadRunner AI
I love RoadRunner because it is one of the only AI that can build vehicles (and stay alive!) in 1850 (horse carts). Unfortunaetely it always gives the following error after each restart (from a saved game). The result is that it stays with its initial first (money-making) line and doesn't expand further.
Any solution (I already mentioned this bug a while ago, BTW)...
Any solution (I already mentioned this bug a while ago, BTW)...
- Attachments
-
- Green Is The Colour, 8 Sep 1871.png (7.98 KiB) Viewed 9191 times
Felix Atagong
The Holy Church of Iggy the Inuit
The Holy Church of Iggy the Inuit
Re: RoadRunner AI
Hello, good news after a long time.
Finally I found a solution for this annoying bug with "This AI took to long to save".
I realised that I never replied, (sorry) but I remember I read this bug report here and tried to change something with save/load design of AI, but it don't work.
Now my solution doesn't change save/load code. I just dramatically reduced the data to save.
The targets which are considered to calculate good connections are now limited to 10 for every cargo type. In last version the limit was 500. You can change it in settings menu, but the setting of 10 worked good in all test.
Another new setting allows you to toggle "Full load" orders on or off. This is to minimize jams in towns.
It's planned to add something like a sub-pathfinder for long distances because pathfinding often takes years and the AI can't do anything in this time.
I already have some plans for it, but you waited long enough for a working version, I think.
So here is RoadRunner, version Nr. 7
Finally I found a solution for this annoying bug with "This AI took to long to save".
I realised that I never replied, (sorry) but I remember I read this bug report here and tried to change something with save/load design of AI, but it don't work.
Now my solution doesn't change save/load code. I just dramatically reduced the data to save.
The targets which are considered to calculate good connections are now limited to 10 for every cargo type. In last version the limit was 500. You can change it in settings menu, but the setting of 10 worked good in all test.
Another new setting allows you to toggle "Full load" orders on or off. This is to minimize jams in towns.
It's planned to add something like a sub-pathfinder for long distances because pathfinding often takes years and the AI can't do anything in this time.
I already have some plans for it, but you waited long enough for a working version, I think.
So here is RoadRunner, version Nr. 7
- Attachments
-
- RoadRunner-7.tar
- RoadRunner - Version 7
- (350 KiB) Downloaded 321 times
-
- Engineer
- Posts: 45
- Joined: 16 Apr 2007 19:50
- Location: Louvain
- Contact:
Re: RoadRunner AI
Hi together,
today it's time for a new version of RoadRunner.
I think it needs a little bit more testing, so will upload it to bananas later, when I'm sure all works as it should.
Especially after around fifty years of playing the AI always got really slow and wasn't able to manage the vehicle right anymore.
I removed some sleep commands and changed some code so it should be a little bit better now.
But it's hard to test this, because you have to wait 50 game years to see if your changes make some improvements
The biggest problem was again the pathfinding. It was (always) simply to slow and blocked all actions of the AI.
Now I changed the parameters of the pathfinder function to make it a lot faster and add a little function to remove unnecessary turns. So it should most of the time build perfect straight roads, as short as possible. It doesn't always reuse existing roads now, this is the disadvantage of faster pathfinding. But this is adjustable in the AI Settings of RoadRunner if you want to.
Also RoadRunner builds now more stations in towns, when they grow. In version 7 this don't worked like I thought it should.
today it's time for a new version of RoadRunner.
I think it needs a little bit more testing, so will upload it to bananas later, when I'm sure all works as it should.
Especially after around fifty years of playing the AI always got really slow and wasn't able to manage the vehicle right anymore.
I removed some sleep commands and changed some code so it should be a little bit better now.
But it's hard to test this, because you have to wait 50 game years to see if your changes make some improvements
The biggest problem was again the pathfinding. It was (always) simply to slow and blocked all actions of the AI.
Now I changed the parameters of the pathfinder function to make it a lot faster and add a little function to remove unnecessary turns. So it should most of the time build perfect straight roads, as short as possible. It doesn't always reuse existing roads now, this is the disadvantage of faster pathfinding. But this is adjustable in the AI Settings of RoadRunner if you want to.
Also RoadRunner builds now more stations in towns, when they grow. In version 7 this don't worked like I thought it should.
- Attachments
-
- RoadRunner-8.tar
- RoadRunner v8(unfinished)
- (410 KiB) Downloaded 269 times
Re: RoadRunner AI
Hi everyone (first post!)
Enjoying this AI a lot, nice work. I got a crash with version 7:

I am using the latest stable and many newGRFs, I can post a save and more info if necessary.
Keep up the good work!
Enjoying this AI a lot, nice work. I got a crash with version 7:
I am using the latest stable and many newGRFs, I can post a save and more info if necessary.
Keep up the good work!
- Attachments
-
- Roadrunner Crash.png
- (42.2 KiB) Downloaded 4 times
Re: RoadRunner AI
How did i get this to appear in my list of AI if i am downloading as RAR file then copying the folder into the AI folder?
Re: RoadRunner AI
You have to unpack the RAR file.
Otherwise please tell a bit more specifically what you did.
Otherwise please tell a bit more specifically what you did.
Re: RoadRunner AI
Brumi wrote:You have to unpack the RAR file.
Otherwise please tell a bit more specifically what you did.
All sorted

Re: RoadRunner AI
I just had a crash with RoadRunner v7. Attached are the AI output crashlog and the savegame (requires 1.3 w/ CargoDistribution).
- Attachments
-
- RoadRunner(v7)_20130525.jpg (141.95 KiB) Viewed 2619 times
-
- Feestable Transport, 1954-10-05.sav
- (1.36 MiB) Downloaded 267 times
A game worth playing is a game worth modding 

Re: RoadRunner AI
Hi,
thanks for the bug reports R2dical and griffin71. They should be fixed now.
I think I will upload new version to bananas next week. I think it needs some more test games.
vvv Here's the current work in progress version. vvv
thanks for the bug reports R2dical and griffin71. They should be fixed now.
I think I will upload new version to bananas next week. I think it needs some more test games.
vvv Here's the current work in progress version. vvv
- Attachments
-
- RoadRunner-8.tar
- RoadRunner- v8, alpha
- (460 KiB) Downloaded 213 times
Re: RoadRunner AI
Hi again,
version 8 is finished and uploaded to bananas now.
After several test games I decided that it can survive in the hard world out there.
I think the AI is a little faster again, especially the pathfinding.
After very much tests with try and error the pathfinder should now most of the time build a "tidy" road network and is still fast enough.
In my tests RoadRunner worked well with FIRS and ECS industries.
Complains, bug reports, etc. etc. are welcome, just the response CAN TAKE A LITTLE BIT ...
Edit: Tried to upload, but gives "Unhandled Exception". Maybe works tomorrow.
Edit2: Bananas had a new feature (or bug) which only let you upload things when you set min and max version to "nightly". But thanks to frosch and TrueBrain all is ok now again.
version 8 is finished and uploaded to bananas now.
After several test games I decided that it can survive in the hard world out there.

I think the AI is a little faster again, especially the pathfinding.
After very much tests with try and error the pathfinder should now most of the time build a "tidy" road network and is still fast enough.
In my tests RoadRunner worked well with FIRS and ECS industries.
Complains, bug reports, etc. etc. are welcome, just the response CAN TAKE A LITTLE BIT ...

Edit: Tried to upload, but gives "Unhandled Exception". Maybe works tomorrow.
Edit2: Bananas had a new feature (or bug) which only let you upload things when you set min and max version to "nightly". But thanks to frosch and TrueBrain all is ok now again.
- Attachments
-
- RoadRunner-8.tar
- RoadRunner - version 8
- (460 KiB) Downloaded 261 times
Re: RoadRunner AI
Hi,
I found a little bug in version 8 so I thought it would be the best to upload a new version.
So here is RoadRunner - version 9.
I found a little bug in version 8 so I thought it would be the best to upload a new version.
So here is RoadRunner - version 9.
- Attachments
-
- RoadRunner-9.tar
- RoadRunner - Version 9
- (460 KiB) Downloaded 253 times
Re: RoadRunner AI
This server started in 1950, 15x RoadRunner AIs were doing fine throughout the years, but by the year 2000, they all started to amass vehicles, jamming each other and slowly cannibalizing themselves into negative profit.
They are forcing each RoadRunner to bankrupting. I had not much time to see what would happen in a few years, I only had time to see cream becoming the first to bankrupt, but then I had to close the server.
They are forcing each RoadRunner to bankrupting. I had not much time to see what would happen in a few years, I only had time to see cream becoming the first to bankrupt, but then I had to close the server.
- Attachments
-
- screenshot#3.png
- (408.2 KiB) Not downloaded yet
-
- autosave5.sav
- (1.15 MiB) Downloaded 336 times
-
- openttdCore1.cfg
- (10.81 KiB) Downloaded 254 times
Formerly known as Samu
Re: RoadRunner AI
Crash less than a month after loading a savegame.
- Attachments
-
- AI Test Arctic, 1984-03-12.png
- (1.06 MiB) Not downloaded yet
Who is online
Users browsing this forum: No registered users and 6 guests