cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
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
‚·Á[c@s¦ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z d„Z d„Z dS(iÿÿÿÿNcCs•tjƒj|ƒ}|sdStjd|jƒ|jfƒtj|tj    ƒ}t
j ƒ}|j|_|jƒ|_ ||_ tj|ƒdS(Ns0#OnCMRequestCompensation in, PlayerID %s GUID %s(t    GameWorldtGetPlayerManagertGetPlayerByIndextDebugLogt GetPlayerIDtGUIDt ItemControlertGetItemPackSpacet IPY_GameWorldtrptItemtChMapToGamePyPackttagMGRequestCompensationtPlayerIDtPackSpaceCountt NetPackCommontSendPyPackToGameServer(tindext
clientPackttickt    curPlayert itemPackSpacetsendPack((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCompensationTube.pytOnCMRequestCompensation$s        cCstjdƒtjƒj|jƒ}|s‰tjƒ}|j|_|j|_|j|_d|_    t
j |ƒtjd|jƒdSi}t }x•t |jƒD]„}|j|}|j}tjƒj|ƒ}    |    sâq¥ntj|    jƒƒ}
tj|
|    |jƒ} |j|
dƒ| ||
<q¥Wtjdt|ƒƒxU|jƒD]G\}
} | tj||
| ƒkrQtj|d|
gƒt}PqQqQW|s*tjdƒt j!ƒ} |j| _d| _    t
j"|| ƒtjƒ}|j|_|j|_|j|_d|_    t
j |ƒdSxDt |jƒD]3}|j|}|j}tj#|ƒrµtj$|||j|j%t&j'gtdtdtj(ti|jd    6gƒq:ntj)||j|j%ƒ} | sítj*d
|ƒq:n|j+r(t,|j-ƒ}d |}| j.|t/|ƒƒntj0| ƒtj1|ƒj2t&j'| dtj(ti|jd    6gƒq:W|j3dkr¢tj4|t&j5|j3tj6ƒn|j7dkrÓtj4|t&j8|j7tj6ƒn|j9dkrtj4|t&j:|j9tj6ƒntjƒ}|j|_|j|_|j|_d |_    t
j |ƒt j!ƒ} |j| _d | _    t
j"|| ƒdS( Ns OnGMRequestCompensationResult inis    PlayerID %s no found s    needPackSpaceDict=%stGeRen_chenxin_676165s    itemPack no spacet showSysInfoteventtMailGUIDs6OnGMRequestCompensationResult CreateSingleItem %s Err s%si(;RRRtFindPlayerByIDR R
ttagMGGiveCompensationResultRtCompensationTypetResultRRtTruetxrangetCounttItemstItemIDt GetGameDatatGetItemByTypeIDtChConfigtGetItemPackTypetGetTypeRtGetItemNeedPackCounttgettstrtitemst
ItemCommonRt PlayerControlt
NotifyCodetFalsetChPyNetSendPackttagMCGiveCompensationResultt SendFakePacktGetAppointItemRealIDtGivePlayerItemtIsBindRR    t ItemGive_MailtCreateSingleItemtErrLogt UserDataLentevaltUserDatat SetUserDatatlent MakeEquipGStPlayerItemControlert    PutInItemtGoldt    GiveMoneytTYPE_Price_Gold_MoneytDef_GiveMoney_Mailt    GoldPapertTYPE_Price_Gold_PapertSilvertTYPE_Price_Silver_Money(t curPackDataRRRtneedPackSpaceDicttisPackSpaceEnoughtit curPackItemtitemIDt curItemDatatpackTypet    needSpacet
sendMCPackt curCreateItemt UserDataDictR<((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCompensationTube.pytOnGMRequestCompensationResult8s˜                                    !)    
 !"""               (RRt ShareDefineR1RR-RR
t ReadChConfigt EventReportR&R.RRV(((svE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCompensationTube.pyt<module>s