Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a MM2 basemap in JSON format for performance testing #3

Closed
waba4mume opened this issue Jan 21, 2015 · 3 comments
Closed

Provide a MM2 basemap in JSON format for performance testing #3

waba4mume opened this issue Jan 21, 2015 · 3 comments

Comments

@waba4mume
Copy link
Owner

We need a JSON version of the MM2 map to fix possible loading and displaying performance issues in the web client map display as early as possible.

Preferably this will be a basemap and not a full map, so that we can just host it somewhere and everyone can try it out.

Eventually we'll need this nicely integrated in MM2, but for now any horrible hack will do. Also, we may have to optimize the format so don't spend too much time on this first attempt.

Expected format : a text file formatted like the hardcodedMapData variable in mume.mapper.js.

@waba4mume waba4mume added this to the Full map data milestone Jan 21, 2015
@nschimme
Copy link

nschimme commented Feb 3, 2015

I have some serious doubts if we want to follow MMapper's strategy here. Wouldn't it be better to instead use a server side approach and have an official MUME map that we host and stream as needed rather than having each client need to download and then hash to identify the positioning of themselves?

@waba4mume
Copy link
Owner Author

The current approach has two huge advantages IMHO: it can be done by anyone at any time. Do note that there is only a single, official map, for now clients will not customize it by exploring.

What did you have in mind, though?

  1. Who figures out the current location and how? Is it a roomid sent by the server, a webserver-side proxy that does the room matching, does the MUME server send a map portion with a you-are-here flag?
  2. How does the webclient get the map data? Is it split in areas and HTTP-downloaded as needed, sent by the MUME server as a Telnet extension?

-Waba.

-------- Original Message --------
From: Nils Schimmelmann notifications@github.com
Sent: February 3, 2015 8:00:00 AM GMT+01:00
To: waba4mume/play-mume play-mume@noreply.github.com
Cc: waba4mume waba-github4mume@waba.be
Subject: Re: [play-mume] Provide a MM2 basemap in JSON format for performance testing (#3)

I have some serious doubts if we want to follow MMapper's strategy here. Wouldn't it be better to instead use a server side approach and have an official MUME map that we host and stream as needed rather than having each client need to download and then hash to identify the positioning of themselves?


Reply to this email directly or view it on GitHub:
#3 (comment)

@waba4mume
Copy link
Owner Author

I took care of this in my wip-json2 MMapper branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants