[Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

[Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by Wuzzy » Mon Oct 20, 2014 15:00

Disable sneak glitch
This mod disables the sneak glitch for all players automatically when they join. Make Minetest more suitable for action-style games.

See the Sneaking article in the Community Wiki to learn more about the sneak glitch in detail.

To summarize, the sneak glitch allows you to climb up at insane speeds while holding both the sneak key and the jump key while you stand at the corner of structures like this one:
Image

There is also an old bug in Minetest which allows you to negate all fall damage while holding down the sneak key if you fall on a slab (or similar) or the edge of a block. Using this mod gets rid of this, too (coincidentally).

In my opinion both these behaviours are unacceptable for any action-themed game, especially the latter one. This is the reason why this mod exists.

When this mod is enabled, sneaking will now only make you walk slower. If you walk close to an edge of a block, sneaking will not stop you there, instead you will simply walk over the edge eventually.

However, I do understand that in some circumstances it may be desirable to keep the sneak glitch intentionally enabled. If this is the case for you, simply do not use this mod. :-)


Attachments
no_sneak_glitch1.1.0.zip
(1.05 KiB) Downloaded 114 times
Last edited by Wuzzy on Sat Jul 02, 2016 16:00, edited 4 times in total.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by rubenwardy » Mon Oct 20, 2014 15:26

Please explain the sneak glitch.
 

gamergardencat
Member
 
Posts: 55
Joined: Wed Oct 01, 2014 11:58

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by gamergardencat » Mon Oct 20, 2014 23:59

Maybe Wuzzy is thinking about this https://github.com/minetest/minetest/issues/1692
superman slices a giant apple into 3 and hands it to guest220
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Wuzzy » Tue Oct 21, 2014 00:25

The sneak glitch is a weird behaviour which makes it possible to jump up absurd heights by building blocks in a special way.
A common structure abusung this glitch is the so-called “sneak elevator”. It looks like this:
Image
To abuse the sneak glitch, stand at that corner and hold both the sneak key and the jump key. You will jump up the entire structure.
There may be other structures which abuse this glitch, but I don’t know them.

I am one of those who think this glitch is stupid. That’s what the mod is for. Simply activate the mod and strange structures like the sneak elevator won’t work anymore.


Technically: What this mod does is simply setting sneak_glitch to false for all players via set_physics_override. This is probably one of the smallest Minetest mods ever, but it works. :-)
Yep, Minetest does not fix the sneak glitch, instead it makes it configurable, because apparently some players do want it. o_O
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Evergreen » Tue Oct 21, 2014 00:49

Wuzzy wrote:The sneak glitch is a weird behaviour which makes it possible to jump up absurd heights by building blocks in a special way.
A common structure abusung this glitch is the so-called “sneak elevator”. It looks like this:
-- snip --
To abuse the sneak glitch, stand at that corner and hold both the sneak key and the jump key. You will jump up the entire structure.
There may be other structures which abuse this glitch, but I don’t know them.

I am one of those who think this glitch is stupid. That’s what the mod is for. Simply activate the mod and strange structures like the sneak elevator won’t work anymore.


Technically: What this mod does is simply setting sneak_glitch to false for all players via set_physics_override. This is probably one of the smallest Minetest mods ever, but it works. :-)
Yep, Minetest does not fix the sneak glitch, instead it makes it configurable, because apparently some players do want it. o_O
Did you ever think that it is actually useful? I used to use it all the time on redcrab's server. (but I suppose that spawned from the fact you couldn't 'fast' up a ladder back then)
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by kaeza » Tue Oct 21, 2014 00:50

Wuzzy wrote:because apparently some players do want it. o_O

http://xkcd.com/1172/

:^P
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

LazyJ
Member
 
Posts: 479
Joined: Wed Sep 12, 2012 12:29

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by LazyJ » Tue Oct 21, 2014 02:35

kaeza wrote:http://xkcd.com/1172/

:^P



Bingo, kaeza. ;)

No matter what you do, whatever "it" is, it will disrupt someone's work-flow somewhere.

From what I've observed, the sneak-glitch is generally used by more advanced Minetest miners and builders.

Those that use handhelds can't use the sneak-glitch yet, as far as I know.

I also find the sneak-glitch quite useful:
  • for mining,
  • for reaching the tops of MoreTrees to harvest the whole tree instead of leaving "floating" trees littering the landscape,
  • for building taller more complex builds,
  • and for creating sky-builds.
