Time Nick Message 02:52 repetitivestrain Krock: can you test whether https://codeberg.org/halon/Minetest/commit/d2106ed002e4a833e35bdb51fc557b83f906feba resolves https://github.com/luanti-org/luanti/issues/16354? 13:37 repetitivestrain lhofhansl: if you are concerned with memory leaks, then fwiw i've been running this in production with an eye on memory consumption (and active block count) for nearly two weeks without any issues 20:53 [MatrxMT] the forums seems like it's on the verge of a 502 20:53 [MatrxMT] it would be nice if there was a ratelimit that forced guests to the register page 20:53 [MatrxMT] oh isnt it you how is co-developer of skyblock zero? 20:53 [MatrxMT] nah i just did like 2 pull requests 20:53 [MatrxMT] frogTheSecond probably is 20:54 [MatrxMT] Its such a cool thing I really love it 20:54 [MatrxMT] but i was the one who added the antimatter blocks 20:54 [MatrxMT] I'd like to make a few PRs to but don't really know where to start 20:54 [MatrxMT] what would you want to add? 20:54 [MatrxMT] Lemme remeber 20:54 [MatrxMT] Lemme remember 20:56 [MatrxMT] tbh I don't remember but it was something really simple.... 20:56 [MatrxMT] tbh i think the compressed core dust texture is a bit weird 20:56 [MatrxMT] like it's just yellow dust 20:56 [MatrxMT] Textures isn't much of a deal I think 20:56 [MatrxMT] It's not much no change them 20:57 [MatrxMT] I'm about game mechanics and its implementations, balance, usability, etc.. 20:57 [MatrxMT] okay 20:57 [MatrxMT] also this is probably more appropiate for https://matrix.to/#/#minetest-offtopic:tchncs.de 20:58 [MatrxMT] oh sorry, my bad 20:59 luatic nah it's completely fine here. it seems inappropriate for offtopic because it's ontopic tbh :p 21:00 [MatrxMT] But it's not much about the luanti itself rather than about a certain game 21:00 luatic indeed, perhaps some sort of skyblock zero channel (wherever that lives) would be more appropriate, but if you read the channel description, "general, player and modding discussion is on-topic". everything related to luanti can go here :) 21:01 sfan5 if we couldn't discuss luanti games in the luanti channel that would be weird 21:01 [MatrxMT] Ok, thank you 🙂 21:01 [MatrxMT] birdlover32767, what do you think about writing a better GUI for a lua controller? 21:01 MTDiscord No games in the game channel 21:01 [MatrxMT] like what? 21:01 MTDiscord https://tenor.com/view/1984-george-orwell-george-orwell-1984-1984-chips-1984-ruffles-gif-7144052804264359069 21:02 [MatrxMT] Like some binds: tabs for indents, ctr + slash for example to comment out current line or whole selection 21:02 [MatrxMT] i dont think thats possible currently 21:02 [MatrxMT] Its hilarious 21:02 [MatrxMT] luanti doesnt support custom keybinds 21:03 [MatrxMT] Can't a gui like intercept raw keypresses? 21:04 [MatrxMT] the only way to get pressed keys in luanti only gives jump, aux1, shift, etc 21:04 [MatrxMT] also you cant get the pointer position in text fields 21:05 [MatrxMT] Kinda sad 21:05 [MatrxMT] Is there a reason for such restrictions? 21:05 [MatrxMT] because it has not been implemented 21:06 [MatrxMT] you can submit a feature request here though: https://github.com/luanti-org/luanti/issues/ 21:06 [MatrxMT] but don't expect it to be implemented anytime soon 21:06 [MatrxMT] Sure 😄 21:07 [MatrxMT] TBH i'd like to implement it myself but I'm afraid that I'm not such a pro in c++ 21:07 [MatrxMT] I do like this language but I'm afraid that i'll only do bad things and waste everyones time 21:08 [MatrxMT] if you feel like you have a working prototype you can fork the luanti repository and commit your changes 21:08 [MatrxMT] then you can make a pull request here: https://github.com/luanti-org/luanti/pulls 21:08 [MatrxMT] ik how it works, I'm afraid that i'll make a PR and someone would say 'its a crap code dont do that' 21:08 [MatrxMT] i used to work solo on my projects where no one can say that 😄 21:35 luatic the reason this has not been implemented is because luanti is server-centric and "raw keypresses" are a thing that happen on the client 21:36 luatic there are a bunch of related issues, e.g. #12488 21:36 ShadowBot https://github.com/luanti-org/luanti/issues/12488 -- Support custom key binds (with keyboard and touchscreen support) 21:48 [MatrxMT] Exposing raw keypresses has very little usecase on its own (besides e.g. implementing terminal emulators). For other situations it makes much more sense to provide abstractions on top of keypresses 21:53 [MatrxMT] (Also keypresses for formspecs are more or less entirely handled on the client side; the system is separate from the in-game controls) 21:54 MTDiscord Why not provide "text_field updates" for any changes in a text field, that would fix the issue with formspec text being erased during update "like on the server list" and provide a way to implement terminal emulators in a way that isn't cope. 21:57 sfan5 that's just "send each key press to the server" with extra steps and the same lag problem 21:58 [MatrxMT] Also what would count as an update? Does it have to be "committed" into the input box, or would text composition also count? 21:58 MTDiscord Right but you can't solve lag, and right now not having any option limits the games your engine can support? 21:59 sfan5 you can fix input lag by running scripts on the client 21:59 sfan5 and the general consensus among devs appears to be that we'd rather go the hard way and solve it correctly than put some bandaid that will have to be removed later on first 21:59 MTDiscord y5nw: any change, so md5("text").ischanged 22:00 MTDiscord sfan5: so you want to implement this as a csm feature once sscsm is created? 22:01 sfan5 sure 22:02 sfan5 not so much an explicit feature for this but rather CSM gets access to the current formspec state 22:02 MTDiscord that could take years, and you may still need that bandaid in the csm, why not impement the solution now and extend csm or ssm now? 22:03 [MatrxMT] redundantcc: My question was: what do you use as the "text" part? The actual text that the user would send next or would composition changes (i.e. ones that are not fully completed) also be considered as part of the text? (See https://wiki.libsdl.org/SDL3/SDL_TextEditingEvent if you do not know what text composition means in the context of IMEs) 22:04 [MatrxMT] (Luanti currently does not handle text composition at all - which some minor annoyances that come with it when e.g. using dead keys. The consideration is currently theoretical, but I do plan on handling text composition for formspecs in the future) 22:05 MTDiscord composition changes, so any change to any text box that does not match the hash of the last state of that text box. equivalent to javascript dispatchEvent(new Event("input")); 22:05 [MatrxMT] Also my impression is that there is more interest in having custom keybindings in-game; that is unrelated to adding text field updates 22:07 MTDiscord sure but for world or formspec events, cause that does not help with the ui creating use cases this would target. 22:08 MTDiscord Oh, so the api can't even handle these cases... why are we using sdl again.... 22:09 MTDiscord I mean I know "legacy reasons", but like uh you know, that sucks. 22:14 [MatrxMT] I should consider putting #16215 onto the 5.14 roadmap 22:14 ShadowBot https://github.com/luanti-org/luanti/issues/16215 -- Decouple TouchControls from keybinding settings by y5nw