The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: jamespetts on March 21, 2014, 10:52:27 AM

Title: [11.22] Crash when land raised in front of ships
Post by: jamespetts on March 21, 2014, 10:52:27 AM
Quote from: ӔO on March 21, 2014, 06:02:32 AM
I unwittingly stuck some ships after raising some land.
There are a few off of Brickingport and Emwich.

The server does not seem to handle rerouting of ships elegantly when new land is blocking its original route.
But mysteriously, the ship reroutes just fine most of the time, while extremely rarely ships will run aground. Running aground obviously causes a crash.

Can you give steps reliably to reproduce this crash so that I can see if I can fix it?

Edit: Split from the server game topic.
Title: Re: [11.22] Crash when land raised in front of ships
Post by: ӔO on March 21, 2014, 11:24:59 AM
oh, it's very easy.

simply raise land in front of ships within 5 tiles and the ship may run aground depending on amount of lag.
Title: Re: [11.22] Crash when land raised in front of ships
Post by: jamespetts on March 21, 2014, 11:30:13 AM
Quote from: ӔO on March 21, 2014, 11:24:59 AM
oh, it's very easy.

simply raise land in front of ships within 5 tiles and the ship may run aground depending on amount of lag.

Hmm - how would one reproduce this in a single player environment without lag?
Title: Re: [11.22] Crash when land raised in front of ships
Post by: ӔO on March 21, 2014, 12:12:16 PM
I have never been able to do this under SP.

maybe if CPU cycles were restricted...
Title: Re: [11.22] Crash when land raised in front of ships
Post by: jamespetts on March 23, 2014, 02:33:05 PM
Quote from: ӔO on March 21, 2014, 12:12:16 PM
I have never been able to do this under SP.

maybe if CPU cycles were restricted...

Hmm - curious. This would be very difficult to reproduce...