Files
DarkflameServer/dGame/dGameMessages
Aaron Kimbrell 9bb1ecdd22 fix(trade): tell the requester what became of a trade request
The client puts ServerTradeInitialReply in chat: "Trade invitation sent.",
"User not in zone.", "Player out of range." or "Player already trading."
(LWOTradeComponent::SendMessage). Live sent INVITESENT, with the
invitee's name, to every trade request, also the one that accepts an
invitation. The server sent none, so a request to a player not in the world
went unanswered.

A request to a player who is in a trade with someone else is now refused with
ALREADYTRADING. Before, a second trade was made with that player in it, and
which of the two their messages went to depended on map order.

Out of range is not sent: there is no evidence of the distance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:00:36 -06:00
..