News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

[10.18] Garbled displays of origins in very overcrowded stations

Started by ӔO, January 06, 2013, 05:33:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ӔO

How does experimental handle passenger origin?

I think experimental may be getting string too long errors from all the rerouting, which causes very long origins that overlap each other upon each rerouting. This happens when there is severe overcrowding at hubs.

It might be useful to have a button that will flush all pax from stations and reset route times for a player so that the player can easily identify the problem. As it is now, it is very difficult to track down the exact source of the backup due to rerouting upon refunds.

Mod note: topics split.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

jamespetts

The "string too long" error is caused by a corrupted save file - the game happily loads junk data into all manner of integers until it reaches what it hopes will be a string. It will keep loading the text for a single string until it reaches a terminating character. When, because the file is corrupted, no terminating character is reached before the space limit expires, it produces that error message. The problem is that something goes wrong when the game is saved, causing corruption of the file. The origins are stored as a pair of integers per unit of passengers: one for their ultimate origin and one for their last transfer. These integers represent the index numbers of the specific halts from which the passengers originated. Origins thus cannot be "long" or "short".

I was not aware of the bug relating to the display of origins in the stop information window. Is this specific to the "origin (details)" setting (in other words, do the other settings work without producing this graphical error)? This needs to be reported as a separate bug. Do you notice any particular pattern of what specific stations produce this error?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

ӔO

Ah, I see.


only severely overcrowded stations will produce the "origins (amount)" and "origins (details)" display errors.
They also tend to be very well connected hubs.

If the station is only overcrowded by a slight margin, I think around 200% its capacity, the origin displays work properly.

Nutish railport is particularly badly affected from the server game.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

TurfIt

I'd guess too many lines of text are being put into that scrollpane... Limit is ~3000.

jamespetts

Ahh, that's useful, thank you. Does this issue sometimes occur in Standard with something like "via (detail)" on extremely overcrowded stations? Is there a way of increasing this limit, or truncating elegantly when it is exceeded?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.