Minetest logo

IRC log for #minetest-dev, 2020-01-21

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

All times shown according to UTC.

Time Nick Message
00:24 Foz joined #minetest-dev
01:46 NoctisLabs joined #minetest-dev
02:06 ssieb joined #minetest-dev
03:23 Lone_Wolf joined #minetest-dev
07:49 nepugia joined #minetest-dev
08:38 ShadowNinja joined #minetest-dev
09:25 YuGiOhJCJ joined #minetest-dev
10:02 Fixer joined #minetest-dev
10:39 df458 joined #minetest-dev
11:17 proller joined #minetest-dev
11:36 An0n3m0us joined #minetest-dev
11:39 calcul0n joined #minetest-dev
11:45 An0n3m0us joined #minetest-dev
11:52 proller joined #minetest-dev
12:30 An0n3m0us left #minetest-dev
12:58 absurb joined #minetest-dev
13:01 p_gimeno joined #minetest-dev
13:05 p_gimeno joined #minetest-dev
13:19 proller joined #minetest-dev
13:49 proller joined #minetest-dev
14:39 p_gimeno joined #minetest-dev
15:20 Simpatico_x053d3 joined #minetest-dev
15:20 Simpatico_x053d3 left #minetest-dev
15:33 Ruslan1 joined #minetest-dev
16:05 pmp-p joined #minetest-dev
16:45 proller joined #minetest-dev
16:47 Lone_Wolf joined #minetest-dev
17:06 proller joined #minetest-dev
17:48 Krock joined #minetest-dev
17:57 fluxflux_ joined #minetest-dev
17:59 Krock joined #minetest-dev
18:22 Ruslan1 joined #minetest-dev
19:56 NoctisLabs joined #minetest-dev
19:57 ssieb joined #minetest-dev
20:01 mizux joined #minetest-dev
20:22 Foz joined #minetest-dev
20:29 An0n3m0us joined #minetest-dev
20:29 An0n3m0us Hello;
20:30 An0n3m0us I was wondering why it isn't possible for one client to hear another client placing/breaking a block.
20:30 An0n3m0us Is it supposed to be like that?
20:35 Krock hi. sounds are played locally
20:35 Krock all node sounds are only handled by the client
20:36 Krock it is however to register callbacks to play sounds to all (nearby) players when you dug a node
20:36 Krock or also on place node.
20:36 An0n3m0us Well I tried it and there is no sound.
20:37 An0n3m0us So I had two clients; I muted the first and I left the volume on on the second. Then I placed a block on the first client and there was no sound played.
20:37 An0n3m0us Of course, the first client is muted so no sound will play; but for the second, there wasn't any sound.
20:37 Krock > <Krock> all node sounds are only handled by the client
20:38 Krock it's exactly that. there's no playing on other clients
20:38 An0n3m0us So is there planning to implement it?
20:38 An0n3m0us Or is it left like that on purpose?
20:38 Krock try wearing out a tool: https://github.com/minetest/minetest/blob/master/builtin/game/item.lua#L577
20:39 Foz joined #minetest-dev
20:39 Krock or eating food: https://github.com/minetest/minetest/blob/master/builtin/game/item.lua#L470
20:39 Krock those are sent to the other players as well
20:39 Krock and no, I don't think there's an open PR for this. But I'm pretty sure there's already an issue requesting that
20:40 An0n3m0us So the Minetest community want it?
20:41 An0n3m0us And, what is the difference between core.sound_play and minetest.sound_play? I cannot find anything that describes the difference.
20:41 rubenwardy core is for builtin only
20:41 rubenwardy use minetest in mods and games
20:42 rubenwardy (core is there so that forks of minetest can share code with minetest)
20:42 An0n3m0us Oh ok that makes sense.
20:42 An0n3m0us So why isn't minetest.sound_play used for placement and digging? That seems to work for the thing I was mentioning earlier; all of the clients can hear the sound.
20:43 An0n3m0us I mean; implementing it now would be a pain, with all of the nodes we have up to now xD
21:10 Foz joined #minetest-dev
21:19 erlehmann joined #minetest-dev
21:21 df458 joined #minetest-dev
22:16 An0n3m0us joined #minetest-dev
22:16 An0n3m0us Hello again : )
22:17 An0n3m0us Is there a way to have a sound playing when a node is being dug? I tried on_dig and a few other methods but I cannot find a way.
22:27 erlehmann joined #minetest-dev
22:38 Foz joined #minetest-dev
22:42 proller joined #minetest-dev
22:49 erlehmann joined #minetest-dev
23:10 erlehmann joined #minetest-dev
23:50 An0n3m0us joined #minetest-dev
23:55 erlehmann joined #minetest-dev
23:56 Foz joined #minetest-dev

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