Time |
Nick |
Message |
09:36 |
|
PilzAdam joined #minetest-mods |
11:05 |
rmilan |
it is possible to delete map blocks with mods? to reduce map size [and regenerate] |
11:05 |
PilzAdam |
no |
11:07 |
rmilan |
then there should be commands like /build and /mining, to change player's mapfile to modify |
11:07 |
rmilan |
i mean, if i do a /build, its saved to map_build.sqlite, if mining, then map_mining.sqlite :D |
11:07 |
rmilan |
and can delete mining, when the map is big and bad, and keep the built things [and generate maybe new map with chaning seed] |
11:08 |
rmilan |
but it would be buggy without flatmap |
11:08 |
PilzAdam |
rmilan, its on the TODO list of the core devs to only save blocks if they are modified |
11:09 |
rmilan |
i know, but that would save mines also |
11:09 |
rmilan |
and i often want to delete mines because its make big holes if more player mining |
11:09 |
rmilan |
but its player specific :D |
11:09 |
PilzAdam |
you could use rollback for that, I guess |
11:09 |
rmilan |
so i could delete those nodes with script |
11:10 |
rmilan |
if that will be done |
11:10 |
rmilan |
anyway its hard to make save only diffs? |
11:10 |
rmilan |
i mean, its not only about save the modified nodes only, others will be generated all the time? |
11:10 |
rmilan |
and maybe keep in memory |
11:10 |
rmilan |
some change in code, or big? |
11:11 |
rmilan |
anyway sorry for asking here, but i wont bother dev channel :D |
11:11 |
rmilan |
i dont even know c++, just asking :D |
14:07 |
|
Wuzzy joined #minetest-mods |
15:50 |
ShadowNinja |
rmilan: Saving only modified nodes would be difficult, and it might end up taking up more space as it is pretty much a rollback log in reverse and those are known to get bigger than the map. Saving only modified blocks(chunks) would be easier to implement and should reduce the map size quite a bit. |
15:50 |
PilzAdam |
ShadowNinja, not nodes, blocks |
15:54 |
ShadowNinja |
PilzAdam: Hmmm? |
15:54 |
rmilan |
a bit? i think still much diff would be, if someone walk around when bored, its not saved |
15:54 |
ShadowNinja |
The TODO mentions both saving only nodes and saving only modified blocks. |
15:55 |
PilzAdam |
ShadowNinja, http://dev.minetest.net/Terminology |
15:55 |
ShadowNinja |
rmilan: I meant a lot. |
15:55 |
PilzAdam |
there are no plans to save single nodes |
15:55 |
* ShadowNinja |
knows the terminology. |
15:55 |
rmilan |
i saw somewhere nodes also :D |
15:56 |
ShadowNinja |
Instead of storing everything in the database, only store the changed mapblocks (or even only modified nodes?). This would save a lot of space. -- dev.minetest.net/TODO |
15:56 |
rmilan |
only store the changed mapblocks (or even only modified nodes?) |
15:57 |
rmilan |
from: http://dev.minetest.net/TODO#Store_block_differences_only |
15:57 |
rmilan |
hm, i was slow :DD |
17:00 |
|
Ritchie joined #minetest-mods |
18:04 |
|
Miner_48er joined #minetest-mods |
23:43 |
|
Wuzzy joined #minetest-mods |