Time Nick Message 07:10 MTDiscord <08T​woSpace> Hey 10:39 unixbsd would it be possibel to find minetest as well on the retropie, because there is only minecraft...? 10:40 erlehmann unixbsd, have you tried installing it via apt? 10:40 erlehmann retropie is debian based, is it? 10:52 unixbsd It runs very slow on the evilwm X11 environment. i guess it comes from the GL drivers... however minecraft uses SDL without Gl driver. 10:52 unixbsd *using the default driver of the pi* 11:37 MinetestBot 02[git] 04Zughy -> 03minetest/minetest: Add missing type check to InvRef:set_lists() (#10476) 13272b723 https://git.io/JTTBI (152020-10-11T11:36:13Z) 12:29 jas_ can i put and use all my server/minetest settings in the world's world.mt file, and empty/remove/stop using minetest.conf and --config ?? 12:30 sfan5 world.mt is not a replacement for minetest.conf and per-world configs are not a thing yet 12:30 sfan5 so no 12:31 jas_ thank you for the clarification. it has annoyed me before how there are redundencies and potential surprises there 12:31 jas_ :^) 17:19 _Zaizen_ Hi everyone, I'm having a bit of troubles with metadata and itemstacks. I want to add a meta to a block that I added to the inventory of the player and I do that in this way: 17:19 _Zaizen_ local stack = player:get_inventory():add_item("main", block_name) 17:19 _Zaizen_ local meta = stack:get_meta() 17:19 _Zaizen_ meta:set_string("arena", name) 17:19 _Zaizen_ And this works fine. the problem is that when I place the node I can't retrieve the metadata by doing this: 17:19 _Zaizen_ on_place = function(itemstack, placer, pointed_thing) 17:19 _Zaizen_ local meta = itemstack:get_meta() 17:19 _Zaizen_ local name = meta:get_string("arena")) 17:19 _Zaizen_ Does anyone know what am I doing wrong? 17:19 _Zaizen_ Ups, I forgot that pasting mess things up 17:19 Krock metadata is not preserved upon placing 17:19 _Zaizen_ Oh, any idea on how I could do this then? 17:20 Krock on_place 17:20 Krock -> node_meta:set_string(itemstack_meta:get_string("arena")) 17:20 Krock something like that 17:20 _Zaizen_ Ok, thanks, will try. 17:28 skyliner_369 was hoping to find a Discord server for Minetest 17:31 _Zaizen_ skyliner_369: here is the link to the UNOFFICIAL discord: https://discord.gg/Wr6eXU3 I hope they will move to something like matrix and make it official but until then we will have to stick with this. 17:33 skyliner_369 thanks! honestly I just love the cool world gen and cubic worlds. the caves are cooler too. yay perlin caves 17:44 _Zaizen_ Krock: unfortunately that solution didn't worked out. I'm placing the node with local itemstack, pos = minetest.item_place(itemstack, placer, pointed_thing) and if I try to get the meta from the returned itemstack it still doesn't find anything :/ 17:45 Krock you need to copy the fields manually 17:46 _Zaizen_ What do you mean by that? 17:46 Krock copy from itemstack to node 17:46 Krock manually 17:52 _Zaizen_ Krock: I copy the meta to the node but still doesn't seem to work. I do it in this way local itemstack, pos = minetest.item_place(itemstack, placer, pointed_thing) 17:52 _Zaizen_ local itemstack_meta = itemstack:get_meta() 17:52 _Zaizen_ local node_meta = minetest.get_meta(pos) 17:52 _Zaizen_ node_meta:set_string("arena", itemstack_meta:get_string("arena")) 17:52 _Zaizen_ If by saying "copy from itemstack to node" you mean something else, I'm sorry. 17:53 Krock pastebin pls 17:54 _Zaizen_ krock: https://pastebin.com/VYShbc5N 17:56 Krock try after_place_node for the node you're placing 17:56 Krock i.e. define the node definition field for that and use the same code 17:57 Krock IIRC on_place cannot be overwritten for nodes 17:57 Krock nvm. it should be possible to overwrite anyway 17:59 Krock VE uses on_placenode. Dunno why. https://gitlab.com/VanessaE/unifieddyes/-/blob/master/init.lua#L158-191 17:59 Krock _Zaizen_: if you're placing the last item from the stack, you have to retrieve the metadata first because empty stacks cannot have metadata 18:03 _Zaizen_ Krock: It's not the last item from the stack, also I'm in creative and the stack is never empty. Tried doing everything in after_place_node with small tweaks since it gives me the position but the metadata of the itemstack is still missing :/ PS: when I add the item to the stack I'm sure it has the meta so it's not beacause they are missing from the itemstack 18:04 Krock strange. try dumping the metadata in each step and check when it's lost 19:25 _Zaizen_ Krock: I've solved the problem. Remember the way I've told I used to set the meta? Well it seems that it doesn't work. When you print the meta directly from the meta obtained by the stack returned by the add_item the meta shows up but it is never truly assigned. To get it working I had to do like this: local stack = ItemStack(block_name) 19:25 _Zaizen_ local meta = stack:get_meta() 19:25 _Zaizen_ meta:set_string("arena", name) 19:25 _Zaizen_ player:get_inventory():set_stack("main", 1, stack) 19:26 Krock aha. 19:26 Krock yes that's the way 19:27 _Zaizen_ Yeah, but I thought I was doing it right since the print showed everything correctly TwT 19:27 _Zaizen_ Thanks for your help BTW, appreciate it Krock 19:28 Krock !next 19:28 MinetestBot Another satisfied customer. Next! 21:25 Wuzzy specing: JT2 21:26 specing ok Wuzzy 21:26 Wuzzy and recently Catlandia hehe 21:26 Wuzzy Inside The Box too but only if theres actually new levels 21:32 specing Wuzzy: ugh, my client is too new to check out JT2 21:32 Wuzzy sorry, its a 0.4.17-only server 21:32 specing Do you know of any server with noisier mapgen? 21:32 Wuzzy no 21:32 specing Like, mountain 5000 blocks high 21:33 Wuzzy i dont know the noisier mapgen. 21:33 specing and oceans 5000 deep 21:33 Wuzzy is this a new mapgen? 21:33 specing No, noisier mapgen is the usual mapgen, but parameters tuned to produce bigger biomes, mountains, deeper seas... 21:33 specing as suggested by someone here 21:35 specing It's one of the things I miss in minetest... a more varied terrain 21:35 specing I remember the Sky(?) server 5 years ago by proller 21:35 specing that one was whack iirc 21:36 MTDiscord <04L​one_Wolf> I've seen some pretty tall mountains/deep oceans in carpathian 21:36 MTDiscord <04L​one_Wolf> I might have changed some of the mapgen flags though 21:38 specing I don't understand why the defaults are so conservative 21:38 specing the y limits are +- 31k, yet pretty much everything interesting happens at y=0 +- 50 22:25 MTDiscord <11J​onathon> vineland survival uses carpathian if i recall correctly, not sure on the exact measurements tho 22:32 MTDiscord <11I​hrFussel> Vanilla v7 mapgen generates mountains that go up to Y 200 so the '0 +- 50' claim is not entirely true Also v7 caves go super deep and can be huge 23:25 jfindlay I am trying to enable this mod: https://forum.minetest.net/viewtopic.php?t=12005, but I can't get it to work either in a server or a local game 23:26 jfindlay the `minetest --info` output says it's loaded but `/grant singleplayer warp_admin` says `Unknown privilege: warp_admin` 23:26 jfindlay and I can't find the node in creative mode 23:27 jfindlay running `Minetest 5.1.1 (Linux)` 23:39 jas_ type /mods in-game and look for 'warps' to show up. https://github.com/minetest-mods/warps/blob/master/init.lua#L147 <- you should get it here 23:39 jas_ https://github.com/minetest-mods/warps/blob/master/init.lua#L239 <- here is the node name, warps:warpstone 23:47 jfindlay thanks, it's showing up in the mod list, but I can't find `warpstone` in the creative mode inventory and none of the server commands, like `/setwarp` are working 23:48 jfindlay I have gotten other mods to work, so I can debug some more I guess 23:50 jas_ look in the code, it's called, "A Warp Stone" and not "warpstone." perhaps creative mod doesn't account for it 23:51 jas_ if you cannot grant yourself the `warp_admin' priv, then i doubt the mod is fully loaded 23:53 jas_ sorry, i just tested and you are correct 23:54 jas_ something has changed over the years, perhaps it is this line: https://github.com/minetest-mods/warps/blob/master/init.lua#L150 23:54 jas_ not sure why it is happening this way, and i would like to take a look at some point -- or perhaps someone else will (sofar?) 23:54 jas_ brb 23:58 jfindlay yeah, maybe me :-) 23:59 jfindlay it's a great mod, I like the warpstone idea 23:59 jas_ me too, i have used it many times