Minetest logo

IRC log for #minetest, 2019-02-09

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

All times shown according to UTC.

Time Nick Message
00:05 sofar Wuzzy: warnings can come from both lua and core, so you have to redirect them from there to chat
00:05 sofar Wuzzy: would be interesting to have a buffer that an online admin could retrieve, though
00:06 sofar e.g. through /log or something like that
00:06 Wuzzy i'm only interested in dev warnings
00:06 Wuzzy i want minetest to scream at me when there's a lua warning. i dont want to miss 'em
00:07 Wuzzy the "undefined global" warning is very important imo
00:07 sofar that's roughly the same thing (being able to get chat as a game client)
00:07 Wuzzy because undefined globals are a endless source of bugs in lua
00:07 sofar chat or formspec
00:07 entuland tail'ing and grep'ing on the output log isn't an option?
00:07 sofar it deserves an API I'd say
00:08 Wuzzy ...
00:08 sofar not everyone has SSH access
00:08 entuland correct
00:08 sofar what about a server with 2 moderators on that have no shell access?
00:08 Wuzzy i never suggested the silly /log command
00:08 entuland too used to singleplayer there :)
00:08 VargaD_ joined #minetest
00:08 Wuzzy i dont need SSH access when i dev on my own machine ...
00:08 sofar then read the console?
00:09 Wuzzy ...
00:09 entuland oh well if you're on your machine tailing and grepping, or the --console thing, should be good
00:09 sofar I always run a server in one terminal, client from a gui
00:09 Wuzzy look. i know this stuff is possible, but its less convenient :P
00:09 sofar agreed
00:09 entuland sorry - just suggesting workaround for the missing facility you're looking for
00:09 sofar well so here's my opinion
00:10 sofar if we implement something
00:10 Wuzzy so i have to write some silly script then... sigh
00:10 sofar I'd want it to cover both use cases
00:10 sofar wuzzy wants to get yelled at
00:10 sofar I'd want it to provide some log access in-game
00:10 sofar wuzzy also wants something in-game
00:11 sofar so, we should make some API that allows mods to create the feedback in different ways
00:11 Wuzzy i'd say those are 2 separate completely different feature requests
00:11 sofar the core needs an API of some sort to do either
00:11 sofar a well designed one could probably satisfy both
00:11 sofar something as simple as a callback could work and then mods can either send a chat msg to admins
00:12 Wuzzy why so complicated? All I am asking for is a minetest.conf setting to direct warnings to the chat. its really that simple.
00:12 sofar or it could store a log for later retrieval
00:12 sofar because that is a unitasker
00:12 sofar nobody likes a unitasker
00:12 Wuzzy currently, all errors go to the chat but not warnings
00:13 twoelk|2 left #minetest
00:13 Wuzzy which is fine for players but sad for devs like me :)
00:13 hecks in other news minecraft's draw distance can suck my nerdpole https://a.uguu.se/xM5YKlI0HA8y_raymap.mp4
00:13 twoelk joined #minetest
00:13 sofar maybe keep the language less suggestive
00:14 Wuzzy sofar: fyi we have a similar setting...
00:14 Wuzzy deprecated_lua_api_handling
00:15 sofar if (setting.minetest.conf(it)) bad();
00:15 hecks +1 for please just crash on undefined global
00:16 Wuzzy :D
00:16 Wuzzy yesssssss
00:16 Wuzzy let it burn
00:16 hecks warnings are for wusses
00:17 Wuzzy fun fact: we had a version in which undefined globals were actually errors so they got screamed into the chat
00:17 hecks crash on all red errors  too
00:17 hecks all those pet bugs
00:18 Wuzzy sadly the feature was removed and undefined globals were demoted to warnings... :(
00:18 hecks boooooooo
00:18 Wuzzy the reason was that it showed up to often in games and mods!!!! I kid you not
00:18 Wuzzy so basically the undefined globals remained, they are just less visible ... -_-'
00:19 hecks good, fix your damn mods people
00:19 Wuzzy my feelings, exactly!
00:21 rubenwardy Wuzzy: it would be as simple as adding a setting for which to print to chat
00:21 rubenwardy Given that settings already are
00:22 hecks crash or bust
00:22 Wuzzy wow finally someone who gets it!
00:22 hecks or if you're a wuss; minetest.register_on_undefined_global
00:22 Wuzzy LOL
00:22 sofar why not just have a -Wpedantic for the server
00:22 sofar -Werror -Wall
00:23 sofar essentially is what he wants
00:23 sofar the log thing is an AB problem
00:23 Wuzzy wtf is an AB problem?
00:24 sofar a very common term used to describe the situation where a person asks for B but wants A
00:24 sofar but because the context was unknown when the question was asked, the person will get the wrong answer or the discussion gets derailed
00:24 redneonglow joined #minetest
00:25 redneonglow hi
00:25 redneonglow i just installed the latest libspatialindex
00:25 redneonglow which requires me to compile minetest
00:25 redneonglow again
00:25 redneonglow but i need to add the cflag -std=c++11
00:25 redneonglow how do you do that with cmake?
00:25 redneonglow it always fails and says the flag isnt there
00:26 redneonglow even after i compiled with DCMAKE_CXX_FLAGS_RELEASE and DCMAKE_C_FLAGS_RELEASE
00:26 Wuzzy wait what? so libspatialindex depends on minetest???
00:26 redneonglow no
00:26 sofar -DCMAKE_CXX_FLAGS
00:26 redneonglow minetestserver
00:26 redneonglow i tried that too
00:26 sofar and you need to give it a value
00:26 redneonglow no the new one qualifies as libspatialindex.so.5
00:26 redneonglow when i have .so.4
00:26 sofar -DCMAKE_CXX_FLAGS="${CFLAGS} -std=c++11"
00:26 redneonglow compild in i mean
00:26 redneonglow oh
00:27 redneonglow will try that
00:32 benrob0329 joined #minetest
00:35 kaeza joined #minetest
00:36 redneonglow joined #minetest
00:36 redneonglow damn tor
00:36 redneonglow the last thing i saw was <redneonglow> will try that
00:37 redneonglow did i miss anything?
00:37 sofar nope
00:37 redneonglow k thank you
00:42 puzzlecube joined #minetest
00:52 redblade7 joined #minetest
01:04 redblade7 thank you that worked
01:09 Ruslan1 joined #minetest
01:15 redblade7 it was probably my lack of ${CFLAGS}
01:15 redblade7 i didnt include that the first time around
01:19 YuGiOhJCJ joined #minetest
01:36 Wuzzy how do I add my custom setting into map_meta.txt with Lua?
01:36 Exagone313 joined #minetest
01:36 Wuzzy minetest.set_mapgen_setting does not work :(
02:33 Xiong Damian Conway recommends all errors throw fatal exceptions; and I agree. Routines likely to fail can be boxed with a handler in the caller to catch, log, and recover. But it's not for the routine itself to blackhole its mistake.
02:35 Xiong By extension, when mods emit errors, it should be up to minetest.conf what to do; and by default, fatal.
02:45 ssieb joined #minetest
02:47 Wuzzy ↑ yes
03:05 scr267 joined #minetest
03:55 JDCodeIt left #minetest
04:00 FreeFull joined #minetest
04:10 twoelk left #minetest
05:15 ssieb joined #minetest
06:52 hisforever joined #minetest
06:55 hisforever Hi I need Help plaease. I'm using MT 0.4.17.1 but when I try to generate a world all I get is a flat land with sand as the base. How do I get trees and other things?
07:02 redblade7_ joined #minetest
07:04 redneonglow joined #minetest
07:05 hisforever is anybody reading Me?
07:31 SanskritFritz joined #minetest
07:35 ANAND joined #minetest
07:58 jluc joined #minetest
07:58 bas080 joined #minetest
08:04 proller joined #minetest
08:06 bas080 joined #minetest
08:10 proller joined #minetest
08:14 CWz joined #minetest
08:15 proller joined #minetest
08:18 troller joined #minetest
08:28 bas080 joined #minetest
08:31 troller joined #minetest
08:34 ssieb joined #minetest
08:35 Beton joined #minetest
09:48 jluc joined #minetest
10:27 fwhcat joined #minetest
11:00 SanskritFritz joined #minetest
11:10 Gael-de-Sailly joined #minetest
11:35 calcul0n joined #minetest
12:01 MayeulC @freenode_hisforever:matrix.org: Nope. Just kidding, I read you, but I have no clue :) Just wait around for a bit...
12:17 entuland joined #minetest
12:22 p_gimeno joined #minetest
12:22 entuland hello everybody
12:23 * p_gimeno waves
12:23 entuland p_gimeno: I've tested and included your code to replace my silly text lookup for matrix_to_facedir
12:23 p_gimeno how did it go?
12:23 entuland perfectly smooth, the behavior is exactly the same, as expected
12:24 p_gimeno great! happy to hear
12:24 entuland I was a bit puzzled by the fact that your code only uses two out of three rows of the matrix to compute the index :P
12:24 entuland but then I realized that evidently those two rows are unique among the set, so that's enough to differentiate them
12:25 entuland I guess that any two rows, or probably any 6 cells, would have worked just as fine, eventually with a differently arranged table to be paired with
12:25 p_gimeno yes, if there's no flipping then you can get the third vector from the other two
12:26 entuland I would never have thought about that, but I guess that this kind of ideas comes easier if you're used to mess with that kind of maths
12:26 p_gimeno it's a bit like having a box with a green face on the top and a red face on the side
12:26 Sveta_ joined #minetest
12:27 p_gimeno that lets you find the position of the box just by looking at where the coloured faces are
12:27 p_gimeno but if flipping is allowed, you need a third coloured side
12:28 entuland I'm sort of getting the idea, yes :)
12:28 entuland now I wonder if there are other parts of my approach that I could improve, but in the end I'm happy that messing with matrix combinations as I'm doing is considered performant enough
12:29 entuland this is the commit, by the way: https://github.com/entuland/rhotator/commit/c7e288dbe3cd663d31f965e1bd06f8e9d0ef1fb1
12:30 p_gimeno as hecks said yesterday, I wouldn't worry about performance for things that happen on click
12:31 entuland good
12:31 entuland oh, thanks again for the code, btw, much appreciated
12:31 p_gimeno anytime
12:33 p_gimeno one problem for adopting that in the core, is that minetest currently has no matrix support
12:33 p_gimeno gotta go AFK for a while
12:43 Fixer joined #minetest
12:50 kaeptmblaubaer joined #minetest
12:52 Krock joined #minetest
12:52 entuland oh well I thought that simply including the libraries I'm using would have been enough, but I understand if the core team doesn't want to clutter the project
13:08 p_gimeno back
13:10 p_gimeno it's not my decision anyway, I'm not in the core team, but from the perspective of the project, if a matrix library is implemented, it will need some thought
13:12 lig joined #minetest
13:12 p_gimeno I'm working on a linear algebra library for a separate project, but it might have uses for MT
13:12 lig Hi! I've just installed Minetest on Fedora 29 using flatpak and I have a problem. It always punches.
13:17 craba joined #minetest
13:18 Calinou lig: does it happen outside of a Flatpak?
13:18 kaeptmblaubaer joined #minetest
13:18 Calinou (also, are you running it Fedora in a virtual machine?)
13:18 ektor joined #minetest
13:19 lig I'm running Fedora on my laptop
13:19 lig I didn't try MT outside of Flatpak. Just installed from Flatpak and launched.
13:20 lig Calinou, I'm looking at the https://github.com/minetest/minetest_game/issues at the moment in case something like that is reported already
13:21 Calinou does it happen if you disable the trackpad and use an external mouse too?
13:21 Calinou (in my experience, it shouldn't be an issue, but we never know…)
13:22 craba salut
13:23 lig Calinou, I tried with external mouse only. Will try ti disable trackpad
13:24 ANAND joined #minetest
13:26 lig Calinou, it's the same with touchpad being disabled
13:26 lig It continous to punch even when I have an external mouse detached
13:26 zarcade_droid joined #minetest
13:30 kaeptmblaubaer joined #minetest
13:31 lig Calinou, I've just installed minetest 0.4.17.1-2 from the official Fedroa repo and it does the same thing
13:31 Calinou I'm on Fedora 29 too (with Minetest 0.4.17 built from source) and can't reproduce this on my desktop
13:31 Calinou I haven't tried on my laptop but I don't remember experiencing that issue
13:32 lig Calinou, so I need to find time to build from source :(
13:33 craba_ joined #minetest
13:33 lig Calinou, could you try the one which is in the Fedora repo? I believe it should be easy enough
13:36 kaeptmblaubaer joined #minetest
13:37 Calinou I'll do that
13:38 Calinou it's working fine too
13:38 Calinou (I started it explicitly with /usr/bin/minetest as my source build is installed into /usr/local/bin/minetest)
13:39 Ingar lig: does your trackpad have buttons? did you clean them?
13:39 lig Ok. I'll try the source build. Maybe I'll be able to dig into the code to see what's going on
13:40 lig Ingar, it doesn't click anywhere else.
13:41 Ingar just got a new mouse myself because the old one kept multiclicking, driving me insane
13:42 p_gimeno that happens to me with every mouse after a few monts, a bit of lubricant on the microswitches fixes it for me
13:43 Ingar p_gimeno: logitech microswitches last only 3 years or so
13:43 Ingar with razer, the plastic gets dented
13:43 p_gimeno ah yes, and I never ever buy logitech
13:44 Ingar I like logitech, but they always have to add some kind of annoying feature
13:44 Ingar I'll try cleaning the switches on the old mouse though
13:44 fwhcat hey lig, using gnome? have you tried with a Xorg session instead of the wayland session ?
13:44 Ingar I might have some contact cleaner
13:45 Ingar fwhcat: he left :(
13:45 fwhcat oh :(
14:03 FreeFull joined #minetest
14:03 kaeza joined #minetest
14:06 Wuzzy joined #minetest
14:24 scr267 joined #minetest
14:32 Wuzzy How am I supposed to set player max HP?
14:34 Wuzzy ah, with set_properties. thank you XD
14:40 Krock !next
14:40 MinetestBot Another satisfied customer. Next!
14:44 catninja joined #minetest
14:47 JDCodeIt joined #minetest
14:47 MinetestBot [git] Wuzzy2 -> minetest/minetest: Don't append itemname to itemname in tooltip (#8176) f5bdc04 https://git.io/fhHP2 (2019-02-09T14:46:02Z)
14:52 JDCodeIt <Krock> Re: issue #5877 and #8180 - the mod calls register_on_player_receive_fields inside the on_right_click of the entity def - is the mod name unknown in this context? ...and is this the wrong place to be calling this as it would register this over and over as the right-click is performed?
14:52 ShadowBot https://github.com/minetest/minetest/issues/5877 -- Profiler crashes in BFD
14:52 ShadowBot https://github.com/minetest/minetest/issues/8180 -- Tools without groups match to node can sometimes still dig the node
14:52 JDCodeIt ...sorry not 8180
14:52 JDCodeIt issue #8197
14:52 ShadowBot https://github.com/minetest/minetest/issues/8197 -- Crash while bringing up formspec on entity click while running profiler
14:52 Krock pong
14:53 Krock don't register callbacks outside of the main code
14:53 JDCodeIt ..yeah I thought so - maybe we close this if this is what the modding guide recommends
14:53 Krock or use set_last_run_modname (or similar) to notify the profiler about the wanted action
14:54 Krock for registering content like nodes it obviously doesn't work, for these other callbacks you easily get side-effects like this
14:55 JDCodeIt ..or do we try to have the profiler protect itself from such incorrect usages?
14:59 Krock well, in that case you could profile it, but don't know to which mod it belongs to
15:03 JDCodeIt I think the question is - would we expect such registration calls out of the mod context? Is this a valid mod code, which runs fine without the profiler, but would fail with profiler active.
15:09 entuland for what is worth, I believe that register_on_player_receive_fields should be allowed to be called only at init time, and use that unique entry point to dispatch all subsequent actions no matter the form that triggered them - or allow to both add _and_ remove those callbacks, if that design approach is considered acceptable for a more dynamic design of forms
15:15 calcul0n joined #minetest
15:25 tpe joined #minetest
15:27 kaeptmblaubaer joined #minetest
16:15 Ruslan1 joined #minetest
16:24 riff-IRC joined #minetest
16:29 kaeptmblaubaer joined #minetest
16:30 fridolin joined #minetest
16:30 fridolin hi does anyone know if the blodd test server still exist ?
16:33 scr267 joined #minetest
16:34 jas_ joined #minetest
16:39 fridolin hi does anyone know if the blodd test server still exist ?
16:40 sfan5 if you can't find it on the forums or the server list, I doubt it still exists
16:42 fridolin i dont have find it
16:45 jluc joined #minetest
17:04 puzzlecube joined #minetest
17:13 puzzlecube joined #minetest
17:31 nowhere_man joined #minetest
17:34 MinetestBot [git] SmallJoker -> minetest/minetest: numeric: Fix clang, broken since d5456da b7e1bca https://git.io/fhHMC (2019-02-09T17:33:31Z)
17:50 Markow joined #minetest
18:53 MinetestBot [git] nerzhul -> minetest/minetest: Fix Address::isLocalhost algorithm ff5d4ff https://git.io/fhHDr (2019-02-09T18:52:56Z)
18:53 MinetestBot [git] rubenwardy -> minetest/minetest: Disable confirmation dialog on localhost 7796a31 https://git.io/fhHDK (2019-02-09T18:52:56Z)
19:04 p_gimeno left #minetest
19:13 MinetestBot [git] Wuzzy2 -> minetest/minetest: Remove fgettext("") in builtin 705b454 https://git.io/fhHDF (2019-02-09T19:12:56Z)
19:16 kaeptmblaubaer joined #minetest
19:21 Gael-de-Sailly joined #minetest
19:39 yusf[m] Anyone using the LATE effects framework?
19:50 SanskritFritz joined #minetest
19:58 SanskritFritz joined #minetest
20:03 SanskritFritz joined #minetest
20:15 SanskritFritz joined #minetest
20:21 kaeptmblaubaer joined #minetest
20:32 Sokomine joined #minetest
20:36 calcul0n joined #minetest
20:46 MinetestBot [git] SmallJoker -> minetest/minetest: Autojump: Disable in fly mode, support continuous forward (#8200) 6d6a813 https://git.io/fhHSJ (2019-02-09T20:44:04Z)
20:57 MinetestBot [git] SmallJoker -> minetest/minetest: Builtin: Fix grayed-out but enabled modpacks a809f73 https://git.io/fhHSq (2019-02-09T20:54:39Z)
21:00 Ruslan1 joined #minetest
21:12 diemartin joined #minetest
21:23 GreenDimond joined #minetest
21:54 hecks joined #minetest
22:04 sonicpp joined #minetest
22:15 nowhereman joined #minetest
22:25 kaeptmblaubaer joined #minetest
23:01 fwhcat joined #minetest
23:08 kaeptmblaubaer joined #minetest
23:39 kaeptmblaubaer joined #minetest
23:51 Sokomine joined #minetest

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