Commit graph

15 commits

Author SHA1 Message Date
a3acf3b16e
Update a bunch of APi methods 2022-09-18 22:58:33 +01:00
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
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
555058b4ac
//subdivide: tweak update message display 2021-02-07 03:12:09 +00:00
a360f06138
Fix eta calculations 2021-02-07 02:45:34 +00:00
888ee04f9d
//subdivide: fix a number of other issues 2021-02-07 01:28:07 +00:00
edb80d7478
//subdivide: fix debug logging 2021-02-07 01:07:21 +00:00
122ff381f1
//subdivide: debug logging 2021-02-07 01:02:03 +00:00
ebed73fc49
//subdivide: fix emerge_area to only emerge individual chunked areas 2021-02-05 23:44:33 +00:00
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
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
d2f101e9dd
It works! 2020-10-10 22:22:53 +01:00
008519177c
//subdivide: Fix more issues, there are a few more to go 2020-10-10 21:57:19 +01:00
2ac6ea03a7
Fix some bugs, but the new //subdivide still doesn't work yet 2020-10-10 21:50:03 +01:00
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