cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
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
A¥[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  #*"  cCsªtjjtjiƒ}|s"dS|jtjdƒ}|sAdSt||jtjdƒƒ}|sidStj    d|ƒ}|s…dS|j
ƒ}|j ƒ}t |ƒt |ƒkrÊt jd|ƒdSt jƒjtjƒd}tjƒ}t j|jƒ|ƒ|_t j|jƒ|ƒ|_|jƒ|_g|_xLt|ƒD]>\}    }
tjƒ} |
| _||    | _|jj | ƒqMWt |jƒ|_!|j"ƒ|_#|j$ƒ|_%g|_&x¹|D]±} tj'di| d6t(t(ƒ} | sqÏntj)ƒ}g|_*xF| D]>}tj+ƒ}|j,ƒ|_-|j.ƒsOdn |j.ƒd|_/|j0ƒ|_1|j2ƒ|_3|j4ƒ|_5g|_6|j7ƒ|j8ƒ|j9ƒgg}||j:ƒ7}xi|D]a\}}}tj;ƒ}||_<||_=||_>t?||j@ƒkƒ|_A|j6j |ƒqÓWt |j6ƒ|_B|j*j |ƒqWt |j*ƒ|_C|j&j |ƒqÏWt |j&ƒ|_DtEjF||ƒdS(NiRs%ÏÞÊ±ÌØ»Ý¿ª¹ØÊ±¼äʱ·ÖÅäÖôíÎó!cfgID=%sitStoretShopType(GRRRRRRRR%RRtGetStartTimeListtGetEndTimeListRRtErrLogt GetGameWorldtGetGameWorldDictByKeytDef_Notify_WorldKey_ServerDaytChPyNetSendPackttagMCSpringSaleInfotGetOperationActionDateStrt 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 endTimeListt openServerDaytpackInfotit    startTimettimeInfotshopTypetshopItemIpyDataListtshopt itemIpyDatatgiftBagtitemListtitemIDt    itemCounttisBindtitem((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyR1Ws|                         %    $             (RRR(RR&RBRrRR!RR RR R1(((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyt<module>s             
        
    #