mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Fix auth protocol to match real WoW 3.3.5a client format
Three critical bugs fixed: - LOGON_CHALLENGE request: set protocol byte to 0x03 (was 0x00) and reverse FourCC strings (game/platform/os/locale) to match real client - Response parsers: remove double-read of opcode byte that shifted all field reads by one, preventing successful auth with real servers - LOGON_PROOF response sizes: success=32 bytes, failure=4 bytes to match TrinityCore/AzerothCore format Also adds missing auth result codes (0x13-0x20, 0xFF) including IGR_WITHOUT_BNET (0x17) which Warmane was returning.
This commit is contained in:
parent
1b414d24d8
commit
5ef11fdc7d
4 changed files with 53 additions and 52 deletions
|
|
@ -35,6 +35,15 @@ enum class AuthResult : uint8_t {
|
|||
LOCK_ENFORCED = 0x10,
|
||||
TRIAL_EXPIRED = 0x11,
|
||||
BATTLE_NET = 0x12,
|
||||
ANTI_INDULGENCE = 0x13,
|
||||
EXPIRED = 0x14,
|
||||
NO_GAME_ACCOUNT = 0x15,
|
||||
CHARGEBACK = 0x16,
|
||||
IGR_WITHOUT_BNET = 0x17,
|
||||
GAME_ACCOUNT_LOCKED = 0x18,
|
||||
UNLOCKABLE_LOCK = 0x19,
|
||||
CONVERSION_REQUIRED = 0x20,
|
||||
DISCONNECTED = 0xFF,
|
||||
};
|
||||
|
||||
const char* getAuthResultString(AuthResult result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue