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

Client.Map GMCP push for MMP data #1962

Closed
oestrich opened this Issue Sep 7, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@oestrich
Contributor

oestrich commented Sep 7, 2018

Brief summary of issue / Description of requested feature:

In order to get more games being able to push MMP data to Mudlet, let's add something similar to Client.GUI. I talked with @vadi2 a bit and we came up with this:

Client.Map {
  "url": "https://....",
  "version": "a string"
}

This would act similar to the Client.GUI message where the string is compared to the locally stored map version and if it changes at all then the map is re-downloaded.

This is currently in ExVenture and you can see it at https://midmud.com/ when connecting.

Reasons for adding feature:

I think this is useful to add because right now the MMP download is a compiled in list of games that have a known URL. With this it opens it up to any server sending the push.

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

I should point out that this isn't strictly necessary, as ExVenture currently pushes a package that if the map is empty downloads the map from a URL sent from the server. This would simply that and allow for other games to more easily push this.

For reference: https://github.com/oestrich/ex_venture/blob/8165b48/lib/web/templates/page/mudlet-package.xml.eex#L417-L427

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