5011 【主干】【bt】【bt2】【btzf】跨服服务器接收玩家数据数据越界报错
1个文件已修改
2 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossPlayerData.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/CrossPlayerData.py
@@ -421,6 +421,8 @@
    for _ in range(count):
        index, pos = CommFunc.ReadBYTE(pdata, pos)
        value, pos = CommFunc.ReadDWORD(pdata, pos)
        if index >= len(CrossFightPowerAttrList):
            break
        CrossFightPowerAttrList[index][1](curPlayer, value) # 设置更新值
        GameWorld.DebugLog("    index=%s,value=%s" % (index, value))