Minetest logo

IRC log for #minetest-dev, 2024-06-18

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

All times shown according to UTC.

Time Nick Message
00:01 nekobit rubenwardy: For the Lua wrapper, should I put this in scripting_client, mainmenu, emerge, or server?
00:02 nekobit mainmenu makes sense, but those are async. Not sure what to do about that
00:02 rubenwardy needs to be available in the mainmenu. It has both sync and async methods
00:04 nekobit are there any docs on this
00:26 nekobit rubenwardy: Did you want all of the contentdb functions to be rewritten in C++? Or just contentdb.lua and pkgmgr.lua?
00:30 rubenwardy The other files are UI related which you'll want to keep in Lua
00:31 rubenwardy If I was doing this, I'd start by moving the stuff that's needed by both cpp and Lua to the same implementation in src/content. That's generally parsing file directory structures to build a content tree
00:32 rubenwardy Well then again I haven't looked into it fully
00:32 rubenwardy This isn't the best first task so sorry for that
00:33 MTDiscord <exe_virus> "are there any docs on this" - Ha. Ha ha ha.   We have decent documentation for modding API, but not the engine. That's a crapshoot. luckily we're semi helpful with questions
00:34 nekobit It's fine. I'm making do. Yeah I can see it's quite undocumented. I'm just digging around for what I can find.
00:35 nekobit My main roadblock is trying to put my pkgmgr methods in a table like pkgmgr.get_folder_type. Not sure how to do this
00:37 nekobit Ha, thank goodness i compiled Lua with the doc useflag...
00:54 ShadowBot joined #minetest-dev
00:58 SpaceManiac joined #minetest-dev
01:08 SpaceManiac joined #minetest-dev
01:17 SpaceManiac joined #minetest-dev
01:29 ShadowBot joined #minetest-dev
02:35 nekobit I just wasted like 4 hours trying to figure out how to add my function to a table
02:36 nekobit Turns out, this entire time, pkgmgr.lua was setting the pkgmgr table to {}, making it empty.. so my results from C never even showed up...
03:04 diceLibrarian joined #minetest-dev
03:22 MTDiscord <exe_virus> :<
04:00 MTDiscord joined #minetest-dev
05:13 SpaceManiac joined #minetest-dev
05:31 SpaceMan1ac joined #minetest-dev
05:51 YuGiOhJCJ joined #minetest-dev
07:15 SFENCE joined #minetest-dev
07:25 SFENCE joined #minetest-dev
07:28 SFENCE joined #minetest-dev
08:32 cranez joined #minetest-dev
09:33 MTDiscord <herowl> nekobit: you're doing a refactoring of pkgmgr code? you could check out #14543 for reference, so that you at least don't make it harder, or maybe incorporate some parts of it (not sure how deep you are going)
09:33 ShadowBot https://github.com/minetest/minetest/issues/14543 -- Add gameid aliases by nauta-turbidus
11:26 MTDiscord1 joined #minetest-dev
11:44 Soni joined #minetest-dev
12:17 Soni joined #minetest-dev
12:48 nekobit Thanks
15:25 oong819 joined #minetest-dev
15:31 oong819 joined #minetest-dev
16:49 oong819 joined #minetest-dev
17:00 fluxionary joined #minetest-dev
22:34 panwolfram joined #minetest-dev
22:56 jonadab joined #minetest-dev
23:05 Eragon joined #minetest-dev
23:33 SpaceManiac joined #minetest-dev

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