| | |
| | | import PlayerFamily |
| | | import PyDataManager |
| | | import GameXiangong |
| | | import GameWorship |
| | | |
| | | def OnActStart(actNum): |
| | | ## 活动开启 |
| | |
| | | accID = curPlayer.GetAccID() |
| | | playerName = curPlayer.GetName() |
| | | job = curPlayer.GetJob() |
| | | face = curPlayer.GetFace() |
| | | facePic = curPlayer.GetFacePic() |
| | | realmLV = curPlayer.GetOfficialRank() |
| | | familyID = curPlayer.GetFamilyID() |
| | | submitCount, updSubmitCount = dataMsg |
| | |
| | | |
| | | #同步跨服 |
| | | playerInfo = {"playerID":playerID, "playerName":playerName, "accID":accID, "job":job, "realmLV":realmLV, |
| | | "playerSubmitTotal":updSubmitCount} |
| | | "playerSubmitTotal":updSubmitCount, "face":face, "facePic":facePic} |
| | | SyncBossTrialSubmitToCrossServer(curPlayer, playerInfo, familyBillInfo) |
| | | return |
| | | |
| | |
| | | accID = playerInfo["accID"] |
| | | realmLV = playerInfo["realmLV"] |
| | | playerSubmitTotal = playerInfo["playerSubmitTotal"] |
| | | face = playerInfo.get("face", 0) |
| | | facePic = playerInfo.get("facePic", 0) |
| | | |
| | | groupValue1 = zoneID |
| | | |
| | | if playerSubmitTotal >= personlLimit: |
| | | name2, type2, value1, value2 = accID, job, realmLV, 0 |
| | | CrossBillboard.UpdCrossBillboard(ShareDefine.Def_CBT_BossTrialSubmit, groupValue1, playerID, playerName, |
| | | name2, type2, value1, value2, playerSubmitTotal) |
| | | name2, type2, value1, value2, playerSubmitTotal, value3=face, value4=facePic) |
| | | |
| | | if familyInfo and familyInfo.get("familySubmitTotal", 0) >= familyLimit: |
| | | familySubmitTotal = familyInfo["familySubmitTotal"] |
| | |
| | | if not orderIpyDataList: |
| | | return |
| | | |
| | | worshipType = ShareDefine.Def_WorshipType_CrossBossTrial |
| | | syncNewWorshipList = [] |
| | | syncNewXiangongDict = {} |
| | | rankPre = 0 |
| | | billboardIndex = 0 |
| | |
| | | billboardIndex += 1 |
| | | |
| | | GameXiangong.AddXiangongPlayer(xiangongID, playerID, serverIDRangeList, playerRank, syncNewXiangongDict) |
| | | GameWorship.AddWorshipPlayer(worshipType, playerRank, playerID, serverIDRangeList, syncList=syncNewWorshipList) |
| | | GameWorship.SendNewWorshipPlayer(syncNewWorshipList) |
| | | GameXiangong.SendNewXiangongPlayerToClientServer(syncNewXiangongDict) |
| | | return |
| | | |