mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[GH-ISSUE #59] Trading system flaws #10756
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gptaqbc on GitHub (Oct 15, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/59
It seems there is a problem with the coding of the trading system between players.
I tested it this week-end and here are my observations.
I'll explain the expected process:
Here's a list of the problem with our trading system:
@Gptaqbc commented on GitHub (Oct 24, 2019):
Here: https://github.com/dginovker/2006rebotted/blob/ea513131259e183017476cb3177649c804a35af9/2006Redone%20Server/src/redone/net/packets/impl/ClickingStuff.java#L34
What about adding oponnent.getTrading().declineTrade(); too? That should close the trade screen for both players. That should fix the issue with being able to store items in the trading interface. I'll try soon.
@Gptaqbc commented on GitHub (Oct 26, 2019):
Almost completed. Can you assign me on the issue?