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
Sð    hc@sddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNcCszxstjjtjiƒjƒD]S}|jtjdƒ}t||ƒ}| r|jtjƒrt    ||ƒqqWdS(Ni(
t
PyGameDatatg_operationActionDicttgett ShareDefinetOperationActionName_Yunshitvaluest ActKey_ActNumt__CheckPlayerActYunshiActiont ActKey_StatetSync_ActYunshiActionInfo(t    curPlayertactInfotactNumtisReset((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActYunshi.pyt OnPlayerLogins %cCs^tjƒ}xKt|jƒƒD]7}|j|ƒ}tj|ƒsIqnt||ƒqWdS(N(t    GameWorldtGetPlayerManagertxrangetGetPlayerCounttGetPlayerByIndextIsNormalPlayerR(R t playerManagertindexR
((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActYunshi.pytRefreshActYunshiActionInfo&s c Csš|jƒ}tjtj|ƒ}|jtjdƒ}|jtjdƒ}|jtjƒ}|j    t
j |ƒ}|j    t
j |ƒ}||kr¶tj d|||f|ƒdStj d||||||f|ƒ|røtj||gƒntj|t
j ||ƒtj|t
j |dƒ|r–tjd|ƒ}    |    r†|    jƒ}
tj|t
j ||
ƒtj||
gƒnt||ƒntS(Nis4ÔËÊÆ»î¶¯ID²»±ä£¬²»´¦Àí£¡ actNum=%s,cfgID=%s,actID=%ssUÔËÊÆ»î¶¯ÖØÖÃ! actNum=%s,cfgID=%s,actID=%s,playerActID=%s,state=%s,lastTreasureType=%st    ActYunshi(t GetPlayerIDRt
GetActInfoRRRt    ActKey_IDRt ActKey_CfgIDtNomalDictGetPropertytChConfigtDef_PDict_ActYunshiIDtDef_PDict_ActYunshiTreasureTypetDebugLogtPlayerTreasuretResetTreasureTypet PlayerControltNomalDictSetPropertyt IpyGameDataPYtGetIpyGameDatatGetTreasureTypeR    tTrue( R
R tplayerIDR tactIDtstatetcfgIDt playerActIDtlastTreasureTypetipyDatat treasureType((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActYunshi.pyR0s0       cCszxstjjtjiƒjƒD]S}|jtjdƒ}|jtjƒsRqn||jt    j
|ƒkrt SqWt S(Ni( RRRRRRRRRRR R)tFalse(R
R1R R ((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActYunshi.pytIsActTreasureTypeSs%cCsêtjtj|ƒ}|sdS|jtjƒs5dS|jtjƒ}tjd|ƒ}|scdStj    |ƒ\}}t
j ƒ}|j ƒ||_ ||_||_|jƒ|_|jƒ|_|jƒ|_tj||ƒdS(NR(RRRRRRRR&R'tGetOperationActionDateStrtChPyNetSendPackttagMCActYunshiInfotCleartActNumt    StartDatetEndtDatet GetResetTypet    ResetTypet
GetLVLimittLimitLVR(t TreasureTypet NetPackCommont SendFakePack(R
R R R-R0t startDateStrt
endDateStrtactPack((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActYunshi.pyR    ]s( 
            (RRR$R&R5R"R@RRRRRR3R    (((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActYunshi.pyt<module>s             
    
    #