2006Scape icon indicating copy to clipboard operation
2006Scape copied to clipboard

Player can no-clip when the "Loading please wait..." message is shown.

Open Gptaqbc opened this issue 6 years ago • 5 comments

Gptaqbc avatar Nov 11 '19 19:11 Gptaqbc

@JetF0x is that right?

Gptaqbc avatar Nov 11 '19 19:11 Gptaqbc

Looks correct @Gptaqbc

JetF0x avatar Nov 11 '19 19:11 JetF0x

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;

Gptaqbc avatar Nov 14 '19 15:11 Gptaqbc

Found a solution thanks to Ethan from Parabot: https://pastebin.com/A9CbYZ2r

dginovker avatar Dec 10 '19 03:12 dginovker

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"

dginovker avatar Dec 18 '19 03:12 dginovker