Time Nick Message 02:06 aoki settl3r[m]: I've found a gian cave with big glowing things 02:06 aoki at -1300 02:29 aoki bears are scary 02:30 aoki and all I get is leather? lol 05:57 aoki I now have uranium 12:07 MinetestBot hn: Apr-18 21:01 UTC attempting to ping everyone is very rude, your problem isn't that important. Have some more patience please 12:08 hn im back. so how with this super flap mapgen in game? need to use double-node? (i know about ignore lol) 12:08 hn am i really need to pirate minecraft? (hard to play on linux tbh...) 12:11 rubenwardy Yeah, single node for custom mapgens 12:11 rubenwardy But you may be able to customise the flat mapgens 12:11 rubenwardy Checkout the options, you can turn off a lot of things like caves 12:12 hn so how to turn them off? wiki is useless... 12:15 rubenwardy The create world dialog shows a lot of options 12:16 hn you mean i need to reverse-engineer it, yes? 12:21 rubenwardy Oh, is this for a game? 12:21 hn ye 12:21 rubenwardy You can look at the names of settings, and see what world_meta is produces 12:22 hn ? how? 12:25 hn i have this : https://termbin.com/9weh 12:31 definitelya > hn:? how? 12:32 hn ? 12:33 definitelya ./home/user/minetest/doc They don't have this in Minecraft. 12:33 definitelya oops 12:33 hn well... but i already was on https://minetest.gitlab.io/minetest/games/ . its same afaik... 12:36 ROllerozxa yeah minetest.gitlab.io/minetest/ is the same as lua_api.txt except with HTML formatting 12:38 hn yeah :'D 12:39 hn so reverse-engineering only, yes? 12:41 hn ( + next time update wiki guys, it already started irriting me...) 12:41 ROllerozxa what wiki? 12:41 hn wiki.minetest.com 12:41 hn this : https://wiki.minetest.net/Map_generator_features#flat 12:41 hn this : https://wiki.minetest.net/Map_generator/settings 12:42 hn and this : https://wiki.minetest.net/Map_generator#flat 12:42 ROllerozxa compared to the rest of the wiki that looks more or less up to date :P 12:43 hn just that nothing could work with this : disallowed_mapgen_settings= 12:43 hn (from api.txt) 12:45 hn oh, and also this to update : https://dev.minetest.net/Mapgen_Parameters 12:47 ROllerozxa the dev wiki should rather be nuked 12:47 hn ikr? im just saying... 12:48 ROllerozxa anyways I just tested and `disallowed_mapgen_settings` works to disable flat mapgen settings 12:48 hn ah, not to force super-flat mapgen? 12:49 BuckarooBanzai hn: won't `allowed_mapgens = flat` work in your case or do you need a "flatter" mapgen? 12:50 hn yep... wanted to make a super flat just only to remove all "perks" from modifications and replace default nodes (except of ignore and air) to a custom one... already was thinking about double-node ... 12:51 hn and all the decorations need to go away... it wouldnt have any and all blocks'd be replaced... 12:51 hn (these from mtg) 12:51 BuckarooBanzai worst case: write a lua-mapgen that does _exactly_ what you want ;) 12:52 hn like a motherboard under your feets? 12:52 hn and pc internal parts in inventory? 12:52 ROllerozxa hn: so is `disallowed_mapgen_settings = mgflat_spflags` still not superflat enough? 12:53 hn i just want to remove decorations, hills, lakes and caves 12:53 hn :? 12:53 hn :/ 12:53 hn pemamaentyl 12:53 ROllerozxa -.- 12:53 hn *permanently 12:53 hn indeed 12:53 BuckarooBanzai did you, like, even try the proposed solutions? 12:54 hn will do, okay but i'll need to test it locally... 12:54 BuckarooBanzai what is stopping you? 12:55 hn nothing... only time to copy and make settingtypes.txt file 12:55 ROllerozxa er, game.conf 12:55 BuckarooBanzai ^ 12:55 ROllerozxa anyways `disallowed_mapgen_settings = mgflat_spflags, mg_flags` disables all of the flat mapgen's flags: https://grejer.voxelmanip.se/uploads/Screenshot_20220419_145445.png 12:56 hn okay, thk... (cause seed alreeady got removed) 12:56 BuckarooBanzai (nice domain btw:) 12:56 ROllerozxa (thank you :) 12:57 hn fine fine. but is settingtypes needed? cause i see that voxelgarden doesnt have... 12:58 ROllerozxa settingtypes.txt is for if games and mods want to add their own settings that are visible in the main menu all settings dialog 12:59 hn ? 12:59 ROllerozxa or are you thinking about a game's minetest.conf? 12:59 hn and why i still have mapgen mods (not flat ones, global) ? why seed still exists? 13:00 hn this borked still : https://cdn.discordapp.com/attachments/853010441428664340/965959683229753374/Przechwycenie_obrazu_ekranu_2022-04-19_14-58-23.png 13:01 BuckarooBanzai hn: it may help if you show your setup and folder structure 13:01 hn files? moment... 13:01 ROllerozxa well for the seed you would need to add `seed` to the disallowed mapgen settings 13:01 hn i added 13:01 ROllerozxa so it would be `disallowed_mapgen_settings = mgflat_spflags, mg_flags, seed` 13:02 hn but it doesnt work 13:02 ROllerozxa oh and make flat the only allowed mapgen 13:02 hn also did it 13:02 hn and still 13:03 hn game.conf : 13:03 hn name = electronic 13:03 hn allowed_mapgens = flat 13:03 hn disallowed_mapgen_settings = seed, mgflat_spflags 13:03 hn disabled_settings = enable_damage 13:03 hn author = hacknorris 13:03 ROllerozxa death 13:03 BuckarooBanzai ugh 13:03 aoki lol 13:03 BuckarooBanzai oh, hn == hacknorris, didn't make the connection initially :P 13:04 aoki settl3r[m]: when do you play? 13:05 ROllerozxa !tell hn disabling the seed setting is a 5.6.0-dev feature, you're on 5.5.0 stable 13:05 MinetestBot ROllerozxa: yeah, sure, whatever 13:05 BuckarooBanzai is he even on `5.5.0`? 13:06 BuckarooBanzai older clients ignore the mapgen settings to some extent iirc 13:06 ROllerozxa says 5.5.0 in the screenshot, no -dev or commit hash either 13:06 BuckarooBanzai *allowed_mapgen 13:06 BuckarooBanzai ah 14:09 coelli oi 14:10 coelli hello 16:56 fluxionary i've got yet another weird problem. i'm trying to update my "verbana" mod to support ipv6, and am running into issues in finding a way to store 128 bit values compactly. i was using lua's number type for ipv4, but that's clearly right out for v6. i can pack the values into a "bytestring", but then i potentially run into issues with comparisons w.r.t. locale. minetest *seems* to expose `os.setlocale`, but i'm not quite 16:56 fluxionary understanding the extra checks it's performing. can i use this to force the locale to 'C'? is this possibly going to have unexpected consequences for other mods? 17:02 fluxionary alternatively i could use an arbitrary precision integer library. anyone have any experience with any of those for lua? 17:06 jonadab Given that an ipv6 address isn't something you're likely to need to do a lot of math on -- mostly it's a magic cookie, i.e., a value you user verbatim as an identifier -- you could probably just treat it as an array of, say, sixteen 32-bit integers. 17:07 jonadab *use 17:07 MTDiscord Is there some compelling reason why "compactly" is an important requirement? You're going to sacrifice potentially a lot of simplicity to get that. 17:07 fluxionary i'm going to be doing a lot of comparisons on such values 17:08 fluxionary "which of a couple hundred thousand ranges does it belong to" 17:08 fluxionary using binary search, so i don't have to do a hundred thousand checks, but still 17:09 jonadab If we're talking about equality or netmask calculations, the difference between four 128-bit integers vs sixteen 32-bit ones is unimportant. (If you need to do greater-than / less-than calculations, then that's another thing.) 17:09 fluxionary i need to do gt/lt calculuations 17:09 jonadab Ah. 17:10 fluxionary packing it into a string seems plausible, but i don't know how reliable that is in minetest, or if changing the locale (1) works (2) could have consequences 17:11 jonadab In that case, yeah, might want to look for a bignum library. 17:11 jonadab Packing it into a string can be reliable for storage, but then you have to implement all the comparison stuff. 17:12 jonadab You probably don't want to have lua parsing a string like "65535" and converting it to a number, each time you do a comparison. 17:12 jonadab For performance reasons. 17:13 fluxionary lua can do string comparisons. i just need to guarantee they're compared against the 'C' locale. 17:53 sfan5 what do you need gt/lt calculations for? 17:53 sfan5 could they be replaced with a binary tree? 17:54 sfan5 also no, setting the locale does not work 17:57 fluxionary thanks sfan, that's the answer i was looking for. guess i'll just roll the dice with one of these undocumented bigint libraries on luarocks 18:02 fluxionary (i need gt/lt calculations to identify which ASN a particular IP belongs to. i've got a sorted table of disjoint boundaries, and i can use binary search to find entries relatively quickly. i could of course just create a binary (or n-ary) tree to represent the space, but i've already got the code to do it the other way) 18:04 sfan5 if your mod requires an insecure env anyway you can also write a binding to https://github.com/maxmind/libmaxminddb 18:06 fluxionary yeah, i've got enough coding to do for this project, trying to figure out which existing solutions i can make use of instead :) 18:07 fluxionary i'm not using geoip stuff either (though i've considered adding support at some point), getting my data from here http://thyme.apnic.net/current/ 18:08 fluxionary seems that already exists anyway https://luarocks.org/modules/agladysh/lua-geoip 18:10 sfan5 maxminddb as a format only (efficiently) maps IP addresses to data, ASN databases exists for it too 18:10 sfan5 s/addresses/ranges/ 18:13 fluxionary i also don't understand the restrictions of maxmind licensing w.r.t. a minetest server 18:19 fluxionary oh you're saying to store my data in that format and use the existing tools to search it. hm.. 18:21 sfan5 well I was thinking of something like this https://db-ip.com/db/download/ip-to-asn-lite 18:22 sfan5 "reduced coverage and accuracy" is pretty funny when anyone can assemble a perfectly accurate data from publicly available data 18:22 sfan5 in any case this would save you from dealing with anything of this in Lua, plus it'd be faster 18:26 MinetestBot hn: Apr-19 13:05 UTC disabling the seed setting is a 5.6.0-dev feature, you're on 5.5.0 stable 18:27 hn smol thing - someone knows how to login to lunar client without m$ account? wanted to stay on free page... 18:27 hn yk 18:28 ROllerozxa sir this is minetest IRC, we do not assist in pirating minecraft 18:29 hn bro... 18:30 MTDiscord if you want help with figuring out minetest, we can help with that. 18:31 hn not lunar? ;-; 19:08 fluxionary do people have a favorite lua "rock" for interacting with postgres? there seem to be a lot of them, and the most popular one is weird "pgmoon is a PostgreSQL client library written in pure Lua (MoonScript)." 19:24 aoki tbh it would be pretty cool if mods could add their own tables to the minetest database 19:27 hn i was thinknig about chairs and something looking like wardrobe but a chest... 19:27 hn not saying about mirror node... (to see how you look with skin while not changing cameras :'D ) 19:27 aoki there's homedecor mod? 19:28 hn or to invert player and be able to create rollercoasters. but not these for kids... this + vr glasses... best 19:29 hn anyways - little busy writing something smol outside of mc. (maybe later to use... on your gitlab and wiki... yk) 19:57 erle aoki look into mod storage 21:38 runs hi 21:38 runs hi 21:41 sfan5 hi 22:13 erle hi 22:20 MTDiscord hi 22:22 MTDiscord hi 22:28 MTDiscord hi 22:36 MTDiscord low 22:52 erle c-c-c-combo breaker 22:52 MTDiscord mfw you drop the ultra combo 23:11 Sokomine there are strange squareish black "dots" found on a server. we'd like to find out where they come from. there used to be a wireframe mode? i was hopeing that could provide some information 23:11 Sokomine but it doesn't seem to work anymore? 23:11 Sokomine the dots do not show up in a local save 23:13 v-rob[m] You need the debug privilege to use wireframe 23:13 MinetestBot v-rob[m]: Apr-14 15:36 UTC most metersticks I've seen so far are hinged, and hence not unwieldly to put into a backpack at all: https://upload.wikimedia.org/wikipedia/commons/0/03/Metre_pliant_500px.png (I don't know how common they are in the stone age window lands though) 23:13 Sokomine hmm. even with that nothing happened 23:14 Sokomine ah. was trying the wrong key :/ 23:14 Sokomine after not having the priv before and switching to a diffrent key 23:23 Sokomine sadly the wireframe doesn't reveal any information either 23:27 MTDiscord Sokomine, those are likely unloaded or ignore areas on the server casting a perfectly dark shadow 23:28 Sokomine hmm. shadow would be something diffrent? they're...squares. vertical ones 23:54 Sokomine seems they're leftovers from some signs removed via worldedit 23:54 Sokomine just in case someone else encounters them