cehua_LC
2018-09-19 0cc7908a1036d4b20b6e8b3fc559f2c6dcf540d0
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
àiŸ[c@sddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNcCsn|dks|dkrgStjd|ƒ}|s8gS|jƒ}|t|ƒkr`|dn||}|S(Nt ActSpringSaleiÿÿÿÿ(tNonet IpyGameDataPYtGetIpyGameDatatGetShopTypeListtlen(tcfgIDtdayIndextipyDatat shopTypeListt todayShopType((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyRs &cCst|ƒdS(N(t__CheckPlayerSpringSaleAction(t    curPlayer((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyt OnPlayerLogin&s
cCs^tjƒ}xKt|jƒƒD]7}|j|ƒ}|jƒdkrLqnt|ƒqWdS(Ni(t    GameWorldtGetPlayerManagertxrangetGetPlayerCounttGetPlayerByIndextGetIDR (t playerManagertindexR ((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pytRefreshSpringSaleActionInfo*s c Csï|jƒ}tjjtjiƒ}|jtjdƒ}|jtjdƒ}|jtjdƒ}|j    t
j ƒ}t }||kr
t }t||jtjdƒƒ}tj||ƒtj|t
j |ƒtj|t
jdƒtjd||||f|ƒntjd|ƒ|j    t
jƒ}    |rØ|rØ||    krØtjd|ƒ}
|
rØ|
jƒrØ|jƒ|
jƒkrØtj|
jƒ|g|
jƒƒtj|t
j|ƒtjd||    f|ƒqØn|rët|ƒn|S(Nis>ÏÞÊ±ÌØ»ÝÖØÖÃ! actID=%s,playerActID=%s,state=%s,shopTypeList=%ssÏÞÊ±ÌØ»Ý»î¶¯ID²»±ä£¬²»´¦Àí£¡Rs7    ·¢ËÍÐÂÏÞÊ±ÌØ»ÝÓʼþÌáÐÑ! state=%s,playerMailState=%s(t GetPlayerIDt
PyGameDatatg_operationActionDicttgett ShareDefinetOperationActionName_SpringSalet    ActKey_IDt ActKey_Statet ActKey_CfgIDtNomalDictGetPropertytChConfigtDef_PDict_SpringSaleIDtFalsetTrueRtActKey_DayIndextFunctionNPCCommontResetShopItemBuyCountByShopTypet PlayerControltNomalDictSetPropertytDef_PDict_SpringSaleMailStateRtDebugLogRRt
GetMailKeytGetLVt
GetLVLimitt SendMailByKeytGetMailItemPrizetSync_SpringSaleActionInfo( R tplayerIDtactInfotactIDtstateRt playerActIDtisResetR    tplayerMailStatetspringSaleIpyData((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyR 4s2  #*"  cCsvtjjtjiƒ}|s"dS|jtjdƒ}|sAdSt||jtjdƒƒ}|sidStj    d|ƒ}|s…dS|j
ƒ}|j ƒ}t |ƒt |ƒkrÊt jd|ƒdStjƒ}|jƒ|_|jƒ|_|jƒ|_g|_xLt|ƒD]>\}}    tjƒ}
|    |
_|||
_|jj|
ƒqWt |jƒ|_|jƒ|_|j ƒ|_!g|_"x¹|D]±} tj#di| d6t$t$ƒ} | sÌq›ntj%ƒ} g| _&xF| D]>}tj'ƒ}|j(ƒ|_)|j*ƒsdn |j*ƒd|_+|j,ƒ|_-|j.ƒ|_/|j0ƒ|_1g|_2|j3ƒ|j4ƒ|j5ƒgg}||j6ƒ7}xi|D]a\}}}tj7ƒ}||_8||_9||_:t;||j<ƒkƒ|_=|j2j|ƒqŸWt |j2ƒ|_>| j&j|ƒqèWt | j&ƒ| _?|j"j| ƒq›Wt |j"ƒ|_@tAjB||ƒdS(NiRs%ÏÞÊ±ÌØ»Ý¿ª¹ØÊ±¼äʱ·ÖÅäÖôíÎó!cfgID=%stStoretShopType(CRRRRRRRR%RRtGetStartTimeListtGetEndTimeListRRtErrLogtChPyNetSendPackttagMCSpringSaleInfot GetStartDatet    StartDatet
GetEndDatetEndtDatetGetAdvanceMinutestAdvanceMinutest ActivityTimet    enumeratettagMCSpringSaleTimet    StartTimetEndtTimetappendtActivityTimeCountt GetIsDayResett
IsDayResetR.tLimitLVtShopInfotGetIpyGameDataByConditionR$ttagMCSpringSaleShopt GiftbagInfottagMCSpringSaleGiftbagRtGiftIDt GetLimitCntt BuyCountLimitt GetMoneyTypet    MoneyTypet GetMoneyNumt MoneyNumbertGetMoneyOriginalt MoneyOriginaltItemInfot    GetItemIDt
GetItemCntt    GetIsBindt GetItemListExttagMCSpringSaleItemtItemIDt    ItemCounttIsBindtintt GetMainItemIDt
IsMainItemt GiftItemCountt GiftbagCountt    ShopCountt NetPackCommont SendFakePack(R R3RR    R9t startTimeListt endTimeListtpackInfotit    startTimettimeInfotshopTypetshopItemIpyDataListtshopt itemIpyDatatgiftBagtitemListtitemIDt    itemCounttisBindtitem((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyR1Wsz                         %    $             (RRR(RR&R?RnRR!RR RR R1(((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyt<module>s             
        
    #