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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
Sð    hc@sTddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z dZ d„Zd„Zd„Zd„Zd„Zd„Zd    „Zd
d „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z dS(iÿÿÿÿNi    cCs¹x²tjjtjiƒjƒD]’}|jtjdƒ}|jtjƒsRqn|jt    j
|ƒ}|stqnt j d||f|j ƒƒtj|tj|dtƒPqWdS(Nis0ÏÉÏ»ÃØ¾³ºÏ·þÊ×µÇͬ²½»ý·Ö°ñµ¥: actNum=%s,score=%stautoSort(t
PyGameDatatg_operationActionDicttgett ShareDefinetOperationActionName_XianXiaMJtvaluest ActKey_ActNumt ActKey_StatetNomalDictGetPropertytChConfigtDef_PDict_XianXiaMJScoret    GameWorldtLogt GetPlayerIDtPlayerBillboardtUpdatePlayerBillboardtDef_BT_XianXiaMJScoretTrue(t    curPlayertactInfotactNumtscore((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytOnMixFirstLogin"s% cCs¢x‚tjjtjiƒjƒD]b}|jtjdƒ}t||ƒ}|s|jtjƒrt    ||ƒt
||ƒqqqWt |ƒsžt |ƒndS(Ni( RRRRRRRt__CheckPlayerXianXiaMJActionRtSync_XianXiaMJActionInfotSync_XianXiaMJLayerInfot__CheckPlayerCrossActXianXiaMJt Sync_CrossActXianXiaMJActionInfo(RRRtisReset((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyt OnPlayerLogin1s%   cCs^tjƒ}xKt|jƒƒD]7}|j|ƒ}tj|ƒsIqnt||ƒqWdS(N(R tGetPlayerManagertxrangetGetPlayerCounttGetPlayerByIndextIsNormalPlayerR(Rt playerManagertindexR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytRefreshXianXiaMJActionInfoAs c
Csó|jƒ}tjtj|ƒ}|jtjdƒ}|jtjdƒ}|jtjdƒ}|j    t
j |ƒ}||krõtj d||f|ƒ|j    t
j |ƒ}|rñ|dkrñtjd||f|ƒt|||ƒndS|jtjdƒ}    tj d|||||f|ƒtj|t
j ||ƒtj|t
j|dƒtj|t
j |dƒtj|t
j|dƒtj|t
j|dƒ|rïtj|t
j||    ƒt||ƒt|||ƒntS(Nis.ÏÉÏ»ÃØ¾³»î¶¯ID²»±ä£¬²»´¦Àí£¡actNum=%s,actID=%ssBÏÉÏ»ÃØ¾³»î¶¯Öе«Êײ㽱³ØÎ´Ë¢Ð³õʼ»¯£¬³¢ÊÔˢУ¡actNum=%s,actID=%ssAÏÉÏ»ÃØ¾³ÖØÖÃ! actNum=%s,actID=%s,playerActID=%s,state=%s,cfgID=%s(RR t
GetActInfoRRRt    ActKey_IDRt ActKey_CfgIDR    R
tDef_PDict_XianXiaMJIDtDebugLogtDef_PDict_XianXiaMJLayerNumR t__InitFirstLayerDatatActKey_WorldLVt PlayerControltNomalDictSetPropertytDef_PDict_XianXiaMJWorldLVtDef_PDict_XianXiaMJPlayCountR RR(
RRtplayerIDRtactIDtstatetcfgIDt playerActIDtlayerNumt
actWorldLV((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyRKs4       cCsc|jtjdƒ}|jtjdƒ}|rBtjd|ƒnd}|rZ|jƒnd}|rxtjd|ƒng}|rRx¬|D]¤}|j    ƒ}    t
|j ƒƒ}
x7t |
ƒD])} t j|tj||    | fdƒq¼W|jƒ} x7| jƒD])} t j|tj||    | fdƒqWq‹W|rRt||||ƒqRnt||ƒtS(Nit ActXianXiaMJtActXianXiaMJAward(RRRR)t IpyGameDataPYtGetIpyGameDatatNonet GetTemplateIDtGetIpyGameDataListtGetAwardLibTypetmaxtGetAwardItemCountListR R/R0R
t Def_PDict_XianXiaMJAwardItemInfotGetItemAwardTimesTotalInfotkeyst!Def_PDict_XianXiaMJAwardItemTimest__RefreshXianXiaMJAwardPoolRR(RRRR5R6tipyDatat
templateIDtawardIpyDataListt awardIpyDatatlibTypet libItemCounttnumtitemAwardTimesTotalInfotitemID((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyR-rs$  ' + cCs[tjƒ}xHt|jƒƒD]4}|j|ƒ}tj|ƒsIqnt|ƒqWdS(N(R RR R!R"R#R(R$R%R((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytRefreshCrossActXianXiaMJInfos cCs|jƒ}tj|tjƒ}|jtjdƒ}|jtjdƒ}|jtjdƒ}|jtj    dƒ}|j
t j ƒ}||kr´t jd|||f|ƒdSt jd||||f|ƒtj|t j |ƒ|stj|tjƒnt|ƒtS(Nis=¿ç·þÏÉÏ»ÃØ¾³»î¶¯ID²»±ä£¬²»´¦Àí£¡cfgID=%s,dayIndex=%s,actID=%ss?¿ç·þÏÉÏ»ÃØ¾³»î¶¯ÖØÖÃ! cfgID=%s,actID=%s,playerActID=%s,state=%s(RtCrossRealmPlayertGetPlayerCrossActInfoRtCrossActName_XianXiaMJRR)R(RtActKey_DayIndexR    R
tDef_PDict_CA_XianXiaMJIDR R+R/R0tNotifyCrossActEndRR(RR3RR6R4R5tdayIndexR7((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyR˜s    
tcCsd|jƒ}t||gƒ}tjƒj|ddd|t|ƒƒtjd||f|ƒdS(Nit    XianXiaMJsÏÉÏ»ÃØ¾³·¢ËÍGameServer: %s, %s(RtstrR RtGameServer_QueryPlayerResulttlenR (RtmsgTypetdataMsgR3tmsgList((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytSendToGameServer_XianXiaMJ±s
 (cCsƒ|dkrdS|jtj|ƒ}||}tj|tj||ƒtj|tj|dt    ƒt
|d|||gƒ|S(NiRtAddLotteryScore( R    R
R R/R0RRRRRRb(RRtaddScoretisRelationCrossActt lotteryScoretupdLotteryScore((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytAddPlayerLotteryScore¸s 
cCs0|s
dSt|ƒ|kr(||dS|dS(Niiiÿÿÿÿ(R^(R8tsetList((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytGetLayerSetByListÂsc Csªtjƒj|ƒ}|j}|j}tjd||fƒtjtj|ƒ}|j    tj
ƒsvtjdƒdS|j    tj ƒ}t j d|ƒ}|s¤dS|jƒ}    |    sºdS|jtj|ƒ}
|jtj|ƒ} t jd|    ƒ} | sdSd} x0| D](}|jƒ}|tkr|} PqqW| s_tjd|||    fƒdSt|
| jƒƒ}t|ƒ|kr­tjd|||    |
||fƒdSg}| jƒ}x˜t|ƒD]Š}|jtj|||fƒ}|sûPn|d|d}}|r@||kr@tjd|||fƒdS|rÌ|j|ƒqÌqÌWtjd    |ƒt| jƒ| ƒ}| j ƒ}| j!ƒ}g}x|D]ý}||krÎtjd
|ƒq¥n||krõtjd ||fƒdS|j    |d ƒ}||
kr1tjd |||
fƒdS|j    |d ƒ}|r•|jtj"|||fƒ}||kr•tjd|||fƒdSn|j|ƒq¥Wtjd|ƒ|sÁdSxÕt|ƒD]Ç}|jtj|||fƒ}|d|d}}||kr+tjd|ƒqÎn|j#d ƒ}|d|}t$j%|tj|||f|ƒtjd|||||fƒ|sÎPqÎqÎWt&||ƒdS(Ns2ÏÉÏ»ÃØ¾³»î¶¯Ñ¡Ôñ´ó½±: actNum=%s,superItemIDList=%ss     ·Ç»î¶¯ÖÐ!R:R;s<ûÓÐÅäÖÃÏÉÏ»ÃØ¾³»î¶¯´ó½±¿â! cfgID=%s,actNum=%s,templateID=%ssuÏÉÏ»ÃØ¾³»î¶¯Ñ¡Ôñ´ó½±¸öÊý´íÎó! cfgID=%s,actNum=%s,templateID=%s,layerNum=%s,superLibItemCount=%s,reqSuperItemIDList=%sidscÏÉÏ»ÃØ¾³»î¶¯Ñ¡Ôñ´ó½±ID´íÎó! ÒѳéÖеĴó½±IDΪ±ØÑ¡ID£¡ posNum=%s, itemID=%s not in superItemIDList=%ss    ÒѳéÖеĴó½±ID! %ss/        ÒѳéÖеĴó½±ID£¬²»ÑéÖ¤£¡selectItemID=%ssXÏÉÏ»ÃØ¾³»î¶¯Ñ¡Ôñ´ó½±ID´íÎó! ´ó½±ID²»´æÔڴ󽱿âÖУ¡ selectItemID=%s not in libItemDict=%sis^ÏÉÏ»ÃØ¾³»î¶¯Ñ¡Ôñ´ó½±ID´íÎó! ´ó½±ID¸Ã²ã²»ÄÜÑ¡Ôñ£¡ selectItemID=%s layerLimit(%s) > layerNum(%s)syÏÉÏ»ÃØ¾³»î¶¯Ñ¡Ôñ´ó½±ID´íÎó! ´ó½±IDÒÑ´ïµ½×î´ó½±Àø´ÎÊý£¬²»ÄÜÑ¡Ôñ£¡ selectItemID=%s totalTimesNow(%s) >= totalTimesLimit(%s)s5    Ñé֤ͨ¹ý£¬¿ÉÌæ»»´ó½±ID! replaceSuperItemIDList=%ss)        ÒѳéÖеĴó½±ID£¬²»Ìæ»»£¡itemID=%ss\        Ìæ»»´ó½±IDÑ¡Ôñ£¡num=%s,itemID=%s,posNum=%s,replaceSuperItemID=%s,updItemInfoValue=%s('R RR"tActNumtSuperItemIDListR+R'RRRRR)R<R=R?R    R
R,R1R@R>RAtDef_SuperLibTypetErrLogRjRCR^R RDtappendt__GetXianXiaMJAwardLibItemtGetLibItemInfotGetItemLayerLimitInfoRERGtpopR/R0R( R%t
clientDatattickRRtsuperItemIDListRR6RIRJR8R9RKtsuperAwardIpyDataRLRMtsuperLibItemCounttposNumItemIDListROt itemInfoValueRQtposNumt libItemDicttlayerLimitInfotawardTimesTotalInfotreplaceSuperItemIDListt selectItemIDt
layerLimitttotalTimesLimitt totalTimesNowtreplaceSuperItemIDtupdItemInfoValue((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytOnActXianXiaMJSuperItemÐs¶                                          #     c
Csñtjƒj|ƒ}|j}tjd|ƒtjtj|ƒ}|jtj    ƒsgtjdƒdS|jtj
ƒ}t j d|ƒ}|s•dS|j ƒ}|s«dSt jd|ƒ}    |    sÇdSt||||    ƒsàdSt||ƒdS(NsÏÉÏ»ÃØ¾³»î¶¯½±³ØË¢ÐÂ: actNum=%ss     ·Ç»î¶¯ÖÐ!R:R;(R RR"RkR+R'RRRRR)R<R=R?R@RHR(
R%RtRuRRRR6RIRJRK((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytOnActXianXiaMJAwardPoolRefreshKs*       c Cs|jtjƒ}|jtjdƒ}|jtj|ƒ}|jtj|ƒ}tj    d||||fƒ|r—t
}xî|D]æ}    |    j ƒ}
|
t kr§qƒnt }t||    jƒƒ} x£t| ƒD]•} |jtj||
| fƒ} | stjd|||| fƒdS| d| d}}|rÏ| rÏtjd|||| ||fƒdSqÏWPqƒW|s—tjd||||fƒdSnt|ddƒ}tj    d    |ƒi}x‘|D]‰}    |    j ƒ}
t||    jƒƒ} t|    jƒ|ƒ}|    jƒ}|    jƒ}i}xÚ|jƒD]Ì\}}|\}}|j|dƒ}||kr…tj    d
|||fƒq/n|j|dƒ}|rë|jtj||
|fƒ}||krëtj    d |||fƒq/qën||g||<q/W| t|ƒkrAtjd |||
|| t|ƒ|fƒdS| |g||
<qÈWx(|jƒD]\}
}|\} }tj    d |
| t|ƒ|fƒ|
t kréx7t| ƒD])} tj|tj||
| fdƒq¶Wqbnxt| ƒD]‚} |jƒ}tj|ƒ}|j|dƒd}|d|} tj|tj||
| f| ƒtj    d|
| |fƒqöWqbWd}tj|tj||ƒtj|tj!||ƒtj    d||fƒt"j#|tj$|ƒ|dkrt%|||j&ƒ|j'ƒƒnt S(NisBË¢ÐÂÏÉÏ»ÃØ¾³½±³ØÎïÆ·: cfgID=%s,actNum=%s,actWorldLV=%s,layerNum=%ss?δѡÔñ´ó½±£¡ÎÞ·¨Ë¢Ð½±³Ø! cfgID=%s,actNum=%s,layerNum=%s,num=%sidsUÓдó½±Î´³éÖУ¡ÎÞ·¨Ë¢Ð½±³Ø! cfgID=%s,actNum=%s,layerNum=%s,num=%s,itemID=%s,posNum=%ssL½±³ØÅäÖÃûÓд󽱿⣡ÎÞ·¨Ë¢Ð½±³Ø! cfgID=%s,actNum=%s,layerNum=%s,superLib=%siiúÿs#    ¿Éˢн±³Ø£¡ÏÂÒ»²ã: layerNum=%ssD        ¸Ã²ã²»ÄÜÑ¡Ôñ¸Ã½±Æ·£¡ itemID=%s layerLimit(%s) > layerNum(%s)s_        ½±Æ·IDÒÑ´ïµ½×î´ó½±Àø´ÎÊý£¬²»ÄÜÑ¡Ôñ£¡ itemID=%s totalTimesNow(%s) >= totalTimesLimit(%s)s~½±Æ·¿âÅäÖÿÉÑ¡Ôñ½±Æ·¸öÊý²»¹»£¡ÎÞ·¨Ë¢Ð½±³Ø! cfgID=%s,actNum=%s,libType=%s,layerNum=%s,libItemCount=%s > %s canRandItemDict(%s)sC    Ëæ»ú½±³ØÎïÆ·: libType=%s,libItemCount=%s,canRandItemDict=%s, %ss5        Ëæ»úÉú³É½±Æ·! libType=%s,num=%s,randItemID=%ss&    Ë¢ÐÂÍê³É! layerNum=%s,playCount=%s((RRR)RR    R
R1R,R R+tFalseRARmRRjRCR RDRntminRpRqRrREtitemsRGR^R/R0RtGetResultByWeightListRsR>R2t PlayerActTasktUpdActTaskValuetActTaskType_XianXiaMJLayerRhtGetLayerAddScoretGetIsRelationCrossAct(RRRIRKR6RR9R8tsuperLibRLRMRNRORzRQR{trefreshLibDictR|R}R~tcanRandItemDictt libItemInfot_tweightRR‚Rƒt refreshInfot
weightListt
randItemIDt    playCount((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyRHis¢                                   # # ' #" "c2 Cstjƒj|ƒ}|j}|j}tjd||fƒ|dkrNdStjtj|ƒ}|j    tj
ƒs†tjdƒdS|j ƒ}|j    tj ƒ}t jd|ƒ}    |    sÀdS|    jƒr/tj|tjƒ}
|
j    tj
dƒrb|
j    tjƒtjkr,tjd||ƒdSqbn3|j    tjƒtjkrbtjd||ƒdS|    jƒ} | sxdS|jtj|ƒ} t jd| ƒ} | sªdSt}|    jƒ}d}|r tj|||ƒ\}}}|||}|dkrt}qnt}|    j ƒ\}}|r~| s8| r<dSt!j"|||ƒs~tjd    ||t!j#||ƒfƒdSn|jtj$|ƒ}|jtj%|ƒ}tjd
||fƒd}i}xg| D]_}|j&ƒ}t'||j(ƒƒ}t'||j)ƒƒ}t'||j*ƒƒ}||7}|t+kr˜xZt,|ƒD]I} |jtj-||| fƒ}!|!sHtjd || |!fƒdSqHWn|rÊ||krÊtjd |||fƒqÔn|j.ƒ}"t/|j0ƒ| ƒ}#g}$xït,|ƒD]á} |jtj-||| fƒ}!|!s-dS|!d |!d }%}&|%|#krTqþn|&r§tjd||%|&fƒ|&|krþtj1d|| |!|&fƒdSqþn|#|%\}'}(|%|"k})|$j2|(|%|'| |)gƒqþW|$r|||$g||<tjd|||$fƒqÔtjd|||$fƒqÔW||kr^tjd||fƒdS|sutjdƒdStj3|j4ƒƒ}*|*s”dS|*\}}$tj3|$ƒ}+|+s¹dS|+\}%}'} })|rt!j5|||dƒtjd||fƒn6tjd|||fƒtj6|||||dƒ|%d |},t!j7|tj-||| f|,ƒd}-|)r½|jtj8|||%fƒd}-t!j7|tj8|||%f|-ƒn|d7}t!j7|tj%||ƒtjd|||%|'| ||,|-|f    ƒd}.|%|'|.gg}/t9j:||/ddtigƒt;j<|tj=dƒ|t+krt!j>dd||j?ƒ|%|'gƒnt@|||    jAƒ|    jƒƒ}0tBjCƒ}1||1_||1_D|%|1_E|'|1_F||1_|-|1_G|0|1_HtIjJ||1ƒdS(Ns(ÏÉÏ»ÃØ¾³»î¶¯³é½±: actNum=%s,reqPosNum=%sis     ·Ç»î¶¯ÖÐ!R:s#¿ç·þÏÉÏ»ÃØ¾³·Ç²ÎÓë»î¶¯ÖÐ: actNum=%ssÏÉÏ»ÃØ¾³·Ç²ÎÓë»î¶¯ÖÐ: actNum=%sR;isO    »õ±Ò²»×㣬ÎÞ·¨³é½±! costMoneyType=%s,costMoneyValue(%s) > curMoneyValue(%s)slayerNum=%s,playCount=%ss<    Î´Ñ¡Ôñ´ó½±£¡ÎÞ·¨³é½±! libType=%s,num=%s,itemInfoValue=%ssM    ¸Ã¿âµ±Ç°³é½±´ÎÊýÎÞ·¨½âËø! libType=%s,playCount(%s) < unlockLimitTimes(%s)ids2    ¸Ã½±Æ·Òѱ»³éÖÐ! libType=%s,itemID=%s,posNum=%ssX    ¸ÃλÖÃÒѾ­Óг齱½á¹û£¬ÎÞ·¨Öظ´Ñ¡Ôñ³é½±! libType=%s,num=%s,itemInfoValue=%s,posNum=%ssB    ¸Ã¿âÓлú»á³éµ½ÎïÆ·: libType=%s,libWeight=%s,canRandItemList=%ssB    ¸Ã¿âÎïÆ·ÒÑÈ«±»³éÍê: libType=%s,libWeight=%s,canRandItemList=%ss9    ÇëÇóλÖÃÒì³££¬ÎÞ·¨³é½±! reqPosNum(%s) > posNumMax(%s)s!    Ã»Óпɳ齱µÄ½±Æ·ÁË£¬ÎÞ·¨³é½±!s,ÏûºÄ»õ±Ò: costMoneyType=%s,costMoneyValue=%ss+ÏûºÄµÀ¾ß: costItemID=%s,costItemCount=%s %sR[s    ³éÖÐÎïÆ·: layerNum=%s,libType=%s,itemID=%s,itemCount=%s,num=%s,reqPosNum=%s,updItemInfoValue=%s,totalTimesNow=%s,playCount=%steventtXianXiaMJLotterys XianXiaMJ%s(KR RR"RktPosNumR+R'RRRRRR)R<R=RRSRTRUtActKey_StateJointActStateJoin_StartR R?R    R
R1R@Rˆt GetUseItemIDt
ItemCommontGetPackItemBindStateIndexInfoRtGetUseMoneyInfoR/t    HaveMoneytGetMoneyR,R2RARjRCtGetUnlockAwardLimitTimesListtGetAwardLibWeightListRmR RDRERpRqRnRoR‹RtPayMoneytDelCostItemByBindR0RGt ItemControlertGivePlayerItemOrMailRŒtAddActTaskValuetActTaskType_XianXiaMJLotteryt WorldNotifyt GetPlayerNameRhtGetLotteryAddScoretChPyNetSendPackt tagMCActXianXiaMJAwardItemResultt ItemLibTypetItemIDt    ItemCountt TotalTimesNowt LotteryScoret NetPackCommont SendFakePack(2R%RtRuRRt    reqPosNumRR3R6RIt crossActInfoRJR9RKt checkUseMoneyt
costItemIDt costItemCounttcostItemIndexListtbindCntt    unBindCnttlackCntt costMoneyTypetcostMoneyValueR8Ršt    posNumMaxtrandLibItemDictRLRMRNtunlockLimitTimest    libWeightRORzR~R|tcanRandItemListRQR{t    itemCountR–t
isAddTimest randLibInfot randItemInfoR…Rƒt isAuctionItemtitemListRft
clientPack((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pytOnActXianXiaMJLottery×s            
          
              ##&
    # )!                             c Cstjtj|ƒ}|jtjƒs+dS|jtjƒ}tjd|ƒ}|sYdS|j    ƒ\}}|j
ƒ}|rtj d|ƒng}tj |ƒ\}    }
t jƒ} || _|    | _|
| _|jƒ| _|jƒ| _|jƒ| _|jƒ| _|jƒ| _|| _|| _|jƒ| _|j ƒ| _!t"|ƒ| _#t$| j#ƒ| _%t&j'|| ƒdS(NR:tActXianXiaMJBillTemp((R R'RRRRR)R<R=R£tGetPersonalTemplateIDR@tGetOperationActionDateStrR±ttagMCActXianXiaMJInfoRkt    StartDatetEndtDatetGetJoinStartTimet JoinStartTimetGetJoinEndTimet JoinEndTimet GetIsDayResett
IsDayResett
GetLVLimittLimitLVR t    UseItemIDt    MoneyTypet
MoneyValueR°tLotteryAddScoreRt LayerAddScoret__GetTempRankBillPackListtPersonalBillboardInfoListR^tPersonalBillCountR¸R¹( RRRR6RIRÃRÄtpersonalTempIDtpersonalTempIpyDataListt startDateStrt
endDateStrRÐ((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyRs8                      cCsV|jƒ}|siSt|dtƒrRt|dƒdkrRtj||iƒS|S(Nii(RFt
isinstancettupleR^R tGetDictValueByRangeKey(R”R9tkeyList((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyRp²s  )cCsJtjtj|ƒ}|jtjƒs+dS|jtjƒ}tjd|ƒ}|sYdS|j    ƒ}|sodS|j
t j |ƒ}|j
t j |ƒ}tjƒ}||_||_|j
t j|ƒ|_g|_tjd|ƒ}    |    r$x.|    D]#}
|
jƒ} t||
jƒƒ} t|
jƒ|ƒ} |
jƒ}|
jƒ}xþt| ƒD]ð}|j
t j|| |fƒ}|sŠPn|d|d}}|| kr±q[n| |}tjƒ}| |_ ||_!|d|_"||_#|j|dƒ|_$|j
t j%|| |fƒ|_&|j|dƒ|_'|jj(|ƒq[W| t)krúx¡| j*ƒD]“\}}tjƒ}| |_ ||_!|d|_"|j|dƒ|_$|j
t j%|| |fƒ|_&|j|dƒ|_'|j+j(|ƒqhWt,|j+ƒ|_-| |_.qúqúWnt,|jƒ|_/t0j1||ƒdS(NR:R;idi(2R R'RRRRR)R<R=R?R    R
R1R,R±ttagMCActXianXiaMJLayerInfoRktLayerNumR R·t AwardItemListR@RARjRCRpRqRrRER RDttagMCActXianXiaMJLayerItemR³R´RµRt TotalTimesMaxRGR¶t
LayerLimitRoRmRŠt SuperItemListR^tSuperItemCounttSuperItemCanChooseCounttAwardItemCountR¸R¹(RRRR6RIRJR9R8RÐRKRLRMRNR|R}R~RORzRQR{R”t    layerItem((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyR»sr                   
              "           "cCsstj|tjƒ}|sdS|jtjƒs5dS|jtjiƒ}|sTdS|jddƒ}|r~tjd|ƒng}t    j
