Time Nick Message 01:48 MTDiscord Hey Krock, I see that kilbith left you in charge of i3, I am looking at trying to extend it somewhat, but all of its formspec code is localized. I.e. I would have to regurgitate the entire init.lua to overwrite a few values. I just wanted to add a new tab to it for in-game documentation like how skins or armor or awards or waypoints all have a tab. I see there is a "newtab()" function but it seems to be for earlier renditions of the 01:48 MTDiscord inventory formspec. ideas on how to get myself worked into that system? (I just need a single button haha) 01:48 MTDiscord (from #dev) 01:49 MTDiscord adding a new item in where skins/waypoints/armor is would never work because of space 01:49 MTDiscord right, unless either horizontal scroll is added or I was able to overwrite say the awards tab for my game 01:49 MTDiscord and you can still register a whole new tab https://github.com/minetest-mods/i3/blob/main/API.md 01:50 MTDiscord yeah but I have no examples, and overwriting it did nothing 01:51 MTDiscord why cant you use the existing awards anyways? 01:51 MTDiscord it's a documentation mod? how would I abuse awards? 01:51 MTDiscord everything is local, I can't change the text or the image, etc. 01:51 MTDiscord maybe I can change the image since I load 2nd haha 01:52 MTDiscord but the tooltip will be wrong 01:54 MTDiscord ....the images come from the award? 01:54 MTDiscord nvm, I think I got it somewhat working 01:54 MTDiscord we're getting there 01:54 MTDiscord not i3 01:54 MTDiscord hurm, but it wont be easy to switch between the two formspecs.... hurm...... 01:54 MTDiscord >icon https://gitlab.com/rubenwardy/awards 01:56 MTDiscord point is all the stuff in awards comes from the awards mod 01:56 MTDiscord so everything is not local 01:58 MTDiscord no, there's a lot of local display formspec stuff very much specific to awards in there 01:59 MTDiscord and I would be overriding that, when player might want to actually be able to use awards with my game 01:59 MTDiscord so, I'll find a different path. It looks like this tab thing could work, just gotta rework my formspec a bit to look very close to i3's so it's more seemless 12:45 AristotIe I'm trying to run a minetest server on a 5.5.0-dev version, compiled from source code, and I get an error where it says that "type = cooking" isn't correct (this is in a crafting recipe) is there a new way to do this or... 12:46 AristotIe acutally, it says "invalid crafting recipe" for the next line, but .minetest/debug.txt points to "type = cooking" 12:48 calcul0n i think it just points the first line of the recipe, the problem can be somewhere else in the table 12:49 calcul0n but is it really type = cooking? it should be type = "cooking" with quotes 13:39 AristotIe hmm 13:43 AristotIe oh, ok 13:43 AristotIe for some reason minetest 5.1.0 didn't complain about that 14:53 Sokomine anyone seen AspireMint recently on any server or elsewhere? 14:54 rubenwardy they were on Discord half a year ago 14:54 rubenwardy oh nevermind 17:44 ghoti If a digiline is placed next to a wireless mesecon interface, it appears to attach. But is there any interaction? I don't see any digiline events coming across the wire. 17:54 calcul0n ghoti, it works fine here 17:56 Krock @exe_virus tbh I only used i3, but did not take care of any code-relevant tasks 17:57 Krock if you'd like to make larger changes, please split the code first into multiple files 17:57 Krock and a second PR would then be about extending it 17:58 Krock please keep in mind that some functions might benefit from an additional API abstraction layer to be more flexible for future changes 18:03 Krock loadfile(....)(i3_private_table) might be helpful to only expose API-relevant functions to the "i3" table 18:03 * ghoti scratches his head 18:04 ghoti calcul0n: Ok, HOW does it work? Do you get an event named for the wireless channel to the luacontroller, with a message denoting its state? Or do you send a GET to a digiline channel which gets picked up by the wireless device using a channel of the same name, or .. etc? 18:05 calcul0n as far as i understand the channel in wireless and digiline channels are not related 18:06 MTDiscord which wireless are we discussing 18:06 calcul0n so any digiline event coming to a wireless is transmitted to other wireless with the same name 18:06 calcul0n good question, moremesecons i guess :) 18:07 ghoti AH, that is useful to know, though it is not what I am looking to do. Any tips on how to get the status of bank of wireless nodes into variables in a luacontroller? 18:07 ghoti Perhaps use additional luacontrollers with mesecon inputs to extend a main luacontroller's gpio? 18:07 MTDiscord There are two wireless mods that I know of, but they likely operate the same 18:08 ghoti GreenXenith, I'm using moremesecons_wireless. 18:09 MTDiscord kay 18:12 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: Remove a few unused functions reported by callcatcher (#11658) 13ecc6f4b https://git.io/JKkjx (152021-10-12T18:12:20Z) 18:13 calcul0n not sure to get what you want but yes, i think a mesecons signal is the only way to get the status of the node 18:13 calcul0n if by status you mean on/off 18:15 MinetestBot 02[git] 04savilli -> 03minetest/minetest: Fix player HP desync between client and server 136ea558f https://git.io/JKIvF (152021-10-12T18:12:49Z) 18:15 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Remove broken timeout behaviour 13fe5cb2c https://git.io/JKIvb (152021-10-12T18:13:09Z) 18:15 MTDiscord Gotcha understood Krock. The only things I would change short term would be to break the file up, change the sub menus (awards, skins, armor, etc) into abstract tabs so any set could be loaded, rather than just those 5, and probably make it a horizontal scrollbar container so that we can have as many tabs as someone registers. The final thing would be to work on the new tab API, as I think it's decent, just not great 18:16 MTDiscord Oh, and make compression stuff an API, so that mods can self register their own compressed crafts 18:16 Krock yes, that totally sounds like a good plan. Once the huge chunk of init.lua is split up, this should be rather simple to implement 19:32 wsor4035 Krock, you still around by any chance? 19:38 Krock wsor4035: 200 OK 19:40 beanzilla Is there a way to ask mod storage to be saved? (I want to use mod storage but I don't want to loose a lot of data because it never saved when the server crashes (if it crashes but didn't save in a while)) 19:40 Krock beanzilla: periodically done by server 19:41 Krock all 5 seconds or so, I believe. 19:41 Krock depends on server_map_save_interval 19:41 Krock to answer your question: no, there's no such function 19:42 beanzilla Oh, ok, well then I will use the mod storage then. (I kind of figured it periodically saved by is self, but wanted to just ask) 19:45 Krock oh. it also gets written when the StorageRef userdata is garbage-collected 19:54 Bombo does https://github.com/EliasFleckenstein03/playerlist work for anyone? does it work with 5.4.1? nothing happens when i press 'sneak' 19:56 Bombo i added a log to the init.lua: 'controls.register_on_press(function(user, key) if key == playerlist_key and user then minetest.log("action", "[MOD] sneak pressed") ...' but doesn't happen 19:57 Bombo at the end i added minetest.log("action", "[MOD] playerlist loaded") so i see that it gets loaded 19:57 wsor4035 well, i did ping you, but was going to ask if you could take a look at https://github.com/minetest-mods/i3/pull/34 sometime 20:04 Krock wsor4035: okay. will do. 20:08 sfan5 huh seems like mineclone5 disappeared from contentdb 21:05 MTDiscord yup 21:05 MTDiscord licensing issues 21:05 MTDiscord rather ironic 21:07 wsor4035 thanks krock 21:13 wsor4035 sfan5: https://content.minetest.net/threads/821/ 21:15 sfan5 huh 21:15 wsor4035 read the last comment, response to "huh seems like mineclone5 disappeared from contentdb" 21:16 sfan5 yes I get it 23:02 Gustavo6046 for some reason going south or east is always faster than going west or north 23:03 Gustavo6046 it seems like it's going west or north that is abnormally slow, though 23:03 Gustavo6046 why is that? how can I eliminate this asymmetry? 23:07 MTDiscord what game/mods/etc 23:27 Gustavo6046 ah 23:28 Gustavo6046 minetest_game, and a selection of mods 23:28 Gustavo6046 I'm starting to suspect it's the sprint mod 23:29 Gustavo6046 let me sed up a list of loaded mods from the world.mt 23:32 Gustavo6046 aaa sed 23:33 MTDiscord sounds like incorrect velocity or something being applied, but havent touched that mod 23:35 Gustavo6046 er 23:35 Gustavo6046 it was called hbsprint or something 23:36 Gustavo6046 ah there we go! 23:36 Gustavo6046 https://termbin.com/fzkm 23:37 Gustavo6046 hmm 23:37 Gustavo6046 are boat controls not simulated/predicted clientside? 23:38 Gustavo6046 sometimes they seem to wait for server acknowledgement instead 23:39 MTDiscord correct 23:39 Gustavo6046 it could be done like in Unreal 23:39 MTDiscord im not sure even sscsm would help 23:39 Gustavo6046 even what? 23:39 Gustavo6046 I'm talking about Replication 23:40 MTDiscord because the entity is serverside, while the player is client side 23:40 MTDiscord sscsm = server sent client side mods 23:40 Gustavo6046 ah 23:40 Gustavo6046 well, Unreal does that, but only some functions are executed clientside 23:40 Gustavo6046 usually predictable things like simple physics (position += velocity * time_delta) 23:40 Gustavo6046 let me find a link 23:50 Gustavo6046 aha! I think it is this https://duckduckgo.com/l/?uddg=https://wiki.beyondunreal.com/Replication_overview&rut=18cd0d074700be58712e370a56e6105727c732ebe4692d5b572b2ccce7f5390e 23:51 Gustavo6046 anyway 23:51 Gustavo6046 are cocoa beans plantable? 23:51 Gustavo6046 err 23:51 Gustavo6046 ddg link lol 23:58 calcul0n for some reason going south or east is always faster than going west or north <- it might be a mod adding wind, making you slower when you walk against it 23:59 calcul0n and yes you can plant cocoa beans by placing them on jungle tree trunks