Yes, but I was pretty sure my fix was good. I haven't caught it in the act of not making those tiles or removing them, so I can't say where the bug is.Eliandor wrote:It looks like {22}, when removing a producer route, it removes one tile too many near the consumer station.Dustin wrote:Your screenshot also shows 17 consumer didn't hook up it's depot with track. That happens from time to time and I have no idea what causes it.
Denver & Rio Grande train AI (A freight train AI)
Moderator: OpenTTD Developers
Re: Denver & Rio Grande train AI (A freight train AI)
Re: Denver & Rio Grande train AI (A freight train AI)
Does the route include a tile on the station area too? That way it'll destroy it.Dustin wrote:Yes, but I was pretty sure my fix was good. I haven't caught it in the act of not making those tiles or removing them, so I can't say where the bug is.Eliandor wrote:It looks like {22}, when removing a producer route, it removes one tile too many near the consumer station.Dustin wrote:Your screenshot also shows 17 consumer didn't hook up it's depot with track. That happens from time to time and I have no idea what causes it.
Re: Denver & Rio Grande train AI (A freight train AI)
It has too or the route would fall one short. When the route is done being built and stored in memory route.RemoveList(stationTiles) is run. I tested that and it worked in all my tests.Eliandor wrote: Does the route include a tile on the station area too? That way it'll destroy it.
Passing lanes may be at fault. But I don't think that is what happened here. Bottom line, I have a lot of hypothesis, but nothing definite.
Re: Denver & Rio Grande train AI (A freight train AI)
Solution: equip the station with four crossings on every side. That's all it'll ever need, right? Want me to show you a sample or?Dustin wrote:It has too or the route would fall one short. When the route is done being built and stored in memory route.RemoveList(stationTiles) is run. I tested that and it worked in all my tests.Eliandor wrote: Does the route include a tile on the station area too? That way it'll destroy it.
Passing lanes may be at fault. But I don't think that is what happened here. Bottom line, I have a lot of hypothesis, but nothing definite.
Re: Denver & Rio Grande train AI (A freight train AI)
Yeah, and example would be nice. I am considering moving the depots away from the stations and making the stations back into RORO.Eliandor wrote:Solution: equip the station with four crossings on every side. That's all it'll ever need, right? Want me to show you a sample or?Dustin wrote:It has too or the route would fall one short. When the route is done being built and stored in memory route.RemoveList(stationTiles) is run. I tested that and it worked in all my tests.Eliandor wrote: Does the route include a tile on the station area too? That way it'll destroy it.
Passing lanes may be at fault. But I don't think that is what happened here. Bottom line, I have a lot of hypothesis, but nothing definite.
Re: Denver & Rio Grande train AI (A freight train AI)
Stations like these.
Roro would be cool, but I think you should consider placing depots at producer stations and leaving the consumers as they are now instead -- disadvantage of Roro is that it only has one entrance. Unless you'd make something like...
Roro would be cool, but I think you should consider placing depots at producer stations and leaving the consumers as they are now instead -- disadvantage of Roro is that it only has one entrance. Unless you'd make something like...
Re: Denver & Rio Grande train AI (A freight train AI)
In another thread you mentioned that with super fiscal restraint D&RG tries to build a new route if it has 100% of the maximal loan available. Today I checked what happens if set set the maximal loan to 100k and start your AI with the maximal fiscal restraint. Building the HQ takes away a little amount of money, so that 100% is not available from the start. I was glad to see that even under these circumstances your AI tried to build something. Then I ran into another bug:
{031}
Here the AI thought that the consumer station already exists, but it had not been built because it didn't have enough money. There is another issue in the picture, the AI spends quite a lot on terraforming during pathfinding. With such a tight budget it will eventually go bankrupt.
{031}
Here the AI thought that the consumer station already exists, but it had not been built because it didn't have enough money. There is another issue in the picture, the AI spends quite a lot on terraforming during pathfinding. With such a tight budget it will eventually go bankrupt.
Re: Denver & Rio Grande train AI (A freight train AI)
Interesting. It should probably stop thinking of unbuilt stations as existing.Brumi wrote:In another thread you mentioned that with super fiscal restraint D&RG tries to build a new route if it has 100% of the maximal loan available. Today I checked what happens if set set the maximal loan to 100k and start your AI with the maximal fiscal restraint. Building the HQ takes away a little amount of money, so that 100% is not available from the start. I was glad to see that even under these circumstances your AI tried to build something. Then I ran into another bug:
{031}
Here the AI thought that the consumer station already exists, but it had not been built because it didn't have enough money. There is another issue in the picture, the AI spends quite a lot on terraforming during pathfinding. With such a tight budget it will eventually go bankrupt.
Would you believe the "terraform and go bankrupt" is actually a feature/AI cheat? In a way it is because it will flatten some spots around some stations, go bankrupt and start over with the initial loan and some primo places to put stations. So subsequent AI's are less likely to go bankrupt.
Re: Denver & Rio Grande train AI (A freight train AI)
D4 seems pretty stable and I haven't gotten any new crash reports for a while. I was going to upload to Bananas today, but i get a very generic error when I try to upload from IE8.
BaNaNaS wrote:Unhandled Exception
An unhandled exception was thrown by the application.
Re: Denver & Rio Grande train AI (A freight train AI)
Did you try with fireferret?
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Re: Denver & Rio Grande train AI (A freight train AI)
Nope, I didn't have time that day. I have 18 weeks of work assigned to me at work and 11 weeks to deliver. So I am a little busy these days.SirkoZ wrote:Did you try with fireferret?
Re: Denver & Rio Grande train AI (A freight train AI)
Oh my. Well - I was just saying because The Exploder is still totally incompatible with widely accepted standards (according to acid3 tests) hence my suggestion.
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Re: Denver & Rio Grande train AI (A freight train AI)
The server should still probably tell me something other than "unhandled exeption". The form on that page is pretty basic, I doubt anything in IE is causing it to barf. Probably something wrong with my .Tar file (made with 7zip).SirkoZ wrote:Oh my. Well - I was just saying because The Exploder is still totally incompatible with widely accepted standards (according to acid3 tests) hence my suggestion.
Re: Denver & Rio Grande train AI (A freight train AI)
All tar-files I have made are made with 7zip.
As long as you include the directory and not just all the files it should be okay.
As long as you include the directory and not just all the files it should be okay.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: Denver & Rio Grande train AI (A freight train AI)
Hi Dustin,
Let me give you another bug report, the kink remover is in trouble on rough terrain: Anyway, I'm looking forward to seeing your AI on Bananas.
Let me give you another bug report, the kink remover is in trouble on rough terrain: Anyway, I'm looking forward to seeing your AI on Bananas.
Re: Denver & Rio Grande train AI (A freight train AI)
Nice.Brumi wrote:Hi Dustin,
Let me give you another bug report, the kink remover is in trouble on rough terrain: Anyway, I'm looking forward to seeing your AI on Bananas.
Known issue. The dekinker only works on level tiles. I don't think I am going to get any work done on this AI until at least the new year. I will try again to get it on Bananas soon though.
Bananas worked today. I downloaded and started the AI. So V1 is shipped! Yay!
Re: Denver & Rio Grande train AI (A freight train AI)
Well done dustin:DBananas worked today. I downloaded and started the AI. So V1 is shipped! Yay!
Re: Denver & Rio Grande train AI (A freight train AI)
I tried a game with Denver & Rio Grande v1 among other AI's.
It performed quite reasonable. However, many times the single-lane pieces clog up lines, causing trains turning around. It apparently tries to use the fastest engine available, however its crazy tracklaying makes it impossible for any train to achieve a speed higher than 120-150 km/h on any track. If you enhance the tracklaying its useful to buy the fasted engine, otherwise it might be smarter to buy the strongest or cheapest which can reach 150 km/h.
Difficulty settings were slightly easier than medium, startdate 1977, max initial loan 200,000 GBP.
See attached save game.
OpenTTD 0.7.3
NewGRFs: OpenGFX, better vehicles names, Av8 1.501 (I read it works well, probably better, with the North American set but as I had other AI's running I didn't want to risk problems because of strange newgrfs)
(I will post comparable posts in the other AI's topics)
It performed quite reasonable. However, many times the single-lane pieces clog up lines, causing trains turning around. It apparently tries to use the fastest engine available, however its crazy tracklaying makes it impossible for any train to achieve a speed higher than 120-150 km/h on any track. If you enhance the tracklaying its useful to buy the fasted engine, otherwise it might be smarter to buy the strongest or cheapest which can reach 150 km/h.
Difficulty settings were slightly easier than medium, startdate 1977, max initial loan 200,000 GBP.
See attached save game.
OpenTTD 0.7.3
NewGRFs: OpenGFX, better vehicles names, Av8 1.501 (I read it works well, probably better, with the North American set but as I had other AI's running I didn't want to risk problems because of strange newgrfs)
(I will post comparable posts in the other AI's topics)
- Attachments
-
- AI game.sav
- (658.84 KiB) Downloaded 163 times
*hmz*
Re: Denver & Rio Grande train AI (A freight train AI)
This is a very good report. Thank you very much for the feedback.Menno wrote:I tried a game with Denver & Rio Grande v1 among other AI's.
It performed quite reasonable. However, many times the single-lane pieces clog up lines, causing trains turning around. It apparently tries to use the fastest engine available, however its crazy tracklaying makes it impossible for any train to achieve a speed higher than 120-150 km/h on any track. If you enhance the tracklaying its useful to buy the fasted engine, otherwise it might be smarter to buy the strongest or cheapest which can reach 150 km/h.
Difficulty settings were slightly easier than medium, startdate 1977, max initial loan 200,000 GBP.
See attached save game.
OpenTTD 0.7.3
NewGRFs: OpenGFX, better vehicles names, Av8 1.501 (I read it works well, probably better, with the North American set but as I had other AI's running I didn't want to risk problems because of strange newgrfs)
(I will post comparable posts in the other AI's topics)
Re: Denver & Rio Grande train AI (A freight train AI)
Hi Dustin,
I was running a game with Denver & Rio Grande in it and I came across the following construction:
Hope you'll be able to fix it!
I was running a game with Denver & Rio Grande in it and I came across the following construction:
Hope you'll be able to fix it!
Who is online
Users browsing this forum: No registered users and 17 guests