10367 【越南】【英语】【BT】【砍树】仙盟攻城战-服务端(修复玩家活动公示期至第1轮战备期间未重登可能导致重登后玩家活动被重置的bug; 修复没有触发轮次变更重置逻辑;)
| | |
| | | [config]
|
| | |
|
| | | ; é¡¹ç®æ ¹è·¯å¾
|
| | | CodeProjectPath1 = E:\SnxxServerCode\ServerPython
|
| | | CodeProjectPath2 = E:\Git\SnxxServerCode\ServerPython
|
| | | CodeProjectPath1 = D:\SnxxServerCode\ServerPython
|
| | | CodeProjectPath2 = D:\Git\SnxxServerCode\ServerPython
|
| | |
| | | for playerID, pActInfo in playerActInfo.items():
|
| | | if not PlayerControl.GetDBPlayerAccIDByID(playerID):
|
| | | # 鿬æç©å®¶
|
| | | return
|
| | | continue
|
| | | curPlayer = playerManager.FindPlayerByID(playerID)
|
| | | if curPlayer:
|
| | | MapServer_QueryPlayerResult(curPlayer, "FamilyGCZPlayerActInfo", pActInfo)
|
| | |
| | | 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, {})
|
| | |
| | |
|
| | | 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)
|