cehua-TT
2019-01-10 a2b39b9167bd9594ed5c3ec2a1f329a047853f07
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
íè6\c@sBddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZeddƒ\ZZZd„Zd„Zd„Zd„Zd„Zd    „Zd
„Zd „Zed „Zd „Zd„ZdS(iÿÿÿÿNiicCstS(N(tTrue(t    curPlayer((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pytDoOfficialOpen+sc    Cstj|tjtjƒs‚tj|tjtjdƒ|jƒ}|r‚tjddiƒj    |dƒ}d}tj
ƒ}|j |j ƒdƒj ƒ}xZt|ƒD]L}t|ƒ}|sÄPn|jƒ}||kràPn||8}|d}q¨W|dkr%|j|dƒt|tƒntjd|jƒgtj|dfg||gƒtjd|||f|jƒƒq‚nt|ƒdS(NitReRealmis5ÀϺž³½ç´¦Àí oldRealmLV=%s,newRealmLV=%s,givePoint=%s(t    GameWorldtGetDictValueByBittChConfigtDef_Player_Dict_VersionFixtDef_VerFix_ReamlvFixtSetDictValueByBittGetOfficialRankt IpyGameDataPYtGetFuncEvalCfgtgettIPY_DatatGetRealmByIndext GetRealmCounttGetLvtxrangetGetRealmIpyDatat GetNeedPointtSetOfficialRanktDoRealmLVUpLogictFalset PlayerControlt SendMailByKeytGetIDtDef_ItemID_RealmPointtLogtSyncRealmFBState(    Rt
oldRealmLVt    givePointt
newRealmLVtipyMgrt
maxRealmLVtlvtipyDatat    needPoint((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pytOnLogin2s0 !    
 4)
cCstjd|ƒS(NtRealm(R tGetIpyGameData(trealmLV((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pyROscCsgdStjƒj|ƒ}tj|tjƒsItjd|jƒƒdS|j    t
j ƒrltjdƒdS|j ƒ}t |ƒ}|sŸtjd|ƒdS|jƒ}|sÏtjd||jƒƒdStj|tj|tƒstjd||jƒƒdS|jƒ}xV|jƒD]H\}}    tj||ƒ}
|
|    kr!tjd|||
fƒdSq!W|jƒ} |jƒ} | dkr| dkr|jƒjtjƒ} tj | | | ƒ\}}|sôtjd|| | fƒdStj!|| || t"d    ƒntj#|tj|ƒtj$|t
j d
ƒt%|ƒtj&d ||jƒƒdS( Ns)¾ôλ¾³½ç¹¦ÄÜ먦Æô, ÎÞ·¨¿ªÆô¶É½Ù!curLV=%ss¶É½ÙÒÑ¿ªÆô£¬ÎÞ·¨ÔٴοªÆô£¡sûÓиþ³½çµÈ¼¶Êý¾Ý! Lv=%ss!¾³½çÒÑÊÇ×î´óµÈ¼¶£¬²»ÄÜÉý¼¶! Lv=%ss/¾³½çÐÞÁ¶µã²»×㣬ÎÞ·¨¿ªÆô¶É½Ù£¡needRealmPoint=%ssW¿ªÆô¶É½Ù ÐèÒª·¨±¦µÄ¼¤»îÌõ¼þ²»Âú×ã! needActiveTreasureDict=%s,·¨±¦ÀàÐÍ=%s, ÒѼ¤»îÊýÁ¿=%sis9¶É½Ù¿ªÆô, ²ÄÁϲ»×ã! Lv=%s, needItemID=%s,needItemCount=%sR'is¿ªÆô¶É½Ù¸±±¾³É¹¦: curRealmLV=%s('RtGetPlayerManagertGetPlayerByIndext GameFuncCommt GetFuncCanUset ShareDefinetGameFuncID_OfficialtDebugLogtGetLVtNomalDictGetPropertyRtDef_PDict_RealmFBIsOpenR
RtErrLogRt GetPlayerIDRt    HaveMoneytTYPE_Price_RealmPointRtGetNeedActiveTreasuretitemstPlayerMagicWeapontGetMWActiveCntByTypet GetNeedItemIDtGetNeedItemCnttGetItemManagertGetPackt IPY_GameWorldtrptItemt
ItemCommontGetItem_FromPack_ByIDt
ReduceItemRtPayMoneytNomalDictSetPropertyRR(tindext
clientDatattickRt
curRealmLVt realmIpyDatatneedRealmPointtneedActiveTreasureDicttmwTypet needActiveCntt    activeCntt
needItemIDt needItemCounttcurPackt    hasEnought itemIndexList((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pyt OpenRealmFBWsR            
cCs‘dStj|tjƒsdStjƒ}|jtjƒ|_    |jtj
ƒ|_ |jtj ƒ|_ |jtjƒ|_tj||ƒdS(N(R,R-R.R/tChPyNetSendPackttagMCSyncRealmFBIsOpenR2RR3tIsOpentDef_PDict_RealmSitAllTimet
SitAllTimetDef_PDict_RealmSitRemainTimet SitRemainTimetDef_PDict_RealmSitStartTimet SitStartTimet NetPackCommont SendFakePack(RtsendPack((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pyRŠs cCsÁtj|tjƒsdS|jƒ}t|ƒ}|s;dS|jƒ|jƒ}}gtdƒD] }i^qa}x1t    |ƒD]#\}}t
j ||||ƒq€Wt
j |t j|ƒdS(Ni(R,R-R.R/R
RtGetAddAttrTypet GetAddAttrNumtranget    enumerateRtCalcAttrDict_TypetSetCalcAttrListValueRtDef_CalcAttrFunc_Prestige(RRJRKt addAttrIDListtaddAttrValueListtit allAttrListtattrID((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pytCalcOfficialRankAttrœs  cCs!t|ƒtj|ƒjƒdS(N(RoRtRefreshPlayerAttrState(R((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pytRefreshOfficialAttr´s
cCsRtjƒj|ƒ}|jtjƒdk}|sDtjdƒdSt|ƒdS(Nis    ²»ÄÜÉý¼¶¾³½ç(RR*R+R2RR3R0R(RGRHRIRtcanLvUp((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pyt DoRealmLVUp¿s 
cCsE|jƒ}|d}tjd|ƒt|ƒ}|s=dS|j|ƒtj|tjdƒ|rˆtj    dd|j
ƒ|gƒnt |ƒt j |ƒt|ƒtj|tj|ƒtj|ƒtj|tj|ƒtj||ƒtj|tjƒ}t|ƒ}|r%|jƒnd}tj||||ƒtS(Nis    Éý¼¶¾³½çnextRealmLv=%sitRealmUpSuccess( R
RR0RRRRFRR3t WorldNotifytGetNameRqR,tDoFuncOpenLogicRt PlayerSuccesstUptateSuccessProgressR.tSuccType_RealmlvUptPlayerBillboardtUpdateRealmBillboardtOpenServerCampaigntUpdOpenServerCampaignRecordDatatDef_Campaign_Type_RealmLVt
EventShelltEventRespons_RealmUptGetMoneyR7RtDataRecordPackt DR_RealmLVUpR(RtneedSysRJt nextRealmLvtnextRealmIpyDatat
realmPointRKRL((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pyRÊs, 
  "
 
  cCs\t|ƒ}|sdS|jƒ}tj|tj|ƒt|ƒtj|tj    dƒdS(Ni(
RRRRER.R7RRFRR3(RR)tstarRKRL((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pytDologicDujieFBPassçs  
 cCsdS(N((RGRHRI((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pytOnReduceSitTimes( RBR,RRWR`R@R R.RRR:RxR}R{R€RƒRet StopSitType1t StopSitType2t StopSitType3RR&RRVRRoRqRsRRRŠR‹(((sa.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerPrestigeSys.pyt<module>s6                                3