Time Nick Message 00:17 paramat kurtzmusch the dev wiki is out of date, we have horizontal and vertical biome blending, but yes, any 1 node can only be a particular biome, inevitably. instead see https://github.com/minetest/minetest/blob/ad75dba87bb39de2c3d12b228bf113abe740c942/doc/lua_api.txt#L6443 00:18 kurtzmusch thanks, ill check it out 00:18 paramat the wiki is often very out of date, always look at lua_api.txt too, it's always up to date 00:19 kurtzmusch ok 00:20 paramat oh and biomes are dtermined by heat and humidity noises but also by the y-limits, so they are 3D 00:20 paramat *determined 00:22 kurtzmusch this is what i dont get 00:23 kurtzmusch can i have 2 biomes with same heat, and humidity, but diferent heights? 00:23 kurtzmusch wouldnt that make 2 points in the voronoi diagram -as described on the wiki- 00:25 kurtzmusch or is it like if 2 points are close enough they merge into a cell? 00:25 paramat "can i have 2 biomes with same heat, and humidity, but diferent heights?" yes 00:25 paramat i'll explain .. 00:27 BillyS I know it's possible to change the color of a node when it's placed based on the value of param2 ... is an equivalent possible for craftitems? 00:29 paramat biome selection for a node works like this: only biomes that are 'active' (according to their 'y limits') at the y coord of the node are considered in the voronoi diagram 00:32 paramat BiilyS not sure but maybe https://github.com/minetest/minetest/blob/ad75dba87bb39de2c3d12b228bf113abe740c942/doc/lua_api.txt#L650 00:38 BillyS paramat: Perfect, thanks 00:39 kurtzmusch huuun, i think i understand... 00:40 kurtzmusch is the humidity and temp 3d or constant for any height? 00:54 paramat both are 2D noises, only vary in 2D 00:54 kurtzmusch thank you very much, ill stop bethering you now = ) 00:55 paramat no prob 00:55 paramat lem 01:50 ol_foody_can-Ned what we really need, now, is to attach humidity values to the Air blocks in-game. too damp for a fire or for torches|brands to keep lit? drat! 01:51 ol_foody_can-Ned of course, if the Big Reds are giving you trouble, you may want to build your house somewhere too damp for the fires to spread. 01:53 ol_foody_can-Ned i'd only do this if you could build hygrometers 01:59 kurtzmusch there is minetest.get_humidity( pos ) 02:27 Genshin Hello 02:34 ol_foody_can-Ned oh, thanks kurtz 02:35 ol_foody_can-Ned hello Genshin 02:35 kaeza Greetings, Genshin. 02:36 Genshin It's been quite a while since I got back on IRC, how you guys been? :) 02:37 rubenwardy o/ 02:38 ol_foody_can-Ned how would you build a hygrometer? a wood stick in the middle, brass ingots all around, except for an opening on one side and a glass window somewhere? 03:01 swift110-phone__ Welcome back genshin 03:06 swift110-phone__ What is the lowest specced machine you guys are running Minetest on? 03:06 ol_foody_can-Ned g'night 04:52 kaeza swift110-phone__: an 1.5 GHz, 4-core, memory-starved Android device counts? 04:54 kaeza Apparently 2G of RAM. 05:17 * kaeza goes to sleep. o/ 05:21 cheapie swift110-phone__: As far as GPU power goes? S3 ViRGE/GX :P 07:15 Ice_Cream Hi 14:06 JDCodeIt I see a lot of chat in the MT worlds about lag - but there are many more causes than let's say server hardware. 14:07 JDCodeIt Wondering if the default settings on the client of all platforms is targeting client performance? 14:40 JDCodeIt I got a copy of the android client from F-droid 0.4.17 - and Fancy Leaves is selected by default. Maybe that should be Simple Leaves? 14:45 kurtzmusch are you experiencing lag or slow framerate? 14:46 kurtzmusch JDCodeIt 14:48 JDCodeIt It is the other players, so suspect either network packet or drawing on their client 14:49 JDCodeIt So, I think my suggestion is that one should give the best performance in the default and allow the more advanced user to increase detail if their hardware can handle it 14:52 jrmiller hello minetest, I have a problem with my server, would someone mind helping? 14:53 Calinou JDCodeIt: it's just that rendering code puts a lot of strain on Android 14:53 Calinou Irrlicht is a full-blown engine which primarily targeted desktop platforms, and not a lot of people worked on Android port 14:54 Calinou so I'd expect it to perform slowly on such platforms 14:54 jrmiller rubenwardy, are you afk 14:54 Calinou also, when it comes to default settings, either you'll get people complaining it's too slow or it's ugly :) 14:55 jrmiller someone? 14:56 jrmiller im getting some errors when i launch my server, this is a list from the debug.txt 14:56 jrmiller 2019-03-30 10:45:27: ERROR[Main]: A serialization error occurred: 14:56 jrmiller 2019-03-30 10:45:27: ERROR[Main]: ServerEnvironment::loadMeta(): EnvArgsEnd not found! 14:56 jrmiller 2019-03-30 10:45:27: ERROR[Main]: The server is probably running a different version of Minetest. 14:56 jrmiller and then it just crashes 14:56 jrmiller 2019-03-30 10:45:27: ACTION[Main]: Server: Shutting down 14:57 jrmiller is there any advice on how to fix that?????? 14:57 JDCodeIt jrmiller - you compiled from source? 14:57 jrmiller ? 14:57 JDCodeIt or did you download a binary 14:57 jrmiller I recently moved my files from an older version of minetest to 5.0.0 14:58 jrmiller I am on windows, and i just downloaded them compiled i think 14:58 jrmiller I would say that it was the version switching, but i was playing it for hours before it crashed 14:59 JDCodeIt the "5" on the server needs to match a "5" on the client - you cannot connect to a 5 server with a 0.4 client, for example 14:59 jrmiller it still could be though 14:59 jrmiller I know, it is my server, so the server and the client are both 5.0.0 14:59 jrmiller cause im hosting it from the client rn 14:59 jrmiller or i was 15:01 JDCodeIt There is a wiki article about this - https://wiki.minetest.net/Troubleshooting 15:01 jrmiller it also gave me some warnings about the player backend 15:01 jrmiller ok thanks, ill check it out 15:04 jrmiller OH My THANKS SOOOO MUCH, IT WAS THE env_meta.txt I DELETED IT LIKE IT SAID AND ITS WORKING NOW!!!! THANKS 15:05 BillyS Hmm 15:05 BillyS Is there a reference to the "original" on_use function? 15:05 BillyS In other words, the on_use function that would be called if I didn't specify on_use = function() ... in the tool def 15:06 jrmiller im sorry, i cant tell if you are asking me a question or the channel 15:06 jrmiller lol 15:07 BillyS I'm asking whoever has the answer :P 15:08 BillyS Odd ... it seems to default to nil 15:08 jrmiller oh ok 15:18 JDCodeIt The docs say this about on_use: The default functions handle regular use cases 15:30 Silizium Added gline() functionality in basic_robot on https://github.com/silizium/basic_robot on a small experimental fork of rnd's project. Feedback and bugreports welcome. 17:08 bellatrix hello! what is the way to get my current coordinates? 17:09 rubenwardy F5 17:09 bellatrix rubenwardy: omg, so easy... thank you! I've spent last hour to get it 17:10 bellatrix is there any placeholder for my current coordinates? like if i want to run command which requires coords I wanna say /command my-coords? 17:13 rubenwardy Unfortunately not 17:13 rubenwardy That would be good though 17:14 p_gimeno not in general, it depends on the command, e.g. /emergeblocks accepts 'here' and WorldEdit //pos1 and //pos2 set the position to your current position if you don't enter one 17:14 BillyS Where is the camera (in 1st person) relative to player:get_pos()? 17:16 rubenwardy BillyS: something like player:get_pos() + player:get_eye_height() 17:16 rubenwardy maybe that's a property 17:16 rubenwardy I forget 17:16 rubenwardy eye height is = 0.47 17:16 rubenwardy by default 17:16 p_gimeno 1.47 actually 17:16 BillyS https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L5596 17:16 BillyS That says it's 1.625 17:16 rubenwardy oh lol 17:16 rubenwardy it changed recently 17:17 BillyS Ah 17:17 BillyS Thanks 17:17 rubenwardy it's an object propert 17:17 rubenwardy so 17:17 rubenwardy player:get_property().eye_height 17:17 BillyS Shouldn't it be player:get_properties().eye_height? 17:17 rubenwardy oh yeah 17:17 rubenwardy lol 17:17 BillyS Thought so xD 17:17 BillyS Thanks again 17:18 BillyS Beautiful 17:19 BillyS Now that minetest.raycast is in, my guns mod is WAYYY better 17:19 rubenwardy :D 17:19 rubenwardy which one is that? 17:19 BillyS One I'm writing atm 17:19 BillyS Called "projectiles" 17:19 BillyS I intend to release it 17:19 BillyS But I've just got the frame in place rn 17:20 BillyS I have a bunch of mods I need to release actually ... it's just that I've tailored them to be specific to my servers. 17:29 BillyS Oh, ofc, ANAND already made a better one >_> 17:42 Krock nice BillyS 17:42 Krock o/ btw 17:42 BillyS o/ and thx :P 17:43 BillyS Mine is geared towards colonial warfare (pistols and long rifles) and his is more modern (fully-automatic) 18:05 benrob0329 Its almost as if a large demographic of our community like shooting things... 18:06 rubenwardy lol 18:46 p_gimeno I'm getting warnings like "active block modifiers took 211ms (longer than 200ms)" but the profiler shows nothing taking that long. Any idea why? 18:49 p_gimeno Is there a way to enable the profiler for specific mods? I know there are ABMs that aren't listed in the profiler list 19:19 Krock p_gimeno: try giving them all a name 19:19 Krock but indeed, at least the total ABM time per mod should be recordedf 19:19 Krock -f 19:20 p_gimeno ah thanks, going to try that 19:21 p_gimeno technic has 15 calls... this is gonna be fun 19:23 rubenwardy also submit a PR for the names to the mod ;) 19:25 p_gimeno I would, if it wasn't on GitHub 19:37 scr267_ rubenwardy: Any chance this mod is still useful? https://github.com/minetest-mods/privilegeareas 19:37 scr267_ I'm considering installing it. 19:40 rubenwardy I no longer maintain it 19:46 scr267_ That's what it looked like... Oh well.. thanks... :) 19:46 p_gimeno hm, nope, the required field seems to be 'label' 19:49 p_gimeno it just seems like nodes that aren't present don't trigger ABMs and that's why I can't see any... which again begs the question on why do I get those warnings if no ABM took nearly that long 20:33 Telesight Hello all .. 20:34 Telesight I try to update a server to 5.0.0 20:34 Telesight I get this fault in compilation: /home/telesight/minetest/src/script/common/c_types.h:23:10: fatal error: lua.h: No such file or directory 20:34 MinetestBot 02[git] 04HybridDog -> 03minetest/minetest_game: fire: Document flammable group, a little code cleanup 13efd0902 https://git.io/fjkBb (152019-03-30T20:33:08Z) 20:35 sfan5 Telesight: cmake args? 20:38 Telesight I did: git pull; make -j$(nproc) 20:38 Telesight What args? 20:38 GreenDimond You didnt cmake 20:41 Telesight My original install was with this: cmake . -DBUILD_CLIENT=0 -DBUILD_SERVER=1 -DRUN_IN_PLACE=1 20:42 Calinou try clearing all generated files using "git clean -dfxi" then run all CMake/make commands again 20:42 Calinou (check the list of files that will be removed before confirming) 20:42 Calinou (that's what the -i flag does) 20:48 Telesight With the normal update I only did git pull; make -j$(nproc) is the cmake necessary now? 21:06 Multi_ >:) 21:06 nri Hi MCM 21:07 nri Im mean hi Multi_ 21:08 Multi_ :P 21:08 Telesight The cmake did not solve the problem ... 21:08 Multi_ Telesight :O Oh hey. 21:08 Multi_ I played your server once 21:09 Telesight TNice ;-) 21:09 Multi_ Lol 21:09 Telesight I hope to get it running again 21:10 Multi_ Yah. Kinda what I am trying to do with my server right now. 21:10 nri Multi_ You have a server? 21:10 Multi_ Yah MultiCreative 21:10 Multi_ It is down though 21:10 nri oh ok 21:10 Multi_ Meseking used to host it but, he moved on. SO I am trying to learn to port forward so I can get it back up 21:11 Multi_ garywhite is helping me with that 21:11 Telesight Multi do you use a router? 21:12 Multi_ Yes 21:12 Multi_ I don't know the login info though 21:12 Telesight Your server is behind your router? 21:13 Multi_ I think 21:13 Telesight Think?;-) Do you own the physical machine? 21:14 Multi_ Nope 21:14 Telesight So why the portforwarding then? 21:15 Multi_ Lol. I don't even know what box is my router. My family owns like 70 wifi things and stuff 21:15 Telesight That one with the antennas ;-0 21:15 Multi_ Telesight I honestly don't know what I am doing. Learning on the way 21:15 marisag As some know, aside from hosting several Minetest servers around the world and providing hosting I also have another project called Lugdunon. Lugdunon is a sandbox RPG much like a hybrid of Final Fantasy and Minetest, and fully supports HTML5 so no client is required to play/build though you can use a dedicated mac/linux/win client for enhanced performance. You can get more information at http://lugdunon.net and https://lugdunonci 21:15 Multi_ Telesight Oh. The one that isn't a box 21:16 p_gimeno Telesight: sounds like you don't have Lua dev packages 21:16 Telesight Thanks p_gimeno for joining in ... 21:17 Multi_ Telesight I know my dad knows the login stuff but, I know if I ask him for it he is gonna ask why then I am gonna tell him and I am gonna get in trouble for doing stuff on my own that I didn't ask to do XD 21:18 Telesight I just did an update for a server with my list of commands and there was no fault ... 21:18 Multi_ Telesight Is there a way to host without port forwarding? 21:19 Telesight Multi If you place a server behind your family router I would kick you too ;-) 21:19 Multi_ hehe 21:19 Multi_ Well anyways I am gonna go 21:19 Telesight TBye 21:19 Multi_ Bye :D 21:19 nri bye 21:19 marisag Im going to have a free minetest server becoming available next week, if that helps you 21:19 p_gimeno Telesight: if it's Debian or Ubuntu or similar, the package is libluajit-5.1-dev 21:19 Multi_ Maybe meseking will return to me 21:21 Telesight libluajit-5.1-dev is already the newest version (2.1.0~beta3+dfsg-5.1). 21:21 Telesight 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 21:22 nri Is there a way to host without prot forwardin anyway? 21:22 marisag I prefer to download the offical luajit and build it myself, just two commands: "make;make install" lol No waiting for the ubuntu repo to update ;) 21:22 nri *port forwarding 21:22 marisag nri: I provide histing on a datacenter server, no port forwarding needed 21:23 marisag hosting 21:23 nri Oh really how do i do that? 21:23 p_gimeno Telesight: hm, does cmake report any problems when you run it? 21:23 marisag nri: I have a free server coming up next week i could let you have 21:24 marisag It will be on a dedicated Ubuntu server with minetest all set up 21:24 nri marisag: thanks is thier a website to go to? 21:24 nri *there 21:24 Telesight Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) 21:24 Telesight -- ncurses not found! 21:25 marisag Yes, https://minecity.com/HostSplash. Check out with the "offline" payment method and be sure and put "free for life offer" in the comment field so I know what you are wanting... 21:25 marisag Telesight: try this: 21:25 nri ok 21:26 marisag Run this Telesight: 21:26 marisag apt-get install build-essential libirrlicht-dev libbz2-dev libpng-dev libjpeg-de 21:26 marisag v libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopen 21:26 marisag al-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev 21:26 marisag doxygen libncurses-dev gettext 21:26 marisag Grr, that split the line up. Hold on 21:26 marisag apt-get install build-essential libirrlicht-dev libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev doxygen libncurses-dev gettext 21:26 marisag That will install all the required extensions in one command 21:27 marisag Then you can run cmake: 21:27 marisag After you install luajit do this: 21:27 nri marisag: https://minecity.com/HostSplash will not load in my browser 21:27 marisag cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE -DENABLE_CURL=TRUE -DENABLE_GETTEXT=TRUE -DENABLE_LUAJIT=TRUE 21:28 marisag nri: D'oh! I meant https://minecity.online/HostSplash 21:28 nri oh ok 21:28 p_gimeno oh yes, ENABLE_LUAJIT 21:28 marisag was my fault LOL 21:31 some_nep Hey, is there a way to overwrite permission definitions? basically i am trying to stop the creative mod from overwriting the inventory i am setting 21:32 marisag Hmm, cant help there haven't done it 21:33 nri marisag: what does long server name mean? 21:34 Telesight I still get a fault: /home/telesight/minetest/src/script/common/c_types.h:23:10: fatal error: lua.h: No such file or directory 21:34 Telesight #include "lua.h" 21:34 Telesight ^~~~~~~ 21:34 marisag Hmm.... 21:34 marisag Did you install the full luajit? 21:34 marisag download luajit from http://luajit.org/download/LuaJIT-2.0.5.zip and build it 21:34 nri ok 21:35 marisag Thats the version I use and it works fine 21:35 nri it wont open 21:35 sfan5 Telesight: have you tried disabling luajit using a cmake flag? 21:36 sfan5 also, please post a log of you running cmake and make 21:36 Telesight sfan5 No not yet 21:36 marisag what do you mean nri? 21:36 nri the link wont open 21:37 nri oh sry i got it 21:37 marisag strange, works for me 21:37 marisag hehe 21:38 nri ok so what does that file do? 21:38 marisag That is the source for luajit 21:39 marisag So you can build it yourself and install it 21:39 marisag After extracting it just do "make;make install" 21:39 nri oh i have windows 21:39 marisag Then you run your cmake and make commands 21:39 nri windows 10 21:39 marisag oh ok then I can't help you LOL 21:40 nri on minetest hosting what does Lon Server name mean? 21:41 nri *long 21:42 marisag It is just what you want it listed as. You can hover the mouse over the field name to get some explainations for the fields 21:42 marisag hi trom_ 21:43 nri marisag: after i sign up what do i have to do? 21:43 trom_ somebody here ? why print('blabla') doesn't work in lua ? 21:43 trom_ hi all ! 21:44 Krock hi. it does 21:44 marisag Nothing. I will get the server ready and let you know on the third or so of next month. Next wednesday basicly 21:44 Krock trom_: if you're using it in a mod, ensure that you're running Minetest from the terminal 21:44 Krock otherwise it won't print anything anywhere 21:44 nri oh ok thanks marisag :p 21:45 marisag NP: Glad to work with you. Hope you enjoy it :) 21:46 nri So i will will just download a file from you? 21:47 marisag ok everything looks good nri 21:47 marisag No, you will get a whole server 21:47 marisag On a server in a datacenter 21:47 Telesight Ok succes I did this: cmake . -DRUN_IN_PLACE=TRUE -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE -DENABLE_CURL=TRUE -DENABLE_GETTEXT=TRUE -DENABLE_LUAJIT=FALSE make -j$(nproc) 21:47 trom_ hmm a little misunderstand, I start local singleplayer (win10) via minetest.exe as usually 21:48 marisag looks good Telesight 21:49 nri marisag: will i have to setup a minetest game on my pc for the server? 21:49 Telesight Ok, thanks all for your help (from me and the next 300.000 players on that server;-) 21:49 marisag nope 21:49 marisag lol Telesight 21:49 nri thanks marisag! 21:50 trom_ a time ago MT4.xx print() works fine but not now 21:50 marisag sure thing nri 21:50 Krock trom_: it hasn't changed. still the same code 21:50 Telesight 10 servers to go ... ah well, tomorrow there is a day too 21:51 trom_ I'm confused 21:51 Krock trom_: in contrast to 0.4.x you now need to run Minetest in the terminal/command window or with the appropriate setting to get that output 21:52 Krock https://github.com/minetest/minetest/blob/master/builtin/settingtypes.txt#L867 21:52 p_gimeno Telesight: umm... you have technic in your servers... without LuaJIT I'm not sure it will run well 21:53 nri marisag: how will i beable to install mods? 21:54 Krock !wiki Installing Mods 21:54 MinetestBot "Mods on the 02Mod Releases forum and the 02ContentDB are verified to be safe by the community." - http://wiki.minetest.net/Installing_Mods 21:54 Krock if 5.0.0: "Content" tab in the main menu 21:54 Telesight p_gimeno I think I never installed it and the servers worked relatively well 21:55 p_gimeno um, but it was already installed 21:55 Telesight TNot used I mean 21:55 p_gimeno as long as you don't blame 5.0 in case it lags badly in comparison, everything's OK :) 21:56 marisag You will need to log into the server. If that is too much for you I think you will have trouble :/ 21:56 marisag You get full shell access on my servers 21:57 marisag And I have a unix management console for minetest to make simple changes easy 21:57 Krock ssh masterrace 21:57 marisag Ruslan1 is a customer, you can ask him how it works :) 21:59 trom_ ok I did it in console and did enableConsole true so now I see debug info only in console but want to see in game console 21:59 trom_ is it possible ? 21:59 nri ok thanks marisag 21:59 marisag no problem nri :) 22:02 p_gimeno trom_: do you mean send it to chat? 22:02 trom_ yes ) 22:02 p_gimeno are you in singleplayer? 22:03 trom_ a long time ago I did it via print() 22:03 trom_ yes single 22:04 p_gimeno then you can do something like: print = minetest.chat_send_all 22:05 trom_ in other hands we have print() workable only for os console ? 22:05 p_gimeno in most cases, yes 22:05 trom_ *sad 22:06 p_gimeno in pure Lua, print sends to stdout; some of the applications that embed Lua redefine it though 22:07 trom_ any way connect stdout into singleplayer chat ? 22:07 p_gimeno not that I know, but you can redefine print 22:09 trom_ redefine print - did you mean chage it with sendAll ? 22:09 trom_ *change 22:09 p_gimeno doing print = minetest.chat_send_all will work for single string arguments, if you want full print functionality with multiple arguments that are not necessarily strings it will require a custom function 22:10 trom_ thank you ) 22:12 trom_ but still want print() directly work with chat hmm 22:13 p_gimeno then add a line with: print = minetest.chat_send_all as I said 22:17 trom_ hmm , why devteam abandone print() from chat as it was in MT4.xx ? 22:17 p_gimeno or use this: https://notabug.org/pgimeno/Gists/src/minetest--print-to-chat/print.lua 22:18 trom_ thanks again 22:27 marisag brb 22:37 diemartin p_gimeno: that will break on nil holes. 22:37 p_gimeno diemartin: good point 22:38 p_gimeno it's not guaranteed actually, I think it will work fine in LuaJIT 22:38 diemartin See the core implementation of print somewhere in builtin/ (which, ahem, I fixed) 22:39 diemartin 22:39 Cornelia :p 22:41 diemartin #3647 22:41 ShadowBot https://github.com/minetest/minetest/issues/3647 -- builtin: Fix `print` crashing on nil "holes". by kaeza 22:42 p_gimeno fixed, thanks :) (just reload) 22:44 diemartin BTW I don't recall print ever sending chat messages. 22:46 p_gimeno me neither but I know MT since circa 0.4.13 only