Time Nick Message 06:20 SFENCE_ I assume, If I would like to do a recipe, which will change item, but do not change item wear, it is not possible in actual engine? 06:23 [MatrxMT] probably need to use `core.register_on_craft` to make sure the wear is set appropriately 07:08 SwissalpS SFENCE_: you probably need to catch in core.on_craft() or smth like that and transfer the meta data. 07:09 [MatrxMT] SwissalpS: You don't mean monkeypatching do you? Because surely the callback I mentioned is fine 07:09 SwissalpS github/mt-mods/glider does something similar 07:10 SwissalpS Blockhead256 my blury morning eyes didn't see your message between all those join/quit messages ;) 07:10 SwissalpS that's the one :D 07:10 [MatrxMT] aha, I don't get join/quit spam in Matrix :P 08:21 MinetestBot 02[git] 04OffTheBeatenByte -> 03luanti-org/luanti: Fix incorrect minimap radar access (#16709) 13cc16a55 https://github.com/luanti-org/luanti/commit/cc16a55d7898fced137d7b3ed8e2ccd3baaeabeb (152025-12-06T08:20:48Z) 08:21 MinetestBot 02[git] 04Desour -> 03luanti-org/luanti: Add order check in unittest for `privs_to_string` 135f468ea https://github.com/luanti-org/luanti/commit/5f468eae21116a31d637d170fd9516c5a5879e75 (152025-12-06T08:21:05Z) 14:09 [MatrxMT] Can you preload mapblocks? 14:15 MTDiscord What immediately comes to mind is force loading 14:15 MTDiscord Might be a better solution 14:29 [MatrxMT] Can it load an unloaded block? And can it load it for an player or is it loaded for server only? 14:30 [MatrxMT] I want to make an space region which is just empty space but not near planets 14:30 [MatrxMT] every player gets one 14:43 sfan5 check out core.load_area 14:44 [MatrxMT] okay 15:05 ireallyhateirc is reading and writing to the IPC thing synchronous? Say I read a value from the IPC in one lua env and then increment it and push to the IPC again. Is it possible for another env to modify the key between the read and write operations? 15:08 cheapie I would assume it is possible for it to change, otherwise core.ipc_cas() wouldn't exist 15:16 ireallyhateirc so I just run core.ipc_cas() until it works? 15:16 ireallyhateirc (and update values accordingly in case of change) 15:17 cheapie Pretty much, if it succeeds you continue on, if it fails you update everything in your thread to match the change, then try again 15:21 ireallyhateirc I'm working on a system for events and callbacks btw and the goal is to make pushing events to other lua envs possible 15:22 ireallyhateirc e.g. notifying the mapgen thread that there was a season change and that it needs to place snow now 16:12 jstone Hello! I run a Luanti server that has a local branch of Mineclonia with some downstream patches which gets pointed to with --gameid, and while clients can download data assets from my remote media server to drastically speed up downloads, it seems like they still download the "vanilla" Mineclonia .lua files. Is there a preferred way to manage mods 16:12 jstone for a server without having to outright put the mod ContentDB? 16:18 MTDiscord Clients don't download mods 16:18 MTDiscord For servers. On single-player you need the game itself and remote media isn't going to work there 16:22 jstone Okay, so what can be done? If clients don't download mods, then how would I be able to centralize code for mechanics like minecart speed, inventory size, etc? 16:22 jstone *mods for servers 16:24 MTDiscord On a server I would just put everything in worldmods and manage them as submodules. Course thats for mods, not a game 16:30 jstone Is there an example I could look to for that? For example, what would I do to make sure changing `inv:set_size()` to use a bigger size is propagated to clients connecting to my server? https://codeberg.org/mineclonia/mineclonia/src/tag/0.118.0/mods/HUD/mcl_inventory/init.lua#L233 16:31 MTDiscord Blockysurvival, pandorasnox, secretive, etc all use that 16:31 MTDiscord ....and your eyes? 16:32 jstone Your eyes? 16:32 MTDiscord The things connected to your brain? 16:34 MTDiscord Mods are executed on the server and the engine sends instructions to the client 16:34 MTDiscord For your specific example, a mod doing that would also have to show those slots in the inventory to see them, or render them somewhere else 16:36 jstone Yes, and I'm trying to figure out the entrypoint for making sure that expanding the inventory size on the server is also seen on the client. If I set it to be, say, "56", then in theory I should see two more rows of items in the inventory. Yet that's not what I'm seeing. Hence why I'm asking you how to make this work :) 16:36 jstone I don't know if the mods on the client are being downloaded separately through ContentDB 16:37 MTDiscord Again, mods run on the server and are not downloaded on the client 16:37 MTDiscord The server sends the media to the client 16:37 jstone Yes, that much I already understand 16:38 MTDiscord In your example think of it like having 50 chairs and buying another 10. If you don't set them up no one will ever use them 16:38 MTDiscord So you need to show the slots 16:40 jstone That is what `inv:set_size("main", 36)` is supposed to be for. Or at least, that's how it worked the last time I worked on this a year ago 16:41 jstone I'm trying to basically do some development for potentially upstreaming some patches to Mineclonia, so it's incredibly important to make sure the modding behavior works on the client side 16:48 jstone I'm just a software developer interested in contributing to a FOSS project in their spare time, so it wouldn't hurt to be nicer and more accommodating to newcomers ;) 16:53 MTDiscord All the engine does with that api is add more slots to put things, it doesn't render them in the inventory 16:53 MTDiscord A mod uses formspecs to render those spots 16:57 jstone Okay, so simply increasing the number of slots isn't enough, there's another section I'd have to modify so it actually displays the greater inventory size in the player HUD? 16:57 MTDiscord In the most simple terms. You need to make 2 changes. 1. Call inv set size to a bigger size 2. In the formspec inventory def add rendering/layout those new slots 16:57 MTDiscord Yes 16:58 MTDiscord See dreambuilder hotbar on cdb for example 17:00 MTDiscord (Swap step 2 for hud if you want it there instead of invnetory) 17:04 jstone I guess I'd have to modify sections that call mcl_formspec.get_itemslot_bg()? https://codeberg.org/mineclonia/mineclonia/src/tag/0.118.0/mods/HUD/mcl_formspec/init.lua#L6 18:41 cheapie totally normal escalator https://cheapiesystems.com/media/2025-12-06%2012-36-34.webm 18:47 * user333_ downloads the video with yt-dlp because his connection is too slow to play it in real time 18:52 ireallyhateirc the forbidden escalator 18:53 cheapie user333_: You could also just download it with wget or curl 18:54 user333_ i already have yt-dlp and know how to use it, besides, it's configured to put them into the right folder and rename them properly 18:56 user333_ i could also just rightclick -> "Save video as..." in the web browser 18:56 cheapie I guess that works, TBH I wasn't even aware that yt-dlp understood links directly to video files 18:57 user333_ it has a wide range of supported sites and a generic one that works on those videos 18:57 user333_ a generic downloader* 19:11 user333_ or do it the overly complicated way: https://paste.centos.org/view/69af87dd 20:58 cheapie Don't mind me, just blowing up a tornado siren in Bonnthal: https://cheapiesystems.com/media/2025-12-06%2014-56-04.webm 20:59 MTDiscord user11 classic 21:01 cheapie Maybe someday I'll manage to teach User11 about the wonders of particle spawners and core.dynamic_add_media() 21:38 Desour cheapie: I love your videos 21:39 Desour game jam results: uncloseable formspecs seem to be really popular 21:40 user333_ oh, only 2 hours left to rate games 21:40 user333_ i'm not going to rate because i helped make one so the results would be biased 21:41 MTDiscord You can still rate, as it will ignore any packages you contributed to 21:42 user333_ my name isn't on the package anyway 21:42 user333_ i helped with a few textures and levels, thats about it 21:42 user333_ i also haven't played them all 21:43 MTDiscord > Groups/teams may participate (all members must be included in the Maintainers ContentDB field). 21:43 MTDiscord Emphasis on "all members must be included [as] Maintainers" 21:43 MTDiscord At the very least, credited 21:44 cheapie Desour: There are some NSFW (only moderately so, but still...) ones too: https://cheapiesystems.com/media/2025-12-06%2010-44-27.webm - I might have been playing around with particle spawners 21:44 user333_ i'm fine with no credit, i didn't really do that much tbh 21:46 mrcheese lol if i were to rank my own game it would probably be a C or D ;-; 21:46 user333_ mrcheese: it's more of an 'interactive tech demo' than a game tbh 21:46 mrcheese yeaaah- 21:46 mrcheese XD 21:46 Desour cheapie: making a mod like that is so natural given how particle spawners work. I wonder why we don't have dozens of this. (I think wanted to make one as well. apparently I forgot it) 21:46 cheapie That was another not-a-mod, just playing with //lua 21:47 Desour x) 21:47 mrcheese lol //lua is the best 21:47 user333_ ah, //lua, everyone's favorite chatcommand to mess with the game 21:47 mrcheese >:) 21:47 cheapie Later they found the stairwell pressurization fan [similarly NSFW] https://cheapiesystems.com/media/2025-12-06%2011-13-25.webm 21:47 MTDiscord It's all coming back to me now 21:48 Desour oh god. imagine how hard that is to clean D: 21:48 Desour the smell 21:48 user333_ dont give me ideas- i have worldedit and server privs on a public server 21:48 mrcheese loool 21:48 cheapie I do too... this was a public server :P 21:49 ireallyhateirc piss particles? 21:49 mrcheese xd 21:49 user333_ mrcheese: we need to make a chatcommand to do that to players- 21:49 mrcheese that is awful xD 21:50 mrcheese what would it even be called??? /piss? 21:50 user333_ idk 21:53 * mrcheese tries to write Conway's game of life for //lua... :P 21:53 user333_ you already did snake with //lua 21:53 mrcheese lol 21:54 mrcheese that was smth like 1200 characters in total 21:54 cheapie I did Conway's Game of Life for the digistuff GPU once, with the Luacontroller having no knowledge of the current state 21:54 mrcheese cheapie: yea ik 21:55 mrcheese i already have a thing to do the game of life but its like 1000 characters (it used the world as its way to keep track of the state) 22:15 mrcheese 1 hour 45 minutes to rank the games 22:22 Desour I found 1 week a bit short to play 12 games, tbh 22:24 mrcheese lol 22:24 mrcheese would have prefered 7 games .-. 22:25 user333_ i'm sure we found 3 weeks too short to make one game ;) 22:28 mrcheese lol 22:28 mrcheese why does contentDB not have a "Tech demo" tag :P. 23:04 MTDiscord is there any tech demo that can't be expanded into a useful mod? 23:09 mrcheese not really but would have been nice to have on my game :P 23:09 cheapie I changed the P to E on this parking ticket dispenser, it dispenses something different now: https://cheapiesystems.com/media/2025-12-06%2017-00-53.webm 23:11 MTDiscord describe it 23:11 MTDiscord ? 23:11 cheapie hmm? 23:12 MTDiscord mrcheese's game 23:12 mrcheese ? 23:12 MTDiscord like what is the game 23:12 MTDiscord where do I find it 23:13 mrcheese its called SUPERPOSITION on ContentDB :P 23:13 mrcheese (it has like 5 game breaking bugs atm) 23:14 MTDiscord tried using swipe-typing to type its name got "airworthiness" 23:14 MTDiscord didn't know autocomplete recognized it when it didn't recognize some others 23:15 mrcheese xD