The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Silver on June 03, 2009, 08:07:30 PM

Title: [Bug] altered map
Post by: Silver on June 03, 2009, 08:07:30 PM
I have a map of North America, has 6 months of development, this happened, the map is grated as shown in the picture, here I leave the download link for the saved game.
(http://www.postimage.org/aV1a42vJ.jpg) (http://www.postimage.org/image.php?v=aV1a42vJ)

I hope can be solved
The other operating normal
EDIT:
**broken link** (http://www.4shared.com/file/109738856/)
new link below
Title: Re: [Bug] altered map
Post by: wernieman on June 03, 2009, 08:49:52 PM
Wich Version? Wich PAK? Wich PAK-Version??
Title: Re: [Bug] altered map
Post by: Silver on June 03, 2009, 08:56:46 PM
version:102.1 - 2478
Pak: 128



EDIT:
pak version? I don't know, but says in one (history-pak128-svn.txt):

simutrans\pak128\doc

history of pak128 svn
24.01.2008 - New style marker tool (VS)

I think it could be the pak-version (1.4.4)

Title: Re: [Bug] altered map
Post by: prissi on June 03, 2009, 09:10:43 PM
Somehow xy coordinates for map size were swapped. Did you try to rotate this in an old version?

Here is the fixed game:
http://www.physik.tu-berlin.de/~prissi/simutrans/C.%20y%20N.%20de%20America-rotated.sve

Title: Re: [Bug] altered map
Post by: Silver on June 03, 2009, 09:22:23 PM
No, do you recommend any?, the truth I don't know what happened, I do not change anything, do you know why could this happen?


edit:
I keep seeing the same problem.
What should I do?
Delete the saved game?
Title: Re: [Bug] altered map
Post by: prissi on June 03, 2009, 09:45:27 PM
Aparently the coordinates of the map size are not saved correctly after rotation. download again from above link, it worked now for me even saving reloading saving. Not sure why.
Title: Re: [Bug] altered map
Post by: vilvoh on June 03, 2009, 09:53:54 PM
It works for me too..hint for Silver: do not rename the savegame with the old name.
Title: Re: [Bug] altered map
Post by: Silver on June 03, 2009, 10:25:44 PM
 :D It works, thanks for the help
Title: Re: [Bug] altered map
Post by: vilvoh on June 03, 2009, 10:51:59 PM
May I ask how did you fix it, prissi? through savegame hacking or using some special tool? I mean, could I fix it by myself in case it happens again?
Title: Re: [Bug] altered map
Post by: Silver on June 04, 2009, 01:25:31 AM
Your gonna kill me! But after a while, I ended the game and happened again when charge
download norteamerica.sve (http://www.4shared.com/file/109738856/531093cf/norteamerica.html)

Later, I updated version: Windows / SDL Version: 102.1-2500 and did not work

I hope never happens again
other savegames
normal work
Title: Re: [Bug] altered map
Post by: prissi on June 04, 2009, 11:21:35 AM
You mus tnot rotate this game. Rotating it will render it unsavable, since the height is odd; but after rotation the width is odd, which gives simutrans aparantly problems at some point (which is not easy to spot).
Title: Re: [Bug] altered map
Post by: z9999 on June 04, 2009, 12:27:22 PM
Quote from: prissi on June 04, 2009, 11:21:35 AM
(which is not easy to spot).

But this bug is easily reproducible in r2502.
So, it should be solved this problem.

1. Start a new map with 192*256
2. Rotate once and save this game
3. Reload this game.


[EDIT]

I don't know this is the same problem or not.
But as I reported at here (http://forum.simutrans.com/index.php?topic=2072.msg21318#msg21318), maps is also broken after factory builder rotate map automatically and rotate back with none-square map.
(http://simutrans-germany.com/files/upload/r.png)
Title: Re: [Bug] altered map
Post by: Silver on June 04, 2009, 05:10:44 PM
The problem could be the rotation? mmmm I believe that if