From 47e7d522449257f81cc2bf01f1031fc0194ab62f Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Sat, 25 Jun 2022 01:01:29 -0700 Subject: [PATCH] fix: Adds support for 0xF8 character creation --- Crypt/Crypt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crypt/Crypt.cpp b/Crypt/Crypt.cpp index c89f2e2a..12c430b8 100644 --- a/Crypt/Crypt.cpp +++ b/Crypt/Crypt.cpp @@ -1214,7 +1214,7 @@ void FlushSendData() InGame = true; break; } - else if ( *buff == 0x00 && (*((DWORD*)&buff[1])) == 0xEDEDEDED && len >= 1+4+4+1+30+30 && len <= left ) + else if ( (*buff == 0x00 || *buff == 0xF8) && (*((DWORD*)&buff[1])) == 0xEDEDEDED && len >= 1+4+4+1+30+30 && len <= left ) { // char creation if ( pShared->AllowNegotiate && ServerNegotiated )