Luanti logo

IRC log for #minetest, 2022-10-10

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
00:10 dridron joined #minetest
00:23 FavoritoHJS How can you check if a player pressed a key outside of the main controls (as in directions, jump, crouch, aux, dig, place or zoom)?
00:23 FavoritoHJS it doesn't seem to be in the API, maybe with formspec shenanigans?
00:25 MTDiscord <Warr1024> No, and it's somewhat by design.
00:25 MTDiscord <Warr1024> You can't even tell if they HAVE any keys outside of bindings.
00:26 FavoritoHJS so that's going to make implementing a player listing kinda difficult...
00:26 FavoritoHJS what if it's jammed in the inventory?
00:27 MTDiscord <Warr1024> That's a common pattern and works well for many.  There are API mods for adding stuff to inventory as like tabs or something.
21 more elements. Show/hide.
10:03 MiniontobyPI Hi
10:05 MTDiscord <ROllerozxa> hello
10:06 MiniontobyPI My matrix client doesnt want to send messages anymore
10:06 MiniontobyPI But yeah
10:08 MTDiscord <ROllerozxa> FavoritoHJS: there's a player list mod by fleckenstein that shows a list of players online when you sneak, that's a pretty nondestructive use of the existing sneak keybind to implement it
10:09 MTDiscord <ROllerozxa> https://content.minetest.net/packages/Fleckenstein/playerlist/
35 more elements. Show/hide.
18:32 FavoritoHJS I wonder if that can be made into a clientmod...
2 more elements. Show/hide.
18:42 ROllerozxa unfortunately I don't think clientmods have access to the list of connected players... :(
18:43 ROllerozxa at least not currently, I don't know if dragonfire has something like this built-in but that is fleckenstein's creation, he might have added it in
18:46 ROllerozxa no wait, there's minetest.get_player_names()
18:46 ROllerozxa then I think that might actually be possible, yeah. clientmods can also add HUD elements, read player controls so you could very likely port over playerlist as a clientmod
2 more elements. Show/hide.
19:01 FavoritoHJS never thought I'd say this after what you did to the archive... but thanks roller
19:10 Pexin servers can disallow csm access to get_player_names specifically I believe
19:10 FavoritoHJS I'm unsure if that's the default, though.
19:10 FavoritoHJS If it isn't, this could actually work
19:11 FavoritoHJS ofc I don't think you'll be able to use ping but that's a minor detail
2 more elements. Show/hide.
19:17 FavoritoHJS might it be possible to write an inventory mod as a clientmod?
19:17 Desour FavoritoHJS: you mean, something similar to unified inventory?
19:18 Desour because that should be possible I think
19:18 Desour at least to some degree
19:19 Krock except that you cannot retrieve craft recipes
19:19 FavoritoHJS nevermind, that's going to be kinda impossible without crafting hooks
19:19 Krock and you cannot get a list of all registered items
19:20 FavoritoHJS i was also trying to see if you could hide some of the cruft in the crafting guide by making them hidden from creative (and by proxy, the craftguides)
19:20 FavoritoHJS but unless modifying what gets returned by  `get_item_def()` modifies the item def, that's again impossible
19:21 FavoritoHJS (and even if it does I doubt that won't get patched)
19:22 FavoritoHJS wait, is the crafting area just an inventory extension?
19:22 Desour it is 3 separate lists
19:22 Desour (input, output and preview)
19:23 Krock you won't see the output list though. it's hidden and only used to keep the crafted items until you move them to another list (such as "main")
5 more elements. Show/hide.
19:43 ROllerozxa FavoritoHJS: https://github.com/rollerozxa/playerlist_csm just threw together a quick and dirty POC of a clientmod port, requires a server that has the READ_PLAYERINFO CSM restriction disabled (unfortunately enabled by default...). the HUD is a bit fucky because for some reason the units seem to be different between SSM and CSM, but it shows that it surely can be done
19:43 sparky4 joined #minetest
19:44 ROllerozxa also my first foray into client modding... hooray :)
19:45 muurkha fucky-wucky!
19:56 FavoritoHJS hmm, we have `registered_on_receiving_chat_message`, and when a player logs in or out the server sends a chat message...
19:56 FavoritoHJS that could be a way to work around this restriction
19:57 FavoritoHJS use /status to get the initial playerlist, and take careful note of player activity afterwards
20:03 ROllerozxa pretty sure it's just a client-sided red tape restriction to deter cheating, I don't think the server actually prevents you from receiving player info or the like in that way
20:10 ROllerozxa yeah just tested, works fine to just rip the checks out in the client source code... deters scriptkiddies who can't compile I guess
20:24 FavoritoHJS recompilation won't really work for a mod meant to be plug and play...
20:27 Noisytoot joined #minetest
20:32 ROllerozxa yes that's fair but I just meant that there's ways around it
10 more elements. Show/hide.
22:15 roguesurgeon how do I get the irc for a server?
22:18 MTDiscord <SX> Claim channel on some irc network and then install one of irc mods. Some work direct from MT some need proxy server but there's instructions at least in git repos.
22:18 MTDiscord <MisterE> Maybe there is a sign saying where to chat for it...
22:18 MTDiscord <MisterE> Well, yes, who are you? A server owner or a player?
22:20 MTDiscord <MisterE> And, if you are a server owner, I suggest using matterbridge to bridge to the server, there are mods for that, and it can also bridge to discord, matrix, twitch, etc
22:24 MTDiscord <Jonathon> more botting of the serverlist
22:24 MTDiscord <Jonathon> https://cdn.discordapp.com/attachments/749727888659447960/1029157578757910618/unknown.png
22:25 FavoritoHJS another thuesday
22:36 panwolfram joined #minetest
22:50 MTDiscord <Warr1024> Could be somebody saw that PAW had managed to get itself to the top of the list despite not having much real activity, and it gave them ideas.
22:52 wallabra_ joined #minetest
22:55 FavoritoHJS inb4 the admin saw my ramblings and decided to do it himself
22:57 proller Jonathon: just stress test
22:58 MTDiscord <Warr1024> Ah, it might be best to run stress tests without server announce turned on :-)
22:58 MTDiscord <Warr1024> I guess it will go back to normal eventually at least
22:58 FavoritoHJS I sure hope it's just someone who kept server announce on when stress testing
22:58 proller btw mt networking still VERY slow
23:09 FavoritoHJS What tiers are considered "staff" in contentdb for reporting?
23:10 MTDiscord <Jonathon> editors and up
23:11 FavoritoHJS oh dear... as I fear there's an editor that's a pedo
23:11 FavoritoHJS what the heck do I do then? as if I report, he'll know
23:12 MTDiscord <Jonathon> you are free to take things up with ruben in dms.
23:13 FavoritoHJS at what time does he get on?
23:13 MTDiscord <Jonathon> depends
23:13 FavoritoHJS please tell me he's on now...
23:14 FavoritoHJS like, I know he's online on, but for all I know he's afk
23:14 FavoritoHJS or worse, sleeping
3 more elements. Show/hide.

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