BNETDocs
S>C 0x05 W3GS_REJECTJOIN
Message Id:0x05
Message Name:W3GS_REJECTJOIN
Direction:Server to Client
Used By:Warcraft III The Frozen Throne, Warcraft III Reign of Chaos
Format:

(UINT32) Reason

Remarks

This is sent in a response to a request to join the game lobby and indicates that the request was denied.

Reasons:

0x09 REJECTJOIN_FULL            The game lobby is full
0x07 REJECTJOIN_INVALID         There was an error in your request
0x10 REJECTJOIN_STARTED         The game has already been started
0x27 REJECTJOIN_WRONGPASSUINT16 The password you sent was incorrect
| Edited: Caaaaarrrrlll
Comments
ToraxXx

0x07 seems to be returned when you send an invalid join request, atleast thats what I get when I do that.

Caaaaarrrrlll

Added 0x07 and described each reason code.

ToraxXx

Also GHost++ seems to fail sending the right DWORD (it sends 27 instead of 0x27 etc.), you can see that in the source code ofc