From 9f07f7e53cff91363dea3884f7ac046c41f65612 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Thu, 28 Aug 2025 20:19:24 -0300 Subject: fix buddy status causing a client assertion --- src/connections.cc | 2 +- src/sending.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connections.cc b/src/connections.cc index 84daec6..f1d36fb 100644 --- a/src/connections.cc +++ b/src/connections.cc @@ -202,7 +202,7 @@ bool TConnection::JoinGame(TReadBuffer *Buffer){ } this->ClearKnownCreatureTable(false); - + try{ this->TerminalType = (int)Buffer->readWord(); this->TerminalVersion = (int)Buffer->readWord(); diff --git a/src/sending.cc b/src/sending.cc index 329635b..5a5a969 100644 --- a/src/sending.cc +++ b/src/sending.cc @@ -1707,7 +1707,7 @@ void SendBuddyStatus(TConnection *Connection, uint32 CharacterID, bool Online){ }else{ SendByte(Connection, SV_CMD_BUDDY_OFFLINE); } - SendWord(Connection, CharacterID); + SendQuad(Connection, CharacterID); FinishSendData(Connection); } -- cgit v1.2.3