Time Nick Message 02:05 pevernow I'm going to build a content DB mirror in China 02:07 rubenwardy good luck 02:07 rubenwardy easiest way would be to use nginx 02:07 rubenwardy use a proxy and a proxy cache 02:07 rubenwardy make the uploads have a super high timeout, and cache to disk 02:08 rubenwardy you can even preload the cache using a script 02:08 rubenwardy just make sure to proxy redirect rewrite to not bypass the cache 02:10 pevernow That 's a good ideaBut does contentdb provide synchronization scheme with other contentdb? 02:13 rubenwardy there's only one contentdb 02:13 rubenwardy uploads are guaranteed to be uniquely named 02:13 rubenwardy the API can be cached short-term 02:13 rubenwardy ContentDB does not provide a facility to download everything 02:14 rubenwardy you'll be ratelimited if you try to do that 02:15 pevernow I think I'll have to try nginx proxy first. 02:15 pevernow Thanks for your help 13:33 MTDiscord <10K​ajūto> Hey 13:46 MTDiscord <10H​exBubble> Hey, Do you need anyhelp? 14:08 dievri Hello. Is settings from mod.conf already accessible after mod loaded, or I should manually load lite mod_settings = Settings("mod.conf") and after that just user mod_settings? 14:08 rubenwardy yes, you'll need to use Settings() 14:08 rubenwardy make sure to include get_modpath 14:09 dievri rubenwardy, thanks! 14:20 MTDiscord <04o​neplustwo> why is it you can float on air if you crouch on a block then break that block and continue holding shift? 14:21 sfan5 you can't 14:27 MTDiscord <04o​neplustwo> you can 14:29 sfan5 I don't know about your settings or client source but I just opened a minetest game world and what your describe wasn't possible 14:31 MTDiscord <04o​neplustwo> you literally hold shift, and break the block underneath you 14:32 MTDiscord <11J​onathon> what game? 14:32 sfan5 I literally hold shift and break the node undearneath me, consequently I fall down 14:40 specing it's possible, but you have to be still partially standing on the neighboring block 14:46 rubenwardy what Minetest version? This used to happen in 0.4 14:48 MTDiscord <04o​neplustwo> 5.3 15:19 jas_ specing: indeed you are correct 15:22 specing Oh, I've always wondered... why the strange numbers for world limits? 15:22 specing why 30912 or so, and not 2**15? 15:25 MTDiscord <12W​arr1024> Probably safety margin 15:25 MTDiscord <12W​arr1024> The closer you get to the actual limit, the more risk there is of being able to try to see into it, or having a really fast entity sort of "quantum tunnel" into that space, and it could cause weird bugs to shake out 15:26 MTDiscord <12W​arr1024> The limit is 31000 in all directions, but I think the way it works a mapblock (or even mapchunk) needs to be within that limit to get generated. 15:26 MTDiscord <12W​arr1024> Mapchunk alignment is ... weird. 15:27 MTDiscord <12W​arr1024> I tried to make a mod to calculate what the ACTUAL map generation limits would be given the configuration, ran into all kinds of weird cases with very small limits, and ended up giving up and leaving it broken for now. 15:34 specing so, why is the limit 31000 and not 32768 15:34 specing it's a large gap 15:34 specing also, why is the limit 31000 and not 2**31? 15:40 MTDiscord <12W​arr1024> large gap is because they wanted a large safety margin 15:41 MTDiscord <12W​arr1024> 31k instead of 2G because that's the size of the integers they used for node coords 15:41 MTDiscord <12W​arr1024> probably due to either irrlicht internal limitations or concerns about storage space 15:41 MTDiscord <12W​arr1024> either way, there has been a lot of talk about raising the limits but nobody is actually doing the work necessary 15:42 MTDiscord <12W​arr1024> which, btw, is theorized to be quite a lot. 15:43 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest_game: Add icons for invisible nodes (#2718) 136605724 https://git.io/JUDQN (152020-09-30T15:41:04Z) 15:45 specing About storage: how much of the storage is consumed by chunks that were explored once and then noone returned to them? 15:45 specing could probably save a lot of chunks that were unvisited for months were just pruned away 15:45 specing could probably save a lot of space by removing* chunks that were unvisited for months were just pruned away 15:45 specing ugh that sentence 15:45 specing let's try again 15:46 specing could probably save a lot of space by removing chunks that were unvisited for months 15:47 MTDiscord <12W​arr1024> I actually have a mod that collects per-mapblock statistics, including stuff like how many times players have dug/placed nodes in them. The original idea was to be able to prune such mapblocks. I just never got around to doing the work on the pruning part. 16:05 specing W​arr1024 can you share any interesting insights? 16:06 MTDiscord <12W​arr1024> The main insight I've gained from it is the fact that I apparently often end up gathering a lot of data that I never make the time to analyze. 16:13 specing :( 16:24 MTDiscord <12W​arr1024> https://gitlab.com/sztest/szutilpack/-/tree/master/szutil_usagesurvey if you're interested. It's also on CDB as part of szutilpack. 18:29 dievri Hello. in mod.conf I have very long string in format key=value,value,value,value,value,value ..... an so on. How can I spread this on a multiple lines? 18:30 dievri btw, there is also a Discord channel of minetest? 18:33 MTDiscord <10J​ordach> https://discord.gg/6W84ytH 18:35 MTDiscord <11d​ievri> thanks! 18:49 Krock dievri: setting = """ 18:49 Krock multi 18:49 Krock line setting 18:49 Krock """ 18:49 Krock and that's documented in lua_api.txt 18:51 Krock though this will add newlines at the end of each line, hence ensure that it works properly in your case 18:51 rubenwardy depends etc ignores whitespace, and just looks for commas 18:52 rubenwardy I think that's the only comma-seperated field? 18:52 Krock mapgen flags,"initial_give_items": "Am I a joke to you?" 18:53 Krock also mod security (overall and HTTP-API) 18:54 rubenwardy ahh, I was thinking of mod.conf 18:54 rubenwardy well, they did say mod.conf 18:57 Krock oh right 18:58 Krock that part was already off-screen 21:21 clavi should I change "max_packets_per_iteration" on a server, or is 1024 fine? 21:25 sfan5 how many players? 21:26 sfan5 did you get relevant warning(s) in your log? 21:27 clavi 5 players at most, but perhaps on crappy connections 21:27 clavi had a pathological case rn with an american player on bad wifi (server is in germany) 21:27 clavi they had "WARNING[ConnectionSend]: con(16/4) Packet quota used up for peer_id=1, was 1024 pkts" in their logs 21:28 sfan5 you don't need to increase it then 21:29 sfan5 especially not if that message pops up in the *clients* log 21:30 clavi okay 21:30 clavi the server itself has a fast connection, but I can't do anything about players far away on not-so-great internet 21:31 clavi could I increase it for a LAN-only server though? and to what value? 21:31 clavi ethernet lan that is, with at least 1 gbps 21:34 sfan5 you can theoretically increase it to a very large value in a LAN but I'm pretty sure part of the reason for the limit is also to not overwhelm clients 21:35 sfan5 (very large = 10000 or 65335 if you want, doubt it makes a difference at that point) 22:26 est31 emphasis on LAN here, wifi is different 22:26 est31 it'd just try to retransmit the same huge packet over and over 22:27 est31 wait it's numbers of packets 22:27 est31 not packet sizes