Time Nick Message 02:34 ryzenda Strange! When I search the wiki for "place_schematic" there are no results. https://dev.minetest.net/index.php?search=place_schematic&title=Special%3ASearch 02:34 ryzenda I expected to find https://dev.minetest.net/minetest.place_schematic 02:36 ryzenda comparing to https://dev.minetest.net/item_drop I can find that searching for "item_drop" 02:36 ryzenda maybe because the url naming is different? 02:38 Sven_vB I guess the search doesn't work for word parts preceeded by a dot 05:46 cheapie ryzenda: It's usually a lot easier to find these things in here anyway: https://raw.githubusercontent.com/minetest/minetest/master/doc/lua_api.txt 06:35 imi hi is there a world generation which only generates air blocks? 06:40 Emerald2 singlenode mapgen 06:47 imi ok thanks :) 06:50 imi can any config variable which is usually written in minetest.conf be written into world.mt ? 07:31 imi or maybe even all of them? 10:20 Andrey01 hello 10:22 Andrey01 does 'label[]' element have 'name' parameter? If no, then how can I apply to it styling, e.g. set a font? 10:28 Andrey01 I mean set an individual style to certain element, not to any elements with that type as 'style_type[]' does 10:32 Andrey01 i.e. I need to use 'style[]' in this case 10:52 dalz Andrey01: I don't know if this is the proper way, but you could do for example `style_type[label;textcolor=red] label[...] style_type[label;textcolor=white]` 11:02 Andrey01 dalz: ok, thanks, I`ll try 11:36 unixbsd hi guys 11:37 unixbsd how to compile Minetest on Framebuffer of /dev/fb0 (linux retropie), no GL, but just GLES and sdl 1.2 12:06 celeron55 unixbsd: the build system isn't set up for that, maybe look up some hints from the android build 12:07 sfan5 does irrlicht even have fbdev support? 12:07 sfan5 either way -DENABLE_GLES=1 is what you'll definitely need 12:18 galex-713 hello 12:18 galex-713 minetests is finally quick enough to run on my computer 12:19 galex-713 it wasn’t since the arrival of lua 12:19 galex-713 but I have a question about gameplay… 12:19 galex-713 how is one supposed to learn the recipes? 12:19 galex-713 voxelands and minecraft had in-game aid that said what could be built with what 12:22 imi you can search for recipes using the unified inventory mod 12:24 galex-713 can you download mods from the game? or must one use a browser to do that? 12:44 imi you can 12:47 galex-713 how? 12:47 MTDiscord <09w​war> In content section on main menu if you are asking for that 12:48 imi most probably he's asking for that. main menu, content tab, browse online content 12:48 MTDiscord <09w​war> You can download mods, texture packs and games 12:48 galex-713 I don’t see a content tab :o 12:48 MTDiscord <09w​war> What version are you using? 12:49 galex-713 0.4.17.1 12:49 galex-713 debian version 12:49 MTDiscord <09w​war> An android/IOS version? 12:49 MTDiscord <09w​war> If yes there is no content section 12:50 MTDiscord <09w​war> Not sure about the Linux/windows versions 12:50 galex-713 I don’t think debian would take anything from a proprietary OS version 12:50 galex-713 debian is gnu/linux 12:50 galex-713 commonly desktop 12:50 imi galex-713: the most up-to-date version is 5.3.0 maybe try that 12:51 MTDiscord <09w​war> Im not sure about desktops, but on phones versions you need minetest 5.0+ to have a 'content' section 12:52 galex-713 5? not 0.5? have versions gone so up recently? 12:52 MTDiscord <09w​war> 5.3 is the newest version and we got a 5.4dev 12:52 galex-713 I’m too lazy to recompile everything now… well thank you anyway, you were nice 12:53 MTDiscord <09w​war> No problem, people here were nice with me when i asked for help so i wanted to do same :D 12:53 galex-713 oh wait no 12:53 galex-713 5.3 *is* packaged for debian stable, as a backport 12:53 MTDiscord <09w​war> Im not sure about the 'debian' 12:54 galex-713 ? 12:54 MTDiscord <09w​war> The gun/linux ur using i mean 12:55 galex-713 you mean its version of minetest? 12:55 galex-713 or what would be the problem? 12:55 galex-713 oh and debian packages a bunch of mods, I didn’t notice :o 12:55 MTDiscord <09w​war> 5.3 is the latest version for now if you dont count 5.4dev 12:56 MTDiscord <09w​war> That what i know but i can't say anything ahout the devise you are using because i dont know 13:00 imi 5.3 is a version of minetest. it's the most recent 13:01 galex-713 yeah I got that 13:01 MTDiscord <09w​war> It is a version yes but i said it is the one before 5.4-dev 13:02 imi how stable is 5.4-dev? I wouldn't advise it to just about anyone the same ways I advise 5.3.0 13:02 galex-713 anyway I’ll stay into what is distributed by my distribution, so the question is not very important to me 13:03 MTDiscord <09w​war> I already meant the same but said it with a diffrent way 13:03 galex-713 I’ll get 5.4 if one day it’s packaged and I still play that day 13:03 imi good. then most probably you can just apt install minetest and you're good to go 13:03 Calinou you can use the Flatpak to get an up-to-date version 13:04 Calinou https://flathub.org/apps/details/net.minetest.Minetest 13:04 Calinou you can also build Minetest from source, which is fairly easy 13:04 galex-713 flatpak circumvent dynamical linking and hence is horribly heavy :/ I don’t have enough disk space to use that 13:05 galex-713 yeah I know it’s easy, I’m just lazy x) 13:05 galex-713 it’s purely psychological and irrationnal heh, it’s just because I’m more used to autotools than cmake, and because I know it will take time anyway 13:05 Calinou a Flatpak installation may use less space than the development setup required to build Minetest from source 13:06 imi so you'll build your own version then? 13:07 imi Calinou: unless you build everything else from the source as well (and/or you're a cpp developer anyways), because in that case the build environment is not an overhead to be counted towards your minetest installation 13:08 imi gentoo rulez 13:08 imi also lfs rulez even more 13:08 Calinou of course, I was implying that you only installed a toolchain to build Minetest and didn't remove it afterwards (like most people I know) 13:08 galex-713 imi: lfs :) 13:09 galex-713 Calinou: I have the full toolchain anyway and since it’s shared about so many things it’s not an overhead 13:09 imi oce I broke my leg, I had time to "install" lfs 13:09 galex-713 that’s why yes compiling wouldn’t be so a hassle to me, just lazy x) (but yeah to some it might be, indeed, I forgot about that) 13:09 galex-713 lol 13:09 galex-713 that’s cool 13:09 imi I'm ok having a toolchain around, that way I'm able to recompile stuff if it gets broken 13:10 imi also I'm a cpp developer 13:17 galex-713 I’ve a question about minetest 13:17 galex-713 are mods/plugin/whatever kind of extensions necessarily in lua? 13:17 galex-713 could that be C++/C? 13:18 galex-713 and also are mods necessarily programmed in lua then? (this is potentially a second question actually :o) 13:18 MTDiscord <08a​ppguru> Yes 13:20 galex-713 oh ok 13:22 galex-713 is a mob necessarily an overhead? 13:22 galex-713 or is it like not running once the game is loaded, like it just connect stuff together so then the engine takes care of it? 13:48 galex-713 also, are there efforts of network-compatibility between minetest and minecraft? 13:59 MTDiscord <04K​not Abbot> I highly doubt that, as you now require a Microsoft account in order to play Minecraft. 14:43 MTDiscord <08a​ppguru> https://github.com/luapower looks nice 15:56 Krock lmao network compatibility 15:56 Krock as if a single application's network isn't already complicated enough 16:19 rubenwardy !mod craftguide 16:19 MinetestBot rubenwardy: Crafting Guide [craftguide] by jp - https://forum.minetest.net/viewtopic.php?t=14088 - https://github.com/minetest-mods/craftguide 16:20 rubenwardy galex-713: lighter alternative to unified inventory 16:20 rubenwardy !mod i3 16:20 MinetestBot rubenwardy: Invalid search term length: 1 < len < 40 16:20 rubenwardy !mod [i3] 16:20 MinetestBot rubenwardy: There are no results for this query :( 17:14 Krock uuh. 2 is larger than 1 17:14 Krock weird 17:16 Krock !mod i3 17:16 MinetestBot json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (file "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode) 17:17 Krock wat 17:25 Krock !mod i3 17:25 MinetestBot Krock: There are no results for this query :( 17:25 Krock now I need to update the mod indexer to accept mods with the name length 2 17:30 Krock Is there a forum post, rubenwardy? I cannot find anything 17:31 rubenwardy Apparently not 17:31 Krock the indexer did not find it either (no mod name length limits there) 17:33 Krock CDB is a better way to publish mods so it's probably intended as-is 17:49 Sven_vB really is an account required now? I thought Minceraft servers could still be configured to not require authentification via MS account. 17:50 MTDiscord <04K​not Abbot> Idk about that one. 17:57 rubenwardy trivial bug fix: https://github.com/rubenwardy/minetest/commit/5e6df0e7be46afe1dbdf6406e1109a8676a22092 17:58 rubenwardy reason: this stops CDB from updating mods which have author/name set, but weren't installed from ContentDB 18:04 rubenwardy oops, wrong channel 18:10 galex-713 rubenwardy: oh thank you! 18:27 Sven_vB I'd like to quit the main menu with C-q and C-w, can I add those as a LUA mod? 18:29 MTDiscord <04o​neplustwo> don't think so, lua mods can't affect the main menu 18:33 Krock no and no 18:34 Krock THIS HERE IS LUA BY THE WAY: https://github.com/mniip/LUA 18:35 MTDiscord <04o​neplustwo> wait, so we've been using fake LUA all this time? 18:35 Krock WHENEVER THEY NEED LUA 18:35 Krock jokes aside, that version is not compatible with Minetest 18:36 MTDiscord <04o​neplustwo> you should have said, "Always has been." or something. 18:38 Krock that meme is dead since december 18:40 MTDiscord <04o​neplustwo> ideas don't die 19:40 MinetestBot 02[git] 04rubenwardy -> 03minetest/minetest: ContentDB: Ignore content not installed from ContentDB 135e6df0e https://git.io/JtTjX (152021-01-16T17:51:49Z) 20:24 Bombo hey 20:24 Bombo i notice a slight rasterizing effect while moving 20:25 Bombo on 5.3.0 (android) 20:25 Bombo in my linux pc too 20:26 Bombo hmmm like there are frames missing between two cam positions/movement 20:27 sfan5 can you be more specific what a "rasterizing effect" is? 20:36 Bombo i dont know hehe it's not smooth while i move the mouse 20:36 Bombo or move the finger 20:36 Bombo like there are frames missing 20:37 Bombo hmm 20:37 Bombo i have that in borderlands 2 20:37 MTDiscord <06F​lamore> You mean screen tearing? 20:37 Bombo no tearing 20:38 Krock and not just low FPS? 20:38 Krock if you need smooth viewing angle transitions, check the F8 (I believe) cinematic mode 20:38 Bombo 30fps on the tablet 20:39 Bombo 60fps on pc 20:40 Bombo nothing happens with f8 20:44 Bombo it's like i see the frames while moving if that makes sense ;) 20:45 Bombo maybe it's just the mouse or finger on touchpad that isn't smooth 20:45 Bombo its subtle 20:46 MTDiscord <06F​lamore> Try some other mouse? Or chunk loading might be causing the lags tbh 20:46 Calinou frame pacing issues? 20:47 Bombo it's not lags 20:47 Bombo Calinou: what's that 20:48 Bombo it's like that on my notebook too 20:48 Calinou frame pacing issues is when you have inconsistent frame times 20:48 Calinou (like, one frame takes 16 ms to render, another takes 33 ms, then the next one takes 16 ms again) 20:48 Bombo with a different mouse 20:48 Calinou that said, frame pacing is pretty good for me with Minetest 20:48 Calinou I have a high-end PC but still 20:49 Bombo not sure if it's that 20:50 MTDiscord <06F​lamore> Lag spikes in short right? 20:51 Calinou kind of, although "lag spike" is very generic and can mean very different things depending on context 20:52 kevr Bombo: can you make a recording of it, perhaps? 20:53 Bombo kevr: i'll try that tomorrow 20:54 Bombo is it possible to trigger the camera view with the keyboard? 20:54 Bombo like turn right/left 20:55 Bombo (not strafe with a d) 20:57 Bombo maybe it's the mouse resolution or finger ;) hmm 21:16 kevr Bombo: which gpu do you have on your linux system? 21:17 * kevr uses Linux and does not experience that issue at all on 5.3.0 21:17 * kevr uses an NVIDIA 1070 SC with the proprietary driver 21:18 kevr Calinou: if you're running your own server, you might want to tweak the server loading rates and caps 21:19 Calinou I know, I did that at some point 21:19 Calinou the defaults are tailored to low-end machines 21:19 Calinou (as in a lot of software out there, really) 21:19 kevr yeah, i never experienced any stutter with the defaults, however... 21:20 kevr i'm also running a server on gigabit LAN, so it's not a fair comparison 21:20 kevr if the server has a subpar connection, could be a cause 21:20 kevr (or client) 22:33 Sven_vB In the default client with default config, in the main menu, what's the key combo to quit the game? 22:33 Sven_vB v5.3.0 22:33 MTDiscord <04K​not Abbot> ESC? 22:34 Sven_vB oh! indeed. thanks! 22:34 MTDiscord <04K​not Abbot> np lul 22:34 Sven_vB I tried that earlier. must have been some kind of keyboard malfunction. 22:55 nephele Hey, I was wondering if there is a way to have friction applied to physics entites, currently for some entites i have this call: entity:set_acceleration({x=0, y= -0.8, z=0}), but it only makes them fall down, and keep the directional velocity they have 22:55 nephele setting x or y to a negative value will make them accelerate in those respective directions, not slow them down in general 22:58 nephele (well, until it hits an object, then it stops) 23:01 Sven_vB with directional velocity, do you mean horizontal movement? 23:02 Sven_vB if so, it sounds like a bug. setting their x and z velocity to 0 should stop them. maybe try a very small non-zero value to check if those params work at all? 23:02 nephele I am not setting their velocity, i am setting their acceleration 23:03 Sven_vB right, sorry. I meant acceleration, too. 23:03 nephele If i set the velocity to say 3 3 3, and the acceleration to -1 -1 -1 the items will speed off in the opposite direction after some time 23:03 nephele it won't slow down to 0 23:03 nephele setting the acceleration to 0 -0.8 0 simulates "slow" gravity 23:03 Sven_vB oooh I see. if you don't accelerate them, but they still have sideways velocity, they keep that of course. 23:04 nephele Yep 23:04 nephele i currently use the view direction for their initial velocity 23:05 Sven_vB somehow I managed to skip the word "friction" above while reading. now it makes sense. 23:06 sfan5 you could easy do such a thing yourself in on_step 23:06 Sven_vB friction would depend on what block they touch I guess. so on every movement, the block would have to check, and conditionally decelerate. 23:06 sfan5 easily* 23:06 nephele sfan5: I suppose, would this involve tracking the entities and adjusting their velocity then? 23:06 nephele In that sense i am doing a bit of the physics engines work myself :) 23:07 nephele Sven_vB: Air should also apply some friction usually 23:07 Sven_vB nephele, yes. is air not a block in Minetest? 23:08 nephele Yes, but what is the point of checking if they are inside an air block? :) 23:08 nephele they shouldn't ever be inside a solid block anyway 23:09 sfan5 local acc = self.object:get_acceleration(); self.object:set_accelection({x=math.max(0, acc.x-f.x*dtime), y=math.max(0, acc.y-f.y*dtime), z=math.max(0, acc.z-f.z*dtime)}) 23:09 sfan5 ^ this is what you want isn't it? 23:09 sfan5 uh or maybe that should be velocity(??) 23:09 sfan5 if you also want it to stop on collisions you can just add that if you're modifying vel or acc anyway 23:10 nephele The game already does this 23:10 nephele stop on collisions i mean 23:10 nephele it should be velocity indeed 23:10 sfan5 yes but that doesn't reset the acceleration they way you'd want it to behave 23:11 sfan5 https://github.com/minetest/minetest/blob/5e6df0e7be46afe1dbdf6406e1109a8676a22092/builtin/game/item_entity.lua#L271-L279 23:11 sfan5 here's what I was thinking of regarding becoming slower without the "items will speed off in the opposite direction after some time" 23:12 nephele acceleration is absolute, what i would want api wise is probably a multiplication instead ;) 23:12 nephele as a seperate one... for the friction 23:12 nephele I'll try doing the on_step dance for now 23:18 nephele ah, i see, so in the on_step function of the item registration it should be 23:29 Sven_vB I'm trying to make a LUA mod. currently, it's just a hello world message: https://github.com/mk-pmb/minetest-mod-datenamed_chatlogs_pmb/blob/master/init.lua where should that message show up if my mod was loaded? it's neither in debug.txt nor in the console output, even though I launched minetest --verbose and joined a single player world. (and then quit) 23:30 nephele i usually use minetest.debug, did you enable that mod for the specific world you started? 23:32 Sven_vB not explicitly, that might be the problem. 23:33 Sven_vB yes that was it. 23:34 Sven_vB thanks! 23:34 Sven_vB how do I enable it (in my client) for use in server worlds? 23:39 nephele on_step works for slowdown, neat 23:42 Sven_vB now I extended my mod to detect its own path, but minetest.get_modpath gives a false-y value (probably nil), what's wrong?: https://github.com/mk-pmb/minetest-mod-datenamed_chatlogs_pmb/blob/master/init.lua 23:43 Sven_vB actually that's a conclusion already. my observation is the error(). 23:44 nephele basically all my modfiles start with local NAME = minetest.get_current_modname() 23:44 nephele ;) 23:45 nephele i hear its also possible to declare mod names in the mod.conf or something, but this seems much easier for whenever i want to move code around, or test mods side by side per version or something 23:46 Sven_vB oh nice. then I'll try that one. 23:48 MTDiscord <11J​onathon> are you trying to make a log file for each day or something? 23:49 Sven_vB yes. 23:50 MTDiscord <11J​onathon> --logfile $HOME/logs/`date +"%m%d"`.txt 23:50 MTDiscord <11J​onathon> and a cron job to restart your server every day 23:53 Sven_vB I'm trying to make my client log the chats of multiplayer games. 23:53 MTDiscord <11J​onathon> oh, a csm(client side mod)