1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
'÷hc@s¦ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z d„Z d„ZdS(iÿÿÿÿNcCs}|dks|dkrgStjd|ƒ}|s8gStj|jƒ|gƒ}|t|ƒkro|dn||}|S(Nt ActSpringSaleiÿÿÿÿ(tNonet IpyGameDataPYtGetIpyGameDatat    GameWorldtGetDictValueByRangeKeytGetShopTypeListtlen(tcfgIDtdayIndextwoldLVtipyDatat shopTypeListt todayShopType((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyRs&cCsOxHtjjtjiƒjƒD](}|jtjdƒ}t||ƒqWdS(Ni(t
PyGameDatatg_operationActionDicttgett ShareDefinetOperationActionName_SpringSaletvaluest ActKey_ActNumt__CheckPlayerSpringSaleAction(t    curPlayertactInfotactNum((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyt OnPlayerLogin&s%cCs^tjƒ}xKt|jƒƒD]7}|j|ƒ}tj|ƒsIqnt||ƒqWdS(N(RtGetPlayerManagertxrangetGetPlayerCounttGetPlayerByIndextIsNormalPlayerR(Rt playerManagertindexR((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pytRefreshSpringSaleActionInfo.s c Cs(|jƒ}tjtj|ƒ}|jtjdƒ}|jtjdƒ}|jtjdƒ}|jtj    dƒ}|j
t j |ƒ}t }    ||kr.t}    t||jtjdƒ|ƒ}
tj||
ƒtj|t j ||ƒtj|t j|dƒtjd|||||
f|ƒntjd||f|ƒ|j
t j|ƒ} |r|r|| krtjd|ƒ} | r| jƒr|jƒ| jƒkrtj| jƒ|g| jƒƒtj|t j||ƒtjd|| f|ƒqn|r$t||ƒn|    S(NisHÏÞÊ±ÌØ»ÝÖØÖÃ! actNum=%s,actID=%s,playerActID=%s,state=%s,shopTypeList=%ss.ÏÞÊ±ÌØ»Ý»î¶¯ID²»±ä£¬²»´¦Àí£¡actNum=%s,actID=%sRs7    ·¢ËÍÐÂÏÞÊ±ÌØ»ÝÓʼþÌáÐÑ! state=%s,playerMailState=%s(t GetPlayerIDRt
GetActInfoRRRt    ActKey_IDt ActKey_Statet ActKey_CfgIDtActKey_WorldLVtNomalDictGetPropertytChConfigtDef_PDict_SpringSaleIDtFalsetTrueRtActKey_DayIndextFunctionNPCCommontResetShopItemBuyCountByShopTypet PlayerControltNomalDictSetPropertytDef_PDict_SpringSaleMailStatetDebugLogRRt
GetMailKeytGetLVt
GetLVLimitt SendMailByKeytGetMailItemPrizetSync_SpringSaleActionInfo( RRtplayerIDRtactIDtstateRR
t playerActIDtisResetR tplayerMailStatetspringSaleIpyData((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyR8s4  !&*" cCsxøtjjtjiƒjƒD]Ø}|jtjdƒ}|jtjdƒ}|s[qnt|jtj    dƒ|jtj
dƒ|jtj dƒƒ}|s¦qn|t |ƒkrÂ|dn ||d}||krt jd||fƒtSqWt jd|ƒtS(Niiÿÿÿÿis/ÏÞÊ±ÌØ»Ý»î¶¯ÖеÄÉ̵êÀàÐÍ: actNum=%s,shopType=%ss1ÏÞÊ±ÌØ»Ý·Ç»î¶¯Öлò·Ç»î¶¯ÖеÄÉ̵êÀàÐÍ£¡shopType=%s(RRRRRRRR%RR&R-R'RRR3R,R+(tshopTypeRRR<R t actShopType((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pytIsSpringSaleShopType[s%?* cCsltjtj|ƒ}|sdS|jtjdƒ}|s>dSt||jtjdƒ|jtjdƒƒ}|sxdSt    j
d|ƒ}|s”dS|j ƒ}|j ƒ}t |ƒt |ƒkrÙtjd|ƒdS|jƒ}tj|ƒ\}    }
tjƒ} || _|    | _|
| _|jƒ| _g| _xLt|ƒD]>\} } tjƒ}| |_|| |_| jj|ƒqFWt | jƒ| _|jƒ| _ |j!ƒ| _"g| _#x‚|D]z}t    j$di|d6t%t%ƒ}|sùqÈntj&ƒ}g|_'x|D]}tj(ƒ}|j)ƒ|_*|j+ƒ|_,|j-ƒ|_.|j/ƒ|_0|j1ƒ|_2g|_3|j4ƒ|j5ƒdgg}||j6ƒ7}xN|D]F\}}}tj7ƒ}||_8||_9||_:|j3j|ƒq°Wt |j3ƒ|_;|j'j|ƒqWt |j'ƒ|_<| j#j|ƒqÈWt | j#ƒ| _=t>j?|| ƒdS(NiRs%ÏÞÊ±ÌØ»Ý¿ª¹ØÊ±¼äʱ·ÖÅäÖôíÎó!cfgID=%stStoretShopType(@RR#RRRR&RR-R'RRtGetStartTimeListtGetEndTimeListRtErrLogtGetJobtGetOperationActionDateStrtChPyNetSendPackttagMCSpringSaleInfotActNumt    StartDatetEndtDatetGetAdvanceMinutestAdvanceMinutest ActivityTimet    enumeratettagMCSpringSaleTimet    StartTimetEndtTimetappendtActivityTimeCountt GetIsDayResett
IsDayResetR6tLimitLVtShopInfotGetIpyGameDataByConditionR,ttagMCSpringSaleShopt GiftbagInfottagMCSpringSaleGiftbagtGetIDtGiftIDt GetLimitCntt BuyCountLimitt GetMoneyTypet    MoneyTypet GetMoneyNumt MoneyNumbertGetMoneyOriginalt MoneyOriginaltItemInfot    GetItemIDt
GetItemCntt GetItemListExttagMCSpringSaleItemtItemIDt    ItemCounttIsBindt GiftItemCountt GiftbagCountt    ShopCountt NetPackCommont SendFakePack(RRRRR R@t startTimeListt endTimeListtjobt startDateStrt
endDateStrtpackInfotit    startTimettimeInfoRAtshopItemIpyDataListtshopt itemIpyDatatgiftBagtitemListtitemIDt    itemCounttisBindtitem((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyR9ns~0                                                       (RRR0RR.RKRvRR)RRR!RRCR9(((soD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSpringSale.pyt<module>s             
        
    #