Commit Graph

18 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
d0e59b4cd7
worldeditadditions: add core @module defs, correct comment formatting errors 2024-01-02 16:59:51 +00:00
Starbeamrainbowlabs
fd3ee43728
//subdivide: fix crash 2023-07-15 21:59:24 +01:00
Starbeamrainbowlabs
d9877b8c6c
more crash fixes 2022-09-19 19:42:22 +01:00
Starbeamrainbowlabs
a3acf3b16e
Update a bunch of APi methods 2022-09-18 22:58:33 +01:00
Starbeamrainbowlabs
db7b20d485
Refactor table functions into subtable of wea
Also, you can return a value from dofile()!!!!

This changes everything.
2021-06-28 00:56:29 +01:00
Starbeamrainbowlabs
03afd7e75c
//subdivide: comment out debug statements
....we're pretty sure what the issue is, and our server on elessar 
doesn't even emit them
2021-02-07 03:13:02 +00:00
Starbeamrainbowlabs
555058b4ac
//subdivide: tweak update message display 2021-02-07 03:12:09 +00:00
Starbeamrainbowlabs
a360f06138
Fix eta calculations 2021-02-07 02:45:34 +00:00
Starbeamrainbowlabs
888ee04f9d
//subdivide: fix a number of other issues 2021-02-07 01:28:07 +00:00
Starbeamrainbowlabs
edb80d7478
//subdivide: fix debug logging 2021-02-07 01:07:21 +00:00
Starbeamrainbowlabs
122ff381f1
//subdivide: debug logging 2021-02-07 01:02:03 +00:00
Starbeamrainbowlabs
ebed73fc49
//subdivide: fix emerge_area to only emerge individual chunked areas 2021-02-05 23:44:33 +00:00
Starbeamrainbowlabs
38e5c81d33
//subdivide: tally total times so far as we go
- Don't use wea.sum() on a table full of all the times we've recorded
   so far
 - Limit individual stats list lengths to 25 to avoid memory issues when
   running with a large number of chunks
 - Tally total times / metrics as we go to avoid memory issues
2021-02-03 03:04:33 +00:00
Starbeamrainbowlabs
25e659321a
//subdivide: reimplement count_chunks
this does the maths properly, so we'e going from O(n³) to O(1) :D

//subdivide should get started *so much faster* now :D
2021-02-03 02:25:33 +00:00
Starbeamrainbowlabs
d2f101e9dd
It works! 2020-10-10 22:22:53 +01:00
Starbeamrainbowlabs
008519177c
//subdivide: Fix more issues, there are a few more to go 2020-10-10 21:57:19 +01:00
Starbeamrainbowlabs
2ac6ea03a7
Fix some bugs, but the new //subdivide still doesn't work yet 2020-10-10 21:50:03 +01:00
Starbeamrainbowlabs
aa234595a8
Refactor //subdivide to call minetest.emerge_blocks
....whether it actually works or not is another question entirely 
though.....
2020-10-10 21:43:22 +01:00