There is an exploit even newbies discover by themselves on my server, which works using the standard client. It exploits latency to pass through protected nodes. (TenPlus1/protector and minetest-mods/areas are affected)
Note: I don't describe precisely the cheat here because I don't want to be banned. But I'm still talking about it because it may help with fixing it.
Supposing honest clients, the countermeasure is double walls with different nodes (one layer requiring a pick, another layer requiring a shovel), but this is not practical and not sure. And this should not be enough to stop cheating clients to "teleport" through protected walls.
Is there a way to fix this client-side? Are there callbacks/hooks (like after_dig_node or on_punch) that can be used in the client? I don't know exactly which parts of the server-side mods are also executed on the client.
Is there a way to fix this server-side? It seems quite complicated.
How to prevent the protected wall glitch?
-
- New member
- Posts: 9
- Joined: Wed Dec 30, 2020 10:51
- GitHub: ZettaScript
- In-game: tuxmain
- Location: France
- Contact:
-
- Member
- Posts: 157
- Joined: Sat Nov 28, 2020 06:33
- GitHub: W3RQ01
- In-game: Dario23 or W3RQ01
- Contact:
Re: How to prevent the protected wall glitch?
i think that this way of "exploiting" the protection is harmless because even if you manage to enter someone's house you won't be able to steal unless the owner of the house does not have protected chests.
My opinion is that there is no motivation in hiding something to others in MT, it's stupid.
My opinion is that there is no motivation in hiding something to others in MT, it's stupid.
OneUnitedPower
- Blockhead
- Member
- Posts: 1623
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: How to prevent the protected wall glitch?
There are a few approaches:
I would usually only recommend the first approach (awareness) I think. Anti-cheat mods add lag, and the override code would probably make people think the server is always lagging harder than it is.
- Foremost, make players aware their stuff is never safe unless it's locked. They should assume people know where their "secret" base is, and always use protected/locked chests, locked mesecons switches (switches, buttons) and so on. Players should always protect their areas as well.
- Use a mod that teleports players out of protected areas - not sure if this exists yet but is definitely possible. It would only use a flag on the area, and not be on by default.
- Use anti-cheat mods like Beowulf to make people who do cheat more annoyed.
- Do what the steel doors (protected doors) do in Minetest Game - use node_dig_prediction. The side effect is more noticeable latency as every node dug will not disappear until the server sends it. You can apply this to every node with minetest.override_item.
I would usually only recommend the first approach (awareness) I think. Anti-cheat mods add lag, and the override code would probably make people think the server is always lagging harder than it is.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
- Nathan.S
- Member
- Posts: 1147
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: How to prevent the protected wall glitch?
I believe tenplus1's protector mod has an option to flip a player around when they try to break a protected node. This makes it more difficult to glitch through a wall as you need to break the node and then go backwards to get through.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
Who is online
Users browsing this forum: No registered users and 7 guests