.: Minetest 0.4.14 ~ Linux Mint ~ A moka pot, a French press, a dirty coffee cup, and a spoiled-rotten kitty :.
Visit our Minetest server at: LinuxGaming2.com, port 30000
Screenshots, overview maps, and server info at: http://forum.minetest.net/viewtopic.php?f=10&t=5684
My blog: http://lazyjminetest.blogspot.com/
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Minetestforfun » Tue Oct 21, 2014 07:11

I will try it soon, thank you for your work !
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by rubenwardy » Tue Oct 21, 2014 07:19

It is used all the time on redcrab. I think of it as hand holds and foot holds to climb up on. It's faster than ladders.
 

CWz
Member
 
Posts: 185
Joined: Tue Dec 24, 2013 17:01

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by CWz » Tue Oct 21, 2014 09:32

rubenwardy wrote:It is used all the time on redcrab. I think of it as hand holds and foot holds to climb up on. It's faster than ladders.


notsure about that. with 0.4.7 clients you can run up ladders. i think a race would so which is faster.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Evergreen » Tue Oct 21, 2014 12:03

CWz wrote:
rubenwardy wrote:It is used all the time on redcrab. I think of it as hand holds and foot holds to climb up on. It's faster than ladders.


notsure about that. with 0.4.7 clients you can run up ladders. i think a race would so which is faster.

Hm, I might actually do a video on that. Thanks for the idea.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Hybrid Dog » Thu Oct 23, 2014 17:16

The "sneak glitch" isn't absurd. The "green yeti", previous skin, had different movement extremities, with which the player was able to use sneak elevators, walk out a wall he stuck in, …
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Dragonop » Sun Oct 26, 2014 16:20

Really?! This mod...
...uh, this mod.
Sorry Wuzzy, I like your attitude, and the way you explain, and your mods, and stuff...
...but, this mod is ridiculous, the players that use this ''glitch'' are the most experienced ones, even griefers don't now how to use it.
I only teach things like ''how to use the fast priv'' and how to protect, and how to use the sneak glitch; only to the most trusted players.
I'm mad now, things like this, made to screw people up.
This mod, only ruins the most experienced players, it doesn't even affect other players, only the most experienced ones.
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Dragonop » Sun Oct 26, 2014 16:21

Hybrid Dog wrote:The "sneak glitch" isn't absurd. The "green yeti", previous skin, had different movement extremities, with which the player was able to use sneak elevators, walk out a wall he stuck in, …

What is the ''green yeti''?
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Wuzzy » Sun Oct 26, 2014 17:40

The “green yeti” probably refers to the legacy player graphic used in older Minetest (and minetest_game) versions.

You can view it here:
https://raw.githubusercontent.com/minet ... player.png
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by kaeza » Sun Oct 26, 2014 17:47

Dragonop wrote:Really?! This mod...
...uh, this mod.
Sorry Wuzzy, I like your attitude, and the way you explain, and your mods, and stuff...
...but, this mod is ridiculous, the players that use this ''glitch'' are the most experienced ones, even griefers don't now how to use it.
I only teach things like ''how to use the fast priv'' and how to protect, and how to use the sneak glitch; only to the most trusted players.
I'm mad now, things like this, made to screw people up.
This mod, only ruins the most experienced players, it doesn't even affect other players, only the most experienced ones.

Personally, I do prefer disabling the sneak glitch for myself, because it adds to the survival aspect. That said, this is a personal preference, and I wouldn't try to persuade players that like having it.

It would be nice to have the an option (via `minetest.conf`) to either keep no sneak glitch global, or per-user. (on that note, we need some kind of "client-specified configuration protocol", so clients can change settings that affect all servers, without having to set their options on each server).
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by Wuzzy » Sun Oct 26, 2014 20:48

Dragonop, your paranoia makes me sick. Nobody forces anyone to not use the sneak glitch. Just don’t use the mod if you really want the sneak glitch so badly. And don’t join servers that use this mod. The choice is up to you.
And you don’t have to be really experienced to know how the sneak glitch works, it’s quite a simple concept to grasp, actually. You delude yourself if you think that this is some sacred knowledge only accessible to the elite. It’s not.
And you really sound crazy as you sad that this mod “screws people up”.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Disable sneak glitch [1.0.0] [no_sneak_glitch]

by amadin » Thu Nov 12, 2015 11:53

Very much needed mod, thanks
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Version 1.0.1

