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
47
_¦¬fc@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd    „ZdS(
iÿÿÿÿNcCstjƒrdSt|ƒdS(N(t    GameWorldt IsCrossServertSyncCrossBattlefieldPlayerInfo(t    curPlayer((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pyt DoPlayerLogin"s 
cCsJtjƒrdStj|tjdƒtj|tjdƒt|ƒdS(Ni(RRt PlayerControltNomalDictSetPropertytChConfigt$Def_PDict_Battlefield_HighScoreTodayt'Def_PDict_Battlefield_BuyOpenCountTodayR(R((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pyt DoPlayerOnDay(s  
cCs`tjƒrdStj|tjdƒtj|tjdƒtj|tjdƒt|ƒdS(Ni(    RRRRRt$Def_PDict_Battlefield_EnterCountWeekt&Def_PDict_Battlefield_BuyOpenCountWeekt(Def_PDict_Battlefield_HighScoreTotalWeekR(R((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pytDoPlayerOnWeek2s 
cCs*tjƒj|ƒ}|jƒ}|j}|j}|j}|j}tjƒretj    d|ƒdSt
j ƒs…t j |dƒdStjddƒ}    ||g|    kråt j|ƒtjkrftj    dt j|ƒ|ƒdSn|tjtjgkrtj    d||ƒdStjddƒ}
||g|
krZtjd|||
f|ƒdStjdd    ƒ} tjƒ} tj| ƒ} d
| j| j| j||f}tj|ƒ}|tjd | ƒ}| |krÿtjd ||| |f|ƒdSd }tjƒ}| j|ks/|j|krft j |dƒtjd|| j|jf|ƒdSd#\}}}|j tj!ƒ}tjddƒ}t"|ƒdkr½|\}}}n||krÿt j#|||ƒsPtj    d||f|ƒdSnQtjddƒ}t$j%||t&j'ƒ}t$j(|ƒsPtj    d||ƒdStj)|tj*|ƒs|t j |dƒdSi |d6|d6|d6|d6|d6|j+ƒd6|d6t
j,|ƒd6|j-ƒd6|j.ƒd6|j/ƒd 6t j0|ƒd!6|j tj1ƒd"6}tj2t3j4|ƒdS($Ns¿ç·þ·þÎñÆ÷ÎÞ·¨·¢Æð!tCrossMatching18tCrossBattlefieldOpenis5ϵͳ³¡´ÎÕÙ¼¯Ö»ÄÜÔÚ¿ç·þÕ½³¡µØͼʱ¿ÉÕÙ¼¯! CrossMapID=%ssûÓиÃÕ½³¡ÕóӪѡÔñ! faction=%sis7·Ç¿ÉÕÙ¼¯µÄÕ½³¡³¡´Î! hour=%s,minute=%s,callOpenHMList=%sis%s-%s-%s %s:%s:00tminutessc¸Ãʱ¼äµãÕ½³¡ÒѹرÕÕÙ¼¯£¬²»ÄÜÔÙÕÙ¼¯! hour=%s,minute=%s,crossServerDateTime(%s) >= endBuyDateTime(%s)itCrossBattlefieldBuyLimitsM¿ç·þ·þÎñÆ÷¼°±¾·þ·þÎñÆ÷Ð賬¹ý%sµãºó¿É¹ºÂò! crossServerHour=%s,curServerHour=%sitCrossBattlefieldBuyOpenis4¿ç·þÕ½³¡ÕÙ¼¯¿ªÆô»õ±Ò²»×ã! moneyType=%s,moneyCount=%ss'¿ç·þÕ½³¡ÕÙ¼¯¿ªÆôµÀ¾ß²»×ã! costItemID=%st RequestLatertopenHourt
openMinutetfactionttodayBuyOpenCountt
serverOnlytaccIDtplayerIDt
playerNamet    playerJobtplayerLVtrealmLVt
fightPowertbuyOpenCountWeek(iii(5RtGetPlayerManagertGetPlayerByIndext GetPlayerIDtHourtMinutetFactiont
ServerOnlyRtDebugLogtCrossRealmPlayertIsCrossServerOpenRt
NotifyCodet IpyGameDataPYtGetFuncEvalCfgt GetCrossMapIDRtDef_FBMapID_CrossBattlefieldtCampType_Justicet CampType_EviltLogt
GetFuncCfgtGetCrossServerTimeStrtChangeStrToDatetimetyeartmonthtdaytdatetimet    timedeltatGetCurrentTimethourtNomalDictGetPropertyR    tlent    HaveMoneyt
ItemCommontFindItemInPackByItemIDt IPY_GameWorldtrptItemtCheckItemCanUsetSetPlayerTickTimetTYPE_Player_Tick_BattlefieldtGetAccIDtGetCrossPlayerNametGetJobtGetLVtGetOfficialRankt GetFightPowerR tSendMsgToCrossServert ShareDefinet"ClientServerMsg_BattlefieldBuyOpen(tindext
clientDatattickRRR=tminuteRRt sysOpenHMListtcallOpenHMListtcloseBuyMinutetcrossServerTimeStrtcrossServerDateTimet startTimeStrt startDateTimetendBuyDateTimetcanBuyStartHourt curServerTimetmoneyBuyMaxCountt    moneyTypet
moneyCountRtbuyOpenMoneyInfot
costItemIDtcostItemtdataMsg((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pytOnCrossBattlefieldBuyOpenFsŒ                    "               cCsL|d \}}|dkr,t||ƒn|dkrHt||ƒndS(NitBattlefieldBuytBattlefieldOver(t__DoBattlefieldBuyt__DoBattlefieldOver(RtmsgDatatmsgTypeRe((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pyt$GameServer_CrossBattlefield_DoResults   c
Csh|jƒ}|\}}}}}d\}}    tj|ƒ}
|
rw|jtjƒ}|d}tj|tj|ƒntj|ƒ} | rÁ|jtj    ƒ} | d}    tj|tj    |    ƒnt
|ƒtj d|||||    tj |ƒ|
| f|ƒd\} }}t jddƒ}t|ƒdkrE|\} }}nidtj6|d6|
d6| d    6|d
6|    d 6}|| kr©tj|||tj|ƒs,dSnƒt jdd ƒ}tj||tjƒ}tj|ƒsýtj||tjƒ}ntj|ƒsdStj||dtd |ƒt jddƒ}tj||ƒtj|t j!dƒdS(Niis¹ºÂòÕÙ¼¯¿ç·þÕ½³¡½á¹û: openHour=%s,openMinute=%s,faction=%s,updTodayBuyOpenCount=%s,updWeekBuyOpenCount=%s,buyTime=%s,isToday=%s,isSameWeek=%sRitBattlefieldBuyOpentbuyTimetisTodayt
isSameWeektupdTodayBuyOpenCounttupdWeekBuyOpenCountitCrossBattlefield(ii(iii("R$RtCheckTimeIsSameServerDayExR>RR    RRtCheckTimeIsSameWeekR RR3tChangeTimeNumToStrR-R.R?tDef_Cost_Reason_SonKeytPayMoneytDef_Cost_CrossBattlefieldR4RARBRCRDREt rptWarehousetDelItemtTruet ItemControlertGivePlayerItemOrMailt PlayerSuccesstDoAddSuccessProgressROtSuccType_Battlefield_CallOpen(RReRRRRRRoRrRsRpRqtweekBuyOpenCountR_R`RaRbtinfoDictRcRdtbuyAwardItemList((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pyRiªsH  
 
 
    ," cCsd|jƒ}|\}}}}}}}    }
} } } }}}}}}}}}}}tj|ƒ}tj|ƒ}tjd||    |
tj|ƒ||f|ƒtjd||||| | | f|ƒtjd|||||||f|ƒtjd||||f|ƒ|r¡d}| s+| r\tjtjt    j
ƒ}tj ||d|ƒntj |t    j
|ƒtj|tj|ƒtj|tjdƒn|rÖtj|tj|
ƒtj|tj|    ƒnt|ƒtj|t    jdƒ| s| rtj|t    jdƒn|rt|t    jkrItj|t    jdƒqt|t    jkrttj|t    jdƒqtn|dkr™tj|t    j |ƒnx6|j!ƒD](\}}tj|t    j"||gƒq¦W|dkr÷tj|t    j#|ƒn|dkrtj|t    j$|ƒn|dkrAtj|t    j%|ƒn|dkr‚tj|t    j&|ƒtj|t    j'd|gƒn|dkr§tj|t    j(|ƒn|dkrÌtj|t    j)|ƒn|dkrñtj|t    j*|ƒn|dkrtj|t    j+|ƒn|dkr;tj|t    j,|ƒn|dkr`tj|t    j-|ƒndS(Nst¿ç·þÕ½³¡½áËãÍæ¼Ò½á¹û: highScoreToday=%s,highScoreWeekTotal=%s,enterCountWeek=%s,overTime=%s,isToday=%s,isSameWeek=%ssO    isWinner=%s,faction=%s,rank=%s,score=%s,teamID=%s,isCallOpen=%s,isCalled=%ssp    killCnt=%s,ckillCntInfo=%s,killBossCnt=%s,killScoreKing=%s,killGuardCnt=%s,auraScore=%s,superItemAwardCnt=%ssO    factionBuffCollCnt=%s,personBuffCollCnt=%s,crystalCollCnt=%s,wallCollCnt=%sii(.R$RRuRvR3RwtPlayerActivitytGetActivityNumt RelatedType_1ROtDailyActionID_CrossBattlefieldtAddActivityFinishCnttNonetAddDailyActionFinishCntRRRRt PlayerGubaotAddGubaoItemEffValuetGubaoEffType_CrossBattlefieldR R RR€RtSuccType_Battlefield_JointSuccType_Battlefield_CalledR1tSuccType_Battlefield_WinJR2tSuccType_Battlefield_WinEtSuccType_Battlefield_KillCnttitemstSuccType_Battlefield_CKillCnttSuccType_Battlefield_KillBosst"SuccType_Battlefield_KillScoreKingtSuccType_Battlefield_KillGuardtSuccType_Battlefield_ScoretSuccType_Battlefield_ScoreMoretSuccType_Battlefield_AuraScoretSuccType_Battlefield_SuperItemt SuccType_Battlefield_FactionBufftSuccType_Battlefield_PersonBufftSuccType_Battlefield_CrystaltSuccType_Battlefield_Wall(RReRtoverTimetisWinnerRtranktscorethighScoreTodaythighScoreWeekTotaltenterCountWeektteamIDt
isCallOpentisCalledtkillCntt ckillCntInfot killBossCntt killScoreKingt killGuardCntt    auraScoretsuperItemAwardCnttfactionBuffCollCnttpersonBuffCollCnttcrystalCollCntt wallCollCntRpRqtaddCntt activityNumtckillCnt((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pyRjÛsr H    &)          
             cCs¡tjƒ}|jtjƒ|_|jtjƒ|_|jtjƒ|_    |jtj
ƒ|_ |jtj ƒ|_ tj|tjƒ|_tj||ƒdS(N(tChPyNetSendPackttagMCCrossBattlefieldPlayerInfoR>RR    tBuyOpenCountTodayRtHighScoreTodayR tEnterCountWeekR tBuyOpenCountWeekR tHighScoreTotalWeekR*tGetCrossPlayerZoneIDR0tZoneIDt NetPackCommont SendFakePack(Rt
clientPack((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pyR#s (RRORR-R:R*RRARCRºRÃR~R†R€RRR
RRfRmRiRjR(((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCrossBattlefield.pyt<module>s,                       
        W         1    H