1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Ÿx›[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 cCs|jƒ}tjjtjiƒ}|jtjdƒ}|jtjdƒ}|jt    j
ƒ}||kr†t j d|jƒƒdSt |jtjdƒ|jtjdƒƒ}tj|t    j
|ƒtj||ƒt j d||||f|ƒt|ƒtS(NisÏÞÊ±ÌØ»Ý»î¶¯ID²»±ä£¬²»´¦Àí£¡s>ÏÞÊ±ÌØ»ÝÖØÖÃ! actID=%s,playerActID=%s,state=%s,shopTypeList=%s(t GetPlayerIDR R RRRt    ActKey_IDRtNomalDictGetPropertytChConfigtDef_PDict_SpringSaleIDRtDebugLogRt ActKey_CfgIDtActKey_DayIndext PlayerControltNomalDictSetPropertytFunctionNPCCommontResetShopItemBuyCountByShopTypeRtTrue(RtplayerIDRtactIDtstatet playerActIDR    ((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ƒ|_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-ƒ|_.|j/ƒ|_0g|_1|j2ƒ|j3ƒ|j4ƒgg}||j5ƒ7}xi|D]a\}}}tj6ƒ}||_7||_8||_9t:||j;ƒkƒ|_<|j1j|ƒq³Wt |j1ƒ|_=| j%j|ƒqüWt | j%ƒ| _>|j!j| ƒq¯Wt |j!ƒ|_?t@jA||ƒdS(NiRs%ÏÞÊ±ÌØ»Ý¿ª¹ØÊ±¼äʱ·ÖÅäÖôíÎó!cfgID=%stStoretShopType(BR R RRRRR&RR'RRtGetStartTimeListtGetEndTimeListRRtErrLogtChPyNetSendPackttagMCSpringSaleInfot GetStartDatet    StartDatet
GetEndDatetEndtDatet ActivityTimet    enumeratettagMCSpringSaleTimet    StartTimetEndtTimetappendtActivityTimeCountt GetIsDayResett
IsDayResett
GetLVLimittLimitLVtShopInfotGetIpyGameDataByConditionR,ttagMCSpringSaleShopt GiftbagInfottagMCSpringSaleGiftbagRtGiftIDt GetLimitCntt BuyCountLimitt GetMoneyTypet    MoneyTypet GetMoneyNumt MoneyNumbertGetMoneyOriginalt MoneyOriginaltItemInfot    GetItemIDt
GetItemCntt    GetIsBindt GetItemListExttagMCSpringSaleItemtItemIDt    ItemCounttIsBindtintt GetMainItemIDt
IsMainItemt GiftItemCountt GiftbagCountt    ShopCountt NetPackCommont SendFakePack(RRRR    tspringSaleIpyDatat startTimeListt endTimeListtpackInfotit    startTimettimeInfotshopTypetshopItemIpyDataListtshopt itemIpyDatatgiftBagtitemListtitemIDt    itemCounttisBindtitem((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyRRsx-                         %    $             (R RR(RR*R6RdRR#RRRR R(((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyt<module>s