hxp
2025-05-16 273fbbf3ec69623f4501583614174c7d604a06b5
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
31
32
33
34
35
36
37
Sð    hc@sšddlZddlZddlZddlZddlZddlZddlZddlZd„Zd„Z    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNcCsPt|ƒ}|sLtjjtjiƒ}|jtjƒrLt|ƒqLndS(N(t__CheckPlayerGrowupBuyActiont
PyGameDatatg_operationActionDicttgett ShareDefinetOperationActionName_GrowupBuyt ActKey_StatetSync_GrowupActionInfo(t    curPlayertisResettactInfo((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActGrowupBuy.pyt OnPlayerLogins  cCs[tjƒ}xHt|jƒƒD]4}|j|ƒ}tj|ƒsIqnt|ƒqWdS(N(t    GameWorldtGetPlayerManagertxrangetGetPlayerCounttGetPlayerByIndextIsNormalPlayerR(t playerManagertindexR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActGrowupBuy.pytRefreshGrowupBuyActionInfo%s cCsÝ|jƒ}tjjtjiƒ}|jtjdƒ}|jtjdƒ}|jt    j
ƒ}||kr†t j d|jƒƒdSt j d|||f|ƒt j|t    j
|ƒt j|t    jdƒt|ƒtS(Nis³É³¤±ØÂò»î¶¯ID²»±ä£¬²»´¦Àí£¡s.³É³¤±ØÂòÖØÖÃ! actID=%s,playerActID=%s,state=%s(t GetPlayerIDRRRRRt    ActKey_IDRtNomalDictGetPropertytChConfigtDef_PDict_GrowupBuyIDR tDebugLogt PlayerControltNomalDictSetPropertytDef_PDict_GrowupBuyStateRtTrue(RtplayerIDR
tactIDtstatet playerActID((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActGrowupBuy.pyR/s  
c Csµtjjtjiƒ}|s"dS|jtjƒs8dS|jtjƒ}tjd|ƒ}|sfdS|j    ƒ}|j
t j ƒ}t jd||fƒxót|ƒD]å\}}t j||ƒ}d}    ||}
|j
t j|
ƒsd}    t jd|
ƒna|t|ƒdkrFt|ƒd}    t jd|
|    fƒn!|d}    t jd|
|    fƒt j|||    ƒ}t jd|ƒq¨Wtj|t j |ƒt|ƒdS(    Nt ActGrowupBuys=¸üгɳ¤±ØÂò½ñÈտɹºÂòÀñ°üË÷Òý! buyState=%s,ctgIDGroupList=%sis(    ×òÈÕÀñ°üûÂò£¬ÖØÖã¡yestodayCtgID=%sisH    ×òÈÕÀñ°üÒÑÂò£¬×îºóÒ»µµÀñ°ü±£³Ö²»±ä£¡ yestodayCtgID=%s,updBuyIndex=%ssD    ×òÈÕÀñ°üÒÑÂò£¬¸üкóÐøÀñ°üË÷Òý£¡ yestodayCtgID=%s,updBuyIndex=%ss    updState=%s(RRRRRRt ActKey_CfgIDt IpyGameDataPYtGetIpyGameDatatGetCTGIDGroupListRRRR Rt    enumeratetGetDataByDigitPlacetDef_PDict_TodayCTGCounttlentChangeDataByDigitPlaceRRR( RR
tcfgIDtipyDatatctgIDGroupListtbuyStatetit    ctgIDListtbuyIndext updBuyIndext yestodayCtgID((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActGrowupBuy.pytDoUpdateGrowupBuyStateOnDayFs: 
 
 
c Cs>tjjtjiƒ}|s(tdfS|jtjƒsDtdfS|jtjƒ}tj    d|ƒ}|s|td|fS|j
ƒ}|j t j ƒ}g}d}xBt|ƒD]4\}    }
||
kr³|
}tj||    ƒ}Pq³q³W|std||ffS|j|ƒ} || kr4td| |ffStdfS(    Nsnot grow up buy action info!sgrow up buy action state is 0!R#s)not grow up buy action ipyData cfgID(%s)!iÿÿÿÿs?ctgID(%s) is not in this grow up buy action ctgIDGroupList(%s)!s3ctgIDIndex(%s) is not equal to playerBuyIndex(%s) !t(RRRRRtFalseRR$R%R&R'RRRR(R R)RR( RtctgIDR
R-R.R/R0t curCTGIDListtplayerBuyIndexR1R2t
ctgIDIndex((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActGrowupBuy.pytCheckGrowupBuyStatens0
 
   cCs7tjjtjiƒ}|s"dS|jtjƒs8dS|jtjƒ}tjd|ƒ}|sfdS|j    ƒ}|s|dSddl
}|j t j ƒ}tj|ƒ\}}tjƒ}    ||    _||    _|jƒ|    _g|    _x)t|ƒD]\}
} tjƒ} g| _xÀ| D]¸} tjd| ƒ}|j|ƒ}tjƒ}| |_g|_xN|D]F\}}}tjƒ}||_||_ ||_!|jj"|ƒqfWt#|jƒ|_$| jj"|ƒqWt#| jƒ| _%tj&||
ƒ| _'|    jj"| ƒqòWt#|    jƒ|    _(t)j*||    ƒdS(NR#iÿÿÿÿtCTG(+RRRRRRR$R%R&R't
PlayerCoinRRRR tGetOperationActionDateStrtChPyNetSendPackttagMCActGrowupBuyInfot    StartDatetEndtDatet
GetLVLimittLimitLVt    GroupListR(ttagMCActGrowupBuyGroupt BuyCTGIDListtGetCTGGiveItemListttagMCActGrowupBuyCTGInfotCTGIDt GainItemListttagMCActGrowupBuyCTGItemtItemIDt    ItemCounttIsBindtappendR+t GainItemCounttBuyCountR)tPlayerBuyIndext
GroupCountt NetPackCommont SendFakePack(RR
R-R.R/R?R0t startDateStrt
endDateStrtactPackR1R2t    groupInfoR9t
ctgIpyDatatctgGiveItemListtctgInfotitemIDt    itemCountt isAuctionItemtctgItem((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActGrowupBuy.pyR‹sV                                           (RRRR%RARWR RR RRR6R=R(((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActGrowupBuy.pyt<module>s                    
        (