10367 【越南】【英语】【BT】【砍树】仙盟攻城战-服务端(修复玩家活动公示期至第1轮战备期间未重登可能导致重登后玩家活动被重置的bug; 修复没有触发轮次变更重置逻辑;)
3个文件已修改
13 ■■■■ 已修改文件
PySysDB/生成IpyGameDataPY/config.ini 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossFamilyGCZ.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActFamilyGCZ.py 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
PySysDB/Éú³ÉIpyGameDataPY/config.ini
@@ -1,5 +1,5 @@
[config]
; é¡¹ç›®æ ¹è·¯å¾„
CodeProjectPath1 = E:\SnxxServerCode\ServerPython
CodeProjectPath2 = E:\Git\SnxxServerCode\ServerPython
CodeProjectPath1 = D:\SnxxServerCode\ServerPython
CodeProjectPath2 = D:\Git\SnxxServerCode\ServerPython
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossFamilyGCZ.py
@@ -3121,7 +3121,7 @@
    for playerID, pActInfo in playerActInfo.items():
        if not PlayerControl.GetDBPlayerAccIDByID(playerID):
            # éžæœ¬æœçީ家
            return
            continue
        curPlayer = playerManager.FindPlayerByID(playerID)
        if curPlayer:
            MapServer_QueryPlayerResult(curPlayer, "FamilyGCZPlayerActInfo", pActInfo)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActFamilyGCZ.py
@@ -110,10 +110,6 @@
    state = actInfo.get(ShareDefine.ActKey_State, 0)
    if not playerActID and not playerZoneID:
        GameWorld.DebugLog("仙盟攻城战活动玩家没有活动数据不需要重置! playerZoneID=%s,playerActID=%s" % (playerZoneID, playerActID), playerID)
        if state:
            roundNum, _ = GetRoundState(state)
            if roundNum and roundNum != playerRoundNum:
                __doPlayerRoundChange(curPlayer, playerRoundNum, roundNum)
        return
    
    ipyDataDict = actInfo.get(ShareDefine.ActKey_IpyDataInfo, {})
@@ -121,6 +117,9 @@
    
    if state and playerActID == actID and playerZoneID == zoneID:
        GameWorld.DebugLog("仙盟攻城战活动玩家正常活动中不需要重置! playerZoneID=%s,playerActID=%s,state=%s" % (playerZoneID, playerActID, state), playerID)
        roundNum, _ = GetRoundState(state)
        if roundNum and roundNum != playerRoundNum:
            __doPlayerRoundChange(curPlayer, playerRoundNum, roundNum)
        return
    GameWorld.DebugLog("仙盟攻城战活动玩家重置End! zoneID=%s,actID=%s,playerZoneID=%s,playerActID=%s,state=%s" 
                       % (zoneID, actID, playerZoneID, playerActID, state), playerID)