The Sneak Glitch is NOT dead!
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
The Sneak Glitch is NOT dead!
OMG, I have completely misunderstood this for years. This is BIG olds (the opposite of "news"). As you all know, the famous Sneak Glitch was removed for good years ago, right?
WRONG!
As it turns out, we all have misunderstood it completely. In reality, the Sneak Glitch was removed, but what we overlooked is that it was added back later, but optionally.
What has changed is that the Sneak Glitch is now optional and disabled by default. Games can enable it back at will. Also, what's even more interesting, you can do it on a per-player basis.
Don't call me stupid. I was aware of sneak_glitch in lua_api.txt for years, but I always assumed it was useless and did not change anything. Today I tested this stuff again and it actually worked as expected. Probably it was a bugfix that I overlooked.
Anyway, this is probably VERY exciting olds for some players out there since I know that many players loved the Sneak Glitch and were furious when it got fixed. (There was a reason to fix it, since games could not opt out of the Sneak Glitch at all, so it was rightfully treated as a bug. But today the Sneak Glitch is an actual feature that is completely optional.)
I have also completely updated the Minetest Wiki on sneaking for you:
https://wiki.minetest.net/Sneaking
I hope this information is helpful.
For modders: To get back the sneak glitch, check out set_physics_override in the documentation.
WRONG!
As it turns out, we all have misunderstood it completely. In reality, the Sneak Glitch was removed, but what we overlooked is that it was added back later, but optionally.
What has changed is that the Sneak Glitch is now optional and disabled by default. Games can enable it back at will. Also, what's even more interesting, you can do it on a per-player basis.
Don't call me stupid. I was aware of sneak_glitch in lua_api.txt for years, but I always assumed it was useless and did not change anything. Today I tested this stuff again and it actually worked as expected. Probably it was a bugfix that I overlooked.
Anyway, this is probably VERY exciting olds for some players out there since I know that many players loved the Sneak Glitch and were furious when it got fixed. (There was a reason to fix it, since games could not opt out of the Sneak Glitch at all, so it was rightfully treated as a bug. But today the Sneak Glitch is an actual feature that is completely optional.)
I have also completely updated the Minetest Wiki on sneaking for you:
https://wiki.minetest.net/Sneaking
I hope this information is helpful.
For modders: To get back the sneak glitch, check out set_physics_override in the documentation.
- Hume2
- Member
- Posts: 709
- Joined: Tue Jun 19, 2018 08:24
- GitHub: Hume2
- In-game: Hume2
- Location: Czech Republic
Re: The Sneak Glitch is NOT dead!
I missed the point of this thread. I understand that you don't like the sneak glitch, but why is it wrong to have it only as an option? If you don't like it, just don't use it.
If you lack the reality, go on a trip or find a job.
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: The Sneak Glitch is NOT dead!
Could it be that you simply forgot about this? viewtopic.php?t=17734
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: The Sneak Glitch is NOT dead!
The glitch was the very first bump on the road I stumbled upon when trying to contribute. The second you come close to that steamy pile things get uphill, devs start to behave cryptic, looking funny at one another, communicating without words using emotes, and hinting you that coming near that crap is going to make your changes unlikely to merge.
Many bugs would have been fixed by now if not for the glitch. Had to revert changes fixing many localplayer problems like sneak, because to get them in I'd probably have to code in emulation of that bug which would be ridiculous.
Mere existence of that option makes thing worse for everyone.
It's not random internet kids' fault, it's their job to demand any random nonsense, but the devs' job is to know better and not give in. They FIU, sorry.
- Wuzzy
- Member
- Posts: 4786
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: The Sneak Glitch is NOT dead!
I am not against the Sneak Glitch when it is fully optional and controllable by the game. Which is the case. I know there are players and game authors who want this.
The reason for this thread was just to share my surprise and to point to the updated Sneaking wiki page. That's all.
And I think the fact that you can turn on/off the sneak-glitch on a per-player basis is very interesting.
@Krock: And yes, I really forgot that one mod from 4 years ago. xD
The reason for this thread was just to share my surprise and to point to the updated Sneaking wiki page. That's all.
And I think the fact that you can turn on/off the sneak-glitch on a per-player basis is very interesting.
@Krock: And yes, I really forgot that one mod from 4 years ago. xD
Re: The Sneak Glitch is NOT dead!
Sounds pernicious. Something like that ought to be pulled out and rewritten so it doesn't affect the rest of the code. Making it an option is fine if the devs want to do the work to support it, but leaving busted legacy code in place, bugs and all, just to support a silly feature like that seems wrongheaded to me.
Lead dev of Exile, git repo: https://codeberg.org/Mantar/Exile
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: The Sneak Glitch is NOT dead!
The old movement code is there under an if statement, and incurs no real maintenance cost.Mantar wrote: ↑Mon Feb 22, 2021 17:41Sounds pernicious. Something like that ought to be pulled out and rewritten so it doesn't affect the rest of the code. Making it an option is fine if the devs want to do the work to support it, but leaving busted legacy code in place, bugs and all, just to support a silly feature like that seems wrongheaded to me.
The new movement code contains an option for sneak glitch which is contained within an if statement, that isn't legacy code but a supported feature implemented correctly rather than a glitch.
I'm not really a fan of the option in the new code, but the option to use old movement is low cost and resolved the whole controversy of removing it
Re: The Sneak Glitch is NOT dead!
Then why is that option still there in the new code? Who are its fans who won't let fix this mess?
Paramat, of all people, who'd expect him to do the right thing and reopen the discussion about removing the bug emulation from the new code, yet it was him who did. But the only response he got from the rest of you guys was thumbs down emotes. I'm pretty sure I've seen one from you too, but it isn't there now, so let's just leave it at that.
This is not isolation.rubenwardy wrote: ↑Mon Feb 22, 2021 17:58The new movement code contains an option for sneak glitch which is contained within an if statement
The sneak glitch is still dependent on specific problems within the rest of new move code, like setting player's collision box position so it intersects with nodes, a questionable design that leads to various other bugs. Fixing these problems makes the sneak glitch stop working.
Re: The Sneak Glitch is NOT dead!
To me sneak elevators were never a bug, glitch or how you want to call it and I'm happy that I can still use them.
They are a unique way in minetest to build stairways. I even think they are realistic and look like climbing walls.
Nowadays I still prefer them over ladders, vines, normal stairs or water elevators. They are very useful especially in very deep 1x1 mining holes.
They are a unique way in minetest to build stairways. I even think they are realistic and look like climbing walls.
Nowadays I still prefer them over ladders, vines, normal stairs or water elevators. They are very useful especially in very deep 1x1 mining holes.
Can your read this?
Who is online
Users browsing this forum: No registered users and 11 guests