[DiscordArchive] The error messages in the client e.g trying to change faction with auctions opened or mail pending i
[DiscordArchive] The error messages in the client e.g trying to change faction with auctions opened or mail pending i
Archived author: Ryan Turner • Posted: 2025-03-06T13:08:12.786000+00:00
Original source
The error messages in the client e.g trying to change faction with auctions opened or mail pending is a client or a server message?
Archived author: metallinos • Posted: 2025-03-06T13:13:10.286000+00:00
Original source
I'd assume server, don't think the server sends mails and auction data to the login scren
Archived author: Kitzunu • Posted: 2025-03-06T13:24:15.644000+00:00
Original source
You cant swap faction when you have unopened mail
Archived author: metallinos • Posted: 2025-03-06T13:30:14.516000+00:00
Original source
Seems gated in void WorldSession::HandleCharFactionOrRaceChangeCallback, then the server sends the response (success or not) in packet 0x4DA
Archived author: Ryan Turner • Posted: 2025-03-06T13:34:56.743000+00:00
Original source
I know, I'm trying to figure out if the message is something on the core side could be change because example, for mail it tells you about the mail but for auctions just tells you can't change (doesn't tell you the actual error which could he helpful)
Archived author: Ryan Turner • Posted: 2025-03-06T13:35:12.455000+00:00
Original source
I don't have the best of the core knowledge so you're telling me something which I don't understand ^^'
Archived author: Ryan Turner • Posted: 2025-03-06T13:35:38.377000+00:00
Original source
Referring to <@259807803126841344>
Archived author: metallinos • Posted: 2025-03-06T13:41:33.871000+00:00
Original source
I'm not good with core functionality either but I'm a killer at using CTRL+F and notepad++'s directory search having active auctions sends the same feedback as character create error https://github.com/azerothcore/azerothco....cpp#L2033. I'm sure there's other error messages one can send, possibly one for auctions
Archived author: metallinos • Posted: 2025-03-06T13:44:57.056000+00:00
Original source
So the text itself isn't sent from the server. The server sends a little code in the packet on attempting to change faction that the client uses to interpret if the faction change worked, and if not, why it didn't work. The (known?) codes are listed in SharedDefines.h's enum ResponseCodes
Archived author: metallinos • Posted: 2025-03-06T13:45:21.188000+00:00
Original source
The client interprets that code against a client-side list of text strings that it then shows the player