Minetest logo

IRC log for #minetest, 2021-01-02

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

All times shown according to UTC.

Time Nick Message
00:27 emacsomancer joined #minetest
02:16 olliy joined #minetest
02:17 gry joined #minetest
03:36 milkt joined #minetest
03:43 est31 joined #minetest
04:47 Verticen joined #minetest
05:00 MTDiscord joined #minetest
05:51 sec^nd joined #minetest
06:00 xSmurf joined #minetest
06:03 MDude joined #minetest
06:14 xSmurf joined #minetest
06:21 Verticen joined #minetest
06:42 timcu joined #minetest
07:01 AndDT joined #minetest
07:34 calcul0n__ joined #minetest
07:58 tango_ we really need a way to do vector graphics
07:58 tango_ even if irrlicht doesn't support it natively
07:58 tango_ can't we pass it some pre-rendered image?
07:59 tango_ like lunasvg
08:00 ShadowNinja joined #minetest
08:01 Flabb joined #minetest
08:24 olliy_ joined #minetest
08:28 Talkless joined #minetest
08:51 FeXoR joined #minetest
09:00 dalz joined #minetest
09:13 lisac joined #minetest
09:45 olliy joined #minetest
10:14 stefan joined #minetest
10:35 timcu joined #minetest
10:41 Fixer joined #minetest
11:16 NetherEran joined #minetest
11:28 gera joined #minetest
11:47 gera joined #minetest
11:47 jingkaimori joined #minetest
12:05 Jhalman joined #minetest
12:06 Verticen joined #minetest
12:23 SwissalpS joined #minetest
12:24 FeXoR joined #minetest
12:27 gera joined #minetest
12:38 gera joined #minetest
12:38 I_am_6r1d joined #minetest
12:43 calcul0n_ joined #minetest
12:56 dalz joined #minetest
13:37 SwissalpS using mobs_redo, whenever a mob is caught, "default_place_node_hard" is played. problem is, every player on server can hear it
13:38 SwissalpS any suggestions how to fix this that will not break at every update?
13:39 sfan5 get the mobs_redo author to fix it
13:40 sfan5 if you get your mods with git you can also make a local commit and "git pull" will preserve your changes
13:42 erlehmann joined #minetest
13:45 SwissalpS the sound file is from default mod in minetest_game
13:46 SwissalpS thanks sfan5
13:47 sfan5 the sound file isn't the issue, when playing it the author forgot to specify either a position or a player
13:48 SwissalpS he uses the same function to play all other sounds, and they are not heard globally
13:49 SwissalpS mobs/api.lua line 167
13:49 SwissalpS the object is the mob
13:58 SwissalpS We have also tested different mobs, it is not specific to a single type
13:58 sfan5 !mod mobs_redo
13:58 MinetestBot sfan5: Mobs Redo [mobs] by TenPlus1 - https://forum.minetest.net/viewtopic.php?t=9917 - https://notabug.org/TenPlus1/mobs_redo
13:59 I_am_6r1d was distance mentioned? I suspect it a bit. Hello.
13:59 sfan5 hm right
13:59 sfan5 the sound is played attached to the mob object
14:00 I_am_6r1d I can try and print the distance now
14:00 sfan5 SwissalpS: I suspect the bug here is that the sound is played after the mob is already removed hence it plays globally
14:00 sfan5 (the code link https://notabug.org/TenPlus1/mobs_redo/src/master/api.lua#L167)
14:02 I_am_6r1d Hm... self:mob_sound("default_place_node_hard") and then remove_mob(self, true)
14:02 I_am_6r1d if it's async, that's very possible
14:06 SwissalpS thanks sfan5, I'll PR a change to that, seems logical line 4508 plays sound and line 4506 removed mob a/ready
14:12 Fleckenstein joined #minetest
14:12 SwissalpS https://notabug.org/TenPlus1/mobs_redo/pulls/80
14:12 SwissalpS !done
14:15 MinetestBot [git] hecktest -> minetest/minetest: Add on_deactivate callback for luaentities (#10723) dd5a732 https://git.io/JL5wr (2021-01-02T14:14:29Z)
14:15 MinetestBot [git] OgelGames -> minetest/minetest: Clarify documentation of minetest.get_modpath and minetest.get_modnam… ad58fb2 https://git.io/JL5wo (2021-01-02T14:13:53Z)
14:15 MinetestBot [git] Zughy -> minetest/minetest: "Browse online content" formspec improvement (#10756) 92aac69 https://git.io/JL5wK (2021-01-02T14:13:02Z)
14:43 tango_ anybody wants to give my prospector mod a spin before I submit it to the forum? https://github.com/Oblomov/minetest-mod-prospector
14:59 minduser00 joined #minetest
15:00 Fixer joined #minetest
15:51 awell joined #minetest
16:34 Jhalman joined #minetest
16:46 olliy joined #minetest
16:52 Hawk777 joined #minetest
17:10 zughy[m] is there a way to deny a player to open a formspec assigned to a node (via metadata)?
17:10 sfan5 no
17:11 sfan5 your only option is to move the formspec to a lua handler
17:11 zughy[m] or, in general, to execute different things on `on_rightclick` instead of displaying the formspec?
17:11 sfan5 well actually maybe on_rightclick can deny it?
17:11 sfan5 I think that was changed at some point
17:13 zughy[m] ...I'm stil waiting for the day where I find a mod that I don't need to modify (ChatCmdBuilder aside)
17:13 FeXoR joined #minetest
17:19 rubenwardy I answered on matrix:    You'll need to use on_rightclick and show_formspec  /   formspec in meta data only exists to reduce server-client latency
17:26 MTDiscord <a​ppguru> Formspec in metadata should be used sparingly
17:29 zughy[m] Apparently my client is skipping messages on Matrix too, great
17:46 kamdard joined #minetest
18:01 fleeky_ joined #minetest
18:20 Fleckenstein joined #minetest
19:17 milkt joined #minetest
19:27 Talkless joined #minetest
19:27 FeXoR joined #minetest
19:35 milkt joined #minetest
19:39 dalz joined #minetest
19:42 SX joined #minetest
19:45 kamdard joined #minetest
19:49 fluxflux joined #minetest
20:17 I_am_6r1d joined #minetest
20:23 I_am_6r1d joined #minetest
20:33 I_am_6r1d joined #minetest
20:38 milkt joined #minetest
20:39 dalz joined #minetest
20:46 Jhalman joined #minetest
20:49 milkt joined #minetest
20:52 minduser00 joined #minetest
21:39 I_am_Grid joined #minetest
22:08 Splyncryth_ joined #minetest
22:10 Taoki joined #minetest
22:17 WiseMonk joined #minetest
23:14 I_am_Grid joined #minetest

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