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
ªƒÃhc@sÁddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z d„Z d„Z d„Zd„Zd„ZdS(iÿÿÿÿNcCsì|jƒ}tjj|gƒ}tjƒ}|jtj|ƒ}x‰t    |j
ƒƒddd…D]h}|j |ƒ}t j |ƒt jkr•qbn|t j|ƒkr°qbntj|jƒƒrÉdSPqbWtjd||f|ƒdS(ss¼ì²é¿É·ñ¹¥»÷Ä¿±ê
    @return: None - ²»¿É¹¥»÷
    @return: >=0 - ÔÚÆ¥ÅäÁбíÀïµÄË÷Òý
    @return: -1 - ¿É·´»÷µÄ
    NiÿÿÿÿsIÑÝÎ䳡²»¿É¹¥»÷²»ÔÚÆ¥ÅäÁбíÀï»ò¿É¸´³ðµÄÄ¿±ê! tagPlayerID=%s,matchIDList=%s(t GetPlayerIDt
PyGameDatatg_arenaPlayerMatchDicttgett    DBDataMgrt GetGameRecMgrtGetRecTypeIDMgrt ShareDefinetDef_GameRecType_ArenaRecordtrangetGetCounttAtt PlayerArenat GetRecAtkTypetRecAtkType_DeftGetRecTagPlayerIDt    GameWorldtCheckTimeIsSameWeektGetTimetDebugLog(t    curPlayert tagPlayerIDtplayerIDt matchIDListt
gameRecMgrt    atkRecMgrtindextrecData((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pyt__checkCanAtkTagPlayers  &cCs9t||ƒdkrdStj|tjdƒs5dStS(Ni(RtNonet PlayerControlt    HaveMoneyRtTYPE_Price_ArenaTickettTrue(RtmapIDt
funcLineIDttagTypettagIDt    valueList((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pytOnTurnFightRequest:s
cCstjtjfS(N(Rt Lineup_ArenatLineup_ArenaDef(RR"R#((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pytGetFBPlayerLineupIDEscCsâ|s
dS|jƒ}|j}|j}t||ƒ}tjd|||f|ƒ|dkrddStjƒ}    |    j    t
j ƒ}
d\} } |rt j ddƒ} t| ƒ}|d}|dkrô||krÑ|}tjd||ƒqÑnÝt j ddƒ\}}|
j|ƒd}|
j|ƒd}|dkr´|dkr´||||}xUt|ƒD]D}||d}||ko”|knr£|}Pn|d}qiWntjd|||f|ƒ||krç| |n| d}|\} } tjd    ||f|ƒntj|t
jdƒs6dSt j d
d ƒ}tj||d d tigdtƒt||||| | ƒ|ji|d6| d6| d6tj|ƒtj6ƒtj|ƒtj|tdtƒdS(Ns0½áË㾺¼¼³¡! isWin=%s,tagPlayerID=%s,canAtkRet=%sit
ArenaMatchisÔÚÆ¥ÅäÖеÄ! scoreIndex=%sis;ÔÚ¸´³ðÖеÄ! curPlayerRank=%s,tagPlayerRank=%s,scoreIndex=%siÿÿÿÿsscoreIndex=%s,winScoreInfo=%stArenaSetiteventtArenat isNotifyAwardRt atkAddScoret defDecScoretisSys(ii( RRtisWinRRRRRtGetBillboardMgrt GetBillboardRt Def_BT_Arenat IpyGameDataPYtGetFuncEvalCfgtlent IndexOfByIDR    RtPayMoneyR t ItemControlertGivePlayerItemOrMailtFalset__updArenaBatRecordtupdatetFBCommontGetJsonItemListt Over_itemInfoR tSync_ArenaInfotDoArenaMatchRefreshR!(Rt    turnFightR"R#toverMsgRRR3t    canAtkRett billboardMgrt    billBoardR0R1t winScoreListtscoreCntt
scoreIndext fromLowerCntt matchPerRankt curPlayerRankt tagPlayerRanktfromRankRttoRankt winScoreInfot awardItemList((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pytOnTurnFightOverJsZ             
    % cCs¸|jƒ}tdtjddƒƒ}|jtjƒ}td||ƒ}    tj    |tj|    ƒt
j d|||    f|ƒ|j }
t jƒ} | jtj|ƒ} | j|ƒ} tj| |    ƒtj| tjƒtj| |ƒtj| |ƒtj| |
jƒƒtj| |
jƒƒtj| |
jƒƒtj| |
j ƒƒt!j"|
tj#ƒ}| j$i|
j%ƒd6|d6|d6ƒ|s®|    tjdd    ƒkrÇt&j'|tj(|    ƒn|tj)krît
j d
||ƒdS| jtj|ƒ}|j*ƒs't
j d ||ƒdS|j+|j*ƒd    ƒ}t
j,|j-ƒƒsmt
j d ||ƒdStj.|ƒ}td||ƒ}    t
j d |||    f|ƒ|j|ƒ} tj| |    ƒtj| tj/ƒtj| |ƒtj| | ƒtj| |jƒƒtj| |jƒƒtj| |j0ƒƒtj| |j ƒƒt!j1|tj#ƒ}| j$i|j%ƒd6| d6|d6ƒ|r´t&j2|tj(|    ƒndS(Ni2R,iis#score=%s,atkAddScore=%s,updScore=%stNametAddScoret
FightPoweris$Ä¿±ê·ÇÕæÊµÍæ¼Ò²»´¦Àí! tagPlayerID=%ss&Ä¿±êûÓжÔÕ½¼Ç¼²»´¦Àí! tagPlayerID=%ss*Ä¿±ê±¾ÖÜûÓжÔÕ½¼Ç¼²»´¦Àí! tagPlayerID=%ss&defScore=%s,defDecScore=%s,updScore=%s(3RtminR7t
GetFuncCfgtNomalDictGetPropertytChConfigtDef_PDict_ArenaScoretmaxRtNomalDictSetPropertyRRt tagViewCacheRRRRRt
AddRecDataR tSetRecUpdScoret SetRecAtkTypetRecAtkType_AtktSetRecTagPlayerIDt SetRecIsWint
SetRecFacetGetFacet SetRecFacePict
GetFacePict SetRecRealmLVt
GetRealmLVtSetRecLVtGetLVt
TurnAttacktGetCacheLineupFightPowerR)t SetUserDatat GetPlayerNametPlayerBillboardtUpdatePlayerBillboardR6tRealPlayerIDStartR
R RRtGetRecUpdScoreRtGetOfficialRanktGetPlayerLineupFightPowertUpdateBillboardByID(RRFRR3R0R1RtmaxCounttscoretupdScoreRaRRRt
fightPowert    defRecMgrt finalRecDatatdefScore((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pyR?Žsd      ( )(RRRpRRR7RtR<R RRAR]RR'R*RVR?(((s€D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Arena.pyt<module>s                              D