ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerActHorsePetTrain.py
@@ -26,6 +26,7 @@
import PyDataManager
import CrossRealmMsg
import GameXiangong
import GameWorship
import GameWorld
def OnActStart(actNum, ipyData):
@@ -174,6 +175,8 @@
    accID = curPlayer.GetAccID()
    playerName = curPlayer.GetName()
    job = curPlayer.GetJob()
    face = curPlayer.GetFace()
    facePic = curPlayer.GetFacePic()
    realmLV = curPlayer.GetOfficialRank()
    _, updScore, isRelationCrossAct = dataMsg
    
@@ -182,7 +185,7 @@
    if isRelationCrossAct:
        #同步跨服
        playerInfo = {"playerID":playerID, "playerName":playerName, "accID":accID, "job":job, "realmLV":realmLV,
                      "playerScore":updScore}
                      "playerScore":updScore, "face":face, "facePic":facePic}
        SyncHorsePetTrainToCrossServer(curPlayer, playerInfo)
    return
@@ -234,13 +237,15 @@
    accID = playerInfo["accID"]
    realmLV = playerInfo["realmLV"]
    playerScore = playerInfo["playerScore"]
    face = playerInfo.get("face", 0)
    facePic = playerInfo.get("facePic", 0)
    
    groupValue1 = zoneID
    
    if playerScore >= personlLimit:
        name2, type2, value1, value2 = accID, job, realmLV, 0
        CrossBillboard.UpdCrossBillboard(ShareDefine.Def_CBT_HorsePetTrainScore, groupValue1, playerID, playerName, 
                                         name2, type2, value1, value2, playerScore, autoSort=False)
                                         name2, type2, value1, value2, playerScore, autoSort=False, value3=face, value4=facePic)
    return
def OnCrossActIDChange(cfgID, zoneID, ipyData, state):
@@ -343,6 +348,8 @@
    if not orderIpyDataList:
        return
    
    worshipType = ShareDefine.Def_WorshipType_CrossHorsePetTrain
    syncNewWorshipList = []
    syncNewXiangongDict = {}
    rankPre = 0
    billboardIndex = 0
@@ -385,6 +392,8 @@
            billboardIndex += 1
            
            GameXiangong.AddXiangongPlayer(xiangongID, playerID, serverIDRangeList, playerRank, syncNewXiangongDict)
            GameWorship.AddWorshipPlayer(worshipType, playerRank, playerID, serverIDRangeList, syncList=syncNewWorshipList)
    GameWorship.SendNewWorshipPlayer(syncNewWorshipList)
    GameXiangong.SendNewXiangongPlayerToClientServer(syncNewXiangongDict)
    return