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

Make it easier to view "areas" (from area protection mod) #53

Closed
dennisjenkins75 opened this issue May 19, 2021 · 7 comments
Closed

Make it easier to view "areas" (from area protection mod) #53

dennisjenkins75 opened this issue May 19, 2021 · 7 comments

Comments

@dennisjenkins75
Copy link
Collaborator

The mapserver shows "prot-blocks" when zoomed way in. This is nice. Would be really nice if one could also see an overlay of the "areas" as well. This would make it easier to see unclaimed territory (for yourself, or for helping a new player find a "good spot" for their own use).

The areas are currently exposed via a json API and can be scraped out-of-game:

$ wget -q https://pandorabox.io/api/areas -O - | jq -c '.[] | select(.owner == "1hit")'

I have multiple ideas, and they are not necessarily mutually exclusive:

  1. Enhance the map server to allow viewing of areas. Granted that the map server shows a 2d slice, and areas are 3d and can be quite tall (up to 128, or 512, depending on player's priv)
  2. Create an offline tool (python or lua script) that one can run manually that would grab their areas and convert them into a SVG. However, doing this won't make it super easy to correlate the resulting 3d image with the map server.
@Klaranth Klaranth added the Idea label May 19, 2021
@Klaranth
Copy link
Collaborator

@OgelGames @S-S-X
I like to see some response to this idea.

@OgelGames
Copy link
Contributor

@BuckarooBanzay is the one that does the mapserver stuff, I have no clue how that all works :D

Also it's probably better to move this to the mapserver issues.

@Klaranth
Copy link
Collaborator

@OgelGames @BuckarooBanzay
Ok, how do I move stuff?

@OgelGames
Copy link
Contributor

OgelGames commented May 28, 2021

I don't think it's possible to move issues between organizations, only to other repos in the same one. I think the only way is to copy it to a new issue. (and maybe also link the previous issue)

@Klaranth
Copy link
Collaborator

Klaranth commented May 28, 2021

Okay, so where is the mapserver repo ?
Is this the one :
https://github.com/minetest-mapserver/mapserver/issues

@OgelGames
Copy link
Contributor

Is this the one :
https://github.com/minetest-mapserver/mapserver/issues

Yes

@dennisjenkins75
Copy link
Collaborator Author

(Manually) Moved to minetest-mapserver/mapserver#178

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

No branches or pull requests

3 participants