bugFreeciv - Bugs: bug #20308, Savefile's stored world map gets...

 
 
Show feedback again

bug #20308: Savefile's stored world map gets deformed when loaded into client

Submitted by:  Davide Baldini <davide_at_debian>
Submitted on:  Mon 19 Nov 2012 09:08:23 PM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: Invalid
Assigned to: NoneOpen/Closed: Closed
Release: 2.3.2Operating System: GNU/Linux
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 20 Nov 2012 09:51:38 AM UTC, comment #3:

"This is probably simply because different coordinate systems used in savegame and on screen"

Yes, I bet this apparent problem comes down to the isometric transformation of the map. However, I'm unaware of how such transformations manipulate the map between the two coordinate systems, and it just felt weird to see islands from a continental game savefile.

Thank you for explanation.

Davide Baldini <davide_at_debian>
Tue 20 Nov 2012 02:29:45 AM UTC, comment #2:

This is probably simply because different coordinate systems used in savegame and on screen. To savegame it is saved forming a square, but you have ISO topology in use, so map is warped.

Do you think there's more to this, or can we close this ticket as invalid?

If you need to check this, compile with --enable-debug. Then middle-click shows both Location and Native Position of each tile.

Marko Lindqvist <cazfi>
Project Administrator
Tue 20 Nov 2012 12:38:23 AM UTC, comment #1:

(Appended map is best seen formatted at: https://mail.gna.org/public/freeciv-dev/2012-11/msg00095.html)

Davide Baldini <davide_at_debian>
Mon 19 Nov 2012 09:08:23 PM UTC, original submission:

The attached savefile stores a game world map which is shown at the bottom of this post.
From this plain text map, it can clearly be seen that the central land is an island completely surrounded by water. Here resides the red player.

When this savefile is loaded into the client, the client shows a distorted map where the island becomes merged with the near continents, thus not making it an island.
Other coastal ocean tiles appear to be interpreted by the server as land.

This problem has been reproduced with multiple server/client 2.3.2 combos bearing different configurations.

Further details may appear here in future:
http://freeciv-mundi.org/forum/viewtopic.php?f=24&t=262&p=1014

ASCII map copy/pasted from the savefile:
----------------------------------------
t0000="p pgfh hfhphhhmfgf++fhmhpgp "
t0001=" p pgg hhmhmhhhhmf+sgmmhmfg "
t0002=" g p p hphhhhhhhphgdpmhhhp "
t0003=" gghhmmhhhhhdfphhhhg "
t0004=" gfpgpgghhhpgfdhmmp "
t0005=" fgpgf ppdg phmp "
t0006="h g ggg dp ggg "
t0007="p dpf ppg ggs f f s"
t0008=" dmh ffgssg "
t0009=" gf s p ggpg g "
t0010=" pgg fpg gpp "
t0011=" :: hgpp ff php "
t0012=" :: ghhhgg fd gfg "
t0013=" :: phhdfg ppp gfp "
t0014=" s ghhdp fhhp f "
t0015=" gp gs ffhhgffd "
t0016=" hhp gps gfmmfggf "
t0017=" pgf s f+s gmmhgdp "
t0018=" ghpphpdfpgg gphphfp "
t0019=" sggphmdgs p dhmhhgg "
t0020=" s ggdgggd dmmhhps "
t0021=" s pgghdp "
t0022="ppf pp sggpgdg "
t0023="fgp gp g gs+ggdfg "
t0024="gpppf phpd p+++gdmp "
t0025="gpdgppdg gmhm f+gggphp "
t0026="phhgggdg fhhhpp+pspphg p"
t0027="dpgpghhh fhmhgm+s+pdg p"
t0028="hghphgmg ffhmpg+++ppmdg fp"
t0029="g hpmghfg p gpfgdf+gffpp p "
t0030="pfhhmggpp pfdffppg d "
t0031="g mph pdfg pfpff+gg h "
t0032="g hphg dfp pgg+gpfgs d "
t0033="p pfgf hfgpdggggff++dmhgp h "

Davide Baldini <davide_at_debian>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #16785:  freeciv-T0091-Y-0225-final.sav.bz2 added by davide_at_debian (18kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Updated the item)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by davide_at_debian (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Nov 2012 10:59:01 PM UTCjtnStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Mon 19 Nov 2012 09:08:23 PM UTCdavide_at_debianAttached File-=>Added freeciv-T0091-Y-0225-final.sav.bz2, #16785
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup