bugHexoshi - Bugs: bug #50999, Map doesn't update when you visit...

 
 

bug #50999: Map doesn't update when you visit some sections

Submitted by:  Ben Sturmfels <sturm>
Submitted on:  Thu 11 May 2017 01:06:31 AM UTC  
 
Severity: 3 - NormalStatus: Invalid
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 11 May 2017 02:29:02 AM UTC, comment #5:

I considered it, but:

1. The maps are a part of the distributed game's data, so this problem won't actually be a thing when the game is released.

2. Hexoshi is supposed to be 4-5 times larger than it currently is in the end. For data that never in practice needs to be regenerated, this is completely pointless.

So I think having pre-generated maps is the best choice in the long-run. In fact, pre-generating the maps wasn't a developer optimization at all; it was meant from the start to prevent inordinately long start-up times for the user.

Anyway, I'm glad to hear that everything is normal. Closing.

Julie Marchant <onpon4>
Project Administrator
Thu 11 May 2017 02:11:56 AM UTC, comment #4:

Thanks, that fixes it!

I wonder if it could be useful to default to regenerating the maps each time and invert the flag to "--no-gen-map" as an optimisation for developers. It would be trading a slower start-up to avoid possibly confusing the player.

The program could output:

Generating new map files; this may take some time.
To disable map generation, use the --no-gen-map option.
Loading "0.tmx"...
Loading "1.tmx"...

Just an idea anyway. The "-m" solves my immediate issue.

Ben Sturmfels <sturm>
Thu 11 May 2017 01:49:26 AM UTC, comment #3:

Did you try running Hexoshi with the -m command-line option? Maps are pre-generated and using outdated map files will lead to incorrect results.

Julie Marchant <onpon4>
Project Administrator
Thu 11 May 2017 01:44:51 AM UTC, comment #2:

Yes, when I walk into these rooms I'm expecting the map to be extended to display the rooms that I'm currently in, but it remains as per the screenshot after visiting these areas.

Ben Sturmfels <sturm>
Thu 11 May 2017 01:40:55 AM UTC, comment #1:

Can you elaborate on what you mean when you say that the map "doesn't update"? That screenshot looks perfectly normal to me. Did the adjacent rooms not get properly revealed when you visited them?

Julie Marchant <onpon4>
Project Administrator
Thu 11 May 2017 01:06:31 AM UTC, original submission:

Thanks for all the great work on Hexoshi!

Just noting that the map doesn't update when you visit the two sections highlighted in the attached screenshot.

I'm running Hexoshi version 1c6651b6 on Trisquel 7.

$ pip freeze --local
pathlib==1.0.1
sge-pygame==1.4.2
tmx==1.9.1
xsge-gui==1.0.2
xsge-lighting==1.0
xsge-particle==0.1
xsge-path==1.0
xsge-physics==0.13.1
xsge-tmx==1.1

Ben Sturmfels <sturm>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #40660:  Screenshot from 2017-05-11 10:40:56.png added by sturm (9KiB - image/png - Screenshot showing areas that map doesn't update)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by onpon4 (Posted a comment)
  • -unavailable- added by sturm (Submitted the item)
  •  

    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
    Thu 11 May 2017 02:29:02 AM UTConpon4StatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Thu 11 May 2017 01:06:31 AM UTCsturmAttached File-=>Added Screenshot from 2017-05-11 10:40:56.png, #40660

    Back to the top


    Powered by Savane 3.1-cleanup1