Minetest logo

IRC log for #minetest, 2023-08-24

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

All times shown according to UTC.

Time Nick Message
00:21 fling joined #minetest
01:22 smk joined #minetest
01:39 proller joined #minetest
01:44 critr joined #minetest
01:45 proller joined #minetest
01:48 mazes_80 joined #minetest
02:12 hyvoid joined #minetest
02:51 kamdard_ joined #minetest
03:01 kyle56 joined #minetest
03:18 kyle56 how does the dynamic load media work? how do i reference it once its loaded? like in a texture on a particle or something? is the minetest.gitlab.io documentation up to date? it says the first argument of minetest.dynamic_add_media is a options table but the game crashes and says it expects a non-empty string.
03:27 lemonzest joined #minetest
03:33 lemonzest joined #minetest
03:52 Lesha_Vel joined #minetest
03:59 liceDibrarian joined #minetest
04:00 MTDiscord joined #minetest
04:15 Lesha_Vel joined #minetest
04:17 frostsnow joined #minetest
04:22 Alias joined #minetest
04:23 fluxionary joined #minetest
04:48 loggingbot_ joined #minetest
04:48 Topic for #minetest is now The official Minetest channel | Latest version: 5.7.0 (2023-04-08) | General, player and modding discussion is on-topic. If in doubt, post here | Responses may take a while, be patient | Rules: https://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: https://minetest.net/servers | IRC logs: https://irc.minetest.net/minetest
04:50 srifqi joined #minetest
05:00 MinetestBot [git] fluxionary -> minetest/minetest: Set item description as infotext for item entities (#13728) 587e2b2 https://github.com/minetest/minetest/commit/587e2b252654b9e0c6ab0767f12659a7536e48b7 (2023-08-24T05:00:18Z)
05:01 fluxionary oh nice
05:02 MinetestBot [git] gamefreq0 -> minetest/minetest: Enable shift-click crafting (#13729) d0ee63c https://github.com/minetest/minetest/commit/d0ee63c76666456f82258e49ce93f6066821b033 (2023-08-24T05:00:54Z)
05:05 srifqi good work!
05:06 fluxionary thnx :)
05:07 fluxionary very minor change but one i wish i'd presented earlier
05:17 TomTom joined #minetest
05:37 calcul0n joined #minetest
06:15 critr joined #minetest
06:31 liceDibrarian joined #minetest
06:42 m33 joined #minetest
07:12 meldrian joined #minetest
07:29 Wuzzy joined #minetest
08:17 Lesha_Vel joined #minetest
08:26 sfan5 !tell kyle56 the documentation is correct in this regard, your Minetest is just very old. You reference it like any other media file, by its name.
08:26 MinetestBot sfan5: I'll pass that on when kyle56 is around
08:38 jaca122 joined #minetest
08:51 MinetestBot [git] grorp -> minetest/minetest: Clean up texture filtering settings (#13683) 72ef908 https://github.com/minetest/minetest/commit/72ef90885d5030bf6f7f9dd60a475339bde9a929 (2023-08-24T08:50:47Z)
09:48 syl joined #minetest
10:13 Thelie joined #minetest
10:30 Megaf joined #minetest
10:35 appguru joined #minetest
10:45 mazes_83 joined #minetest
10:51 s20 joined #minetest
11:07 appguru joined #minetest
11:16 m42uko_ joined #minetest
11:17 definitelya joined #minetest
11:41 sys4 joined #minetest
11:44 duds` joined #minetest
11:45 vampirefrog joined #minetest
11:47 jonadab joined #minetest
12:13 s20 joined #minetest
12:28 definitelya_ joined #minetest
12:34 proller joined #minetest
12:41 behalebabo joined #minetest
13:08 calcul0n joined #minetest
13:52 Talkless joined #minetest
14:23 bodiccea joined #minetest
14:25 bodiccea joined #minetest
14:32 Wuzzy joined #minetest
14:50 proller__ joined #minetest
14:55 Thelie joined #minetest
14:57 Valeria22 joined #minetest
14:58 nm0i joined #minetest
15:17 behalebabo joined #minetest
15:32 illwieckz joined #minetest
15:36 mrkubax10 joined #minetest
15:43 Noisytoot joined #minetest
15:47 MinetestBot [git] grorp -> minetest/minetest: TouchScreenGUI: Fix only 9 hotbar slots being usable (#13698) 92b6ff4 https://github.com/minetest/minetest/commit/92b6ff4721103389f81d725b4ae599f2a8450cc8 (2023-08-24T15:45:51Z)
15:54 critr joined #minetest
15:57 s20 joined #minetest
16:28 kyle56 joined #minetest
16:28 MinetestBot kyle56: Aug-24 08:26 UTC <sfan5> the documentation is correct in this regard, your Minetest is just very old. You reference it like any other media file, by its name.
16:56 kyle56 sfan5: it is? i use 5.7.0.
17:02 witsie joined #minetest
17:05 olliy joined #minetest
17:34 Alnotz joined #minetest
18:15 liceDibrarian joined #minetest
18:17 MinetestBot [git] grorp -> minetest/minetest: Allow nodes to have their post_effect_color affected by lighting (#1… aea9242 https://github.com/minetest/minetest/commit/aea9242a968ad4cf92fe528ce42e40066b35e10b (2023-08-24T18:16:36Z)
18:18 s20 joined #minetest
18:22 jaca122 joined #minetest
18:32 kyle56 ...which i guess i should have stated in the first place lol but oh well. i tried both the 5.7.0 version from the ubuntu stable ppa and the 5.7.0 source code from github that i compiled myself. they both seem to tell me they expect a non-empty string.
18:53 hyvoid joined #minetest
20:05 Desour joined #minetest
20:15 MinetestBot [git] Desour -> minetest/minetest: Revert "Use our GUIButton in touchscreengui" f98726c https://github.com/minetest/minetest/commit/f98726c516331dfcae3243e1b219c462561d36c0 (2023-08-24T20:14:44Z)
20:15 MinetestBot [git] Desour -> minetest/minetest: Revert "Get rid of global guienv variable" 7e4dccb https://github.com/minetest/minetest/commit/7e4dccb3b5c4c3ec8a0ba89efece44266aa75ffe (2023-08-24T20:14:44Z)
20:15 MinetestBot [git] Desour -> minetest/minetest: Revert "Get rid of guiroot" f47b004 https://github.com/minetest/minetest/commit/f47b00426a1b84d8c5c8fe24c5b7018c27195513 (2023-08-24T20:14:44Z)
20:19 Thelie joined #minetest
20:28 fluxionary joined #minetest
20:42 fluxionary joined #minetest
20:50 sfan5 kyle56: sounds like you're doing something else wrong
21:00 kyle56 well then can anyone point me to a correct example in someone else's mod?
21:00 MTDiscord <wsor4035> dynamic media file?
21:01 kyle56 yeah
21:05 MTDiscord <wsor4035> see https://content.minetest.net/zipgrep/7704c281-948e-4cb3-9a26-569a86d0f86d/
21:14 kyle56 hmm. seems like some mods try both. anyway this is my code `minetest.dynamic_add_media({filename=cdir.."test.png",ephemeral=true},donothing)` is that correct? cdir is a dir in the map folder with trailing slash donothing is a callback func that does nothing.
21:46 kyle56 oh i just realized what i did. oops
21:46 kyle56 i used filename instead of filepath. still kind of a strange error it gives
21:54 TomTom_ joined #minetest
21:56 kyle56 ok i think i got it working. it was returning false for a different issue. seems it cant load .jpeg even tho i thought mt could load them. even tho it wasnt much, thanks for the help. i think there needs to be a better error. maybe one that says filepath in the table is nil but a non-empty string is expected.
21:59 sfan5 btw passing an empty callback is not valid usage
22:04 kyle56 oh it isnt? is the callback optional or does it have to be used and do something?
22:17 sfan5 not optional, the file is only available on the client after the callback
22:17 sfan5 so you have to wait for it before trying to use it
22:19 kyle56 oh ok. thanks for clearing that up. i was about to experiment. was kinda hoping the placeholder dummy texture could be swapped when its loaded but maybe thats not the case. and even if it was, users would still be getting red errors which is not a good look
22:24 Thelie joined #minetest
22:34 panwolfram joined #minetest
23:20 Lesha_Vel joined #minetest

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