Time Nick Message 02:53 erstazi quit 02:59 SwissalpS /msg erstazi try /quit :D 06:59 Swift110-mobile Hey 12:13 Andrey01 why if I use 'mesh' drawtype for a node and try to define two tiles for it from which the first is simple string name and second is an animation table, the second one won`t just be applied? 12:15 NathanS21 Your mesh probably doesn't have two materials defined, so there is no UV for the animation to be applied too. 12:18 Andrey01 hmm, and how many tiles can I use per a mesh node? As many as materials does it have? 12:18 NathanS21 I think Minetest maxes out at 6 tiles. 12:19 NathanS21 My guess would be if you have more materials than defined tiles, all the extra materials will use the list tile provided, much as how Minetest textures normal nodes. 12:20 Andrey01 and one material can have the only texture, yes? 12:21 NathanS21 Yep 12:22 Andrey01 ok, thanks, so I need just to create still a material for the second tile 13:31 tech_exorcist https://wiki.minetest.net/Mapgen 13:31 tech_exorcist "Singlenode mapgen is officially stable." 13:31 tech_exorcist actually 13:31 tech_exorcist "Singlenode mapgen is officially stable.[1]" 13:31 tech_exorcist I was expecting that "[1]" to be something like a xkcd-style "Citation needed" link 13:31 tech_exorcist :-) 13:36 tech_exorcist (just to be clear, I didn't mean to shame the developers :D) 13:55 MiniontobyPI 13:55 MiniontobyPI Hi 13:55 MiniontobyPI I though about something 13:55 MiniontobyPI look at this yt video: https://www.youtube.com/watch?v=836B1J_gkl4 13:56 MiniontobyPI it is about mc´s duplicate worlds in different seeds, 13:56 MiniontobyPI idk if this is also possible at minetest 14:16 sfan5 who knows 14:52 MTDiscord Sounds like Poincare recurrences. If these worlds really were infinite then no matter the chunk size, as long as the chunk is itself finite then any chunk with a non-zero probability (i.e. that occurs at least once) would occur an infinite number of times. 14:53 MTDiscord If the entire world is the same across two different seeds then probably what you're looking at is a hash collision. 15:25 tech_exorcist how can I make a recipe (minetest.register_craft()) return a higher-than-one amount of elements? 15:27 sfan5 output = "default:pine_wood 4", 15:27 tech_exorcist ok 15:27 tech_exorcist then I messed up something else 15:27 tech_exorcist I had already tried that 15:27 tech_exorcist thanks :D 15:28 tech_exorcist it's default:water_source, NOT default:water 15:28 tech_exorcist oops 15:53 TechDude Hello I have a quick question 15:54 TechDude so I want to register a node, do I have to register a craftitem AND a node? 15:54 TechDude Im not sure... ? 15:54 MTDiscord :thonking: 15:54 MTDiscord if you want a placeable node in the world, you jsut register a node 15:55 MTDiscord there are ways to make a craftitem place a already registered node if you need that functionality for some reason 15:56 TechDude So if I register a node, don’t need to register a craftitem? 15:56 TechDude I can directly use minetest.register_craft to register a recipie for that node? 15:57 MTDiscord yes 15:57 TechDude Ok thx 15:58 MTDiscord for example a craft item is like the ore you get when dig default:stone_with_ore, it doesnt really physically exist in the world, its just in your inv/chests/etc 17:16 Andrey01 NathanS21, I`ve defined two materials and two UV maps for that node, but the second tile doesn`t work 17:43 Andrey01 I installed newer b3d exporter for 2.8 from here: https://github.com/GreenXenith/io_scene_b3d but my model has got to look like as in closed #9013 ... 17:44 ShadowBot https://github.com/minetest/minetest/issues/9013 -- Mesh Rendering is... broken? 17:44 Andrey01 I don`t remember how I could solve that problem in that issue 17:44 NathanS21 Not sure how well that .b3d exporter supports multiple materials, as I've never used them with it. I usually do multiple materials on OBJs 17:45 NathanS21 You should assign two materials to the mesh, each on their own part of the mesh. 17:46 Andrey01 I don`t know how to assign material to specific part of mesh, just select that in Edit mode and add material? 17:47 Andrey01 and so will it be assigned? 17:48 NathanS21 yep 17:49 NathanS21 I think there is a button that you'll see in edit mode that says Assign. 17:49 Andrey01 yes, I see it 17:49 NathanS21 https://youtu.be/6PH6t47LFJE 17:50 NathanS21 If you need further visual help. 17:50 NathanS21 :) 17:50 NathanS21 Just a video I made on the subject at one point. 17:51 Andrey01 thanks 19:22 MTDiscord The b3d exporter should(tm) multiple materials. I have done it before, no reason it should be broken now. 19:26 hdjxiike Hello friends, whats new in minetest? 12,4 19:27 Krock hdjxiike: some code is new 19:34 hlqkj brother! 19:37 Krock bröther where are my lööps 20:18 tech_exorcist nice /s! now, according to the Minetest game launcher, the init.lua file of a mod I'm writing as an exercise contains invalid UTF-8 20:21 rubenwardy what's the error? 20:22 rubenwardy it's it about byte order marks? 20:22 tech_exorcist from debug.txt: "unexpected symbol near ''" 20:23 rubenwardy where is the symbol in the file? 20:23 rubenwardy It's probably fine on IRC 20:23 rubenwardy or maybe the byte value would be useful 20:23 tech_exorcist I'm trying to find it with xxd 20:24 tech_exorcist hmm 20:24 tech_exorcist it may be 0xC2 20:24 sfan5 !c '\xc2' 20:24 MinetestBot 'Â' 20:24 tech_exorcist I ended up finding it out with the `less' utility 20:25 sfan5 hm wait 20:25 rubenwardy is it at the beginnning of the file? 20:25 tech_exorcist there should be no such character in that init.lua 20:25 tech_exorcist no 20:25 sfan5 !c (b'\xc2').decode('utf-8') 20:25 MinetestBot UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 0: unexpected end of data 20:25 tech_exorcist it's around the last line 20:25 sfan5 yeah it really is invalid 20:25 tech_exorcist actually 20:25 rubenwardy perhaps resave the file 20:25 tech_exorcist it IS on the last line 20:25 tech_exorcist I tried 20:25 tech_exorcist didn't work 20:25 rubenwardy maybe also delete the last few characters and type again 20:25 tech_exorcist tried that too 20:25 tech_exorcist I'll retry 20:26 rubenwardy maybe another code editor would help? 20:26 tech_exorcist let's see 20:26 big_caballito[m] are you using windows notepad? 20:26 tech_exorcist no 20:26 tech_exorcist I usually use nano 20:26 big_caballito[m] try saving as ANSI instead of utf8? 20:26 big_caballito[m] idk 20:26 rubenwardy nano is the sort of editor that will cause this, with terminal issues 20:27 tech_exorcist wtf? 20:27 sfan5 don't think nano has a charset selection 20:27 rubenwardy I often find that it truncates lines 20:27 sfan5 if by truncates you mean it breaks them apart, that's a feature 20:27 big_caballito[m] yaeh use vim u wont have these probably 20:27 tech_exorcist I don't have vi(m) here 20:27 big_caballito[m] problem* 20:28 big_caballito[m] sfan5: like sneak glitches were a feature of minetest? lol 20:29 rubenwardy I don't mean the word wrap 20:32 big_caballito[m] I just noticed this: 20:32 big_caballito[m] > Latest version: 5.1.0 20:32 big_caballito[m] someone wanna fix the IRC heading thing? 20:34 rubenwardy interesting 20:34 rubenwardy if it synced from matrix to IRC, why not the other way around 20:36 tech_exorcist the file is 886 bytes big, and the invalid byte is indeed 0xc2, at the position 819 20:37 tech_exorcist there's also 0xb7 at 820 20:39 tech_exorcist source: a tool I wrote to check for byte values that are higher than 0x7f 21:34 tech_exorcist hmm, how do I get a player's coordinates? doc/lua_api.txt is not helping me :-( 21:34 tech_exorcist and neither is https://minetest.gitlab.io/minetest 21:37 Hawk777 I have no idea, but does “minetest.get_player_by_name(name):get_pos()” not give you what you want, assuming you have only the player’s name and not a reference to the player object already (just use “player:get_pos()” in the latter case)? I haven’t tested it, just looked at lua_api.txt and it seemed like the obvious answer. 21:37 rubenwardy that is correct 21:38 tech_exorcist ok 21:38 tech_exorcist thanks! :D 21:43 tech_exorcist "attempt to call field 'get_player_from_name' (a nil value)" 21:43 tech_exorcist func = function(player_name, param) 21:43 tech_exorcist local player = minetest.get_player_from_name(player_name) 21:43 rubenwardy by name 21:44 tech_exorcist oops 21:46 tech_exorcist now it works 21:46 tech_exorcist thanks 21:46 tech_exorcist :-) 21:46 * tech_exorcist facepalms 22:44 MTDiscord Can someone link me to sfan's 1-line Minetest Build script again please? 22:54 sfan5 https://forum.minetest.net/viewtopic.php?p=311160#p311160 23:30 MTDiscord thank you! 23:33 MTDiscord why not officially release this in the Minetest downloads page? 23:33 MTDiscord its so easy ? 23:35 MTDiscord wait... this is only for the server? 23:36 sfan5 yes 23:36 MTDiscord umm... is there one for the whole package? 23:37 sfan5 there is another one-line script by a community member for the client, you might have misremembered 23:37 sfan5 https://forum.minetest.net/viewtopic.php?f=42&t=3837 23:37 sfan5 don't think it works with the new irrlicht yet though 23:38 MTDiscord I used your script previously... It was just what I needed for my server... naw I want minetest 5.4 on ubuntu desktop, and so now it isnt what I need... I did misremember. THx. 23:39 MTDiscord yes... it crashes 23:39 MTDiscord Reading state information... Done Package libpng12-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libpng12-dev' has no installation candidate 23:40 MTDiscord well, I guess I will give the official build instructions another shot 23:40 sfan5 https://www.minetest.net/downloads/ 23:40 sfan5 the download page has some easier alternatives for 5.4.0 23:40 MTDiscord I want a portable version tho 23:40 sfan5 hm 23:40 MTDiscord Otherwise I would just use flatpack 23:40 MTDiscord but I need multiple instances, 23:49 MTDiscord so... I followed the instructions to build minetest, but it gave the error that irrlicht was not found. Ok, so I am building irrlicht inside the minetest dir. Hope that works 23:51 MTDiscord nope didnt work 23:51 MTDiscord user@user-comp:~/minetest$ cmake . -DRUN_IN_PLACE=TRUE -- *** Will build version 5.5.0-dev *** -- Could NOT find Irrlicht (missing: IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR) CMake Error at CMakeLists.txt:63 (message): Irrlicht is required to build the client, but it was not found. -- Configuring incomplete, errors occurred! See also "/home/user/minetest/CMakeFiles/CMakeOutput.log". user@user-comp:~/minetest$ make 23:51 MTDiscord -j$(nproc) make: *** No targets specified and no makefile found. Stop. user@user-comp:~/minetest$ 23:51 MTDiscord it has irrlicht all built inside the minetest folder 23:53 sfan5 cmake can't guess where irrlicht is even if it's "right there" 23:53 MTDiscord I built Irrlicht in a sibling folder and just passed -DIRRLICHT_LIBRARY= -DIRRLICHT_INCLUDE_DIR= 23:53 sfan5 ^ yeah that 23:55 MTDiscord will that make a portable version? Im worried because Im specifying a path 23:56 sfan5 it will