eq2go/old/common/global_headers.hpp
2025-08-06 19:00:30 -05:00

43 lines
3.0 KiB
C++

// Copyright (C) 2007 EQ2EMulator Development Team - GNU GPL v3+ - http://www.eq2emulator.net
#pragma once
// Character creation reply codes - returned by character creation validation
constexpr int UNKNOWNERROR_REPLY = 0; // Unknown error occurred during creation
constexpr int CREATESUCCESS_REPLY = 1; // Character created successfully
constexpr int NOSERVERSAVAIL_REPLY = 2; // No servers available for character creation
constexpr int CREATEPENDING_REPLY = 3; // Character creation is pending
constexpr int MAXCHARSALLOWED_REPLY = 4; // Maximum characters allowed on account reached
constexpr int INVALIDRACE_REPLY = 5; // Invalid race selected for character
constexpr int INVALIDCITY_REPLY = 6; // Invalid starting city selected
constexpr int INVALIDCLASS_REPLY = 7; // Invalid class selected for character
constexpr int INVALIDGENDER_REPLY = 8; // Invalid gender selection
constexpr int INVALIDFIRST_LVL_REPLY = 9; // Invalid first level configuration
constexpr int BADNAMELENGTH_REPLY = 10; // Character name length invalid
constexpr int NAMEINVALID_REPLY = 11; // Character name contains invalid characters
constexpr int NAMEFILTER_REPLY = 12; // Name contains filtered words or blocked content
constexpr int NAMETAKEN_REPLY = 13; // Character name already taken
constexpr int OVERLOADEDSERVER_REPLY = 14; // Server overloaded, cannot create character
constexpr int UNKNOWNERROR_REPLY2 = 15; // Secondary unknown error code
constexpr int INVALIDFEATURES1_REPLY = 16; // Invalid character features (primary)
constexpr int INVALIDFEATURES2_REPLY = 17; // Invalid character features (secondary)
constexpr int INVALIDRACE_APPEARANCE_REPLY = 18; // Invalid race appearance combination
// Play error codes - returned when attempting to enter game world
constexpr int PLAY_ERROR_PROBLEM = 0; // General problem entering game
constexpr int PLAY_ERROR_ZONE_DOWN = 4; // Target zone server is down
constexpr int PLAY_ERROR_CHAR_NOT_LOADED = 5; // Character data not loaded
constexpr int PLAY_ERROR_CHAR_NOT_FOUND = 6; // Character not found in database
constexpr int PLAY_ERROR_ACCOUNT_IN_USE = 7; // Account already logged in elsewhere
constexpr int PLAY_ERROR_SERVER_TIMEOUT = 8; // Server connection timeout
constexpr int PLAY_ERROR_SERVER_SHUTDOWN = 9; // Server shutting down
constexpr int PLAY_ERROR_LOADING_ERROR = 10; // Error loading character data
constexpr int PLAY_ERROR_EXCHANGE_SERVER = 11; // Exchange server unavailable
constexpr int PLAY_ERROR_REGION_SERVER = 12; // Region server unavailable
constexpr int PLAY_ERROR_CLASS_INVALID = 13; // Character class validation failed
constexpr int PLAY_ERROR_TOO_MANY_CHARACTERS = 14; // Too many characters on server
constexpr int PLAY_ERROR_EOF_EXP_NOT_FOUND = 15; // Expansion data not found
constexpr int PLAY_ERROR_UNKNOWN_RESPONSE = 16; // Unknown response from server
constexpr int PLAY_ERROR_UNKNOWN = 17; // Unknown play error
constexpr int PLAY_ERROR_ACCOUNT_BANNED = 18; // Account has been banned
constexpr int PLAY_ERROR_PROHIBITED = 19; // Action prohibited