Luanti logo

IRC log for #luanti, 2025-02-06

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

All times shown according to UTC.

Time Nick Message
00:09 Verticen joined #luanti
02:58 m42uko joined #luanti
03:01 SFENCE_arch joined #luanti
03:20 Sokomine joined #luanti
03:30 diemartin joined #luanti
04:00 liceDibrarian joined #luanti
05:00 MTDiscord joined #luanti
05:40 amfl2 joined #luanti
06:20 sparky4 joined #luanti
06:39 pgimeno joined #luanti
06:47 SFENCE_arch joined #luanti
07:30 bodiccea joined #luanti
08:16 SFENCE joined #luanti
08:50 PoochInquisitor joined #luanti
11:17 gregon joined #luanti
11:25 hotcat joined #luanti
11:25 hotcat Hi
11:59 mrkubax10 joined #luanti
12:18 chilledfrogs joined #luanti
13:06 sys4 joined #luanti
13:24 ireallyhateirc joined #luanti
13:25 PoochInquisitor joined #luanti
13:41 silverwolf73828 joined #luanti
14:07 sparky4 joined #luanti
14:43 TheSilentLink joined #luanti
15:23 SwissalpS joined #luanti
15:38 SFENCE_arch joined #luanti
15:53 SFENCE joined #luanti
16:00 SpaceManiac joined #luanti
16:02 mrkubax10 joined #luanti
16:08 diemartin joined #luanti
16:11 jaca122 joined #luanti
16:13 SpaceManiac joined #luanti
16:23 est31 joined #luanti
16:32 mrkubax10 joined #luanti
16:35 SpaceManiac joined #luanti
16:56 SFENCE joined #luanti
17:17 jistr joined #luanti
17:36 Verticen joined #luanti
18:18 MinetestBot [git] Montandalar -> luanti-org/luanti: Change main website domain to `www.luanti.org` (#15748) ec83312 https://github.com/luanti-org/luanti/commit/ec833125408bf0be2703e0c00a69771187b752bf (2025-02-06T18:16:24Z)
18:20 MinetestBot [git] siliconsniffer -> luanti-org/luanti: Main menu server list: Select first compatible search result (#15755) 36c9742 https://github.com/luanti-org/luanti/commit/36c9742c0ac422b376e97486e801e36ec516ea9d (2025-02-06T18:19:38Z)
18:23 MinetestBot [git] grorp -> luanti-org/luanti: Fix enum setting used as requirement 2fb9e4d https://github.com/luanti-org/luanti/commit/2fb9e4d18a573039888cddbfdf577794e1e8db8d (2025-02-06T18:20:44Z)
18:44 Talkless joined #luanti
19:07 wrrrzr joined #luanti
19:08 wrrrzr How i can get object id via lua api?
19:08 Krock object IDs are temporary, thus bad practice to use.
19:09 wrrrzr so how i can store objects in array and save it?
19:09 rubenwardy you need to make your own object id tracking system for now
19:09 wrrrzr :(
19:09 rubenwardy persisted in static data
19:09 wrrrzr ok
19:09 rubenwardy there's a PR for stable object IDs
19:09 ireallyhateirc luatic told me that objects are valid as long as you don't restart the game
19:10 Krock the engine looks for free IDs, which is currently an upwards counter up to 16 bits or something
19:10 ireallyhateirc I simply keep a table where the key is the luaentity object
19:10 Krock once that loops around, you'll get collisions
19:11 rubenwardy if an entity is unloaded and loaded again, the ID will be different
19:11 ireallyhateirc I use weak tables so when the lua object dies it gets cleared by GC
19:11 Krock the Lua API mentions that you shouldn't keep ObjectRefs outside of callbacks, but since the lifecycle has been fixed in one of the last Minetest versions, you should be OK with that.
19:12 Krock there's an open PR to introduce a GUID system for objects but I doubt its usefulness
19:13 ireallyhateirc why wouldn't it be useful?
19:25 celeron55 that weak table sounds like it may be just about the best idea right now. but once the stable ids go in, then that's definitely the way to go
19:26 SFENCE joined #luanti
19:35 Krock ireallyhateirc: it boils down to having a duplicated tracking system. no matter the efforts you make, entities may be deleted/cleared without ever cleaning up its mod-specific data
19:35 Krock garbage will pile up, unless you can somehow store all information in the entity itself (staticdata), which is already possible now.
20:32 YuGiOhJCJ joined #luanti
20:54 krisbug joined #luanti
20:54 ROllerozxa joined #luanti
20:54 rodrigo-` joined #luanti
20:57 zleap joined #luanti
21:05 Thermoriax joined #luanti
22:04 Kimapr joined #luanti
22:24 shinbet joined #luanti
23:19 ireallyhateirc on F-droid there's this "android_defaults" or whatever flag and because of it Exile doesn't show up in ContentDB browser
23:19 ireallyhateirc how to fix this?
23:19 rubenwardy from the settings, edit contentdb_flag_blacklist to remove android_defaults
23:19 MTDiscord <wsor4035> remove it from settings
23:20 ireallyhateirc Okay, thanks
23:21 ireallyhateirc I was wondering why we had no Multicraft players lately lol
23:37 panwolfram joined #luanti

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