hxp
1 天以前 f7b199a8cf94cc1b2d5b74dc8f2cbd0815bb270f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
™ßic@s”ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z dS(iÿÿÿÿNcCs|xutjjtjiƒjƒD]U}|jtjdƒ}t||ƒ}|s|jtjƒrtt    ||ƒqtqqWdS(Ni(
t
PyGameDatatg_operationActionDicttgett ShareDefinetOperationActionName_SpecialSaletvaluest ActKey_ActNumt__CheckPlayerSpecialSaleActiont ActKey_StatetSync_SpecialSaleActInfo(t    curPlayertactInfotactNumtisReset((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActSpecialSale.pyt OnPlayerLogins%cCs^tjƒ}xKt|jƒƒD]7}|j|ƒ}tj|ƒsIqnt||ƒqWdS(N(t    GameWorldtGetPlayerManagertxrangetGetPlayerCounttGetPlayerByIndextIsNormalPlayerR(R t playerManagertindexR
((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActSpecialSale.pytRefreshSpecialSaleActionInfo(s c    Cs+|jƒ}tjtj|ƒ}|jtjdƒ}|jtjdƒ}|jtjdƒ}|j    t
j |ƒ}||kr£tj d|||f|ƒdStj d||||f|ƒt j|t
j ||ƒ|rtjd|ƒ}|rtj|d|jƒƒqnt||ƒtS(Nis4ÌØÂô»î¶¯ID²»±ä£¬²»´¦Àí£¡ actNum=%s,cfgID=%s,actID=%ss8ÌØÂô»î¶¯ÖØÖÃ! actNum=%s,actID=%s,playerActID=%s,state=%stActSpecialSale(t GetPlayerIDRt
GetActInfoRRRt    ActKey_IDRt ActKey_CfgIDtNomalDictGetPropertytChConfigtDef_PDict_ActSpecialSaleIDtDebugLogt PlayerControltNomalDictSetPropertyt IpyGameDataPYtGetIpyGameDatat
PlayerCointDoResetCTGCountByIDListt GetCTGIDListR    tTrue(    R
R tplayerIDR tactIDtstatetcfgIDt playerActIDt
cfgIpyData((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActSpecialSale.pyR1s"    cCsÁtjtj|ƒ}|jtjƒs+dS|jtjƒ}tjd|ƒ}|sYdStj    |ƒ\}}t
j ƒ}||_ |jtj |ƒ|_||_||_tj||ƒdS(NR(RRRRRRRR#R$tGetOperationActionDateStrtChPyNetSendPackttagSCActSpecialSaleInfotActNumtActKey_StartDateSynct    StartDatetEndtDatetCfgIDt NetPackCommont SendFakePack(R
R R R,tipyDatat startDateStrt
endDateStrt
clientPack((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActSpecialSale.pyR    Ks             ( RRRR!R#R0R7R%RRRRR    (((ssD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerActSpecialSale.pyt<module>s