Player can no-clip when the "Loading please wait..." message is shown.
@JetF0x is that right?
Looks correct @Gptaqbc
We need server-side verification to stop that from happening. Because we got a couple problem related to the ::clip command. A player could make a custom client and abuse the ::clip command as of right now.
A server-side verification would:
- Prevent players from abusing the no-clip;
- Prevent players from being stuck in walls/objects;
Found a solution thanks to Ethan from Parabot: https://pastebin.com/A9CbYZ2r
We seem to have this solution implemented already for following :thinking:. You can't noclip when following someone, the same logic just needs to be added for regular walking
edit: Code for reference that doesn't allow clipping: https://github.com/dginovker/2006rebotted/blob/d876a923b9d14410b4d8b860239ea4462dd6243a/2006Redone%20Server/src/com/rebotted/world/clip/PathFinder.java
Thanks again to Ethan from Parabot for this. There's a lot less to do than it seems, we just change the function call.
"PathFinder.getPathFinder().findRoute(player, x, y, true, 1, 1); - will find a path, without noclipping"