[PR #290] Fix banking packet exploit, & setup for a future of preventing packet exploits #13902

Closed
opened 2026-06-07 12:22:36 +00:00 by Dark98 · 0 comments
Owner

Original Pull Request: https://github.com/2006-Scape/2006Scape/pull/290

State: closed
Merged: Yes


Right now, while you can't open a bank unless you're physically in the coords, you can still deposit items with a very finnicky script someone shared with me. This prevents that for both bank booths and deposit boxes, and allows for future expansion to prevent other interfaces from being packet exploited.

TL;DR - Use Player.lastMainFrameInterface to verify that the player actually has that interface. Previously, the client could just lie to the server by sending packets saying "Oh yeah, this interface is open, and I want to do that". This allows a server-side check to deny that.

**Original Pull Request:** https://github.com/2006-Scape/2006Scape/pull/290 **State:** closed **Merged:** Yes --- Right now, while you can't open a bank unless you're physically in the coords, you can still deposit items with a very finnicky script someone shared with me. This prevents that for both bank booths and deposit boxes, and allows for future expansion to prevent other interfaces from being packet exploited. TL;DR - Use `Player.lastMainFrameInterface` to verify that the player actually has that interface. Previously, the client could just lie to the server by sending packets saying "Oh yeah, this interface is open, and I want to do that". This allows a server-side check to deny that.
Dark98 added the pull-request label 2026-06-07 12:22:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#13902