Time Nick Message 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. 05:00 MinetestBot 02[git] 04fluxionary -> 03minetest/minetest: Set item description as infotext for item entities (#13728) 13587e2b2 https://github.com/minetest/minetest/commit/587e2b252654b9e0c6ab0767f12659a7536e48b7 (152023-08-24T05:00:18Z) 05:01 fluxionary oh nice 05:02 MinetestBot 02[git] 04gamefreq0 -> 03minetest/minetest: Enable shift-click crafting (#13729) 13d0ee63c https://github.com/minetest/minetest/commit/d0ee63c76666456f82258e49ce93f6066821b033 (152023-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 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:51 MinetestBot 02[git] 04grorp -> 03minetest/minetest: Clean up texture filtering settings (#13683) 1372ef908 https://github.com/minetest/minetest/commit/72ef90885d5030bf6f7f9dd60a475339bde9a929 (152023-08-24T08:50:47Z) 15:47 MinetestBot 02[git] 04grorp -> 03minetest/minetest: TouchScreenGUI: Fix only 9 hotbar slots being usable (#13698) 1392b6ff4 https://github.com/minetest/minetest/commit/92b6ff4721103389f81d725b4ae599f2a8450cc8 (152023-08-24T15:45:51Z) 16:28 MinetestBot kyle56: Aug-24 08:26 UTC 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. 18:17 MinetestBot 02[git] 04grorp -> 03minetest/minetest: Allow nodes to have their post_effect_color affected by lighting (#1… 13aea9242 https://github.com/minetest/minetest/commit/aea9242a968ad4cf92fe528ce42e40066b35e10b (152023-08-24T18:16:36Z) 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. 20:15 MinetestBot 02[git] 04Desour -> 03minetest/minetest: Revert "Use our GUIButton in touchscreengui" 13f98726c https://github.com/minetest/minetest/commit/f98726c516331dfcae3243e1b219c462561d36c0 (152023-08-24T20:14:44Z) 20:15 MinetestBot 02[git] 04Desour -> 03minetest/minetest: Revert "Get rid of global guienv variable" 137e4dccb https://github.com/minetest/minetest/commit/7e4dccb3b5c4c3ec8a0ba89efece44266aa75ffe (152023-08-24T20:14:44Z) 20:15 MinetestBot 02[git] 04Desour -> 03minetest/minetest: Revert "Get rid of guiroot" 13f47b004 https://github.com/minetest/minetest/commit/f47b00426a1b84d8c5c8fe24c5b7018c27195513 (152023-08-24T20:14:44Z) 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 dynamic media file? 21:01 kyle56 yeah 21:05 MTDiscord 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: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