Time Nick Message 07:42 bingfengfsx is anyone here? 08:12 Emerald2 Not very active at this time of night, bingfengfsx. 08:55 bingfengfsx emmmmm 08:56 Emerald2 Do you need something? 08:56 bingfengfsx Discuss the future development of minetest 08:57 bingfengfsx Minetest game really want to stop adding new features? 08:59 Emerald2 I'm not very familiar with the situation. 09:00 dievri hello. I have custom entity with counter and counter functions. I want to create two custom tools, one for increment, other for decrement. Should I trigger counter functions in on_pounch function? 09:01 bingfengfsx https://forum.minetest.net/viewtopic.php?f=18&t=25152 09:01 bingfengfsx https://github.com/minetest/minetest_game/issues/2710 09:01 bingfengfsx @dievri 09:01 bingfengfsx i dont know 09:07 bingfengfsx_ ~ 09:14 MTDiscord <08f​reshreplicant> Is that your comment at the end? 09:27 bingfengfsx_ @freshrepicant 09:27 bingfengfsx_ yes! 09:30 bingfengfsx_ last comment 09:31 bingfengfsx_ from my! 09:31 MTDiscord <08f​reshreplicant> I'm too new to Minetest to really contribute to the conversation, but I think the developers do sometimes appear here. 09:33 MTDiscord <08f​reshreplicant> From my understanding, Minetest the Game has been frozen before, so it might not necessarily be the 'end of MTG'. 09:35 bingfengfsx_ The reason I don’t recommend this is mainly because it affects the out-of-the-box gaming experience. After all, most games can be played directly after installation. If the built-in default game package is stronger, it will be beneficial to the game Promotion and experience. 09:35 bingfengfsx_ Of course I know that minetest_game will exist forever, but it is not good not to update new features. 09:40 MTDiscord <08f​reshreplicant> Yeah, I can certainly see that point. I think there will definitely be people who will install MT and then try to play it, see there's no 'game' with it and just move on. You could say 'we don't want those kind of people', but some of those people might be kids for example (or less technically literate adults). 09:41 MTDiscord <08f​reshreplicant> Plus if Minetest had a greater network effect, you could attract more modders, contributors, etc. 09:42 bingfengfsx_ yes,yes,yes 09:43 bingfengfsx_ and, your username is MTDiscord freshreplicant? 09:43 bingfengfsx_ minetest's discord community,i not found 09:46 MTDiscord <08f​reshreplicant> I'm on the unoffical Minetest discord, they have an IRC bridge set up - not sure I'm using it right. 09:50 MTDiscord <08f​reshreplicant> https://discord.gg/7P9kYZ 09:50 MTDiscord <08f​reshreplicant> I think that's it. 09:55 MTDiscord <11I​hrFussel> The devs are planning to redesign the main menu so that it 'urges' you to download a game...right now I agree with the whole 'people will see there is no (exciting) game and move on' 09:56 MTDiscord <05澜​汐> 大家好! 09:56 MTDiscord <05澜​汐> i'm BingFengFSX(IFRFSX) 09:59 bingfengfsx_ emmmm 10:30 dievri is it possible to make entity immortal inside initial_properties? 11:18 rubenwardy dievri: yes, you can set any property there 11:18 rubenwardy "immortal" is an armor group that prevents the entity from taking punch damage 11:22 dievri I'm putting this string in the initial_properties, but no effect - armor_groups = { immortal = 0 } 11:38 rubenwardy try = 1 11:38 rubenwardy =0 means not in the group, usually 12:50 MTDiscord <12W​arr1024> The MTG Maintenance Mode issue should probably be locked, because it's the kind of thing that will tend to attract a lot of uninformed opinions. 12:50 MTDiscord <12W​arr1024> (I say without failing to notice the potential for irony) 12:51 sfan5 nothing bad about opinions 12:51 sfan5 unless it turns into flamewar 12:53 MTDiscord <12W​arr1024> Eh, I tend to see opinions as generally bad ... uninformed ones in particular. A flamewar would be bad for certain, but a slow smolder is also not helpful. Arguably that kind of thing is exactly the kind of attention-sink that MTG going into maint mode is supposed to avoid... 12:54 MTDiscord <12W​arr1024> By "uninformed" specifically what I mean is people who see the sensational headline thinking "MT's default game is halting development" but don't know about the debundling or main menu revamp efforts. 12:55 MTDiscord <12W​arr1024> There is a LOT of background to digest in those in order to achieve "informed" status. I've been an enthusiast for those reforms and even my informedness has probably expired by now. 12:57 MTDiscord <12W​arr1024> I suppose maybe if the main menu stuff moves forward first then it will become easier to have the conversations about the rest of the vision... 14:00 MTDiscord <08f​reshreplicant> ...err...I may have submitted a long uninformed post in the forum on precisely that topic...just before reading your message here. 14:01 MTDiscord <06k​b1000> why do some people on irc have pictures on their messages on discord? 14:02 kb1000 Where would you set that picture up? 14:02 MTDiscord <06k​b1000> oh 14:03 MTDiscord <12W​arr1024> yeah, you just need to have your IRC nick match your Discord username 14:04 MTDiscord <12W​arr1024> side note: Discord users would be well advised to make sure they have their nick registered and protected on freenode to make sure nobody can drop in and use their picture 14:07 MTDiscord <06k​b1000> actually i didnt even write that message through irc lol more like matrix... 14:57 dievri when I call get_luaentity() on custom entity and modify custom properties, this properties inherited by all objects of the entity? 14:59 dievri I would like that my custom entities preserve they state, which initially was set 15:00 MTDiscord <12W​arr1024> the lua entity is a lua table, whose metatable indexes a table that's the prototype of the entity definiton ... so the answer is a bit complex due to aliasing 15:00 MTDiscord <12W​arr1024> if you're calling set_properties() on the object (not the luaent) then you are definitely always modifying a single object 15:01 MTDiscord <12W​arr1024> if you're dong something like luaentity.age = luaentity.age + dtime then your change also only affects one object 15:02 MTDiscord <12W​arr1024> but if you do something like luaentity.basepos.y = luaentity.basepos.y + 1 then you might be modifying one entity, or you might be modifying all of them, depending on whether you made an independent copy of basepos for that specific entity, or if it's being inherited from the prototype. 15:04 dievri I'm doing the following 15:04 dievri 1) local entity = minetest.add_entity .... 15:04 dievri 2) entity:get_luaentity().lua_properties.path = fullpath 15:05 dievri path and fullpath are strings, initially in minetest.register_entity path is set like lua_properties = { path = "" } 15:06 MTDiscord <04L​one_Wolf> .path == ["path"] 15:07 MTDiscord <12W​arr1024> lua_properties is something defined in the entity registration itself? 15:07 MTDiscord <12W​arr1024> or is it being written on_activate or something? 15:08 dievri after initial properties, initial_properties = {...}, lua_properties = {... }, 15:08 MTDiscord <12W​arr1024> assuming you're not making an explicit copy anywhere, it looks to me like you're probably aliasing the one shared one from the prototype 15:08 MTDiscord <12W​arr1024> so when you change the path for one, you're changing the path for all. 15:08 dievri how explicit copy should be done properly? 15:09 MTDiscord <12W​arr1024> simplest thing to do is ditch lua_properties and just put the custom properties right onto the prototype object. Aliasing doesn't happen with primitives or non-nested element assignments. 15:09 MTDiscord <12W​arr1024> alternatively on_activate you do something like local base = self.lua_properties self.lua_properties = {} for k, v in pairs(base) do self.lua_properties[k] = v end, but that only works if there are no nested tables in there 15:10 MTDiscord <12W​arr1024> if you have a self.lua_properties.basepos.x or something then you'll have to recursively copy 15:10 MTDiscord <12W​arr1024> minetest.deserialize(minetest.serialize(table)) is a simple naive way to copy, though there's probably some overhead cost that may make it scale a bit worse 15:11 MTDiscord <12W​arr1024> The real question here is why lua_properties exists, because even in the absence of an explicit reason for it NOT to exist, it would still need a reason to exist. 15:11 MTDiscord <04L​one_Wolf> Is 'path' a variable? 15:11 MTDiscord <04L​one_Wolf> Darn internet lol 15:12 MTDiscord <04L​one_Wolf> Can just ignore that 15:14 dievri great, now everything is working. lua_properties exists no more) thanks 15:17 MTDiscord <12W​arr1024> Yeah, entities are a little tricky in the way they use metatables. You don't run into this issue with nodes because nodes don't have per-instance lua objects, so you're interacting ONLY with the definitions themselves, and ephemeral node {name=...,param=...,param2=...} tables. 15:22 Miniontoby hmm 15:22 Miniontoby hey 15:22 Miniontoby im going 15:34 katp32 hi, I have a bit of an issue 15:35 katp32 it seems that an invalid entity has been created due to me forgetting to update minetest_game 15:35 katp32 that's fine, everything is updated now, but the issue is, that entity appears to still be in the save file, so every time the server starts, it immediately crashes again 15:35 katp32 is there a way to make it... uh... not do that? 16:26 Krock perhaps post a link to the error messages first? 16:55 katp32 https://dpaste.com/DWC83PZQF 16:58 Krock grep -r "on_step = function" --- inside your mods/ directory 16:58 Krock update those accordingly 16:59 Krock actually this would be better: grep -r "on_step\(" (or similar) 17:01 katp32 update them how? 17:01 Krock git pull 17:02 katp32 ah, nope, they're all already the latest 17:02 Krock or contentdb update function 17:02 Krock then minetest_game needs an update - or whatever game you're using 17:02 katp32 ...er, nevermind apparently 17:02 katp32 ohhh, I'm an idiot lmao, I forgot to update my git submodules 18:51 MinetestBot 02[git] 04Lejo1 -> 03minetest/minetest: Prevent interacting with items out of the hotbar (#10359) 136dcc9e6 https://git.io/JUsTB (152020-09-04T18:50:33Z) 18:51 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Devtest: Extend tooltips of many items and tools (#10312) 139faeca3 https://git.io/JUsTR (152020-09-04T18:50:03Z) 18:51 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Scale inventory image for scaled allfaces nodes (#10225) 13b3ace8f https://git.io/JUsT0 (152020-09-04T18:49:50Z) 18:51 MinetestBot 02[git] 04appgurueu -> 03minetest/minetest: Fix inventory swapping not calling all callbacks (#9923) 13050964b https://git.io/JUsTE (152020-09-04T18:49:07Z)