lag01 wrote:It leaves only circle area around map center + blocks with nodes typically created by players. All other blocks are removed and are supposed to be regenerated by mapgen.
Also file mt_block_parser.py can be used independently to read data from blocks.
Sokomine wrote:Can you make it so that your script interacts with minetestmapper (or does its own maps)? Maps where only areas where players built something show up/get highlighted?
lag01 wrote:Thanks for inspiration, today i tried to do something like this and added code to same Github (file domap.py
I tried to make code simple and fast and result is like image bellow:
lag01 wrote:Be aware, that to work faster it only checks blocks where Y>-5*16 and Y<5*16.
VanessaE wrote:That may be true, but one doesn't want a large, complex mine to be destroyed/lost by running this program I wouldn't think...
Sokomine wrote:That might not be enough. There are sometimes underground cities which are close to impossible to find if there's no clue. Apart from the blocks placed by mapgen, also torches and cobble ought to be ignored. Torches are used to illuminate places and may be located in mines. Cobble is sometimes used as a helper/fill node where no actual building is present.
lag01 wrote:...
i did full Y scan and map is looking much more complete, with cobble roads etc visible
...
twoelk wrote:lag01 wrote:...
i did full Y scan and map is looking much more complete, with cobble roads etc visible
...
hm, if that is the "just test" server some of my areas of activity seem to be out of area ;-P
I once tried to map bones in bright red, that might give interesting results on servers such as this with lots of bones lying around.
I noticed some players used torches or cobble blocks to mark paths, so I guess at least torches on the surface might add information about player roaming activity.
lag01 wrote:...
Yes, it is this server. The image above is from 1600 nodes radius, with other areas cutted.
I shrinked map last Saturday, but looks like no one has noticed :P
aldobr wrote:Map format has no support to know if the node was created by mapgen or by user, so, i think it is very dangereous to be used...
We need a modified map file format (sqlite schema) that stores info about chunk modification. A simple flag to be stored into the database allowing to detect if a chunk was merely created by the mapgen without being changed or if it was changed by some player. THEN we can have that kind of application.
lag01 wrote:... of course, someone can build house from dirt or stone, and without torches and single cobble block...
Users browsing this forum: No registered users and 6 guests