mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 03:50:05 +00:00
protocol: add structures dumped from beta-20100104
This commit is contained in:
parent
97a04c8ea8
commit
57e681742e
4172
protocol/structs.go
4172
protocol/structs.go
File diff suppressed because it is too large
Load Diff
@ -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)
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
from the disassembled source might be needed. This script can also be used to generate c-style structures
|
||||
(because it already does!)
|
||||
|
||||
usage: ./genstructs.py [IN.cs] > out.go
|
||||
usage: ./genstructs.py [IN.cs] > structs.go
|
||||
'''
|
||||
from distutils.ccompiler import new_compiler
|
||||
import subprocess
|
||||
|
Loading…
Reference in New Issue
Block a user