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

Mapserver and new block #546

Closed
6r1d opened this issue Oct 3, 2020 · 5 comments
Closed

Mapserver and new block #546

6r1d opened this issue Oct 3, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@6r1d
Copy link

6r1d commented Oct 3, 2020

Since Huhhila doesn't have a Github accound, I'm copying something he found. He says that mapserver doesn't display sulfur blocks or ultra framed obsidian glass. Though displaying the second is weird: glass is transparent. Maybe it can be displayed as something bluish? How can I update mapserver? :-)

@BuckarooBanzay
Copy link
Contributor

Transparency isn't implemented yet, i haven't found a suitable algorithm that is fast enough yet:
minetest-mapserver/mapserver#42

The colors are defined in text-files here:
https://github.com/minetest-mapserver/mapserver/tree/master/static/colors

I think custom.txt would be a good fit, if not: new files can be added here: https://github.com/minetest-mapserver/mapserver/blob/d3d52341fcb22de94f3bcf7e046c99cf0e3ac47d/app/setup.go#L87-L95

About the update process

The mapserver is one of those services that get updated automatically:

mapserver:
image: minetestmapserver/mapserver:latest
restart: always
labels:
com.centurylinklabs.watchtower.enable: "true"

@BuckarooBanzay BuckarooBanzay added the enhancement New feature or request label Oct 3, 2020
@MilesBDyson
Copy link

MilesBDyson commented Oct 8, 2020

also an issue with the mapserver not seeing a node with overlays correctly such as the 'default:blueberry_bush_leaves_with_berries' shows up as 'default:blueberry_bush_leaves'.
not sure but i think it has something to do with the berry's being an overlay on the 'default:blueberry_bush_leaves' node.

i had a similar issue with the colored clay mod that did not use images for the nodes so the colors did not show up on the map, then i think that mod was eventually removed at some point any way..

@MilesBDyson
Copy link

also i can make the glass any color you want but it has to be in simple RGB format and does not support translucent or clear

@MilesBDyson
Copy link

ok i added technic:sulfur_block to the colors list

@BuckarooBanzay
Copy link
Contributor

BuckarooBanzay commented Dec 10, 2020

i think this is fixed, if not: reopen please

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

No branches or pull requests

3 participants