1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
öF¼gc@s~ddlZddlZddlZddlZddlZddlZddlZddlZd„Zd„Z    d„Z
e d„Z d„Z ddddge d„Zdddge d    „Zdddddd
„Zddddd „Ze ed „Ze edd „Ze ed„Ze ed„Zed„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZdS(iÿÿÿÿNcCst|tƒtj|ƒdS(N(t"UpdatePlayerBillboardOnLeaveServertTruetOpenServerCampaigntDoBillboardOpen(t    curPlayer((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRs  cCs&|jƒ}|dkr"|jƒS|S(Nttencent(R(tGetAccIDtGetOperateInfo(Rtplatform((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pytGetBillboardOperateInfo!s  
cCs
|jƒS(N(tGetJob(R((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pytGetBillboardJob(scCstjƒrdSt|ƒt|tƒt|ttƒt|ttƒt|ƒ|rnt    |ƒt
|ƒnt j |ƒdS(N( t    GameWorldt IsCrossServertUpdatePlayerLVBillboardtUpdatePlayerFPTotalBillboardRtUpdateHorseBillboardtFalsetUpdatePyPetBillboardtUpdateRealmBillboardtUpdateRuneTowerBillboardtUpdateAlineInvadeBillboardt EventReporttWriteEvent_FightPower(RtisAll((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyR*s 
 
 
  cCsPtj|ƒstStj|tjƒsLtjd|jƒ|j    ƒƒtSt
S(NsÅÅÐаñ먦Æô,ÎÞ·¨Éϰñ!curLV=%s( R tIsNormalPlayerRt GameFuncCommt GetFuncCanUset ShareDefinetGameFuncID_BillboardtDebugLogtGetLVt GetPlayerIDR(R((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyt__CanPlayerBillboardComm@s  ic    Ks³t|ƒsdSt|ƒ}
|jƒ} |jƒ} t|ƒ} |jƒ|    d<|jƒ|    d<|tjkr~|j    ƒ}nt
||
| | | |||||d|||     dS(Ntvalue3tvalue4i( R!R tGetIDtGetNameR    tGetFacet
GetFacePicRtBTValue1_OfficialRankListtGetOfficialRanktGameServer_UpdateBillboard(RtbTypetcmpValuet    cmpValue2t    cmpValue3tvalue1tvalue2texInfotautoSorttkwargst    playerJobtplayerIDt
playerNamet playerOpInfo((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pytUpdatePlayerBillboardJs     c Ks‚i |d6|d6|d6|
d6|d6|d6| d6|d6|d    6|d
6|d 6|    d 6| d 6}d| kr~| d|d<nd| kr›| d|d<nd| kr¸| d|d<nd| krÕ| d|d<nd| krò| d|d<nd| kr| d|d<nd| kr,| d|d<nd|}tjƒjdddd|t|ƒƒtjd||||f|ƒdS( NtTypetType2tIDtID2tName1tName2tExInfotValue1tValue2tCmpValuet    CmpValue2t    CmpValue3R2R"tValue3R#tValue4tvalue5tValue5tvalue6tValue6tvalue7tValue7tvalue8tValue8tuserDatatUserDatas%sitUpdateBillboards9ͬ²½GameServerÅÅÐаñ:bType=%s,cmpValue=%s,cmpValue2=%s %s(R tGetPlayerManagertGameServer_QueryPlayerResulttlenR(R+tbType2tbIDtbNametbName2R/R0R,R-R.tbID2R1R2R3tbDatatsendMsg((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyR*_s(4-       
( c    Ks¬t|ƒ}
|jƒ} tj|ƒ} t|ƒ} |jƒ|    d<|jƒ|    d<|tjkrq|j    ƒ}nd}t
||| | | |
||||||||     dS(NR"R#i( R R$tCrossRealmPlayertGetCrossPlayerNameR    R&R'RR(R)tGameServer_UpdateCrossBillboard(RR+t groupValue1R,R-R.R/R0t groupValue2R3R4R5R6R7tid2((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pytUpdatePlayerCrossBillboardus
  c Ks…i |d6|d6|d6|d6| d6|d6|d6|d6|d    6|d
6|    d 6|
d 6| d 6}d| kr~| d|d<nd| kr›| d|d<nd| kr¸| d|d<nd| krÕ| d|d<nd| krò| d|d<nd| kr| d|d<nd| kr,| d|d<nd|}tjƒjdddd|t|ƒƒtjd||| ||f|ƒdS( NR9t GroupValue1R:R;R<R=R>R@RARBRCRDt GroupValue2R"RER#RFRGRHRIRJRKRLRMRNRORPs%sitUpdateCrossBillboardsOͬ²½GameServer¿ç·þÅÅÐаñ:bType=%s,groupValue1=%s,groupValue2=%s,cmpValue=%s, %s(R RRRSRTR(R+R_tdataIDtname1tname2ttype2R/R0R,R-R.R`RaR3RZR[((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyR^Œs*4-       
(    cCsÏtj|ƒ}t|tj|||tjƒs4dS|tj}|tj}tj|tj|tjƒtj|tj|tjƒ|j    ƒ}t
j d||j ƒƒt |tj||d|gƒdS(Ns!¸üÐÂ×ÜÕ½¶·Á¦£ºplayerFightPower=%sR1(t PlayerControlt GetFightPowert__CheckFightPowerCanUpdatetChConfigtDef_PDict_FightPower_TotaltDef_PDict_FightPower_TotalExtDef_PerPointValuetNomalDictSetPropertytDef_PDictType_FightPowert GetFamilyIDR RR R8RtDef_BT_FightPower(Rt isForceUpdatet isCheckRuletplayerFightPowert
fightPowert fightPowerExtfamilyID((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyR¤s  
 
 cCsÎ|dkrtS|j|dtjƒ}|dkrZ||j|dtjƒtj7}nt|ƒsjtS|r—tjd|||f|j    ƒƒt
S||krÊtjd|||f|j    ƒƒtSt
S(s' ¼ì²éÍæ¼Ò¿É·ñ¸üÐÂÕ½¶·Á¦
    @param curPlayer Íæ¼ÒʵÀý
    @param key Õ½¶·Á¦ÀàÐͶÔÓ¦key
    @param fightPower µ±Ç°Õ½¶·Á¦
    @param isForceUpdate ÊÇ·ñÇ¿ÖÆ¸üУ¨ÈôÉèÖÃÇ¿ÖÆ¸üУ¬ÔÚijЩDZ¹æÔòÏÂÒ²²»Ò»¶¨ÄÜÇ¿ÖÆ¸üУ¬ÈçGMµÈ£©
    @param isCheckRule ÊÇ·ñ¼ì²éÕ½Á¦·¶Î§¸üвîÖµ
    @return True-¿É¸üР
    is8Õ½¶·Á¦¸üмì²é£ºÇ¿ÖƸüРkey=%s,fightPower=%s,history=%ssFÕ½¶·Á¦¸üмì²é£ºÓëÉÏ´ÎÏàͬ£¬Ä¬Èϲ»¸üРkey=%s,fightPower=%s,history=%sN( RtNomalDictGetPropertyRmRrtNoneRpR!R RR R(RtkeyRxRuRvtkey2thistoryFightPower((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRl¹s       &          cCsitj|tjƒ}|sdS|tj}|tj}t|tj||ƒ|ret||ƒndS(N(    RjtGetMFPFightPowerRtDef_MFPType_HorseRmRpR8tDef_BT_FightPower_HorseR(RRut isUpdateTotaltHorseFightPowerRxRy((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRØs  cCsFtj|ƒ}|sdSt|tj|ƒ|rBt||ƒndS(N(Rjt GetPetMaxAtkR8RtDef_BT_FightPower_PetR(RRuRƒt    petMaxAtk((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRèscCst|tj|jƒƒdS(N(R8Rt    Def_BT_LVR(RRu((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRóscCs3|jtjƒ}|sdSt|tj|ƒdS(N(R{Rmt!Def_Player_Dict_TrialTower_PassLVR8RtDef_BT_TrialTower(RtpassLV((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRøs
cCsV|jtjƒ}|jtjƒ}| r6| r6dSt|tj||dtƒdS(NR2(R{Rmt Def_PDict_AlineInvadeHurtTotalExtDef_PDict_AlineInvadeHurtTotalR8RtDef_BT_AlineInvadeR(RttotalHurtTodayExttotalHurtToday((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRs cCs>|s
dS|tj}|tj}t|tj||ƒdS(N(RmRpR8RtDef_BT_OffLineEfficient(Rt    minuteExptexpPointtexp((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pytUpdateTJGBillboard    s   cCs-|jƒsdSt|tj|jƒƒdS(N(R)R8Rt Def_BT_Realm(R((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRs cCst|ƒdS(N(R(R((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pytBillboardOnLogins
c    CsN||||||g}tjƒjddddd|tt|ƒƒƒdS(NitUpdateBillboardPlayerTrucks%s(R RRRSRTtstr(R5R6R7tplayerLVttruckLVt
truckMapIDtcmdList((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyR˜,scCs|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}d||||||g}tjƒjdddd|t    |ƒƒdS(Ns%sitUpdateTotalRechargeBillboard(
tGetChangeCoinPointTotalR$R%RR
RR RRRSRT(RttotalChangeCoinPointR5R6R7R4RšR[((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyRž:s      ( RR RmRjRR\RRRR    R RRR!R8R*RbR^RRR|RlRRRRRR•RR—R˜Rž(((soE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerBillboard.pyt<module>s: