|
LoginMessage
Login message which is used to send user credentials
IntroductionThe LoginMessage is used to send user credentials from the client to the server. The server will check these and will send back a login status. ClientSend- Receive- ServerReceiveHow the packet is read by the server
SendThe server sends a login status back to the client. const ( LOGINSTATUS_IDLE = 0 LOGINSTATUS_WRONGACCOUNT = 1 LOGINSTATUS_SERVERERROR = 2 LOGINSTATUS_DATABASEERROR = 3 LOGINSTATUS_ALREADYLOGGEDIN = 4 LOGINSTATUS_READY = 5 LOGINSTATUS_CHARBANNED = 6 LOGINSTATUS_SERVERCLOSED = 7 LOGINSTATUS_WRONGVERSION = 8 LOGINSTATUS_FAILPROFILELOAD = 9 ) Packet build:
| |||||||||||||||||||||||||