Time Nick Message 00:07 lmat I'm running a minetest server in docker. Port 30000 is forwarded. I'm running minetest; on the same machine as the server. I put in localhost and 30000 for connection details and name "uuuu". The progress bar hangs at "Connecting to server", then it fails to connect with "Connection timed out". 00:08 lmat Sounds like a typical: you didn't set up the docker container properly. 00:08 lmat Oooohhh.... it's 30000 UDP?! 00:10 lmat Okay, set up docker to publish udp rather than tcp. Works fine now. 00:10 lmat Thanks, guys! 00:11 rubenwardy lol, glad you worked it out lmat 00:12 lmat \o/ 01:11 Copenhagen_Bram i just tossed a spear into the air in realcraft and caught it to see what would happen 01:11 Copenhagen_Bram i now have half a heart left 01:11 Copenhagen_Bram suprised pikachu face 01:11 Copenhagen_Bram realtest* 02:42 Extex I'm thinking about making a mod 02:42 Extex That adds oil 02:42 VanessaE basic_materials has oil. 02:42 Extex It's not a visible thing but it's pumped 02:43 Extex Like crude oil 02:44 Extex How would I generate a noise value stretching across the map of the oil levels of all the mao 02:45 VanessaE I suppose most people would use some kind of perlin noise. 02:48 Extex Does minetest have a builtin way to create perlin noise? 02:50 VanessaE yes but I don't remember the API calls offhand 02:51 Extex Found it! 02:52 Extex minetest.get_perlin(seeddiff, octaves, persistence, scale) 02:52 Extex But I have no idea how to use it XD 03:14 tf2ftw VanessaE, where can I find plantline_i18n ? 03:14 tf2ftw * plantlife 03:14 VanessaE that's probably outdated now. 03:14 tf2ftw should i not use vines? 03:15 VanessaE I don't remember :P 03:15 VanessaE but, the modpack as a whole is already self-contained 03:15 VanessaE you shouldn't need anything extra besides biome_Lib 03:16 tf2ftw I'm confused by that. I've been moving the individual mods from the modpack into the mods folder. Is there a way to keep them in the modpack but still have them picked up in world.mt? 03:16 VanessaE you just put the modpack in there in whole. 03:17 VanessaE and configure your world like normal 03:17 tf2ftw got it/ 03:17 tf2ftw thanks 03:19 tf2ftw does this room have a preference in paste websites? 03:20 VanessaE not really. 03:20 VanessaE though it's a good idea to use one which has syntax highlighting, if you're sharing code 03:21 VanessaE (I usually use pastebin.com, or if I need wide lines, pastebin.ubuntu.com) 03:23 tf2ftw VanessaE, I unzipped the plantlife modpack into my mods folder. here are the warnings I'm getting 03:23 tf2ftw https://privatebin.net/?b3ac62e504d396b5#D8ja7iT6rMvbViTVx4VQZ7ybF4tGxNaRxNF8rijp5J55 03:23 VanessaE 2020-04-06 03:18:53: WARNING[Main]: Will not load: /root/.minetest/mods/plantlife_modpack/along_shore 03:23 VanessaE 2020-04-06 03:18:53: WARNING[Main]: Overridden by: /root/.minetest/mods/along_shore 03:23 VanessaE etc. 03:24 VanessaE obviously you forgot to delete the "individual" copies you were making before. 03:24 VanessaE fix that first :) 03:25 tf2ftw ah you're right. sleepy. thanks 03:29 tf2ftw is there any purpose in repairing tools like pickaxe? 03:32 tf2ftw I'm also wondering if there is a recommended mod for keeping a level indicator on the character. 03:53 jc193232002 hello 04:06 Edgy1 im helping someone with minetest 5.2 and he gets this error when trying to migrate to postgresql: "An unhandled exception occurred: PostgreSQL database error: FATAL: role "SVR_MT" does not exist" 04:06 Edgy1 I don't understand what that means 04:08 Edgy1 oh nvm, SVR_MT is what he set for a username. read it wrong 04:11 Edgy1 figured it out. i didnt realize thats what he set 06:55 jc193232002 hey yall just created my first server but there is no world generated and the screen is just black, any solutions? 11:30 bernhard16 hello, i use 5.2.0 with whynot-game, when i start a local multiplayer with savegame i get the following error: virtual void* ServerThread::run(): A fatal error occurred: Couldn't save env meta - do you have any suggestions? 11:32 bernhard16 im on linuxmint 11:33 sfan5 is the world folder accidentally marked as read-only? 11:33 sfan5 other than that I don't think there can be another reason for this error 11:36 bernhard16 thanks, that helps i think, i messed it up because the kids-account is not admin and now the kids are not owner anymore... will try to fix and tell you then 11:57 bernhard16 changing ownership of the world-folder helped, now it works, god am i happy now, would haved hated to tell the kids i broke their game, have a nice day and ty for the fast help 13:18 MinetestBot 02[git] 04An0n3m0us -> 03minetest/minetest_game: Sort items into correct categories (#2612) 1305fad37 https://git.io/JvNNt (152020-04-06T13:15:50Z) 13:21 MinetestBot 02[git] 04An0n3m0us -> 03minetest/minetest_game: Transform brick top texture to align bricks correctly (#2607) 137fc7fa4 https://git.io/JvNN8 (152020-04-06T13:19:52Z) 13:22 rubenwardy Wuzzy: would you be willing to change your mod update policy to include feature freezes? It would be very helpful to have you update your mods during feature freeze, where you can complain about any weirdness or problems you find in your many mods 13:22 rubenwardy applies to everyone 13:23 MinetestBot 02[git] 04MoNTE48 -> 03minetest/minetest_game: Enable player animation when Right Click (#2622) 137d230fd https://git.io/JvNNE (152020-04-06T13:22:08Z) 13:23 Wuzzy hmmmm i dont think have found a problem so far that relates to my mods 13:24 rubenwardy it's not impossible 13:24 Wuzzy the only true bug so far is the crashing with mobs reported by sfan5, but this was totally 13:24 Wuzzy my fault 13:24 Wuzzy because i used an objectref at a time when i was not allowed to 13:24 Wuzzy i was just lucky it didnt crash in earlier versions 13:24 sfan5 not everyone holds that opinion 13:25 sfan5 using objectrefs after removal worked just fine before and I don't think it could segfault either (that was with players only) 13:25 Wuzzy doing stuff with dead objectrefs is a bug anyway 13:25 Wuzzy no matter if mt crashes or not 13:25 rubenwardy two things this release were "fixed" when there weren't even issues reported - objectrefs and get_content_id 13:26 rubenwardy you could argue that making it "safer" isn't helpful unless there are issues/bugs due to it 13:26 rubenwardy idk though, making things safer during undefined behaviour sgtm 13:27 Wuzzy whatever, i just fix my broken code, period ? 13:27 Wuzzy thankfully, most mods dont need to be touched 13:28 Wuzzy the most common update will be ephemeral sounds but thats not *really* important 13:29 rubenwardy sound_play without an explicit parameter should be deprecated, that would be nice 13:29 Wuzzy prepare for massive log spam then 13:29 rubenwardy like, without ephemeral specified as true or false 13:29 sfan5 it's really not that important 13:29 Wuzzy i still added it to all my mods 13:29 Wuzzy i just need to release them, but thats painful 13:30 Wuzzy because I need to update the forum post ... ? 13:31 Wuzzy rubenwardy: what do you mean with the get_content_id fix? 13:31 rubenwardy get_content_id throws an error instead of returning ignore if the node doesn't exist 13:33 rubenwardy get_content_id on an unregistered node is usually a bug that can cause obscure errors messages later on 13:34 sfan5 Wuzzy: how come https://github.com/minetest/minetest/pull/9302 exists when MTG jungle grass isn't even stackable? 13:34 Wuzzy how annoying 13:34 sfan5 or is your grass just so tall? 13:34 Wuzzy sigh. not everything revolves around MTG 13:35 sfan5 no of course 13:35 Wuzzy the plantlike drawtype is not only used for plants like grass 13:35 sfan5 but I'd like to know the situation in which this is problem for you 13:35 Wuzzy its one of the bugs i found in testing with devtest 13:36 rubenwardy what draw type is papyrus? 13:37 Wuzzy oh crap 13:37 sfan5 the papyrus texture is not higher than the node, though 13:37 Wuzzy congratulations, you have just killed a PR! ? 13:38 Wuzzy yes it would break papyrus 13:38 sfan5 https://a.uguu.se/01BpwtjwowEm_.png oh you're right, it creates gaps 13:39 Wuzzy hmmmm 13:39 rubenwardy hmmmm is no longer here :'( 13:39 Wuzzy maybe i can make it so that it only applies if visual_scale > 1 13:40 Wuzzy btw, firelike is also not only used for fire 13:40 Wuzzy as it turns out, its also incredibly useful for plants 13:40 Wuzzy example: Aotearoa 13:42 Wuzzy sfan5: do you see any problem if I keep the PR's code, but use it only if visual_scale > 1 13:43 sfan5 maybe 13:43 sfan5 is there any reason someone would like to use visual_scale>1 and have textures overlap perfectly? 13:45 Wuzzy hmm no idea 13:45 Wuzzy you mean, overlap perfectly, as in, no rotation? 13:45 Wuzzy my strategy to fix z-fighting is wrong anyway 13:46 Wuzzy the truly correct way to fix z-fighting is different. Irrlicht provides a way iirc 13:46 Wuzzy its always a bad idea to fix z-fighting by applying offset or rotation, unless that's intended anyway 13:49 Wuzzy argh. i think my alternative solution won't work as well 13:49 Wuzzy wait. or maybe it will... i need to play around with this... 13:50 Wuzzy sfan5: so you're basically aying i shouldnt touch plantlike for now? 13:50 sfan5 that might be better for now, yes 13:50 Wuzzy its better we figure out the correct way to fix z-fight then 13:50 Wuzzy because the bug is still technically there :/ 13:51 Wuzzy btw, did you look at DevTest so far? 13:51 sfan5 no 13:51 Wuzzy ? 13:52 Wuzzy in like all my new bug reports it now appears haha 13:52 Wuzzy anyway, i hope DevTest will make it into official one day... 13:52 Wuzzy the old [minimal] is horribly outdated 13:53 Wuzzy oh this reminds me. i should probably update the PR, now that 5.2.0 is out 13:59 rubenwardy I'll look at devtest soon 13:59 sfan5 look at my PRs first :^) 14:01 Wuzzy ? 14:02 Wuzzy DPI scaling for windows? 14:02 Wuzzy ooohhh 14:02 Wuzzy So ... this is the reason why so many people complained about hudbars being misplaced... 14:03 Wuzzy rubenwardy: note i will soon make a force-push to devtest 14:03 Wuzzy (to the PR) 14:03 rubenwardy well, I'm at work so won't be checking it out quite yet 14:07 MinetestBot 02[git] 04dcbrwn -> 03minetest/minetest: Add tone mapping for entities (#9521) 13661b4a1 https://git.io/JvNAj (152020-04-06T14:06:40Z) 14:07 MinetestBot 02[git] 04wt -> 03minetest/minetest: Add allowed_mapgens option in game.conf. (#9263) 13f91124a https://git.io/JvNxe (152020-04-06T14:06:16Z) 14:07 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Some minor Lua API documentation clarifications (#9461) 13faedde0 https://git.io/JvNxv (152020-04-06T14:05:27Z) 14:55 MinetestBot 02[git] 04rubenwardy -> 03minetest/minetest: Clarify use of minetest.request_insecure_environment() (#9597) 13143a37e https://git.io/JvNhf (152020-04-06T14:54:27Z) 14:55 MinetestBot 02[git] 04Calinou -> 03minetest/minetest: Allow relative directories for `screenshot_path`, tweak default path … 13f45ba78 https://git.io/JvNhJ (152020-04-06T14:54:12Z) 15:13 sfan5 so uh 15:13 sfan5 who is responsible for https://flathub.org/apps/details/net.minetest.Minetest and why is it still at 5.1.0? 15:19 est31 sfan5: flatpak upstream developers 15:20 est31 https://github.com/flathub/net.minetest.Minetest/pulls?q=is%3Apr+is%3Aclosed 15:20 est31 apparently Calinou made the last update 15:20 sfan5 ah, interesting 15:26 lmat When I joined my server for the first time, I was placed into a world. Where did this world come from? When was it generated? How can I generate another one (with a different generator?)? 15:35 sfan5 it was generated the instant you joined the world, to generate a different looking one you can delete the world folder and start again 15:52 lmat sfan5: Thanks! How do I choose which generator to use? 15:52 sfan5 the mg_name setting 15:53 lmat sweet. And a server can only host one world, right? 15:53 sfan5 yes 15:53 sfan5 but a single computer can obviously run multiple instances of minetest, if that's what you're thinking 15:53 lmat And I can choose which game to play in that world? 15:53 sfan5 yes 15:53 lmat sfan5: Understood. I would put each world on a different port and instance of minetestserver, right? 15:53 sfan5 yes 15:54 lmat sfan5: What's the best game? 15:54 sfan5 that's a very subjective question 15:55 sfan5 but I'd suggest starting with minetest_game and adding a few mods (https://www.minetest.net/customize/#mods) so the world isn't as empty 15:55 rubenwardy I recommend these mods: https://gitlab.com/rubenwardy/dev_plays_minetest 15:55 lmat sfan5: These will be world-generation mods? So mods that I need to have installed before generating the world? 15:56 sfan5 no you can add them fine at any point in time 15:56 sfan5 of course if a mod adds e.g. a new ore, you may have to explore a new part of your world to actually find them 15:56 lmat sfan5: okay. It looks like lots of objects. So they make it possible to create new stuff that isn't in the base game? 15:56 lmat sfan5: ooohhh, okay 15:56 sfan5 yes 15:57 lmat rubenwardy: Whoa, this is a sub-module-rich git repo? 15:57 lmat sfan5: u da man. 15:57 rubenwardy yeah 16:01 lmat So in general, minetest worlds are spawned as they're explored? And the map generator generates blocks on the fly? 16:01 rubenwardy yes 16:02 lmat (I did select * from blocks; in the world. interesting. There are 16,000 blocks.) 16:02 rubenwardy the map generator makes 80x80x80 nodes, 5x5x5 map blocks at a time 16:02 rubenwardy by defualt 16:05 lmat sweet 16:43 Calinou yay, my PR was merged 18:25 jonadab Does lua's string concatenation operator really only work with literals, or am I doing something else wrong? If I try to do anything like foo = bar .. "x", I always get an error, like "attempt to concatenate global", "attempt to concatenate local", etc. 18:26 rubenwardy are they declared? 18:26 rubenwardy they do work with variables 18:26 jonadab That doesn't seem to make any difference. 18:26 jonadab Undeclared, declared, I get the error. 18:26 rubenwardy sounds like the variables aren't declared in thatscope 18:26 rubenwardy please give a reproducable example 18:26 jonadab Hang on, let me pastebin my file. 18:26 DS-minetest try local a = "a" local b = a .. "b" 18:30 jonadab See line 61 here: http://jonadab.jumpingcrab.com/pastebin/1156.txt 18:30 jonadab I am getting ERROR[Main]: /usr/share/games/minetest/mods/coloredsand/init.lua:61: attempt to concatenate local 'dyename' (a table value) 18:30 jonadab local hrprefix is just above the conditional 18:31 * DS-minetest would like not to have to count more than 10 lines 18:31 rubenwardy you can't concatenate a table 18:31 rubenwardy perhaps you meant diename[1] 18:31 rubenwardy also, your for loop doesn't work 18:31 rubenwardy the dyeid will be 1,2,3,4 18:31 jonadab Oh. OH. 18:32 jonadab I was misunderstanding how pairs works then. 18:32 rubenwardy pairs iterates over keys and values. The keys are numerical when a table acts like an array 18:32 jonadab Riiight. THAT makes sense. 18:32 rubenwardy you could change `dyes` to a key-value rather than an array of {key,value} 18:32 rubenwardy if the order doesn't matter 18:33 DS-minetest and if there are no duplicates 18:33 rubenwardy like, local dyes = { white = "White" } 18:33 rubenwardy ids should be globally unique 18:33 rubenwardy if it is actually an id 18:33 DS-minetest like, {white = "White", white = "calcium"} 18:34 jonadab What I really want is to use dye.dyes, but I had set that to one side until I get something basically working. 18:34 jonadab Because new language. 18:34 DS-minetest did you add dye to your dependencies? 18:35 jonadab Ah. No, I did not. I will have to look up how to do dependencies. 18:35 rubenwardy ~book getting 18:35 rubenwardy !book getting 18:35 MinetestBot rubenwardy: Getting Started - https://rubenwardy.com/minetest_modding_book//en/basics/getting_started.html 18:36 jonadab It's been so long since I learned a new language. Even C doesn't really count, because I'd worked with C before. And before that, the last one I learned was Perl, in, like, 1999. 18:36 DS-minetest and to iterate through dye.dyes, you could do for _, dye_pair in ipairs(dye.dyes) do local name1_thingy, name2_thingy = unpack(dye_pair) ... end 18:36 jonadab Oh, a resource specifically about modding Minetest, that will definitely come in handy. 18:36 DS-minetest !doc jonadab 18:37 DS-minetest !help 18:37 MinetestBot https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md 18:37 rubenwardy !api jonadab 18:37 MinetestBot jonadab, someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 18:37 rubenwardy !rtfm DS-minetest 18:37 MinetestBot DS-minetest, someone thinks you should read the manual. The development wiki is at http://dev.minetest.net, the regular wiki is at http://wiki.minetest.net. 18:37 DS-minetest mhm 18:37 DS-minetest !api is what I wanted to use 18:38 * jonadab wanders off to fix his code. 18:38 rubenwardy !api ShadowBot: help 18:38 MinetestBot ShadowBot: help, someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 18:38 rubenwardy disappoint 18:38 DS-minetest ~help 18:38 ShadowBot DS-minetest: help [] [] 18:38 rubenwardy ShadowBot: help 18:38 ShadowBot rubenwardy: help [] [] 18:39 rubenwardy :'( 18:39 DS-minetest ~help ShadowBot 18:39 ShadowBot DS-minetest: Error: There is no command "shadowbot". 18:39 rubenwardy !api ChanServ: help 18:39 MinetestBot ChanServ: help, someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 18:39 rubenwardy I give up 18:39 Extex What is it supposed to do? 18:39 DS-minetest maybe, you have to tell them in privae 18:39 DS-minetest private* 18:39 rubenwardy I was trying to get MTB to trigger another bot 18:40 DS-minetest yep 18:40 DS-minetest ah 18:40 sfan5 that has been fixed years ago 18:40 rubenwardy It would be cool if you could construct a message like !api !say !api !say !api !say 18:40 jonadab Ah, I see. mod.conf has dependencies listed. 18:40 scr267 Anyone know how far back rollback will keep data? 18:41 sfan5 forever, by default 18:41 VanessaE forever. 18:41 sfan5 in fact you can't change this 18:41 scr267 I didn't notice an option to change that 18:41 rubenwardy !rainbow forever 18:41 MinetestBot 4fo7re8ve3r 18:41 scr267 oh LOL 18:41 scr267 ok 18:41 VanessaE even into hundreds of gigs of log file 18:41 scr267 Thanks 18:41 scr267 Guess I'm doomed to run out of disk space then :-/ 18:41 rubenwardy can you merge rollback databases? 18:42 rubenwardy if that's possible, you could do log rotation 18:42 rubenwardy I doubt rollback would be naive enough to store individual actions :D 18:42 rubenwardy actually, hm 18:42 VanessaE it is. 18:42 VanessaE it stores every. single. loggable. action. 18:42 DS-minetest !pil jonadab 18:42 MinetestBot jonadab, someone thinks you need to brush up on or learn Lua, please go to: http://lua.org/pil/ 18:42 VanessaE (even technic machines) 18:43 rubenwardy yeah, I guess you can combine actions nicely but that wouldn't effect across multiple rollback dbs 18:43 scr267 OUCH 18:43 scr267 technic machines? 18:43 VanessaE yes. 18:43 scr267 No wonder my log file is so large :-/ 18:43 rubenwardy in which case, as part of a weekly backup you could rotate rollback 18:43 VanessaE I had to nuke a 180 GB rollback log a couple days ago. 18:43 VanessaE (yes, gigs) 18:43 DS-minetest so every second for every machine that updates its meta (every one)? 18:43 rubenwardy actually, if they are mergable and have timestamps then you could just run regular SQL queries? 18:44 scr267 Is it possible to prune older entries? 18:44 rubenwardy psuedo: DELETE FROM actions WHERE create_at < datetime() 18:44 jonadab DS-minetest: I'd already found Programming in Lua, and have been looking up individual things in it, but I haven't fully absorbed it yet. 18:45 DS-minetest jonadab: http://www.lua.org/manual/5.1/ is most useful 18:45 scr267 rubenwardy, what did you mean by mergeable though? Aren't those changes written in the main DB as effects on blocks? 18:45 rubenwardy mergeable as in you can take two tables and combine them without needing to edit rows 18:46 scr267 Right... would be nice if the rollback feature was built-in to the main DB... There must be some algorithm that's more efficient than logging every action!? 18:47 scr267 Although, the rollback feature does point to who did what action at what time so... never mind 18:47 DS-minetest like this? select * from logs_in_2019 unit logs_in_2020 18:47 DS-minetest s/unit/union/ 18:48 rubenwardy sure I guess 18:48 rubenwardy but at that point, you may as well run a delete based on the creation date or index 18:48 DS-minetest wouldn't it be possible to keep the databases log file? 18:48 rubenwardy ..? 18:49 rubenwardy the problem is the size of the database, I don't see why that would be necessary 18:49 DS-minetest sqlite uses a WAL and deletes it when it applies the entries, but the log file could be kept 18:49 rubenwardy how does that help with file size? 18:50 DS-minetest it would only store changes to the database, hence real changes, and minetest would implement less stuff on its own that's done anyways 18:51 rubenwardy rollback provides per-player granuarity 18:51 DS-minetest oh 18:51 rubenwardy you can revert all changes to the world that a player made 18:51 rubenwardy I assume that it only does this if no other player modified that position since 18:52 scr267 I was just going to ask that 18:52 rubenwardy in which case, there may not be a need for a date or ID column in the db, which makes deleting impossible 18:52 DS-minetest with some more complex mods, this might cause huge problems 18:52 scr267 what would the effect be if multiple players modified the same things and you want to put things back to a specific point 18:58 jonadab Woot. You guys are awesome. I now have something that actually works. It doesn't do everything I want, but now I can work on individual features one at a time and test each change. 18:58 * jonadab does a happy dance. 18:58 rubenwardy !next 18:58 MinetestBot Another satisfied customer. Next! 19:05 * Seirdy keeps refreshing flatpak repos to see when minetest flathub gon update 19:10 DS-minetest ~brainfuck "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++++++++++++++++++.<.+++++.---------.+++++++++++++++.---------------.++++++++++++++.+.>-----------.<-----.+++++." 19:11 ShadowBot DS-minetest: Hi MinetestBot 19:11 DS-minetest aww 19:15 lmat rubenwardy: Hey, it's you! https://github.com/minetest/minetest/issues/4449#issuecomment-240362635 19:15 lmat How do I set the debug.txt location in minetestserver? 19:15 lmat I don't see it in minetest.conf 19:16 sfan5 --logfile on the command line 19:22 lmat sfan5: Thanks! 19:23 lmat "After installing the mod, start Minetest, go to the world's "Configure" menu, click "Enable All" then "Save"." Where is this configure menu? 19:23 DS-minetest in the world select menu 19:23 DS-minetest in singleplayer 19:24 DS-minetest there's a button 19:24 lmat DS-minetest: I start minetest, then click Join Game, then type in my server name and port number then connect. It starts up the game. 19:25 Krock before connect there's a button to configure the mods to load 19:25 lmat https://imgur.com/Zj6HDev.png 19:25 lmat I don't see the button... 19:25 DS-minetest go to start game 19:26 DS-minetest you want to start the server, you can't join a server that's not running 19:26 lmat DS-minetest: The server is running. 19:26 sfan5 the issue here is 19:26 DS-minetest then shut down to configure mods 19:26 sfan5 when you run and configure a minetest server on some remote machine, you can't use your local GUI to configure the mods 19:27 lmat sfan5: This makes good sense :-) 19:27 sfan5 so what you'll want to do instead if edit world.mt and change all "false"'s to "true" on the lines that say load_mod_... 19:27 lmat sfan5: sweet. 19:27 DS-minetest (you could download the world, configure in gui, and put it back) 19:27 lmat DS-minetest: :'( 19:27 Krock but start the server once to fill the world.mt contents 19:28 lmat sfan5: https://imgur.com/qecfX1F.png So I'll get some documentation about what to put in this file. Thanks! 19:28 lmat Krock: Check! 19:29 Krock yet no mods installed anywhere, from the looks of it 19:29 lmat Krock: Not yet! This is my first one. 19:29 sfan5 if you follow Krock's advice you should already have many lines that say load_mod_somename = false 19:29 lmat oh...no... I played in the world a little bit, and that's what my .mt file looks like. 19:30 lmat sfan5: Oh, but I installed my mod *after* creating the world. Maybe that's te issu. 19:30 Krock please ensure your mod is inside ~/.minetest/mods/ (server-side) 19:30 lmat s/te issu/the issue/ 19:30 Krock the tissue 19:30 lmat By the way, when I make changes to minetest.conf or this world .mt file, do I have to restart the server? 19:31 sfan5 definitely 19:31 Krock for minetest.conf always shut down the server first 19:31 lmat Thanks 19:31 Krock world.mt .. probably not, but it surely wouldn't hurt there as well 19:32 Krock I don't think Minetest writes to that file in-game so it should be safe to edit 19:33 lmat Well crap... I downloaded home decor mod, but it doesn't have init.lua (logs tell me it's missing). It looks like there are like 50 individual mods in there (with their own init.lua). I guess I Need to move them all to the "mods" directory, then add the enable string to the .mt file :-/ 19:34 Krock no 19:34 lmat \o/ tell me more! 19:34 Krock if there's a modpack.conf or modpack.txt file, it's a modpack 19:34 Krock i.e. all directories within are seen as mods 19:34 lmat Krock: Ahh, okay. I don't see such a file, but I'll look for one. 19:35 Krock so if you get an init.lua error it's probably lacking the modpack file 19:35 lmat Excellent tip, thank you! 19:36 lmat there is modpack.txt but it's empty. I probably deleted it because it's empty :-o I'll put it back! 19:36 Krock that's fine 19:36 Krock (if it's empty) 19:37 lmat Normally I would ask how I know if the modpack is up and running, but I think since I got an error and now I don't, it should be good ^_^ 19:37 orbea what's up with mods that use modpack.txt with 1 mod included? 19:37 lmat Maybe I should /giveme (I think that's right) one of the items from the modpack 19:37 lmat orbea: Future proofing of course ;-) 19:37 orbea heh 19:37 Krock modpacks aren't treated any special internally, they're just search path extensions to mods/ 19:37 Krock well.. at least not yet 19:38 sfan5 likely for convenience so that you don't have to get the name right 19:38 Krock that's for modpack.conf according to lua_api.txt 19:38 sfan5 when downloading from github users often had the problem that github would name the folder authorname-modname-456f0e1 19:38 sfan5 and then it wouldn't run because you had to rename it to "modname" 19:39 Krock or minetest-mod-fireflies-master 19:39 Krock where even git clone didn't solve it 19:39 orbea ah, i thought it only read the name in the description file, not the directory name 19:40 Krock the server does not care about the description 19:40 Krock it's only for the main menu information 19:40 DS-minetest modPACK names don't matter afaik 19:40 lmat I'm trying /giveme 'Power Crystal' and the error is "Cannot give empty item". When I /giveme Paraffin the error is "Cannot give unknown item". 19:41 sfan5 hmm hmm yes this is very user unfriendly 19:41 Krock giveme only works for items 19:41 Krock not for item descriptions 19:41 sfan5 you need to use the internal names such as default:dirt_with_grass 19:41 lmat Krock: Where do I get item names? I'm looking at https://daconcepts.com/vanessa/hobbies/minetest/homedecor-crafting-guide/basic-materials.html 19:41 sfan5 so to grab the items you need I'd suggest just using the creative inventory 19:42 Krock to show the item names on hover: client's minetest.conf: tooltip_append_itemname = true 19:42 VanessaE I should delete that page, it's horribly outdated. 19:42 Krock a wild VanessaE appeared 19:42 Krock o/ hey 19:42 lmat HEY! 19:42 VanessaE hi. 19:43 lmat /grant me creative seems to have helped. 19:43 lmat VanessaE: It's the author \o/ wowie! 19:43 lmat will you sign this? 19:43 VanessaE heh. 19:43 sfan5 VanessaE: I wondered this the other day: which map backend do you use on your servers? postgres? or leveldb? 19:43 lmat So excited to start home building \o/ 19:43 VanessaE leveldb 19:44 sfan5 interesting, I'd have expected postgres 19:44 VanessaE and the sqlite backend for player meta 19:45 sfan5 postgres has more opportunities for optimization with minetestmapper 19:45 sfan5 but I guess you use leaftest anyway 19:45 VanessaE meh, it works fine as it is :) 19:46 lmat "ERROR[Main]: The following mods could not be found: "homedecor"" from the logs. hmm 19:47 VanessaE lmat: homedecor underwent The Big Split a while back, you just need to update and "configure" your world. 19:47 lmat VanessaE: I think you mistake me for someone who knows what he's doing ^_^ 19:47 VanessaE heh 19:47 sfan5 did you put load_mod_homedecor = true in your world.mt or how did that happen? 19:48 lmat Oh, I see lots of = false in the .wt I'll adjust it! 19:48 sfan5 here's a tip to save you time sed '/^load_mod/s/false$/true/' -i world.mt 19:49 lmat sfan5: I happen to know my way inside and outside of vim ^_^ 19:49 VanessaE lmat: update your homedecor copy, then select a world, Configure, tell it to disable the whole modpack, then re-enable it. 19:49 rubenwardy if you install something multiple times, you'll get issues 19:50 lmat rubenwardy: Thanks for the heads up. I'll keep my list sorted then. 19:51 lmat unsatisfied dependencies ^_^ 19:52 Krock !wq 19:52 sfan5 what's a wq 19:52 VanessaE he thinks he 's using vi 19:52 VanessaE :P 19:52 lmat :wq is "write then quit" in vim... :wq! will force write-then-quit ? 19:52 VanessaE lmat: what deps are unsatisfied? 19:53 Krock oh, then: weöten a help how do I get out M^C :wq! 19:53 lmat VanessaE: basic materials for one. 19:53 Krock !mod basic_materials 19:53 VanessaE https://gitlab.com/VanessaE/basic_materials/ 19:53 MinetestBot Krock: Basic Materials [basic_materials] by VanessaE - https://forum.minetest.net/viewtopic.php?t=21000 19:53 VanessaE I anticipated it. ;) 19:53 Krock ninjas these days.. it's so fast 19:53 lmat Good because the minetest fora seem to be down. 19:54 sfan5 MinetestBot does great linking to the forums while they are kinda broken 19:54 sfan5 your API doesn't happen to store github links, does it Krock? 19:54 Krock no problem. wayback machine 19:54 Krock it stores git links 19:54 Krock changing this temporary now 19:54 sfan5 well I don't think you should change your api, it should just return both 19:54 sfan5 then I can change the MinetestBot module 19:57 lmat !mod unifieddyes 19:57 MinetestBot lmat: Unified Dyes [unifieddyes] by VanessaE - https://forum.minetest.net/viewtopic.php?t=2178 19:57 lmat Wasn't too hard to find the gitlab: https://gitlab.com/VanessaE/unifieddyes ^_^ 19:57 VanessaE https://gitlab.com/VanessaE/unifieddyes 19:57 VanessaE yep, you found it :P 19:59 lmat Undeclared global variable "mesecon" accessed at ....minetest/mods/homedecor/homedecor_lighting/init.lua:864 19:59 lmat and Not registering alias, item with same name is already defined: homedecor:rope_light_on_floor_off -> homedecor:rope_light_on_floor_0 19:59 lmat But that doesn't seem too bad :-) 19:59 Krock sfan5: "source" is now included in the JSON if it's one of the more often used services 19:59 VanessaE ignore them. 19:59 lmat Ooooooo, I see the amazing new things! 19:59 lmat spool of copper wire, nice. 20:00 lmat uncooked terracotta. Can't go wrong with that. 20:00 lmat Rock on VanessaE ! 20:01 lmat yes, my friends, that's a 3d printer. 20:03 sfan5 !mod worldedit 20:03 MinetestBot sfan5: WorldEdit [worldedit] by sfan5 - https://forum.minetest.net/viewtopic.php?t=572 - https://github.com/Uberi/Minetest-WorldEdit 20:03 sfan5 yep that's better 20:03 lmat weet! 20:05 MinetestBot 02[git] 04paramat -> 03minetest/minetest_game: Clarify descriptions of dry grass, dry dirt 134243d28 https://git.io/JvALo (152020-04-06T20:03:57Z) 20:07 MinetestBot 02[git] 04paramat -> 03minetest/minetest_game: Weather mod: Tune cloud density variation 13720b24e https://git.io/JvALi (152020-04-06T20:05:07Z) 20:11 VanessaE lmat: specifically, it's a depiction of a Prusa i3 MK1. :) 20:11 VanessaE (note to self: Add a Hypercube 3d printer also) 20:11 lmat Awesome ^_^ What do I do with the video game console? 20:11 MinetestBot 02[git] 04MoNTE48 -> 03minetest/minetest_game: Fire mod: Code cleanup, compress textures 1303c9aed https://git.io/JvAL9 (152020-04-06T20:09:39Z) 20:12 VanessaE most of the stuff in the "computer" component is decorative 20:12 lmat cool 20:12 VanessaE but there is a Tetris arcade game 20:12 lmat VanessaE: YEah, I think I saw that in the code ^_^ 20:16 VanessaE sfan5: is it safe to pull to HEAD on minetest_game and run that on MT 5.1.1 ? 20:18 sfan5 the only answer I can give from memory is "maybe" 20:18 VanessaE heh 20:18 VanessaE I'll just leave it where it is then :P 21:38 Extex What is the problem with the forums? 21:38 Extex Like what is actually happening to the site? 21:52 IcyDiamond Extex: <@rubenwardy> "hardware" issues with the VPS it is hosted on 21:52 Extex Oh ok 21:53 Extex How long until it's fixed? 21:54 IcyDiamond Nobody knows for certain, unfortunately 21:54 Extex ,'/ 21:59 sfan5 hmm adding this feature was a good idea https://www.youtube.com/watch?v=p7N5WAFoLLc 22:01 rubenwardy wow 22:04 DS-minetest Nice! 22:04 Extex Wow that's pretty cyool 22:04 DS-minetest what is the number? 22:04 DS-minetest and how is the distance calculated 22:04 DS-minetest ? 22:05 DS-minetest (distance player <-> cube and number for cubeapply) 22:05 sfan5 the brush isn't new by the way 22:06 sfan5 DS-minetest: the node found by raycast forms the center of a 20x20x20 cube, then //drain is called 22:06 DS-minetest isn't such a far raycast expensive? 22:07 DS-minetest ah, so number is sidelength of cube 22:07 nephele I wonder if the engine offers a way to stop the liquid simulation hmm 22:07 sfan5 well I don't notice any delay 22:08 sfan5 but if you create an item with range = 150 you do get noticable lag due to raycast 22:08 sfan5 (because the client locks up during that time) 22:09 nephele Can probably re-register liquid nodes at startup time to look like liquid but not behave like it 22:13 * DS-minetest just made a new mod https://github.com/Desour/brainfuck_chatcommand but can't create forum topic >_< 22:14 orbea any recommendations on village mods? 22:21 DS-minetest the brush wants me to add many //s 22:21 DS-minetest maybe it will eventually work 22:22 sfan5 you could use //cube with brushes before 22:26 DS-minetest the /brush command confuses me //brush //cube 1 1 1 dirt doesn't work 22:26 sfan5 drop the second // 22:27 DS-minetest ah, thanks 22:27 DS-minetest now I understand why it's saying to use //..., it wants the player to type that directly into chat 22:28 DS-minetest that's not very intuitive 22:28 sfan5 huh? where does it say what? 22:29 DS-minetest when I try to use //brush with some other command, it suggests to use // .. 22:30 sfan5 you mean this error message? https://github.com/Uberi/Minetest-WorldEdit/blob/master/worldedit_brush/init.lua#L104 22:30 DS-minetest yes 22:30 DS-minetest it could be improved 22:31 DS-minetest i.e. see if it begins with /, if so tell to drop the /s 22:31 DS-minetest (instead of suggesting ////bla) 22:32 sfan5 you are misunderstanding the entire message 22:32 sfan5 is "//" .. cmd .. " cannot be used with brushes" clearer? 22:32 DS-minetest and in the current message say something like "this command doesn't work for brushes ..." 22:32 DS-minetest yes 22:34 DS-minetest the "use: //bla" sounds like "use //bla as argument in the chatcommand you just typed" 22:34 jonadab Hmm. Most of the existing textures that I've checked, are palette-indexed. How advantageous is it to palette-index new textures? 22:35 jonadab They _work_ as 32-bit-per-pixel PNG images. 22:35 DS-minetest jonadab: you can compare the file sizes 22:35 jonadab Oh, right, the server has to send all those textures over the network to the client, doesn't it? Gotcha. 22:39 * DS-minetest wonders whether the off-by-one error is intended (eg. cubeapply with size 1 selects a cube with a sidlength of 2 nodes) 22:40 sfan5 !c math.floor(1/2), math.ceil(1/2) 22:40 MinetestBot (0, 1) 22:40 sfan5 hmm, no 22:42 DS-minetest !c 1/2 22:42 MinetestBot 0.5 22:43 DS-minetest aha, python3 makes a float here while python2 would say 0 22:45 sfan5 I just realized both "dirt with dry grass" and "dry dirt with dry grass" exist 22:46 DS-minetest but no dry dirt with grass 22:50 DS-minetest btw. sfan5 is it still possible to somehow somewhere download your oil mod? 22:52 sfan5 DS-minetest: here's whatever I had lying around as "oil1.1.2dev.zip" https://0x0.st/iud9.zip 22:52 DS-minetest oh, thanks! ^_^ 22:53 sfan5 doubt my code from 2012 will be very useful however 22:54 nephele oil mod? what should it do? :3 22:55 DS-minetest nephele: https://www.youtube.com/watch?v=ql387RhbWVE 22:57 sfan5 answer: nothing useful at all 23:00 nephele Well, maybe ideas... I have power generation via solar and coal generators already, i know roughly how buildcraft handld oil... maybe i can take some inspiration :) 23:24 Extex How does minetest.get_perlin(noiseparams) work? 23:45 Extex Hello? 23:45 Extex Does anybody know? XD 23:52 jonadab It probably uses a perlin noise function. 23:53 jonadab HTH.HAND.