hxp
2025-06-12 a59a408cfa838cddcec4fc9fa47d3f6c66b75f9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Sð    hc@syddlZddlZddlZddlZddlZddlZd„Zdd„Zd„Zde
d„Z dS(iÿÿÿÿNcCst|ƒdS(N(tSync_CustomAwardInfo(t    curPlayer((sU.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pyt OnPlayerLogins
icCsFtjd|ƒ}|sdStj|tj||ƒt||ƒdS(Nt CustomAward(t IpyGameDataPYtGetIpyGameDatat    GameWorldtSetDictValueByBittChConfigtDef_PDict_CustomAwardCanGetR(RtawardIDtcanGettipyData((sU.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pytSetCustomAwardCanGets  cCsñtj|tj|ƒs6tjd||jƒƒdStj|tj|ƒrltjd||jƒƒdStjd|ƒ}|sˆdS|j    ƒ}t
j ||dƒs­dStj |tj|dƒtjd||jƒƒt ||ƒdS(Ns$¸Ã×Ô¶¨Òå½±Àøµ±Ç°²»¿ÉÁìÈ¡, awardID=%ss"¸Ã×Ô¶¨Òå½±ÀøÒѾ­ÁìÈ¡¹ý, awardID=%sRisÁìÈ¡×Ô¶¨Òå½±Àø, awardID=%s(RtGetDictValueByBitRR    tLogt GetPlayerIDtDef_PDict_CustomAwardGetStateRRtGetAwardItemListt
ItemCommont GiveAwardItemRR(RR
R t awardItemList((sU.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pytOnGetCustomAward&s   cCs–|dkr`g}tjƒ}xHt|jƒƒD](}|j|ƒ}|j|jƒƒq1Wn    |g}g}x9|D]1}tj    |ƒ}    |    |krv|j|    ƒqvqvW|sµdSg}
x‰|D]}    |j
t j |    ƒ} |j
t j |    ƒ} | r| r| rqÂntjƒ} |    | _| | _| | _|
j| ƒqÂW|
sQdStjƒ}|jƒ|
|_t|jƒ|_tj||ƒdS(N(tNoneRtIPY_DatatrangetGetCustomAwardCounttGetCustomAwardByIndextappendt
GetAwardIDRtGetDictKeyNumByBittNomalDictGetPropertyRR    RtChPyNetSendPackttagMCCustomAwardStatetKeyNumt CanGetStatetGetStatettagMCCustomAwardInfotCleartRecordStateListtlentRecordStateCntt NetPackCommont SendFakePack(RR
tforcet awardIDListt
ipyDataMgrtindexR t
keyNumListtaIDtkeyNumtrecordStateListR tgetStatet
awardStatet
clientPack((sU.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pyR;sB                       
    ( RR*R RRRRR RRtFalseR(((sU.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pyt<module>s