Time Nick Message 12:54 Krock sfan5: and how about extending "sound parameter" which already contains positional information? https://github.com/minetest/minetest/pull/9342#issuecomment-578498137 12:55 Krock that's usually created directly when using minetest.sound_play 12:55 sfan5 hmm yeah that would be an option 12:56 Krock actually I meant that one initially, but I didn't read the API long enough to notice that SimpleSoundSpec is the wrong thing 12:57 sfan5 yeah I also got that wrong, I even changed lua_api to say that "spec" is a sound parameter table 12:57 sfan5 (changed it back a few minutes ago) 12:57 Krock oh okay :3 13:38 sfan5 Krock: so far the only reason i can think of for not doing this is that it's annoying to type "epheremal = true" instead of ", true" 13:39 Krock it would be less self-explaining only using ", true" 13:39 sfan5 true 13:41 sfan5 are there any reasons one might use sound_play with a parameter table that is not constructed in place? do any mods do that? 13:49 An0n3m0us Is there a way to prevent player knockback? I tried using on_punchplayer and setting player:add_player_velocity({x = 0, y = 0, z = 0}) 13:50 sfan5 override minetest.calculate_knockback as the documentation says 13:52 An0n3m0us It worked; thanks : ) I'm pretty sure I tried that before already but it didn't seem to work. 14:03 Krock quickly grep'ing... 14:06 Krock over 50 results.. all construct the parameter table in-line 14:07 p_gimeno that sucks, Lua garbage collection causes lag spikes 14:08 Krock 378 results to be precise. 315 mods installed 14:09 Krock p_gimeno: it would not make much sense to cache that because at least one parameter usually changes 14:11 p_gimeno Krock: I normally use a fixed table and modify it, like this: local tab = {} ; function blah... tab.value = xxx; fn(tab) ... end 14:12 p_gimeno that increases performance and stresses the GC less 14:14 p_gimeno I think I've had trouble doing that in a Minetest mod, while registering nodes or entities, I can't remember the details 14:14 p_gimeno the bottom line was that Minetest apparently used the table I passed, without copying it 17:50 Krock will merge game#2357 in 10 minutes 17:50 ShadowBot https://github.com/minetest/minetest_game/issues/2357 -- Reset spawn position on bed destruction by DS-Minetest 19:24 rubenwardy will merge #9290 sometime between 10 minutes and 10 days 19:24 ShadowBot https://github.com/minetest/minetest/issues/9290 -- Add 9-slice background support to button formspec elements by Df458 19:24 rubenwardy depending on when I remember 19:29 An0n3m0us Wield3d using the model and about 15 lines of code; https://www.dropbox.com/s/gpb61ukt9hbkfi2/SSR.mp4?raw=1 19:30 An0n3m0us The only problem is player:set_properties overrides the animation so if a player walks and changes to a different tool, the animation is reset to 'stand' :| 19:36 Krock rubenwardy: write a script that does "sleep 600 && paplay /some/sound.file" 19:37 An0n3m0us Or use `notify-send` to send yourself a notification after x minutes. 19:37 rubenwardy true 19:38 An0n3m0us If it's important; you'll remember. Otherwise, it cannot be that important ; ) 19:38 rubenwardy https://i.kym-cdn.com/photos/images/newsfeed/001/567/575/0f7.jpg 19:39 An0n3m0us Lol 19:43 An0n3m0us I'd like to know who decided to break the trend and mirror the image of the screwdriver: https://i.paste.pics/7umo6.png 19:44 Krock more important: why are two slots missing? 19:44 rubenwardy lool 19:44 An0n3m0us Lol oh yeah I didn't think about that. 19:44 An0n3m0us Well, it will stay like that until someone thinks of two good tools to implement. 20:11 An0n3m0us @Krock Satisfied?: https://i.paste.pics/7umsg.png . Seems like Gambit flipped the screwdriver and got away with it xD; it's revolutionary. Gambit kinda left a special mark on mtg. 20:12 An0n3m0us It's neat and I never noticed before now. If I was going to create an item; I'd kinda naturally face it in the same direction as the others. 20:21 erlehmann lol nice 23:37 Lone_Wolf I am also getting these random segfaults, but in singleplayer 23:38 Lone_Wolf Is there such a thing as a gdb build I could compile? 23:40 Lone_Wolf Tends to crash when I run a command, so far it's crashed for /giveme and /revoke