Player-to-Player Trading System
I've been thinking about this. The same way how player-to-player chat in MysteryTale works, is it possible to implement player-to-player trading system? Where you can trade your characters or items or gold? Any help is appreciated.
Replies (1)
Last message on 19 Feb 2022
Size43
(Administrator)
on
19 Feb 2022, 20:38:52
I don't know how the player-to-player chat in MysteryTale is implemented, but I'd suggest using [article=p2p]player-to-player messages[/article] to implement the trading system.
Essentially you want to have both clients send each other the list of items they're offering up for trade, and then have both clients confirm the trade before updating the inventory with the traded items.