by Wuzzy » Mon Nov 30, 2015 19:59

Version 1.0.1 of this mod fixes an oversight: When you hold down the sneak key while falling, it was possible to negate all fall damage if you fell onto an node edge or a nodebox. I dub this “technique” (???) the “sneaky drop”. xD
Version 1.0.1 disables this weird (maybe buggy?) behaviour as well.

Now sneaking should only make you walk slower. If you walk towards an edge, sneaking will no longer stop you there; instead you just walk over the edge eventually.

Sneaking sure is very weird in Minetest. xD

But if you want to keep the classic sneaking with all its glitchyness, simply do not use this mod. You decide. :-)

PS: I have updated the initial post with a brief explanation of the sneak glitch.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Mod] Disable sneak glitch [1.0.1] [no_sneak_glitch]

by kaadmy » Mon Nov 30, 2015 21:25

How does this work?
Using player:set_physics_override({sneak_glitch=false}) doesn't seem to do anything; I'm guessing that this mod uses Lua to somehow disable it?
Never paint white stripes on roads near Zebra crossings.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Disable sneak glitch [1.0.1] [no_sneak_glitch]

by rubenwardy » Mon Nov 30, 2015 21:33

kaadmy wrote:How does this work?
Using player:set_physics_override({sneak_glitch=false}) doesn't seem to do anything; I'm guessing that this mod uses Lua to somehow disable it?


This is the entire code for the mod:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_on_joinplayer(function(player)
   player:set_physics_override({sneak_glitch=false, sneak=false})
end)


https://github.com/rubenwardy/captureth ... h/init.lua
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Mod] Disable sneak glitch [1.0.1] [no_sneak_glitch]

by kaadmy » Tue Dec 01, 2015 18:36

Ah, so it disables sneaking at edges, too. The sneak_glitch flag didn't seem to do anything when I tried it.
Never paint white stripes on roads near Zebra crossings.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Release 1.1.0

by Wuzzy » Sat Jul 02, 2016 16:08

I just released version 1.1.0. This is a minor update which adds mod.conf and that's basically it.
I also added a Git repository (see first post).

By the way, I have written a new page on Sneaking in the Community Wiki.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by ABJ » Thu Aug 18, 2016 09:06

OK, this mod can add to survival, thanks. Although I personally like the sneak glitch very much. Also, I must note that disabling sneaking on edges doesn't prevent you from building out from the top. If you're careful, you can stand at the veeeeerrry edge, and your viewpoint will actually be slightly over the edge, just enough to place a block. I used this trick for a looooooong time till I discovered sneaking. I even used this to build some outcroppings at the top of a 100+node tall skyscraper.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by Wuzzy » Thu Aug 18, 2016 11:01

Yes, this standing over the edge thing is the main reason for sneaking and is intentionally not disabled by this mod. This mod does not disable sneaking, only the sneak glitch.

But technically it would be possible to “disable” sneaking altogether. This would also eliminate the edge thing. In this case, sneaking will still make you walk slower, but you will simply walk over block edges and fall while sneaking.

I don't feel like to integrate it into this mod, however, I wanted to keep it very lightweight. Maybe one day I'll release a mod which combines various little global gameplay settings like disabling sneak, disabling fall damage, adding suffocation, and more into one single mod and makes them accessible though the advanced settings.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by ABJ » Thu Aug 18, 2016 11:19

No, I meant the non-sneak-glitch way, where you can look slightly over the edge without using sneak.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by Wuzzy » Thu Aug 18, 2016 12:07

I thought that's what I meant.
But now I am confused, how can you walk at the edge without sneaking? Can you give a demonstration, screenshot or video?
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by ABJ » Thu Aug 18, 2016 12:23

Yes you can. I'm not sneaking here.
Image
Attachments
screenshot_20160818_172132.png
screenshot_20160818_172132.png (228.73 KiB) Viewed 1808 times
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by Wuzzy » Thu Aug 18, 2016 13:34

OK, this is more related to the way how Minetest's camera and Minetest Game's player model work, which are both a bit weird. It is completely unrelated to sneaking or the sneak glitch.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Disable sneak glitch [1.1.0] [no_sneak_glitch]

by ABJ » Thu Aug 18, 2016 14:35

I mentioned it because being able to walk on edges IIRC is part of what makes up the sneak glitch.
Also, off-topic, but note the tens of thousands of everamzah coal grenades in the inventory.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 9 guests

cron