ƒ}t |jtj gƒƒ|_ t|j ƒ|_|jddƒ|_|jddƒ|_|jddƒ|_|jddƒ|_|jd    dƒ|_|jd
dƒ|_t|ƒ|_t|jƒ|_tj||ƒdS( NtPersonalTemplateIDiRÒtZoneIDRÖRZtEndDateRÙRÛRÝ(RSRTRRURRtActKey_IpyDataInfoR<R@R±ttagMCCrossActXianXiaMJInfoR\tActKey_ServerIDRangeListtServerIDRangeInfoR^t ServerInfoLent GroupValue1RÖR×RÙRÛRÝRåRæRçR¸R¹(RRt ipyDataDictRèRéRÐ((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyRÿs. cCsÑg}|s|Sxº|D]²}tjƒ}|jƒ|_g|_|jƒ}xX|D]P\}}}tjƒ}|jƒ||_||_    ||_
|jj |ƒqTWt |jƒ|_ |jƒ|_g|_|jƒ}    |    jƒ}
|
jƒx³|
D]«} |    | } tjƒ} | | _g| _xX| D]P\}}}tjƒ}|jƒ||_||_    ||_
| jj |ƒq0Wt | jƒ| _ |jj | ƒqûWt |jƒ|_|j |ƒqW|S(N(R±ttagMCActXianXiaMJBillardtGetRanktRankRòtGetAwardItemListttagMCActXianXiaMJItemtClearR´RµtIsBindRoR^tCountt GetNeedScoret    NeedScoretAwardItemExListtGetScoreAwardExRFtsortttagMCActXianXiaMJAwardExtCountEx(t ipyDataListt packBillListt tempIpyDatatrankInfot awardItemListRQRÊRÎtitemt scoreAwardExt scoreExListtscoreExt
itemExListtawardEx((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyRåsL        
                   
 
          
            (!RRR/R<RªRSRR±R¸RŒR¡R R
RmRRR&RR-RRRRbRhRjR†R‡RHRÑRRpRRRå(((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActXianXiaMJ.pyt<module>s@                         
    '                  
        {        n    ¶    %            D