The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: asaphxiix on November 15, 2012, 12:52:49 AM

Title: [10.13] block reservation bug
Post by: asaphxiix on November 15, 2012, 12:52:49 AM
original:

Also, I can't find the original report, but I should report that the block reservation bug seems to happen in 10.13 as trains still get stuck and need release with 'b'.
http://simutrans-germany.com/files/upload/bug1.sve (http://simutrans-germany.com/files/upload/bug1.sve) - this is a save of it, but the scenario seems the same.

Also: the problem seems release upon loading a game. but, just when the game starts you can see the train in the center of the screen [313.1153] has a stuck sign, and quickly releases it and start going. I can't tell you much more than that (behavior etc) but I don't see any difference from the scenario reported for previous versions (going close together, close to a station etc.)
Title: Re: [10.13] block reservation bug
Post by: jamespetts on November 15, 2012, 09:18:36 AM
Hmm, that's odd. I did some testing yesterday when you posted this on the other thread, and ran the game for a long time with my debug build of 10.13 without seeing anything getting stuck. May I ask - are you using Linux or Windows?
Title: Re: [10.13] block reservation bug
Post by: asaphxiix on November 15, 2012, 10:30:40 AM
try to run it for a while on fast forward while looking on Lardingham station - you can see it happen after a minute or two, only trains don't get stuck - but you can still see the reservation problem as in this pic - http://simutrans-germany.com/files/upload/bugg.jpg

I use windows 7. Also my pak is modified a bit, though i don't think it has anything to do, and anyway the trains and tracks etc. were not modified. But still I can upload the files if need them.

Title: Re: [10.13] block reservation bug
Post by: Carl on November 15, 2012, 10:42:40 AM
Maybe I can help here with another example. I've observed an odd reservation bug which appears to be similar in character:

https://dl.dropbox.com/u/61716/reservationbug.rar (https://dl.dropbox.com/u/61716/reservationbug.rar)
(pak folder and save file enclosed)

Run the game and keep an eye on Szigetszentmiklos. Very soon a blue train will get stuck in the platform for no apparent reason -- it's waiting for clearance, but there is nothing blocking its path. This all ran smoothly in 10.11, so I don't believe that it is a design defect -- though that is of course possible! (Note that there is another blockage at Érd which I have tracked to a design defect, so ignore that.)
Title: Re: [10.13] block reservation bug
Post by: jamespetts on November 15, 2012, 10:51:55 PM
Ahh, I was able to reproduce it with Carl's saved game. I have pushed a fix to 10.x - can anyone test? I should be very grateful.
Title: Re: [10.13] block reservation bug
Post by: Carl on November 16, 2012, 08:26:33 AM
This looks to fix it, at least in my saved game. Thank you James!