I'm using minetest 0.4.16, when I do something huge with worldedit I always get and "incomplete" work: I get 32x32x32 mapblocks not modified.
This image - https://www.dropbox.com/s/6zs6acdv9s8p2 ... s.png?dl=0 - for example is the result of:
/teleport 10000,0,10000
/emergeblocks (9500,500,9500) (10500,-500,10500)
//cylinder y 100 200 air
as you can see there are two problems:
- 32x32x32 mapblocks not overwritten with air
- most of the blocks not near the cylinder border and with y > 32 are still here (look at the minimap)
Is there's a sort of mapblock cache or mapblocks are being regenerated after the worldedit operation, or if there's a problem with worldedit and huge modifications (but I don't know why, it simply write to map).
any idea?
WorldEdit huge mods and Mapgen v7
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: WorldEdit huge mods and Mapgen v7
'Huge' is the problem. WE uses a lua voxel manipulator which will fail for very large processed volumes (and will use huge amounts of RAM too).
Re: WorldEdit huge mods and Mapgen v7
I'm using LuaJIT 2.1.0-beta3 hoping it would be better, but I guess I was wrong.
So, correct me if I'm wrong:
- worldedit send 3 millions changes to the voxel manipulator in one "transaction"
- voxel manipulator starts doing his job
- voxel manipulator silently fail (no error show in log)
- worldedit says "done"
- map get messed (some mapblocks changed, others not, etc)
Maybe a solution to this is to "serialize" requests, so instead of sending 3 millions block modification WE serialize it into 10 different 300000 edits, or maybe it exist an API to a more reliable voxel manipulator.
So, correct me if I'm wrong:
- worldedit send 3 millions changes to the voxel manipulator in one "transaction"
- voxel manipulator starts doing his job
- voxel manipulator silently fail (no error show in log)
- worldedit says "done"
- map get messed (some mapblocks changed, others not, etc)
Maybe a solution to this is to "serialize" requests, so instead of sending 3 millions block modification WE serialize it into 10 different 300000 edits, or maybe it exist an API to a more reliable voxel manipulator.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: WorldEdit huge mods and Mapgen v7
10 different edits is a good idea. getting a better voxel manip will be harder, as WE is already performant.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Re: WorldEdit huge mods and Mapgen v7
Yes, but the point is WE has to do it internally. I mean, a player think "a 250 nodes circle" :P
Who is online
Users browsing this forum: No registered users and 12 guests