Minetest logo

IRC log for #minetest, 2021-10-12

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

All times shown according to UTC.

Time Nick Message
00:01 Verticen_ joined #minetest
00:07 Lunatrius` joined #minetest
01:32 absurb_ joined #minetest
01:36 grouinos joined #minetest
01:48 MTDiscord <exe_virus> 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 <exe_virus> (from #dev)
01:49 MTDiscord <Jonathon> adding a new item in where skins/waypoints/armor is would never work because of space
01:49 MTDiscord <exe_virus> right, unless either horizontal scroll is added or I was able to overwrite say the awards tab for my game
01:49 MTDiscord <Jonathon> and you can still register a whole new tab https://github.com/minetest-mods/i3/blob/main/API.md
01:50 MTDiscord <exe_virus> yeah but I have no examples, and overwriting it did nothing
01:51 MTDiscord <Jonathon> why cant you use the existing awards anyways?
01:51 MTDiscord <exe_virus> it's a documentation mod? how would I abuse awards?
01:51 MTDiscord <exe_virus> everything is local, I can't change the text or the image, etc.
01:51 MTDiscord <exe_virus> maybe I can change the image since I load 2nd haha
01:52 MTDiscord <exe_virus> but the tooltip will be wrong
01:54 MTDiscord <Jonathon> ....the images come from the award?
01:54 MTDiscord <exe_virus> nvm, I think I got it somewhat working
01:54 MTDiscord <exe_virus> we're getting there
01:54 MTDiscord <Jonathon> not i3
01:54 MTDiscord <exe_virus> hurm, but it wont be easy to switch between the two formspecs.... hurm......
01:54 MTDiscord <Jonathon> >icon https://gitlab.com/rubenwardy/awards
01:56 MTDiscord <Jonathon> point is all the stuff in awards comes from the awards mod
01:56 MTDiscord <Jonathon> so everything is not local
01:58 MTDiscord <exe_virus> no, there's a lot of local display formspec stuff very much specific to awards in there
01:59 MTDiscord <exe_virus> and I would be overriding that, when player might want to actually be able to use awards with my game
01:59 MTDiscord <exe_virus> 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
03:00 erlehmann joined #minetest
03:35 Hawk777 joined #minetest
03:47 riff_IRC joined #minetest
04:00 MTDiscord joined #minetest
04:05 grouinos joined #minetest
04:39 IceDragon joined #minetest
05:01 riff-IRC joined #minetest
05:50 illwieckz joined #minetest
05:54 Togra joined #minetest
06:10 CWz joined #minetest
06:51 grouinos joined #minetest
06:56 riff-IRC joined #minetest
06:56 specing joined #minetest
06:56 Conradish006 joined #minetest
06:56 ssieb joined #minetest
06:56 search_social joined #minetest
06:56 Krock joined #minetest
06:56 clavi joined #minetest
06:56 celeron55 joined #minetest
06:56 Edgy1 joined #minetest
07:38 Gustavo6046 joined #minetest
08:07 hendursa1 joined #minetest
09:18 hendursaga joined #minetest
09:18 olliy joined #minetest
09:26 specing joined #minetest
09:33 grouinos joined #minetest
09:52 queria joined #minetest
10:31 grouinos joined #minetest
10:47 appguru joined #minetest
11:09 calcul0n joined #minetest
12:44 kamdard_ joined #minetest
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:13 absurb_ joined #minetest
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:43 Verticen_ joined #minetest
14:47 delta23 joined #minetest
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
15:04 Verticen_ joined #minetest
15:07 Fixer joined #minetest
15:41 Alias joined #minetest
15:52 Extex joined #minetest
15:55 Extex joined #minetest
16:15 Hawk777 joined #minetest
16:39 tech_exorcist joined #minetest
17:00 DrFrankenstone_ joined #minetest
17:00 Soni joined #minetest
17:00 Talkless joined #minetest
17:05 ghoti joined #minetest
17:05 Alias joined #minetest
17:06 Lone_Wolf joined #minetest
17:07 dzho joined #minetest
17:12 flux__ joined #minetest
17:21 garywhite joined #minetest
17:21 garywhite joined #minetest
17:25 CWz_ joined #minetest
17:31 dzho joined #minetest
17:41 grouinos joined #minetest
17:43 hendursaga joined #minetest
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 Extex joined #minetest
17:57 Krock if you'd like to make larger changes, please split the code first into multiple files
17:57 grouinos joined #minetest
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:01 grouinos joined #minetest
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 <GreenXenith> 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 <GreenXenith> 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 <GreenXenith> kay
18:12 MinetestBot [git] SmallJoker -> minetest/minetest: Remove a few unused functions reported by callcatcher (#11658) ecc6f4b https://git.io/JKkjx (2021-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 [git] savilli -> minetest/minetest: Fix player HP desync between client and server 6ea558f https://git.io/JKIvF (2021-10-12T18:12:49Z)
18:15 MinetestBot [git] sfan5 -> minetest/minetest: Remove broken timeout behaviour fe5cb2c https://git.io/JKIvb (2021-10-12T18:13:09Z)
18:15 MTDiscord <exe_virus> 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 <exe_virus> 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
18:21 grouinos joined #minetest
18:22 grouinos joined #minetest
18:31 Sven_vB_ joined #minetest
18:34 macaw joined #minetest
18:43 grouinos joined #minetest
18:50 Conradish006 joined #minetest
19:00 sys4 joined #minetest
19:30 Hawk777 joined #minetest
19:32 wsor4035 Krock, you still around by any chance?
19:36 specing joined #minetest
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:47 ssieb joined #minetest
19:48 Gustavo6046 joined #minetest
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:02 tech_exorcist joined #minetest
20:04 Krock wsor4035: okay. will do.
20:07 IceDragon joined #minetest
20:08 sfan5 huh seems like mineclone5 disappeared from contentdb
20:52 Conradish006 joined #minetest
21:05 MTDiscord <Jonathon> yup
21:05 MTDiscord <Jonathon> licensing issues
21:05 MTDiscord <Jonathon> 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
21:24 specing_ joined #minetest
22:00 Sven_vB joined #minetest
22:14 Hawk777 joined #minetest
22:27 IceDragon joined #minetest
22:49 Verticen_ joined #minetest
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 <Jonathon> what game/mods/etc
23:22 AliasAlreadyTake joined #minetest
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 <Jonathon> 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 <Jonathon> correct
23:39 Gustavo6046 it could be done like in Unreal
23:39 MTDiscord <Jonathon> im not sure even sscsm would help
23:39 Gustavo6046 even what?
23:39 Gustavo6046 I'm talking about Replication
23:40 MTDiscord <Jonathon> because the entity is serverside, while the player is client side
23:40 MTDiscord <Jonathon> 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:44 AristotIe joined #minetest
23:50 Gustavo6046 aha! I think it is this https://duckduckgo.com/l/?uddg=https://wiki.beyondunreal.com/Replication_overview&amp;rut=18cd0d074700be58712e370a56e6105727c732ebe4692d5b572b2ccce7f5390e
23:51 Gustavo6046 anyway
23:51 Gustavo6046 are cocoa beans plantable?
23:51 Gustavo6046 err
23:51 Gustavo6046 ddg link lol
23:57 Verticen_ joined #minetest
23:58 calcul0n <Gustavo6046> 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

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