cehua_wcy
2018-09-17 cc6a1e2c7b0d021252bd5394918b4928a65e4324
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
MKŸ[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 &cCsPt|ƒ}|sLtjjtjiƒ}|jtjƒrLt|ƒqLndS(N(t__CheckPlayerSpringSaleActiont
PyGameDatatg_operationActionDicttgett ShareDefinetOperationActionName_SpringSalet ActKey_StatetSync_SpringSaleActionInfo(t    curPlayertisResettactInfo((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 ƒ}||krt ||jtj dƒƒ}tj||ƒtj|t
j |ƒtj|t
jdƒt|ƒ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ÖntS(Nis>ÏÞÊ±ÌØ»ÝÖØÖÃ! actID=%s,playerActID=%s,state=%s,shopTypeList=%ssÏÞÊ±ÌØ»Ý»î¶¯ID²»±ä£¬²»´¦Àí£¡Rs7    ·¢ËÍÐÂÏÞÊ±ÌØ»ÝÓʼþÌáÐÑ! state=%s,playerMailState=%s(t GetPlayerIDR R RRRt    ActKey_IDRt ActKey_CfgIDtNomalDictGetPropertytChConfigtDef_PDict_SpringSaleIDRtActKey_DayIndextFunctionNPCCommontResetShopItemBuyCountByShopTypet PlayerControltNomalDictSetPropertytDef_PDict_SpringSaleMailStateRRtDebugLogRRt
GetMailKeytGetLVt
GetLVLimitt SendMailByKeytGetMailItemPrizetTrue(
RtplayerIDRtactIDtstateRt playerActIDR    tplayerMailStatetspringSaleIpyData((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyR 9s,  
#*" cCs™tjjtjiƒ}|s"dS|jtjƒs8dS|jtjdƒ}t|jtjdƒ|jtjdƒƒ}| sˆ| rŒdSt    j
d|ƒ}|s¨dS|j ƒ}|j ƒ}t |ƒt |ƒkrítjd|ƒdStjƒ}|jƒ|_|jƒ|_|jƒ|_g|_xLt|ƒD]>\}}    tjƒ}
|    |
_|||
_|jj|
ƒq<Wt |jƒ|_|jƒ|_ |j!ƒ|_"g|_#x¹|D]±} t    j$di| d6t%t%ƒ} | sïq¾ntj&ƒ} g| _'xF| D]>}tj(ƒ}|j)ƒ|_*|j+ƒs>dn |j+ƒd|_,|j-ƒ|_.|j/ƒ|_0|j1ƒ|_2g|_3|j4ƒ|j5ƒ|j6ƒgg}||j7ƒ7}xi|D]a\}}}tj8ƒ}||_9||_:||_;t<||j=ƒkƒ|_>|j3j|ƒqÂWt |j3ƒ|_?| j'j|ƒq Wt | j'ƒ| _@|j#j| ƒq¾Wt |j#ƒ|_AtBjC||ƒdS(NiRs%ÏÞÊ±ÌØ»Ý¿ª¹ØÊ±¼äʱ·ÖÅäÖôíÎó!cfgID=%stStoretShopType(DR R RRRRR"RR&RRtGetStartTimeListtGetEndTimeListRRtErrLogtChPyNetSendPackttagMCSpringSaleInfot GetStartDatet    StartDatet
GetEndDatetEndtDatetGetAdvanceMinutestAdvanceMinutest ActivityTimet    enumeratettagMCSpringSaleTimet    StartTimetEndtTimetappendtActivityTimeCountt GetIsDayResett
IsDayResetR/tLimitLVtShopInfotGetIpyGameDataByConditionR2ttagMCSpringSaleShopt GiftbagInfottagMCSpringSaleGiftbagRtGiftIDt GetLimitCntt BuyCountLimitt GetMoneyTypet    MoneyTypet GetMoneyNumt MoneyNumbertGetMoneyOriginalt MoneyOriginaltItemInfot    GetItemIDt
GetItemCntt    GetIsBindt GetItemListExttagMCSpringSaleItemtItemIDt    ItemCounttIsBindtintt GetMainItemIDt
IsMainItemt GiftItemCountt GiftbagCountt    ShopCountt NetPackCommont SendFakePack(RRRR    R8t startTimeListt endTimeListtpackInfotit    startTimettimeInfotshopTypetshopItemIpyDataListtshopt itemIpyDatatgiftBagtitemListtitemIDt    itemCounttisBindtitem((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyRXsz-                         %    $             (R RR)RR'R>RmRR$RRRR R(((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyt<module>s