Minetest logo

IRC log for #minetest, 2024-08-12

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

All times shown according to UTC.

Time Nick Message
00:13 SFENCE joined #minetest
00:33 MTDiscord <bastrabun> sfan5: YL dedicated_server_step = 0.047
00:50 MinetestBot [git] Zughy -> minetest/minetest: Docs: Explain how to create and remove inventory lists (#14927) c7642c3 https://github.com/minetest/minetest/commit/c7642c3c6c702a3265fc7228acc3c46c43b189e7 (2024-08-12T00:49:14Z)
01:07 SFENCE joined #minetest
01:16 SFENCE joined #minetest
01:43 stormchaser3000 joined #minetest
01:52 SFENCE joined #minetest
02:11 SFENCE joined #minetest
04:00 MTDiscord joined #minetest
05:31 Verticen joined #minetest
05:32 Boingo joined #minetest
06:37 gregon joined #minetest
06:58 lminus joined #minetest
06:59 sofar_ joined #minetest
07:00 khimaros joined #minetest
07:00 Thermoriax joined #minetest
07:11 Ingar joined #minetest
07:13 Izaya left #minetest
07:14 Glaedr joined #minetest
07:43 mrkubax10 joined #minetest
07:44 PoochInquisitor joined #minetest
07:44 Izaya joined #minetest
08:02 e1z0 joined #minetest
08:28 Talkless joined #minetest
09:43 MinetestBot [git] nerzhul -> minetest/minetest: dev: add shell.nix (#14823) a0e33ba https://github.com/minetest/minetest/commit/a0e33ba9ea2ee4a00f671ca8877d84c837a18fe6 (2024-08-12T09:41:27Z)
10:12 ireallyhateirc joined #minetest
11:08 boingman joined #minetest
11:48 TomTom joined #minetest
12:30 m33 joined #minetest
12:47 Desour joined #minetest
12:55 Izaya joined #minetest
13:33 MinetestBot [git] sfan5 -> minetest/minetest: Rework object attachment handling to fix bugs (#14825) 85e717f https://github.com/minetest/minetest/commit/85e717fcd1081278fc0c91cc4bba79e4e59d7aca (2024-08-12T13:32:18Z)
13:35 MinetestBot [git] Emojigit -> minetest/minetest: Fix warning about getVertexTypeDescription reaching its end (#14806) 53a50e0 https://github.com/minetest/minetest/commit/53a50e0b0d2bf48f78c27b1104ca228f47237aef (2024-08-12T13:34:25Z)
13:35 MinetestBot [git] y5nw -> minetest/minetest: Show IME candidate list in Windows (#14942) a3838dd https://github.com/minetest/minetest/commit/a3838dd0e8de73774986391c49db8ae105154f5c (2024-08-12T13:34:37Z)
13:35 MinetestBot [git] grorp -> minetest/minetest: TouchScreenGUI: Replace buttonbars with grid menu (#14918) 013c6ee https://github.com/minetest/minetest/commit/013c6ee1663f2bdd93a6d30690a96a5914dc27dc (2024-08-12T13:34:50Z)
13:36 MinetestBot [git] sfan5 -> minetest/minetest: Render clouds as flat when thickness is zero (#14897) 39c2af9 https://github.com/minetest/minetest/commit/39c2af97105142c44195093cfc4b809bde70681a (2024-08-12T13:35:00Z)
13:36 MinetestBot [git] (1 newer commits not shown)
13:40 ireallyhateirc yes, more goodies. feature freeze is gone, feature thawing is here
13:54 Boingo joined #minetest
14:29 SFENCE joined #minetest
14:31 Desour joined #minetest
15:20 silverwolf73828 joined #minetest
15:34 Talkless joined #minetest
15:55 gregon joined #minetest
16:08 mrkubax10 joined #minetest
16:20 Desour joined #minetest
16:29 bwarden_ joined #minetest
16:40 sfan5 @bastrabun @landarvargan thanks
16:53 Verticen joined #minetest
16:53 MinetestBot [git] nerzhul -> minetest/minetest: refacto: rework the GUI element handler function (#14793) cb0bbea https://github.com/minetest/minetest/commit/cb0bbea2a597192ab339f3298dccef97622a7039 (2024-08-12T16:52:33Z)
17:04 SFENCE joined #minetest
17:10 kamdard joined #minetest
17:10 SFENCE joined #minetest
17:16 TheSilentLink joined #minetest
17:23 kamdard joined #minetest
18:13 TomTom joined #minetest
18:15 YuGiOhJCJ joined #minetest
18:17 ireallyhateirc joined #minetest
18:17 SFENCE joined #minetest
19:07 peterz joined #minetest
19:14 peterz joined #minetest
19:18 kamdard joined #minetest
19:41 SFENCE joined #minetest
19:59 ___nick___ joined #minetest
20:49 ireallyhateirc Can I call files from other mods when I make a modpack or will that be blocked by the sandbox thing?
20:49 ___nick___ joined #minetest
20:51 ireallyhateirc say I have a modpack: M with submods M/s1 and M/s2. So can I call M/s2/library.lua  from M/s1/something.lua ?
20:53 ___nick___ joined #minetest
20:57 rubenwardy ireallyhateirc: yes you can - it's considered a read operation and so allowed
20:57 rubenwardy it's better for the mods to expose globals though as APIs
20:57 ireallyhateirc I'm using the mapgen env so I can't use globals
20:59 ireallyhateirc is that about "read" operations generally true or only true for modpacks?
20:59 ireallyhateirc can ordinary mods also read data from other mods?
21:02 sfan5 any lua that minetest executes can read from mod/game/modpack folders freely
21:02 sfan5 and from the world folder
21:02 sfan5 (among others)
21:05 ireallyhateirc so I just do minetest.get_modpath(modname) where modname is the name of the mod I want to read from?
21:05 sfan5 yes
21:05 ireallyhateirc okay, thanks. I lived under a false assumption that it's not possible lol
21:05 sfan5 <ireallyhateirc> I'm using the mapgen env so I can't use globals
21:05 sfan5 not true btw
21:06 sfan5 if the other mod registers itself for the mapgen env you will share globals
21:06 ireallyhateirc okay, that's even better
21:07 ireallyhateirc so I simply do minetest.register_mapgen_script(path) for relevant files in each mod and it will work?
21:20 sfan5 no guarantees that "it will work" but they will share one environment, yes :)
21:21 bwarden joined #minetest
21:22 ireallyhateirc great
21:30 bwarden_ joined #minetest
21:34 est31 joined #minetest
21:34 YuGiOhJCJ joined #minetest
22:02 Verticen joined #minetest
22:16 TheSilentLink joined #minetest
22:16 stephan48 can i take a picture of a users viewpoint/of a set of entities/nodes ingame via LUA?
22:22 MTDiscord <luatic> not really, the server (which runs the mods) doesn't have graphical capabilities, and there isn't a screenshot taking function in the client-side mod API either. you can to an extent implement your own rendering in lua (for example a relatively cheap to implement hack is to use raycasts to get a rough B&W view, see e.g. https://content.minetest.net/packages/erlehmann/xcam/), but that's about it.
22:23 stephan48 mh. thanks
22:33 panwolfram joined #minetest
23:05 Eragon joined #minetest
23:17 MTDiscord <warr1024> The cleanest way to take consistent screenshots is by automating the client.  You can use a mod to control the camera (player) position, angle, FOV, etc and then all that's left is to set the window size and take the screenshot itself.  You can make the window very large and allow the FPS to drop significantly, and still take the screenshot as long as the camera is setup right, so you can still get high resolution shots even with poor
23:17 MTDiscord hardware.
23:18 MTDiscord <warr1024> It's also possible to automate the client more thoroughly, like the way minetestcast can do fully automated livestreaming, like on the nodecoremt twitch channel.
23:58 Zambyte joined #minetest
23:58 MTDiscord <exe_virus> Maybe I should make a Lua Minetest wrapper for input. This isn't hard to do.

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