cmangos / issues

This repository is used as a centralized point for all issues regarding CMaNGOS.
180 stars 47 forks source link

🐛 [Bug Report] Warden Auth Kick #3748

Closed Shettelight closed 3 months ago

Shettelight commented 3 months ago

Bug Details

https://github.com/cmangos/mangos-tbc/commit/3fadd9f8d685943ea00c6b260c4cdd71a2b17288 Check wrong or smth else, but kick at auth. @Kill

Steps to Reproduce

  1. Build & Launch server by win32 (debug mode)
  2. Try connect to server
  3. u`ll disconnected
  4. no available connect to the server

Expected behavior

Not kick at auth

Suggested Workaround

No response

Crash Log

No response

Core SHA1 Commit Hash

3fadd9f8d685943ea00c6b260c4cdd71a2b17288

Database SHA1 Commit Hash

HEAD

Operating System

Win32

Client Version

2.4.3 (The Burning Crusade)

Arnibou commented 3 months ago

Confirmed !

Capture d'écran 2024-07-31 102117

and db: Capture d'écran 2024-07-31 102158

https://github.com/cmangos/mangos-tbc/commit/3fadd9f8d685943ea00c6b260c4cdd71a2b17288

why +1 in this condition ?

if (length > (recvData.size() - (recvData.rpos() + 1)))