hxp
2019-01-17 a82c6b75220814b4e498f536754a61d6b28d6de3
2899 【1.4.100】【1.5】跨服竞技积分超过65535报错
2个文件已修改
16 ■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/ChPyNetSendPack.py
@@ -8411,7 +8411,7 @@
    RoundCount = 0    #(BYTE RoundCount)// PK回合数
    RoundWinnerID = list()    #(vector<DWORD> RoundWinnerID)// 回合获胜ID列表
    AddScore = 0    #(WORD AddScore)// 本场加分
    Score = 0    #(WORD Score)// 当前积分
    Score = 0    #(DWORD Score)// 当前积分
    DanLV = 0    #(BYTE DanLV)// 当前段位
    CWinCnt = 0    #(WORD CWinCnt)// 当前连胜数
    TagNameLen = 0    #(BYTE TagNameLen)
@@ -8435,7 +8435,7 @@
            value,_pos=CommFunc.ReadDWORD(_lpData,_pos)
            self.RoundWinnerID.append(value)
        self.AddScore,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.Score,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.Score,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.DanLV,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        self.CWinCnt,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.TagNameLen,_pos = CommFunc.ReadBYTE(_lpData, _pos)
@@ -8469,7 +8469,7 @@
        length += 1
        length += 4 * self.RoundCount
        length += 2
        length += 2
        length += 4
        length += 1
        length += 2
        length += 1
@@ -8487,7 +8487,7 @@
        for i in range(self.RoundCount):
            data = CommFunc.WriteDWORD(data, self.RoundWinnerID[i])
        data = CommFunc.WriteWORD(data, self.AddScore)
        data = CommFunc.WriteWORD(data, self.Score)
        data = CommFunc.WriteDWORD(data, self.Score)
        data = CommFunc.WriteBYTE(data, self.DanLV)
        data = CommFunc.WriteWORD(data, self.CWinCnt)
        data = CommFunc.WriteBYTE(data, self.TagNameLen)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -8411,7 +8411,7 @@
    RoundCount = 0    #(BYTE RoundCount)// PK回合数
    RoundWinnerID = list()    #(vector<DWORD> RoundWinnerID)// 回合获胜ID列表
    AddScore = 0    #(WORD AddScore)// 本场加分
    Score = 0    #(WORD Score)// 当前积分
    Score = 0    #(DWORD Score)// 当前积分
    DanLV = 0    #(BYTE DanLV)// 当前段位
    CWinCnt = 0    #(WORD CWinCnt)// 当前连胜数
    TagNameLen = 0    #(BYTE TagNameLen)
@@ -8435,7 +8435,7 @@
            value,_pos=CommFunc.ReadDWORD(_lpData,_pos)
            self.RoundWinnerID.append(value)
        self.AddScore,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.Score,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.Score,_pos = CommFunc.ReadDWORD(_lpData, _pos)
        self.DanLV,_pos = CommFunc.ReadBYTE(_lpData, _pos)
        self.CWinCnt,_pos = CommFunc.ReadWORD(_lpData, _pos)
        self.TagNameLen,_pos = CommFunc.ReadBYTE(_lpData, _pos)
@@ -8469,7 +8469,7 @@
        length += 1
        length += 4 * self.RoundCount
        length += 2
        length += 2
        length += 4
        length += 1
        length += 2
        length += 1
@@ -8487,7 +8487,7 @@
        for i in range(self.RoundCount):
            data = CommFunc.WriteDWORD(data, self.RoundWinnerID[i])
        data = CommFunc.WriteWORD(data, self.AddScore)
        data = CommFunc.WriteWORD(data, self.Score)
        data = CommFunc.WriteDWORD(data, self.Score)
        data = CommFunc.WriteBYTE(data, self.DanLV)
        data = CommFunc.WriteWORD(data, self.CWinCnt)
        data = CommFunc.WriteBYTE(data, self.TagNameLen)