Skip to main content
Topic: Can't save after rotation!!! (Read 19066 times) previous topic - next topic

Can't save after rotation!!!

i just play the game since 13:00 to 19:25 local time,after i rotate the map,i can't save and its replace my old save file!!!now the save file size less then 1kb,i am sure that i can't load the game back!now i pause the game and please,can i solve the stupid trouble!!!!


Re: Can't save after rotation!!!

Reply #2
bye i game,a game i play for 2 days............

----

i think when i same the game when past half hour is very safety..........

[blue]I merged your two posts. Please use the "Modify" link to edit your posts instead of posting back-to-back :)[/blue]

Re: Can't save after rotation!!!

Reply #3
Autosave is a worthwhile feature. But I agree with Z9999 that bad data files should not cause any crashes or corruption in the game: the error should be detected in advance and handled carefully.
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.

Re: Can't save after rotation!!!

Reply #4
Autosave is a worthwhile feature. But I agree with Z9999 that bad data files should not cause any crashes or corruption in the game: the error should be detected in advance and handled carefully.
this would mean, that map rotation has to be forbidden if only one bad data file is present.
Parsley, sage, rosemary, and maggikraut.

Re: Can't save after rotation!!!

Reply #5
It could mean that. It could also mean that the bad data files will be skipped and ignored by the game. Either is better than corruption or instability.
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.

Re: Can't save after rotation!!!

Reply #6
In this case, can simply rotating back make the game save?

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Re: Can't save after rotation!!!

Reply #7
If it can, the error message is misleading and needs changing, since it claims that it cannot save in any rotation.
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.

Re: Can't save after rotation!!!

Reply #8
Rotation is forbidden for such map in recent versions. However, I can make an addon (like the very old fish swarm of pak128, that is not saveable, since it defines tile (0,0) as empty. This way lead to crashes during industry growth in the old versions and this warning in the new versions.

By the way, this error is only produced when loading an old rotated map and then industry growth happens.

Re: Can't save after rotation!!!

Reply #9
In this case, can simply rotating back make the game save?

not if meanwhile another unrotable object is built :(
Parsley, sage, rosemary, and maggikraut.

Re: Can't save after rotation!!!

Reply #10
Actually simutrans test if a new industry is built an tries to rotate map to a position that seems safe for all buildings. But as I said there are buildings, when built, that are never rotatable, like the pak128 fish swarm in rotation 1. (This was not built in old version, since on water always rotation 0 was used, thus is was dormant for a long time).



 

Re: Can't save after rotation!!!

Reply #13
Any factory must have a non-empty tile (0,0) in any rotation. If it has not, then this gme is not saveable at all. I do not know the status of pak128 in this regard. But the fish swarm is imho the only irregular industry (i.e. with whole) and thus the only candidate.

Other problems are addons htat state the have all tiles defined for both rotations but actually never defined them at all. Those building will produce unsaveable maps after rotation.