[GH-ISSUE #194] Shouldn't be able to sell to a shop when there is not empty slot in the shop interface. #7733

Closed
opened 2026-05-31 12:20:17 +00:00 by Dark98 · 4 comments
Owner

Originally created by @Gptaqbc on GitHub (Nov 18, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/194

As of right now you can sell more than max capacity and it causes any player that uses the store to disconnect.

Originally created by @Gptaqbc on GitHub (Nov 18, 2019). Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/194 As of right now you can sell more than max capacity and it causes any player that uses the store to disconnect.
Author
Owner

@Gptaqbc commented on GitHub (Nov 18, 2019):

Working on it!

Edit: Fixed it so now it wont disconnect the player. But it still need a lot of work to resolve the issue.

<!-- gh-comment-id:555181909 --> @Gptaqbc commented on GitHub (Nov 18, 2019): Working on it! Edit: Fixed it so now it wont disconnect the player. But it still need a lot of work to resolve the issue.
Author
Owner

@mrextremez commented on GitHub (Nov 22, 2019):

What work is left to be done? @Gptaqbc

<!-- gh-comment-id:557342808 --> @mrextremez commented on GitHub (Nov 22, 2019): What work is left to be done? @Gptaqbc
Author
Owner

@Gptaqbc commented on GitHub (Nov 22, 2019):

Code must be added to prevent players from selling items to shops when it's full and not already in shop.

The tricky part I saw was that you have to check the shop if the items is already in a slot.

<!-- gh-comment-id:557637360 --> @Gptaqbc commented on GitHub (Nov 22, 2019): Code must be added to prevent players from selling items to shops when it's full and not already in shop. The tricky part I saw was that you have to check the shop if the items is already in a slot.
Author
Owner

@RedSparr0w commented on GitHub (Dec 12, 2019):

This should be fixed by PR #idontknowthenumber

<!-- gh-comment-id:565210140 --> @RedSparr0w commented on GitHub (Dec 12, 2019): This should be fixed by PR #idontknowthenumber
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#7733