Minetest logo

IRC log for #minetest, 2020-05-12

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:15 jas_ !server
00:15 MinetestBot jas_: 0Cool Survival (lowlag) | mine.0cool.org | Clients: 0/420, 0/2 | Version: 5.3.0-dev / survival | Ping: 158ms
00:15 jas_ ha
00:15 jas_ nice
00:21 Scarecrow joined #minetest
00:26 erlehmann joined #minetest
00:29 erlehmann joined #minetest
00:38 Seirdy joined #minetest
00:40 kaeza joined #minetest
00:45 Hawk777 joined #minetest
01:29 nephele_ joined #minetest
01:36 deltanedas joined #minetest
01:48 ANAND joined #minetest
01:52 MinetestBot [git] Wuzzy2 -> minetest/minetest: Add mapgen settings to world creation dialog (#9254) 7ec76e5 https://git.io/JflpQ (2020-05-12T01:52:52Z)
02:04 kar joined #minetest
02:25 Hawk777 joined #minetest
02:42 Extex joined #minetest
02:49 Extex joined #minetest
02:54 heavygale joined #minetest
03:12 Verticen joined #minetest
03:28 heavygale joined #minetest
04:01 illwieckz joined #minetest
04:17 fluxflux joined #minetest
04:44 calcul0n joined #minetest
05:17 DrFrankenstone_ joined #minetest
05:20 calcul0n_ joined #minetest
05:21 TomTom joined #minetest
05:26 oil_boi joined #minetest
05:35 AidanLCB joined #minetest
06:07 Flabb joined #minetest
07:04 mizux joined #minetest
07:28 oil_boi F7 no longer works to toggle 3rd/first person view?
07:37 Miniontoby joined #minetest
07:38 Miniontoby hey
07:38 Miniontoby can anyone help me?
07:39 Miniontoby I need some help
07:40 mizux_ joined #minetest
07:46 * Miniontoby needs help
07:46 Miniontoby https://forum.minetest.net/viewtopic.php?f=11&t=3905&p=372834&sid=cc638da173beeb02c98618a7cbb01a3c#p372834
07:55 deltanedas joined #minetest
08:00 ShadowNinja joined #minetest
08:02 dalz joined #minetest
08:04 AirSThib joined #minetest
08:04 AirSThib Hello
08:07 AirSThib I'm a contributor of Wikinews https://fr.wikinews.org/, and I want do an interview with to talk about the project. A principal developper if possible. Do you agree ?
08:07 * Miniontoby needs help
08:07 Miniontoby https://forum.minetest.net/viewtopic.php?f=11&t=3905&p=372834&sid=cc638da173beeb02c98618a7cbb01a3c#p372834
08:08 AirSThib what ? @Miniontoby
08:10 Miniontoby I need help with irc mod
08:18 Miniontoby is there anyone online????
08:18 Miniontoby I need help with irc mod
08:18 Miniontoby I need help with irc mod
08:19 Miniontoby check https://forum.minetest.net/viewtopic.php?f=11&t=3905&p=372834&sid=cc638da173beeb02c98618a7cbb01a3c#p372834
08:20 Miniontoby can anyone help me?
08:21 Miniontoby is there anyone who can help me with it
08:22 Miniontoby ok, no-one can help
08:23 Miniontoby what friendly
08:24 Miniontoby no-one is friendly here
08:30 Taoki joined #minetest
08:49 galex-713 joined #minetest
08:51 jas_ i just woke up, and i never used irc.. well once but it was years ago
08:57 absurb joined #minetest
09:00 AirSThib left #minetest
09:00 * Miniontoby needs help with the irc mod
09:00 galex-713 joined #minetest
09:19 Miniontoby can anyone help me?
09:28 ANAND Miniontoby: Check out https://forum.minetest.net/viewtopic.php?p=324758#p324758 and https://github.com/minetest-mods/irc/issues/29
09:29 * jas_ yawns and rubs his eyes.  you know what i love about the internet?  we're all men here
09:29 Miniontoby the thing is that there is no socket.so in my whole RPI
09:29 jas_ did you uh, apt install socket?
09:29 Miniontoby yes
09:29 jas_ well i'm out of ideas
09:30 Miniontoby wait
09:30 Miniontoby apt install I didn´t do
09:31 ANAND jas_: I *think* socket.so refers to luasocket, not the socket system lib
09:31 Miniontoby but
09:31 Miniontoby find /usr/ -name socket.so
09:31 Miniontoby says /usr/lib/arm-linux-gnueabihf/ruby/2.3.0/socket.so
09:31 Miniontoby only
09:31 Miniontoby no more ines
09:31 Miniontoby *lines
09:31 ANAND I don't think ^ is the right socket
09:31 ANAND Btw, did you install luasocket, Miniontoby
09:31 Miniontoby yes
09:32 Miniontoby with apt-get and with luarocks
09:33 Miniontoby but how to use the only line that have the socket.so in it
09:33 SwissalpS joined #minetest
09:34 ANAND I don't know much about RPI. Sorry, but I can't help you much.
09:34 Miniontoby I am working with snap
09:36 ANAND Found this: https://funprojects.blog/2019/04/20/lua-and-raspberry-pi/
09:36 ANAND > sudo apt-get install lua-socket
09:36 ANAND > sudo luarocks install luasocket
09:36 Miniontoby but if I do in lua console
09:37 Miniontoby require socket
09:37 Miniontoby it works
09:37 Miniontoby but require luasocket not
09:37 ANAND That seems to suggest misconfigured paths?
09:38 * jas_ wonders about lua versions
09:38 jas_ 5.1
09:38 Miniontoby wait
09:38 jas_ no
09:38 Miniontoby on that site
09:38 Miniontoby it says
09:38 Miniontoby local socket = require("socket")
09:38 Miniontoby not luasocket
09:39 Miniontoby and the first line of the /irc/init.lua at the irc folder it says
09:39 jas_ well i mean, it appears to be implied that it's lua there.  maybe i'm overthinking this
09:39 Miniontoby local socket = require(¨socket¨)
09:39 jas_ all i can guess is, make sure all your versions are correct, and PATHs like anand said
09:40 jas_ i wish you good luck and best wishes...
09:40 Miniontoby but socket is still error
09:40 jas_ i believe in you!! you'll get it eventually, just be patient please, or not
09:40 ANAND https://github.com/ShadowNinja/LuaIRC/blob/e49a52ede1a58ddd94854657bc5098b0ac5d0677/init.lua#L1
09:40 jas_ i'm going to get my coffee and fix some bugs, then made another stamina mod
09:41 Miniontoby yes
09:41 ANAND It says require("socket"). Might be the same as the lib on the webpage I linked to above
09:41 Miniontoby byt
09:41 Miniontoby the error says no file '/home/pi/snap/minetest/820/.minetest/mods/irc/socket/init.lua'
09:41 Miniontoby and more no files
09:49 Miniontoby if i do in terminal: lua ; require ¨socket¨
09:49 Miniontoby it works
09:50 sfan5 the lua you run in the terminal and the lua used by minetest are not necessarily the same
09:50 Miniontoby and return package.cpath says:  ./?.so;/usr/local/lib/lua/5.1/?.so;/usr/lib/arm-linux-gnueabihf/lua/5.1/?.so;/usr/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so
09:50 sfan5 which makes the whole thing tricky
09:50 Miniontoby ok
09:50 Miniontoby check https://forum.minetest.net/viewtopic.php?f=11&t=3905&p=372834&sid=cc638da173beeb02c98618a7cbb01a3c#p372834
09:50 sfan5 do you have luajit installed? does require "socket" work from there?
09:51 Miniontoby yes
09:51 Miniontoby luajit
09:51 oil_boi joined #minetest
09:51 macc24 joined #minetest
09:51 Miniontoby yes that works
09:51 Miniontoby from luajit and from lua
09:51 Miniontoby it both works
09:52 Miniontoby find /usr/ -name socket.so
09:52 Miniontoby only shows: /usr/lib/arm-linux-gnueabihf/ruby/2.3.0/socket.so
09:53 sfan5 what is package.cpath on luajit?
09:54 Miniontoby ./?.so;/usr/local/lib/lua/5.1/?.so;/usr/lib/arm-linux-gnueabihf/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so
09:54 Miniontoby but I use snap
09:55 sfan5 if minetest is inside snap it's in a sandbox and can't see lua modules installed in your system
09:55 Miniontoby ok
09:56 Miniontoby but the actual server what I want to use it with is without snap
09:57 Miniontoby but I dont think i will do it
09:58 Miniontoby how should it then works
09:59 Miniontoby but did you see the whole error at https://forum.minetest.net/viewtopic.php?f=11&t=3905&p=372834&sid=cc638da173beeb02c98618a7cbb01a3c#p372834
09:59 Miniontoby ok
10:03 Fixer joined #minetest
10:03 Beton joined #minetest
10:04 sfan5 no idea sorry
10:14 * jas_ wonders what's wrong with dance animations
10:27 Miniontoby wait
10:27 Miniontoby no
10:33 Miniontoby return package.preload['socket']; = nil
10:34 Miniontoby with terminal lua ; return package.preload['socket']; == nil
10:34 proller joined #minetest
10:42 longerstaff13 joined #minetest
10:45 Miniontoby one thing
10:46 Miniontoby if I cd to the folder of mods/irc/irc and I do: lua init.lua
10:46 Miniontoby then it sees the socket
10:48 sfan5 like I said the lua you run in the console and the lua used by Minetest can be different
10:48 sfan5 so that they do not see the same libraries
10:48 Miniontoby ok
10:49 sagax joined #minetest
10:54 Miniontoby sfan5: what was the original minetest get settings cmd in lua
10:54 Miniontoby for mt 4
10:54 sfan5 minetest.setting_get("name")
10:54 Miniontoby if minetest.settings and minetest.settings.get and minetest.settings.get_bool then
10:54 Miniontoby I have
10:54 Miniontoby but no work
10:55 Miniontoby what do i need for that
10:56 jas_ oh boy.  i think maybe minetest.settings:get_bool()
10:56 sfan5 if you want code that works with both you can use (minetest.settings and minetest.settings:get_bool("foo") or minetest.setting_getbool("foo"))
10:56 sfan5 you could just use the old api then
10:56 sfan5 (except you'll get a warning)
10:56 Miniontoby ok
11:00 oil_boi has the set_bone_pos fix been merged yet?
11:01 ANAND It has, IIRC
11:02 ANAND https://github.com/minetest/minetest/commit/e1fc72c6f3450c82e2dd3e0892838498a6a8a092
11:02 oil_boi Damn, settings the bone position doesn't change the vertexes :L
11:03 ANAND Btw, oil_boi, camera modes are now cycled using the `C` key
11:03 ANAND https://github.com/minetest/minetest/commit/66c182531cf7ef06c98a25b4e12db770314bdc91
11:03 oil_boi ayy, that actually makes more sense!
11:03 ANAND Indeed
11:06 oil_boi Does set_bone_pos use radians or literal degrees?
11:09 jas_ i see some work being done on csm camera, hmm, i just tried it for the first time.  was trying to get fov of client but was confused by values
11:09 jas_ seemed to be client fov plus eight
11:10 sfan5 ok let me actually test that before someone creates another issue about it
11:11 sfan5 {y = 0.02326288074255,x = 0.029366469010711,max = 96.404426574707,actual = 76.367530822754}
11:11 sfan5 no idea what these values mean, my fov is set to 72
11:11 jas_ i think i'm on 88 fov
11:12 jas_ yes 88
11:12 jas_ and i got 96 actual
11:12 jas_ 112 max?  oh gosh i'd have to look and test
11:12 oil_boi Whoa momma
11:12 jas_ 90 is good for rail, 110 better for rocket launcher
11:12 Miniontoby luk3yx
11:12 jas_ oh wait wrong game
11:13 luk3yx What?
11:15 oil_boi ANAND: will the animation override set_bone_pos? before I go in and wreck the blender file up a bit
11:16 sfan5 jas_, oil_boi: do you see any use for these values in CSM? https://github.com/minetest/minetest/blob/master/src/client/camera.cpp#L543-L544
11:16 sfan5 because if not I'd change get_fov() to return the current fov in degrees just like the value everywhere else
11:17 ANAND oil_boi: No idea, sorry :)
11:17 jas_ yes please do, i only got that far and quit
11:17 jas_ cuz it didn't match my fov :)
11:17 oil_boi No I don't sfan5, I have no reason to yet, but I can test it for you
11:18 Miniontoby does someone has an kind of rtx raytracing shader for mt?
11:18 Miniontoby I want shadows
11:18 sfan5 well in theory
11:18 sfan5 !c 0.02326288074255 / math.pi * 180
11:18 MinetestBot 1.3328648858642735
11:18 sfan5 hmm no
11:18 ANAND I don't see any use for those values either
11:18 jas_ yei thought i was supposed to get the real value from some math and that's the point i quit i believe hehe
11:18 ANAND They seem to be... ratios?
11:20 ANAND But 0.02 or 1.3 as a ratio doesn't make any sense either
11:20 Miniontoby .help
11:20 Miniontoby !help
11:20 MinetestBot https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md
11:21 sfan5 I guess .max is the actual fov then?
11:21 jas_ for me it was eight greater than, but i can test some more
11:22 sfan5 that's very much possible due to the calculations in camera.cpp
11:22 sfan5 and intentional I think
11:22 Miniontoby sfan5: how to install mt5 on an rpi
11:22 jas_ ohh, so i can just minus eight, that's math i can do!
11:22 ANAND sfan5: `actual` is closer to your FOV
11:22 sfan5 Miniontoby: is it an rpi 2 or later?
11:23 Miniontoby rpi 3b
11:23 ANAND 76 rather than 72 though
11:23 Miniontoby the apt-get package is over date
11:24 sfan5 I happen to have a build that runs on the rpi, hold on
11:24 jas_ looking to get fov and then change it, and then restore original.  eventually... maybe.  i was thinking of making that effect when you sprint where it zooms out a bit, and then putting it back.  but i hate zoom effects LOL
11:24 * jas_ goes back to stamina100
11:25 oil_boi (0.02326288074255+0.029366469010711) *  76.367530822754 = 4.01917348946?? you have to do *19.0008047732 on these values for them to reach the actual
11:25 ANAND In the long-term, CSM support for the existing set/get_fov SSM API would be nice and consistent
11:25 sfan5 .x and .y appear to be incorrectly converted from degrees to radians (despite being radians)
11:26 sfan5 try looking at the .max value
11:26 ANAND Is it because of the extra calculations in L543?
11:27 sfan5 L541
11:27 Miniontoby !c 60*60*24
11:27 MinetestBot 86400
11:27 ANAND But that line should modify m_fov_y only if the aspect ratio is less than 16:10
11:28 ANAND sfan5: What's wrong with L541?
11:28 oil_boi It's incorrectly assuming aspect ratio is 16/10
11:28 ANAND The lack of .0f in 180?
11:28 sfan5 it converts degrees to radians, there's nothing "wrong"
11:28 jas_ oh mine is 5:4? i think? 800x600
11:28 oil_boi MYMAX(1.0, MYMIN(1.4, sqrt(16./10. / m_aspect)));
11:29 sfan5 {y = 1.3328648805618, x = 1.6825747489929, max = 96.404426574707, actual = 76.367530822754} hmm this isn't any better
11:29 ANAND I have my doubts on L543
11:30 galex-713 joined #minetest
11:30 ANAND Why is vertical FOV manually increased for aspect ratios lower than 16:10?
11:32 sfan5 Miniontoby: https://kitsunemimi.pw/tmp/minetest-5.2.0-rpi%2B.tar.gz
11:33 sfan5 installation steps: 1) use raspi-config and enable the Desktop GL driver 2) reboot 3) extract it 4) open a terminal and run ./bin/minetest
11:33 sfan5 works on Raspberry Pi 2 or newer
11:35 Miniontoby sfan5: it is for a server
11:35 Miniontoby I wgetted it
11:35 sfan5 no, that's the client
11:35 sfan5 you could also run it in server mode if you wanted
11:35 Miniontoby I need it for server
11:35 Miniontoby ok
11:35 Miniontoby I have the .tar.gz
11:35 sfan5 then you can step 1 and 2, and run it with --server
11:35 sfan5 skip*
11:35 Miniontoby how to untar and ungz
11:35 jas_ tar xvfz
11:36 sfan5 mkdir minetest; tar -caf minetest-5.2.0-* -C minetest
11:37 Miniontoby that is not untar
11:38 jas_ u should use his command it's far better
11:38 jas_ but untar is just tar in disguise
11:38 Miniontoby tar: A completely empty archive is not create
11:38 Miniontoby it says
11:38 sfan5 oh sorry
11:38 sfan5 -xaf instead of -caf
11:38 Miniontoby ok
11:41 Miniontoby ./bin/minetest says:./bin/minetest: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by ./bin/minetest)
11:41 Miniontoby ./bin/minetest: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by ./bin/minetest)
11:41 Miniontoby what to do
11:42 sfan5 how old is the Linux on your raspberry pi?
11:42 Miniontoby rasbian
11:42 sfan5 this should work with raspbian buster (10)
11:42 Miniontoby is there a cmd how to see it
11:42 sfan5 cat /etc/os-release maybe
11:43 Miniontoby ok
11:43 sfan5 ANAND: turns out the constant was the wrong way around, this I what I have now {y = 76.367530822754,x = 96.404426574707,max = 96.404426574707,actual = 76.367530822754}
11:43 Miniontoby it says
11:43 Miniontoby PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
11:43 Miniontoby NAME="Raspbian GNU/Linux"
11:43 Miniontoby VERSION_ID="9"
11:43 Miniontoby VERSION="9 (stretch)"
11:43 Miniontoby VERSION_CODENAME=stretch
11:43 Miniontoby ID=raspbian
11:43 Miniontoby ID_LIKE=debian
11:43 Miniontoby HOME_URL="http://www.raspbian.org/"
11:43 Miniontoby SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
11:43 Miniontoby BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
11:43 sfan5 ...
11:43 Miniontoby is version is = 9
11:44 Miniontoby <sfan5> this should work with raspbian buster (10)
11:44 Miniontoby I think then it will not work
11:47 ANAND sfan5: Oh, was it the CSM API that flipped the values?
11:47 sfan5 yes
11:48 Miniontoby it will not work
11:49 sfan5 you can also compile the server from source, but that's a bit more complicated
11:49 Miniontoby Ok
11:49 Miniontoby I will see
11:49 Miniontoby maybe I am going to run the server on an other server (not rpi)
11:51 Miniontoby is there a way how to install socket on a linux server without sudo
11:55 Soo_Slow joined #minetest
12:00 AirSThib joined #minetest
12:18 jas_ there got me a mh-style stamina bar hehe, now to find the bugs
12:20 kamdard joined #minetest
12:24 jas_ there now to make it damage player on starve
12:24 jas_ !server jastest
12:24 MinetestBot jas_: jastest | jastest.duckdns.org | Clients: 0/15, 0/0 | Version: 5.3.0-dev / jastest | Ping: 133ms
12:30 AirSThib joined #minetest
12:38 Copenhagen_Bram1 joined #minetest
12:39 Copenhagen_Bram1 LoL is doing some kind of kernel level anti cheat that will render it incompatible with wine: https://na.leagueoflegends.com/en-pl/news/dev/dev-null-anti-cheat-kernel-driver/
12:40 Copenhagen_Bram1 Do they really need to do this to prevent cheating??
12:40 sfan5 in short, yes
12:40 sfan5 when you have esports with price money, people will invest hundreds of dollars and complicated software or even hardware modifications to cheat
12:41 jas_ !title https://www.youtube.com/watch?v=uXLgrmAataw
12:41 MinetestBot jas_: mh-style unified stamina and hunger bar - YouTube
12:41 Copenhagen_Bram1 hmm
12:44 jas_ for every lock, there is a key
12:45 xachman joined #minetest
12:46 galex-713 joined #minetest
12:49 Copenhagen_Bram1 So... there's a point where the server not trusting the user doesn't work and they have to make the client stand guard over the user's system or something?
12:50 jas_ who knows?  it comes down to the ppl at the end, in between i cannot say
12:51 jas_ technically speaking i believe it's impossible
12:51 jas_ but a kernel level guard sounds challenging
12:51 sfan5 Copenhagen_Bram1: yes
12:52 jas_ first space exploration now esports
12:52 sfan5 it depends on the game and tradeoffs of course
12:59 Copenhagen_Bram1 LoL: adds kernel level anti-cheat measures
12:59 Copenhagen_Bram1 Pioneer: import("Game").player:AddMoney(100000)
13:01 oil_boi Oh yeah, I forgot to say, that's why I don't touch the c++ code ANAND :P
13:06 est31 joined #minetest
13:16 greeter joined #minetest
13:29 greeter joined #minetest
13:56 greeter joined #minetest
14:01 yrungr left #minetest
14:05 AndDT joined #minetest
14:06 yaman joined #minetest
14:11 galex-713 joined #minetest
14:31 Wuzzy joined #minetest
14:38 gh00p joined #minetest
14:40 gh00p Hi there. Minetest on Android doesn't seem to be current. Any idea when a new build will be published to Play store or f-droid? f-droid has 5.1.0.25, and google play is even older.
14:41 sfan5 rubenwardy has an up-to-date build somewhere I believe
14:41 rubenwardy when 5.3.0 is released
14:41 sfan5 in any case 5.3.0 will be on Android again
14:41 rubenwardy it's a few weeks old: https://minetest.rubenwardy.com/android/
14:43 gh00p Nice, thanks. I'm not in the loop -- is there a timeframe for 5.3.0?
14:43 Fixer joined #minetest
14:43 erlehmann joined #minetest
14:45 gh00p I became aware of versions this morning when the crafting guide in 5.1 generated an error that my client was outdated. :)
14:52 gh00p joined #minetest
14:57 gh00p joined #minetest
15:00 Fixer_ joined #minetest
15:15 who00 joined #minetest
15:15 dennisjenkins Wuzzy, are you currently online?
15:15 Wuzzy no
15:15 Wuzzy This is my ghost talking
15:15 Wuzzy ?
15:15 dennisjenkins Excellent, maybe I can get a spiritual answer then.
15:15 Wuzzy of coure i am online
15:16 dennisjenkins My port of latest-pipeworks to HR is coming  along.  I've got most things working.  However, the "compat-chests.lua" code (which adds tube support to chests) is acting weird.
15:16 dennisjenkins local old_chest_def = table.copy(minetest.registered_items["hades_chests:chest"])
15:16 dennisjenkins minetest.registered_items["hades_chests:chest"] is coming up nil.
15:16 dennisjenkins but I damn well know that your chest mod is already loaded.
15:17 Wuzzy check depends
15:17 dennisjenkins ah, ok.
15:17 Wuzzy lol
15:18 dennisjenkins So I assume that the engine constructs a DAG and loads mods in order.  makes sense.
15:19 dennisjenkins I added "hades_chests" to the depends.txt.
15:19 dennisjenkins engine still crashes on startup.
15:19 dennisjenkins I'll add print(dump(minetest.registered_items)) and see what's there right before the crash
15:20 dennisjenkins thats.. alot of text.  I only want to print the keys of the table.
15:23 dennisjenkins my pipeworks/depends.txt contains "hades_gui" "hades_furnaces" and "hades_chests".
15:24 dennisjenkins Yet when the offending code in pipeworks/compat-chests is called, the only hades thing registered already is "hades_core:brick_dark_grey"
15:25 gh00p joined #minetest
15:25 dennisjenkins If I jam in a non-existant dependency, I do see an error at engine start time, so I know its reading the file.
15:26 dennisjenkins ex: ERROR[Main]: mod "pipeworks" has unsatisfied dependencies:  "hades_chests_foobar"
15:30 dennisjenkins ok, lots of "hades_" items are registered.  Log output was truncated.  I'm now running the engine directly from a shell and can see all of the output.
15:30 ghoti joined #minetest
15:39 Taoki joined #minetest
15:41 dennisjenkins "hades_chests:chest" is registered.  The error shifted down one line and I missed the change in line#.  What does NOT exist in hades_chests is "hades_chests:chest_open".
15:42 dennisjenkins "hades_chests:" just has "chest" and "chest_$color".
15:42 dennisjenkins for 14 other colors.
15:42 dennisjenkins and the same plus "_locked"
15:42 dennisjenkins 30 total chests
15:43 Wuzzy yes, no "open" chests in HR
15:43 Wuzzy just replace the "open" chests with their "unopened" counterpart
15:43 dennisjenkins ack. I'll drop a TODO into HR-pipeworks, and comment out the offending code.
15:44 dennisjenkins My code (at this time) will have no support for pipeworks with colored chests.
15:44 dennisjenkins Can be added later
15:46 dennisjenkins well, that almost worked.
15:47 dennisjenkins right clicking on any chest now crashes the engine.
15:47 dennisjenkins So I know how much to butcher this code, do you plan to add support for "open chests" in the future?
15:52 Extex joined #minetest
15:52 Wuzzy not really
15:52 ircAidanLCB joined #minetest
15:54 dennisjenkins In compat-furnaces, there is code in the "on_blast" handler that calls 'default.get_inventory_drops(pos, "", {})'
15:55 dennisjenkins I cannot find an analog in the rest of hades.
15:55 dennisjenkins What do you recommend I replace it with?
15:55 dennisjenkins For now, it is just commented out.
15:55 dennisjenkins the string has a real value, and the 3rd arg is an initially empty table called "drops"
15:56 dennisjenkins I abbreivated in my notes, so pasted from those.
15:59 gh00p joined #minetest
16:09 majochup joined #minetest
16:10 BillyS joined #minetest
16:12 dalz joined #minetest
16:34 Fixer joined #minetest
17:00 who00 joined #minetest
17:07 galex-713 joined #minetest
17:38 Pie-jacker875 joined #minetest
17:42 Pie-jacker875 joined #minetest
17:56 fluxflux joined #minetest
18:04 macc24 joined #minetest
18:07 deltanedas joined #minetest
18:16 Hirato joined #minetest
18:33 macc24 joined #minetest
18:54 Verticen joined #minetest
18:56 Hirato joined #minetest
19:01 calcul0n joined #minetest
19:14 Flabb joined #minetest
19:30 Copenhagen_Bram1 joined #minetest
19:33 realz joined #minetest
19:34 Zughy joined #minetest
19:36 awell joined #minetest
19:36 awell left #minetest
19:39 Verticen joined #minetest
19:45 fluxflux joined #minetest
19:48 juangh joined #minetest
19:49 juangh hello there...good times for all of you.
19:49 Zughy hello
19:50 juangh Zughy, hello
19:52 juangh I have a situation, and, as this is the heaven of Minetest, where all of you are Gods, i came here to ask for your wisdom...
19:53 juangh I really believe that all of you are really good in this...
19:53 Zughy yeah no worries, I'm the bossTM here, I can assure you. In fact, I'm nowhere near to be a core dev and please core devs don't ban me (<3)
19:55 juangh My situation: In this pass two last weeks i have read a lot (a really lot) about the game, and i have a few instance running in the same server (using differents ports), i implement new mods for each instance and i build my first mod, reading a lot and experimenting about it...BUT
19:58 juangh I have problems with that instances...every random time, it fall down, even been alive in the proccess of my server...even showing that the port is been using despite that this is not let access...
19:59 juangh i was checking about it into the logs, and don't return any information or error about it...
20:00 juangh I thought it was because the door mods...every time one user access and try to put one of the doors, the instance of minetest server fall down...
20:00 sfan5 it crashes? shows a lua errors? or just exits?
20:01 juangh i made a backup and delete that mods and it start to work, but, just for around 1 hour...and again, fall down...
20:01 juangh sfan5, just exit...
20:01 juangh make all users out, and then, don't let access...
20:02 sfan5 if you run it in a terminal you should see *something* when it exits
20:02 sfan5 e.g. "Segmentation Fault" if it's a crash
20:02 juangh making me connect to the server, access to htop and kill the process manully...
20:02 sfan5 if you're killing the process then it's obviously still running
20:03 juangh sfan5, yes, it return a few alerts, but no working...
20:03 sfan5 do you start it using systemd? or using screen? another way?
20:03 juangh I start it like this:
20:03 juangh #!/bin/bash -x
20:03 juangh minetestserver --worldname name --port port --config /root/.minetest/worlds/name/minetest.conf
20:04 juangh the game drop out the users, then i access to terminal and kill the proccess, and run again...thats the way i'm doing it...
20:05 sfan5 right
20:05 sfan5 which version of minetest are you running?
20:05 juangh it return something like that, but, just as a warning
20:05 juangh 2020-05-12 18:28:27: WARNING[Server]: Deprecated call to get_attribute, use MetaDataRef methods instead. (at /root/.minetest/worlds/name/worldmods/skinsdb/init.lua:47)
20:05 juangh in server? or client?
20:05 sfan5 server
20:06 juangh let me check
20:07 juangh 5.1.1+repack-1build1
20:08 juangh this is the version...i was confirming it
20:08 sfan5 I suggest upgrading to 5.2.0 to see if that fixes your problem
20:09 juangh i'm using "focal" in my server
20:09 juangh the 20.04 ubuntu version
20:09 juangh i will find the way to upgrade it...
20:10 juangh but it is rare, it just pass in one instance
20:10 sfan5 you can search the forum, there are ways to compile the server from source
20:12 juangh looking for it now
20:13 BillyS joined #minetest
20:26 macc24 joined #minetest
20:29 juangh sfan5 compiling the server
20:30 erlehmann joined #minetest
20:35 erlehmann joined #minetest
20:39 juangh sfan5, i try to run using it: "./minetest --server --worldname dedalo --port 30014 --config /root/.minetest/worlds/dedalo/minetest.conf" but it return this
20:39 juangh 2020-05-12 21:39:09: ERROR[Main]: Game specified in default_game [minetest] is invalid.
20:39 juangh 2020-05-12 21:39:09: ERROR[Main]: ServerError: Supplied invalid gamespec
20:39 sfan5 you need to download minetest_game too
20:39 juangh mmmmmmmm, okok, doing it now
20:41 erlehmann joined #minetest
20:42 longerstaff13 joined #minetest
20:43 juangh done!
20:43 juangh and i really like that the warning are missing...
20:43 juangh lets try it
20:46 juangh mmmmmm, running the avaibles words, it crash...let me check the problems
20:46 macc24 joined #minetest
20:46 juangh 2020-05-12 21:45:33: WARNING[Main]: Undeclared global variable "moh" accessed at ...bin/../worlds/dedalo/worldmods/petz/petz/api/api.lua:31
20:46 juangh 2020-05-12 21:45:33: ACTION[Main]: Server: Shutting down
20:46 juangh 2020-05-12 21:45:33: ERROR[Main]: ModError: Invalid field "wield_image" (expected string got table).
20:48 Zughy well, you put a table instead of a string in the parameter wield image
20:48 Zughy also: is there any callback to see when a player changes slot in the hotbar?
20:50 juangh No no, i dont put nothing, i dont touch the wield image...i made it just like in the github...
20:50 juangh let me see that
20:52 juangh server go down again, and now i have the information, the logs...
20:52 juangh can i use pastebin to share it?
20:52 Zughy I guess
20:52 Zughy privatebin would be better
20:53 juangh https://privatebin.net/?f151135dd1932f86#3yUmDkiWFsqsHAhUDW9fzFp33sytPj9RXuaRSy5rrsHt
20:54 juangh that is the log
20:55 juangh the first 3 are because i drop petz...then...just drag once and "shutting down"
20:56 juangh "Access denied. Reason: This server has experienced an internal error. You will now be disconnected."
20:57 juangh this is the message in the client
20:58 juangh ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'default' in callback luaentity_Step(): ...-SERVER/minetest/bin/../builtin/game/item_entity.lua:203: assertion failed!
20:58 juangh I try it again, and nothing
21:00 macc24 joined #minetest
21:02 FrenchFrie joined #minetest
21:05 Zughy juangh, so, I had a look at the code. There is a problem in some entity, because the bug lies there. Try to deactivate Petz, as it's the one throwing errors
21:06 juangh i make that, i delete the petz mod, and again, it shut down
21:06 juangh again
21:08 Zughy is it possible that some bugged entity remained in the world? Because the thing is, it can't process the moving result of some entity. I'm no core dev, so I can't help that much unfortunately
21:08 juangh could be that
21:09 juangh i will check every mods to try
21:10 sfan5 juangh: are you sure that you didn't accidentally install 5.3.0-dev?
21:10 juangh i installed the one in github
21:10 sfan5 if you clone from github you get 5.3.0-dev by default
21:10 sfan5 either way check all the mods you have for updates, then any errors should be fixed
21:11 sfan5 hm actually
21:11 sfan5 why do you have "default" in worldmods?
21:11 juangh mmmmm, but i will miss the actual building
21:14 juangh i will test every one and i will check it
21:14 juangh the 5.3 is already stable?
21:15 sfan5 not yet
21:15 sfan5 but I think it should work if you remove default from worldmods (it's not supposed to be there)
21:16 juangh already removed
21:16 juangh and working...
21:18 freelikegnu if I saya mod's only requirement is default, is that default from MTG or minimal?
21:19 sfan5 both would satisfy the requirement, but every user will think you mean minetest_game
21:20 Copenhagen_Bram1 joined #minetest
21:23 who0 joined #minetest
21:42 dennisjenkins there is a lot of tightly coupled code in pipeworks...
21:43 dennisjenkins filter_injector.lua: "input_special-cases".  IMHO, the nodes in that list should self-register.
21:43 dennisjenkins Trying to get pipeworks to work in a game w/out the 'default' or 'technic' mods.
21:50 sfan5 the issue with default is that you can't expect Minetest Game to include support for pipeworks
21:50 sfan5 however you could write code that gracefully handles the absence of mods
21:51 dennisjenkins I wish that instead of specifying nodes w/ fully qualified "mod:node_name", you could specify some sort of attribute, "furance_like", or something, then all furances register their tags/attrs/species/whatever you want to call it.
21:51 dennisjenkins eg, another level of indirection :)
22:37 Glorfindel joined #minetest
22:37 Glorfindel joined #minetest
22:43 Miner_48er joined #minetest
22:50 sfan5 cheapie: turns out env_sounds is not the only mod that crashes if you teleport to {x=0, y=32760, z=0}
22:51 sfan5 not sure if that really is worth fixing though
22:51 cheapie sfan5: I would think the proper fix would be for the engine to just not allow players to go out that far, not even via set_pos.
22:52 sfan5 that sounds a little too limiting
22:52 sfan5 easier to just blame the mods tha allow the player do go there
22:53 cheapie I'm not really sure how keeping players within (or close to within) the bounds of the map is "limiting" - it's not like you can build outside of the map or anything.
22:54 sfan5 sure
22:58 dennisjenkins It just occurred to me, I can build a very slow computer memory in minetest using a _LONG_ pipeworks water pipe, value, pump and detector as an old-school "mercury delay line".
23:00 dennisjenkins well, nope..  every 8 pipe segments, one water seems to disappear.
23:38 deltanedas joined #minetest
23:44 swift110 joined #minetest
23:47 who00 joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext