protocol: add structures dumped from beta-20100104

This commit is contained in:
2023-03-06 23:37:01 -06:00
parent 97a04c8ea8
commit 57e681742e
3 changed files with 4166 additions and 13 deletions

View File

@@ -90,9 +90,10 @@ func (client *Client) ClientHandler() {
log.Printf("Got packet: %#v", loginPkt)
client.Send(&protocol.SP_LS2CL_REP_LOGIN_FAIL{
ErrorCode: protocol.LOGIN_FAIL_VERSION_ERROR,
ID: loginPkt.ID,
IErrorCode: protocol.LOGIN_FAIL_EULA_ERROR,
SZID: loginPkt.SZID,
}, protocol.P_LS2CL_REP_LOGIN_FAIL)
default:
log.Printf("[WARN] unsupported packet ID: %x\n", typeID)
}