ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/CommFunc.py
@@ -69,7 +69,14 @@
    if space:
        hex_str = ' '.join(hex_str[i:i+2] for i in range(0, len(hex_str), 2))
    return hex_str
def GetPackHead(clientPack):
    if hasattr(clientPack, "Head"):
        headStr = "%02x%02x" % (clientPack.Head.Cmd, clientPack.Head.SubCmd)
    else:
        headStr = "%02x%02x" % (clientPack.Cmd, clientPack.SubCmd)
    return headStr.upper()
#获取异常信息#(try:...except:..GetExceptionInfo())
## 
#  @param 参数