mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-14 07:47:13 +00:00
The master server dropped a transfer request it started no instance for, so the world server never heard back and the player waited. It now answers the request with an empty address and the reason in place of the port: no room for another instance (max_instances), a zone that is not in the ZoneTable, or another reason. A request for a private zone that does not exist is answered the same way. The world server passes this on as a TRANSFER_TO_WORLD without an address, which the client shows as a failed map change, and leaves the character where it is. The auth server fails the login when there is no character select to send the player to. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
18 lines
575 B
C++
18 lines
575 B
C++
#ifndef __ETRANSFERFAILURE__H__
|
|
#define __ETRANSFERFAILURE__H__
|
|
|
|
#include <cstdint>
|
|
|
|
/**
|
|
* Why a transfer to a world got no world to go to. A TRANSFER_TO_WORLD message with an empty address
|
|
* carries it in place of the port, and the client tells the player.
|
|
*/
|
|
enum class eTransferFailure : uint16_t {
|
|
NoServer = 0, // nothing is free to start the zone on
|
|
MapLoad, // the zone can not be loaded
|
|
InstanceFull, // the instance asked for is full
|
|
Other // every other value is a failure without a reason
|
|
};
|
|
|
|
#endif //!__ETRANSFERFAILURE__H__
|