[REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Re: Debug coordinates will no longer be visible for unprivileged players after 5.4.0
For the curious ones who were looking for the related PR: https://github.com/minetest/minetest/pull/9315
It's not too late to revert the "not granted by default" bit. I want this feature, I am willing to add basic_debug privs to have it (or whatever, as long as it does not involve the sacrifice of animals on altars). Others don't want it, they'll have nothing to do and therefore they won't curse your kitties.
I also strongly suggest you make it a general policy. Do not alter existing behavior unless someone changes the config to get the new behavior, and your kitties will be safe.
It's not too late to revert the "not granted by default" bit. I want this feature, I am willing to add basic_debug privs to have it (or whatever, as long as it does not involve the sacrifice of animals on altars). Others don't want it, they'll have nothing to do and therefore they won't curse your kitties.
I also strongly suggest you make it a general policy. Do not alter existing behavior unless someone changes the config to get the new behavior, and your kitties will be safe.
- Wuzzy
- Member
- Posts: 4803
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: Debug coordinates will no longer be visible for unprivileged players after 5.4.0
There’s a problem with "not granted by default" tho. Privileges that are granted by default are irrevokable. And this would defeat the whole point of this change.
Maybe granting basic_privs by default again will alleviate the concerns. But then we have to figure out how to get rid of the irrevokable privilege nonsense first.
Maybe granting basic_privs by default again will alleviate the concerns. But then we have to figure out how to get rid of the irrevokable privilege nonsense first.
-
- Member
- Posts: 120
- Joined: Fri Oct 28, 2016 01:07
- IRC: DragonGirl
- In-game: DragonsVolcanoDance
- Location: Wherever the Gold N Chocolate lies
Re: Debug coordinates will no longer be visible for unprivileged players after 5.4.0
I actually like this idea, it's pretty interesting and worth trying. Like previous people said, it makes the game more immersive. You actually have to remember where you put your house with landmarks and how deep your mine goes.
Survival servers would probably benefit the most from a change line this. It gives server owners the possibility to add things like compasses and other similar equipment to their game.
I don't think it would be much different from the minimap. Survival servers have been adding a mapping kit mod to their servers so that you can't just press f7 and immediately get a minimap.
But yeah, there should definitely be an option to give coordinates privileges to all players on a server if the admin doesn't want to design their game that way.
All in all it seems like this change just gives more server owners options to try for their server experience.
Edited because I can't spell
Survival servers would probably benefit the most from a change line this. It gives server owners the possibility to add things like compasses and other similar equipment to their game.
I don't think it would be much different from the minimap. Survival servers have been adding a mapping kit mod to their servers so that you can't just press f7 and immediately get a minimap.
But yeah, there should definitely be an option to give coordinates privileges to all players on a server if the admin doesn't want to design their game that way.
All in all it seems like this change just gives more server owners options to try for their server experience.
Edited because I can't spell
Re: Debug coordinates will no longer be visible for unprivileged players after 5.4.0
What is the difference between PRIV_DEBUG and !PRIV_IMMERSIVE and vice versa?Wuzzy wrote: ↑Tue Nov 30, 2021 01:07There’s a problem with "not granted by default" tho. Privileges that are granted by default are irrevokable. And this would defeat the whole point of this change.
Maybe granting basic_privs by default again will alleviate the concerns. But then we have to figure out how to get rid of the irrevokable privilege nonsense first.
-
- Moderator
- Posts: 4095
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Re: Debug coordinates will no longer be visible for unprivileged players after 5.4.0
I have good news for the critics of this change: After Wuzzy brought up several problems with it, discussion in the team and with consensus of core devs it was reverted just before 5.5 release and will not be included.
Re: Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Four exalted cats should not be listened to. It was a good idea to use the hidden coordinates; steps back just to get a running start.
- Wuzzy
- Member
- Posts: 4803
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
It's true, the big change I have pushed so hard is now completely gone again. Why?
Let me explain:
I have thought months about this after it was merged, and it was always a splinter in the back in the mind, that something was off, but I never know what to do. Then I spontanously took to the chat to talk this out with core devs, and the decision was a revert.
What was eventually the death blow to this was the realization that my belief that server operators could just easily add the basic_debug priv afterwards was unrealistic. They are notoriously slow to update (no offense!). Also, it would almost certianly have required a MOD just to add the privilege after-the-fact, which is super-ugly. I thought it was as simple as just adding it to default_privs but then I learned this setting only sets the default privs for new players. I did not think of default_privs back then, which is the reason for the complete 180°.
Note my original long-term goal still stands: That in the long run, games should have a more clean, less hacky, less cluttery way to expose coordinates. I still think the debug screen is a really hacky way to do this , since it contains clutter that players don't want (like profiler graphs). Sadly, many servers have become too dependent on this, but my "solution" was too much of a rugpull basically.
In an ideal world, games and especially servers would not have started to depend on the debug screen so much to begin with and a more gameplay-centered HUD would have been used from the start. This is where I want to end up in the long run.
But my solution admittedly runs the risk of having hundreds of players on servers lose their coordinates would have been too risky. And yes, the criticisms did affect my decision as well. Good that I brought that up just in time, I didn't realize a release was imminent. SORRY! :-(
I still think there is some way to reach the original goal, but my PR was not the best solution.
Life lesson learned: Better test out such disruptive changes in the real world (not just under "laboratory conditions") before adding them to the engine. Becaue then I would have seen the problem with default_privs earlier.
Let me explain:
I have thought months about this after it was merged, and it was always a splinter in the back in the mind, that something was off, but I never know what to do. Then I spontanously took to the chat to talk this out with core devs, and the decision was a revert.
What was eventually the death blow to this was the realization that my belief that server operators could just easily add the basic_debug priv afterwards was unrealistic. They are notoriously slow to update (no offense!). Also, it would almost certianly have required a MOD just to add the privilege after-the-fact, which is super-ugly. I thought it was as simple as just adding it to default_privs but then I learned this setting only sets the default privs for new players. I did not think of default_privs back then, which is the reason for the complete 180°.
Note my original long-term goal still stands: That in the long run, games should have a more clean, less hacky, less cluttery way to expose coordinates. I still think the debug screen is a really hacky way to do this , since it contains clutter that players don't want (like profiler graphs). Sadly, many servers have become too dependent on this, but my "solution" was too much of a rugpull basically.
In an ideal world, games and especially servers would not have started to depend on the debug screen so much to begin with and a more gameplay-centered HUD would have been used from the start. This is where I want to end up in the long run.
But my solution admittedly runs the risk of having hundreds of players on servers lose their coordinates would have been too risky. And yes, the criticisms did affect my decision as well. Good that I brought that up just in time, I didn't realize a release was imminent. SORRY! :-(
I still think there is some way to reach the original goal, but my PR was not the best solution.
Life lesson learned: Better test out such disruptive changes in the real world (not just under "laboratory conditions") before adding them to the engine. Becaue then I would have seen the problem with default_privs earlier.
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Well, I think it's terrible, what can I tell you...
If it were up to the server owners, version 5.0 would not have been released. Because people are very lazy and find it hard to update anything.
The F5 thing with things that players don't care about (a lot of data that nobody (not even me) understands.
That's why my game/server will break with the past. I don't want ballast.
Juanchi advice: DO NOT listen to people, there are a lot of bitter people out there.
If it were up to the server owners, version 5.0 would not have been released. Because people are very lazy and find it hard to update anything.
The F5 thing with things that players don't care about (a lot of data that nobody (not even me) understands.
That's why my game/server will break with the past. I don't want ballast.
Juanchi advice: DO NOT listen to people, there are a lot of bitter people out there.
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Minecraft shows them in JAVA version by default (F3), but not in the BEDROCK version, it is an option, a "cheat" I think.
I mean that Bedrock option is more advanced because it was the last one to appear. The owners of the servers activate it or not to their taste. I have no idea, but I think it is like that.
Minetest should do it that way, it's the modern way.
I mean that Bedrock option is more advanced because it was the last one to appear. The owners of the servers activate it or not to their taste. I have no idea, but I think it is like that.
Minetest should do it that way, it's the modern way.
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Also Morrowind, for example, had no fast travel or coordinates. You didn't know where to go. It was even more immersive than Skyrim. Pro people don't want it all chewed up anymore.
- Festus1965
- Member
- Posts: 4181
- Joined: Sun Jan 03, 2016 11:58
- GitHub: Festus1965
- In-game: Festus1965 Thomas Thailand Explorer
- Location: Thailand ChiangMai
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
before going this way again,
maybe offer a set of solutions or mods that are ready and available when that change occurs.
maybe offer a set of solutions or mods that are ready and available when that change occurs.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)
If urgend, you find me in Roblox (as CNXThomas)
- Wizard Of mkdir
- Member
- Posts: 26
- Joined: Tue Aug 17, 2021 14:18
- GitHub: wizardofgcc
- In-game: Wizard Of mkdir
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
How about instead of disabling the debug info completely, we instead allow it to be switched off with a privilege (e. g. disable_debug) or a setting? (I know this was probably brought up earlier in the thread) This would be the best of both worlds: people who want to make immersive games can simple add it to the basic_privs or whatever, meanwhile it won't break any active servers. This is the best compromise: give people more control over their game.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Privileges should only allow behaviour, not remove it. Otherwise grant all will remove features.
HUD flags are a cleaner solution and are just as good at allowing control
HUD flags are a cleaner solution and are just as good at allowing control
- Wuzzy
- Member
- Posts: 4803
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
To learn from the past mistake, I strongly advice you to try out any suggestion you have in the real world and also testing the transition to the new system, and also test what happens to servers/games that don't do anything.
That way, any problems your idea has should become obvious very fast.
The reason why I didn't see the problem with my approach was that I didn't actually test it out in the real world; I only wrote down what server operators should do and blindly assumed it would work.
That way, any problems your idea has should become obvious very fast.
The reason why I didn't see the problem with my approach was that I didn't actually test it out in the real world; I only wrote down what server operators should do and blindly assumed it would work.
- davidthecreator
- Member
- Posts: 452
- Joined: Mon Aug 18, 2014 19:48
- GitHub: daviddoesminetest
- In-game: DavidDoesMinetest
- Location: Lithuania
- sorcerykid
- Member
- Posts: 1847
- Joined: Fri Aug 26, 2016 15:36
- GitHub: sorcerykid
- In-game: Nemo
- Location: Illinois, USA
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
I think the cleanest solution for this would be to upgrade the HUD to support variable interpolation, so that server operators can output whatever meaningful "debug" information they want in the format they want, and place that anywhere desired on the screen.
The following variables could be made available:
$pos = position of player; e.g. (0.5,3.0,44.6)
$pos_x = only the x axis coordinate
$pos_y = only the y axis coordinate
$pos_z = only the z axis coordinate
$yaw = player's yaw in degrees; e.g. 53°
$pitch = player's pitch in degrees; e.g. -5.8°
$dir = player's facing direction, e.g. East
$axis = player's viewing axis; e.g. -X
$fps = rendering speed in frames per second
$drawtime = drawtime in milliseconds
Since the variable interpolation would be handled entirely client-side, there would be no lag unlike relying on a mod to emulate this functionality within a globalstep routine.
The following variables could be made available:
$pos = position of player; e.g. (0.5,3.0,44.6)
$pos_x = only the x axis coordinate
$pos_y = only the y axis coordinate
$pos_z = only the z axis coordinate
$yaw = player's yaw in degrees; e.g. 53°
$pitch = player's pitch in degrees; e.g. -5.8°
$dir = player's facing direction, e.g. East
$axis = player's viewing axis; e.g. -X
$fps = rendering speed in frames per second
$drawtime = drawtime in milliseconds
Since the variable interpolation would be handled entirely client-side, there would be no lag unlike relying on a mod to emulate this functionality within a globalstep routine.
- Wuzzy
- Member
- Posts: 4803
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Yes, this is a good idea and would work nicely. Ideally some kind of number formatting should be supported as well, i.e. number of digits, precision, unit, etc.
It's would be a nice replacement but also has its limits, like for games that have like their own unique coordinate system. But it's still a start.
Sending coords server-side always was kind of hacky.
Other variables:
$pointed: itemstring of pointed thing (e.g. default:dirt)
$pointed_description: human-readable description of pointed thing, if available (e.g.: Dirt)
$param2: param2 of pointed node
It's would be a nice replacement but also has its limits, like for games that have like their own unique coordinate system. But it's still a start.
Sending coords server-side always was kind of hacky.
Other variables:
$pointed: itemstring of pointed thing (e.g. default:dirt)
$pointed_description: human-readable description of pointed thing, if available (e.g.: Dirt)
$param2: param2 of pointed node
- debiankaios
- Member
- Posts: 910
- Joined: Thu Dec 03, 2020 12:48
- IRC: debiankaios
- In-game: debiankaios Nowe
- Location: germany
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Add something like a posometer like i did it in proxima survial. You can also add a pointingmeter and debugmeter which shows your coords. After that we can deactivate this feature.
📖 Deutsches Modding Book 👽 My Mod 🔌 TechAge Extension (WIP)
2147483 is the new world border.
⛏ Proxima Survival(WIP) ⚔️ Minigames A.E.S(WIP)
🌐 My Website
2147483 is the new world border.
⛏ Proxima Survival(WIP) ⚔️ Minigames A.E.S(WIP)
🌐 My Website
- Casimir
- Member
- Posts: 1207
- Joined: Fri Aug 03, 2012 16:59
- GitHub: CasimirKaPazi
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
It was the right decisions not to include it in that way.
Maybe use a setting "debug_requires_priv" which is false by default. I haven't read the whole discussion, so that might already have been dismissed.
Maybe use a setting "debug_requires_priv" which is false by default. I haven't read the whole discussion, so that might already have been dismissed.
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Could we add a new setting like "universal_privs" or "minimum_privs" that will add a priv to a player on login if it's missing? That seems like it would solve the problem with this change, and could be handy in other situations as well.
I do like sorcerykid's idea, though, it's really good.
I do like sorcerykid's idea, though, it's really good.
Lead dev of Exile, git repo: https://codeberg.org/Mantar/Exile
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
This is a Step backwards.... i vote that players need to require a priv to see it... You need the priv to see the WireFrame Debug.
i guess many people cried to the devs about this
i guess many people cried to the devs about this
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
My vote for this. High priority please.sorcerykid wrote: ↑Mon Jan 31, 2022 12:43I think the cleanest solution for this would be to upgrade the HUD to support variable interpolation, so that server operators can output whatever meaningful "debug" information they want in the format they want, and place that anywhere desired on the screen.
The following variables could be made available:
$pos = position of player; e.g. (0.5,3.0,44.6)
$pos_x = only the x axis coordinate
$pos_y = only the y axis coordinate
$pos_z = only the z axis coordinate
$yaw = player's yaw in degrees; e.g. 53°
$pitch = player's pitch in degrees; e.g. -5.8°
$dir = player's facing direction, e.g. East
$axis = player's viewing axis; e.g. -X
$fps = rendering speed in frames per second
$drawtime = drawtime in milliseconds
Since the variable interpolation would be handled entirely client-side, there would be no lag unlike relying on a mod to emulate this functionality within a globalstep routine.
sorcerykid you should make a PR but with the consent of the hard core, that you know that if they don't like something they will knock it down.
The pointedthing is also fundamental for a variable to get that info.
- PolySaken
- Member
- Posts: 817
- Joined: Thu Nov 09, 2017 05:18
- GitHub: PolySaken-I-Am
- In-game: PolySaken
- Location: Wānaka, Aotearoa
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
Good that this was cancelled, however I don't think letting the server control client-side debug info is useful or a good idea. Let the server provide HUDs the normal way if they want to have custom position/heading/whatever and keep the debug screen the way it is. What the hell is the point of letting the server override the FPS readout? The server can't even know the FPS that the client is running at, let alone show anything useful there. Why get rid of a feature that is useful to replace it with one that's just a second type of server-sent HUD with no new utility added?
Guidebook Lib, for in-game docs | Poly Decor, some cool blocks | Vision Lib, an all-purpose library.
- ROllerozxa
- Member
- Posts: 158
- Joined: Sun Apr 25, 2021 12:25
- GitHub: ROllerozxa
- IRC: ROllerozxa
- In-game: ROllerozxa
- Location: Sweden
- Contact:
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
FPS would still have been in the debug info, it was just information that could be used for gameplay that was hidden (coordinates and pointed node I think was everything). It would still show the Minetest build info and performance info even if you don't have the basic_debug priv.PolySaken wrote: ↑Wed Feb 02, 2022 07:18Good that this was cancelled, however I don't think letting the server control client-side debug info is useful or a good idea. Let the server provide HUDs the normal way if they want to have custom position/heading/whatever and keep the debug screen the way it is. What the hell is the point of letting the server override the FPS readout? The server can't even know the FPS that the client is running at, let alone show anything useful there. Why get rid of a feature that is useful to replace it with one that's just a second type of server-sent HUD with no new utility added?
Also it wasn't even anything radical in the slightest, it's just like how there's a debug privilege to be able to use wireframe mode, since it can be abused for X-raying and finding caves.
Re: [REVERTED!] Debug coordinates will no longer be visible for unprivileged players after 5.4.0
WTF you guys on about?
Dont give the players any damn debug info.. their PLAYERS!! not DEVS!! or in any need of the debug info... Lord have mercy on you lot.
Less info the player gets the better their gameplay.
since we gonna Keep F5, we should give players X-ray vision debug.. and while we are at it, we might as well give them Server Privs in case they need it.
Look at GTA, Fortnight, Crossout - wheres their 'debug' info?
How about get MineTest to a Triple AAA game standard then ill happily have the Debug screen, but UNTIL THAT DAY its just more useless BS to cover the screen of the player... Privs for Debug or make Server Priv a default priv to keep these damn cry babies happy
Dont give the players any damn debug info.. their PLAYERS!! not DEVS!! or in any need of the debug info... Lord have mercy on you lot.
Less info the player gets the better their gameplay.
since we gonna Keep F5, we should give players X-ray vision debug.. and while we are at it, we might as well give them Server Privs in case they need it.
Look at GTA, Fortnight, Crossout - wheres their 'debug' info?
How about get MineTest to a Triple AAA game standard then ill happily have the Debug screen, but UNTIL THAT DAY its just more useless BS to cover the screen of the player... Privs for Debug or make Server Priv a default priv to keep these damn cry babies happy
Who is online
Users browsing this forum: No registered users and 7 guests