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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
w¼fc@sc ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl!Z!ddl"Z"ddl#Z#ddl$Z$ddl%Z%ddl&Z&ddl'Z'ddl(Z(ddl)Z)ddl*Z*ddl+Z+ddl,Z,ddl-Z-ddl.Z.ddl/Z/ddl0Z0ddl1Z1ddl2Z2ddl3Z3ddl4Z4ddl5Z5ddl6Z6ddl7Z7ddl8Z8ddl9Z9ddl:Z:ddl;Z;ddl<Z<ddl=Z=ddl>Z>ddl?Z?ddl@Z@ddlAZAddlBZBddlCZCddlDZDddlEZEddlFZFddlGZGddlHZHddlIZIddlJZJddlKZKddlLZLddlMZMddlNZNddlOZOddlPZPddlQZQddlRZRddlSZSddlTZTddlUZUddlVZVddlWZWddlXZXddlYZYddlZZZddl[Z[ddl\Z\ddl]Z]ddl^Z^ddl_Z_ddl`Z`ddlaZaddlbZbddlcZcddldZdddleZeddlfZfddlgZgddlhZhddliZiddljZjddlkZkddllZlddlmZmddlnZnddloZoddlpZpddlqZqddlrZrddlsZsddltZtddluZuddlvZvddlwZwddlxZxddlyZyddlzZzddl{Z{ddl|Z|ddl}Z}ddl~Z~ddlZddl€Z€ddlZddl‚Z‚ddlƒZƒddl„Z„ddl…Z…ddl†Z†ddl‡Z‡ddlˆZˆddl‰Z‰ddlŠZŠddl‹Z‹ddlŒZŒddlZddlŽZŽddlZddlZddl‘Z‘ddl’Z’ddl“Z“ddl”Z”ddl•Z•ddl–Z–ddl—Z—ddl˜Z˜ddl™Z™ddlšZšddl›Z›ddlœZœddlZd„Zžd„ZŸd„Z d„Z¡d„Z¢d„Z£d„Z¤d    „Z¥d
„Z¦d „Z§d „Z¨d „Z©d„Zªd„Z«d„Z¬d„Z­d„Z®d„Z¯d„Z°d„Z±d„Z²d„Z³d„Z´d„Zµd„Z¶d„Z·d„Z¸d„Z¹d„Zºd„Z»d „Z¼d!„Z½d"„Z¾d#„Z¿d$„ZÀd%„ZÁd&„ZÂd'„ZÃd(„ZÄd)„ZÅd*„ZÆgd+„ZÇd,„ZÈd-„ZÉd.„ZÊd/„ZËd0„ZÌd1„ZÍd2„ZÎeÏd3„ZÐd4„ZÑd5„ZÒd6„ZÓd7„ZÔd8„ZÕd9„ZÖd:„Z×d;„ZØd<„ZÙd=„ZÚd>„ZÛd?„ZÜd@„ZÝdA„ZÞdB„ZßdC„ZàdD„ZádE„ZâdF„ZãdG„ZädH„ZådI„ZædJ„ZçdK„ZèdL„ZédM„ZêdN„ZëdO„ZìdP„ZídQ„ZîdR„ZïdS„ZðdT„ZñdU„ZòdV„ZódW„ZôdX„ZõdY„ZödZ„Z÷d[„Zød\„Zùd]„Zúd^„Zûd_„Züd`„Zýda„Zþdb„Zÿdc„Zdd„Zde„Zdf„Zdg„Zdh„Zdi„ZeeÏdj„Zdk„Z    dleÏdm„Z
dn„Z dleÏdo„Z dp„Z dq„Zdr„Zds„Zdt„Zdu„Zdv„Zdw„Zdx„Zdy„Zdz„Zd{„Zd|„Zd}„Zd~„Zddld„Zedd€eÏdld„Zd‚„Zdƒ„Z d„„Z!d…„Z"d†„Z#d‡„Z$dˆ„Z%d‰„Z&dŠ„Z'd‹„Z(dŒ„Z)d„Z*dŽ„Z+d„Z,d„Z-d‘„Z.d’„Z/d“„Z0d”„Z1d•„Z2d–„Z3d—„Z4d˜„Z5d™„Z6dš„Z7d›„Z8dœ„Z9d„Z:dž„Z;dŸZ<d Z=d¡„Z>d¢„Z?d£„Z@d¤„ZAd¥„ZBdld¦„ZCd§„ZDd¨„ZEdS(©iÿÿÿÿNcCsdS(N((ttick((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt
InitPlayer´scCs|jƒjƒdkr1|jƒjtjƒn|jƒdkrV|jtjƒn|jƒdkr{|j    tj
ƒndS(Ni( t GetTradeListtGetTradeItemCounttSetTradeListCounttChConfigtDef_PlayerTradeMaxItemCounttGetTickTypeCounttSetTickTypeCounttTYPE_Player_Tick_CounttGetMaxChannelCounttSetMaxChannelCounttDef_PlayerTalkChannelMaxCount(t    curPlayerR((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytInitLoginPlayer½scCsFtj||ƒrdStjƒs5tj|tƒntj|ƒdS(N(    tFBLogictPlayerLoginInFBCheckt    GameWorldt IsCrossServert
EventShelltNotifyAllQuestDetailtTruetPlayerEventCountertUpdatePlayerLoginTime(R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnAllServerInitOKás   cCsÝ|jtjƒdkrdS|jƒjƒ}|jƒjƒ}|dksX|dkr\dStj|jƒdtj    ƒ}|tj|jƒdtj    ƒkr¤dSt
j |j ƒ|j ƒ|ƒtj|tjdƒdS(Nitt0ii(ss0(ss0(tNomalDictGetPropertyRtDef_Player_Dict_OtherDayLogint GetLogoffTimetstript GetLoginTimeRtGetDateTimeByStrtsplittTYPE_Time_Format_DaytDataRecordPacktDR_OtherDayLogintGetAccIDtGetIPt PlayerControltNomalDictSetProperty(R t logoffTimeStrt loginTimeStrtlogoffTimeDate((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytNoteOtherDayLoginús%c Csÿtjƒj|ƒ}|j}|j}|j}tjddiƒ}t|ƒ|kr[dS|t|ƒ}||dkrdS|d}    |dkr™dSt    j
|||dƒsµdS||    }
t    j |||
dƒtj d||||
f|j ƒƒdS(NtEqualValueMoneyiit MoneyExchangesI»õ±Ò¶Ò»»: srcMoneyType=%s,exchangeValue=%s,tagMoneyType=%s,tagMoneyAdd=%s(RtGetPlayerManagertGetPlayerByIndext SrcMoneyTypet TagMoneyTypet ExchangeValuet IpyGameDataPYtGetFuncEvalCfgtstrR'tPayMoneyt    GiveMoneytLogt GetPlayerID( tindext
clientDataRR t srcMoneyTypet tagMoneyTypet exchangeValuetexchangeMoneyInfot exchangeInfotmultiplet tagMoneyAdd((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnMoneyExchanges(            
 
    cCs5tjƒj|ƒ}tj||jƒ|jƒdS(N(RR/R0tPlayerChangeJobt DoChangeJobtGetJobtTagJob(R;R<RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt OnChangeJob?sc    Csltjƒj|ƒ}t|ƒtj|ƒdksI|jƒtjkr_t    |t
j |ƒn|j t
j dƒtj|ƒ}|jƒt|ƒtj|ƒtj|ƒrÁtj|ƒn|jt
jƒrãtj|ƒntj|ƒ|jtƒtj|dƒ|jƒtj|t
j ƒ|jƒd}tjƒj!|j"ƒddd|t#|ƒƒdS(NiRtRefreshMainServerRole($RR/R0t Sync_DBPlayertGameObjtGetHPtGetPlayerActiont IPY_GameWorldtpaDietPlayerRebornByTypeRtrebornType_SystemtSetDictt Def_PlayerKey_NotifyAllAttrStateR'tReCalcAllStatet__Sync_ClientBufft PlayerStatetSync_PKBossStatet GetCrossMapIDtCrossRealmPlayertDoExitCrossRealmt GetDictByKeytDef_PlayerKey_ClientCustomScenetPlayerFBtDoExitCustomScenet
PetControltDoLogic_PetLoadMapOKt
SetVisibleRtSetSightt RefreshViewtDef_PlayerSight_DefaulttGameServer_QueryPlayerResultR:tlen(R;R<RR t playerControltmsgInfo((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnRefreshMainServerRoleJs,
*
 
 
 
.cCs±tjƒ}|jƒ|_|jƒ|_|jƒ|_|jƒ|_    |j
ƒ|_ |j ƒ|_ |jƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ|_|j ƒ|_!|j"ƒ|_#|j$ƒ|_%|j&ƒ|_'|j(ƒ|_)|j*ƒ|_+|j,ƒ|_-|j.ƒ|_/|j0ƒ|_1|j2ƒ|_3|j4ƒ|_5|j6ƒ|_7|j8ƒ|_9|j:ƒ|_;|j<ƒ|_=|j>ƒ|_?|j@ƒ|_A|jBƒ|_C|jDƒ|_E|jFƒ|_G|jHƒ|_I|jJƒ|_K|jLƒ|_M|jNƒ|_O|jPƒ|_Q|jRƒ|_S|jTƒ|_U|jVƒ|_W|jXƒ|_Y|jZƒ|_[|j\ƒ|_]|j^ƒ|__|j`ƒ|_a|jbƒ|_c|jdƒ|_e|jfƒ|_g|jhƒ|_i|jjƒ|_k|jlƒ|_m|jnƒ|_o|jpƒ|_q|jrƒ|_s|jtƒ|_u|jvƒ|_w|jxƒ|_y|jzƒ|_{|j|ƒ|_}|j~ƒ|_|j€ƒ|_|j‚ƒ|_ƒ|j„ƒ|_…|j†ƒ|_‡|jˆƒ|_‰|jŠƒ|_‹|jŒƒ|_|jŽƒ|_|jƒ|_‘|j’ƒ|_“|j”ƒ|_•|j–ƒ|_—|j˜ƒ|_™|jšƒ|_›|jœƒ|_|jžƒ|_Ÿ|j ƒ|_¡|j¢ƒ|_£|j¤ƒ|_¥|j¦ƒ|_§|j¨ƒ|_©|jªƒ|_«|j¬ƒ|_­|j®ƒ|_¯|j°ƒ|_±|j²ƒ|_³|j´ƒ|_µ|j¶ƒ|_·|j¸ƒ|_¹|jºƒ|_»|j¼ƒ|_½|j¾ƒ|_¿tÀjÁ||ƒdS(N(ÂtChPyNetSendPackt tagMCDBPlayerR%tAccIDR:tPlayerIDt GetPlayerNamet
PlayerNamet GetAccStatetAccStatet
GetGMLeveltGMLeveltGetSextSexRGtJobtGetReincarnationLvtReincarnationLvtGetLVtLVtGetLVExtLVExtGetLV2tLV2t GetExpPointtExpPointt GetTotalExptTotalExpt GetFamilyIDtFamilyt GetFamilyNamet
FamilyNamet GetTeamHornort
TeamHornortGetFamilyHornort FamilyHornortGetFamilyActiveValuetFamilyActiveValuetGetLastWeekFamilyActiveValuetLastWeekFamilyActiveValuetGetCountryHornort CountryHornortGetCountryLastWeekHornortCountryLastWeekHornortGetMatetMatetGetGoldtGoldt GetGoldPapert    GoldPapert    GetSilvertSilvertGetSilverPapert SilverPapert GetFightPointt
FightPointt GetHappyPointt
HappyPointt    GetLineIDtLineIDtGetMapIDtMapIDtGetPosXtPosXtGetPosYtPosYtGetRebornMapIDt RebornMapIDt GetRebornPosXt
RebornPosXt GetRebornPosYt
RebornPosYtGetStatetStateRMtHPtGetHPExtHPExtGetXPtXPtGetHPRestoreSettingtHPRestoreSettingtGetMPRestoreSettingtMPRestoreSettingt GetFreePointt    FreePointtGetFreeSkillPointtFreeSkillPointt
GetBaseSTRtBaseSTRt
GetBasePNEtBasePNEt
GetBasePHYtBasePHYt
GetBaseCONtBaseCONtGetSTRtSTRtGetPNEtPNEtGetPHYtPHYtGetCONtCONt
GetPKValuetPKValuet GetBackpackLVt
BackpackLVtGetWarehouseLVt WarehouseLVt    GetTeamIDtTeamIDtGetUseGoldTypet UseGoldTypetGetUseSilverTypet UseSilverTypet GetAttackModet
AttackModetGetLastWeekOnlineTimetLastWeekOnlineTimetGetClientLineIDtFBIDt GetFamilyLVtFamilyLVtGetFriendFavort FriendFavort    GetEnergytEnergytGetEquipShowSwitchtEquipShowSwitcht GetLuckValuet    LuckValuet
GetExAttr1tExAttr1t
GetExAttr2tExAttr2t
GetExAttr3tExAttr3t
GetExAttr4tExAttr4t
GetExAttr5tExAttr5t
GetFactiontFactiontGetInfamyValuet InfamyValuetGetOfficialRankt OfficialRanktGetChangeCoinPointTotaltChangeCoinPointTotaltGetVIPLvtVIPLvtGetVIPLvForPhonet VIPLvForPhonet
GetExAttr6tExAttr6t
GetExAttr7tExAttr7t
GetExAttr8tExAttr8t
GetExAttr9tExAttr9t GetExAttr10tExAttr10t GetModelMarkt    ModelMarkt GetExAttr11tExAttr11t GetExAttr12tExAttr12t GetExAttr13tExAttr13t GetExAttr14tExAttr14tGetOperateInfot OperateInfot
GetOperatetOperatet GetServerIDtServerIDt GetExAttr15tExAttr15t GetExAttr16tExAttr16t GetExAttr17tExAttr17t GetExAttr18tExAttr18t GetExAttr19tExAttr19t GetExAttr20tExAttr20t NetPackCommont SendFakePack(R tdbPlayer((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRKpsÄ cCsº|jtjdƒtj|tjdƒt|ƒt|ƒ|jƒ|j    ƒt
j ƒrm|j t ƒnt||ƒt
j ƒr¬|j tƒtj||jƒƒn|jƒdS(Nii(RSRtDef_PlayerKey_LoadMapIsLoginR'R(tDef_Player_Dict_RealLoginOKtSync_PyServerDataTimeToClienttSync_OpenServerDaytSync_ClientPlayerLogintSync_GameServer_MapIDRRtSetForbiddenSyncClientStateRt__DoPlayerLoginServertFalset SetCrossMapIDR¤tBalanceServer_PlayerLoginInitOK(R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt DoPlayerLogins
 
 
 
 
cCsü|jtjƒƒt|ƒt|ƒtjƒr˜tj||ƒt||ƒt    j
|ƒt j |ƒt j||ƒtj|ƒtj|ƒdStj|ƒ}|tjdkr!tj|tjdƒtj|tjdƒtj|tjdƒtj|ƒr!tj|dƒq!nt|ƒtj|ƒtj |ƒtj!|ƒtj"||ƒt#|ƒt$|ƒt%||ƒt||ƒtj&|ƒtj'|ƒt(j)|ƒt*j)|ƒt j |ƒt+|ƒt,j-|ƒt.|ƒt/||ƒt0|ƒt1|ƒt2|ƒt3j4|ƒt5j6|ƒt7j8|ƒt9j:||ƒt;j:||ƒt j||ƒt<j=|ƒt>j?|ƒt>j@|ƒt>jA|ƒtjB|tCjDƒtEjF||ƒtGjH|ƒtIj)|ƒtJj)|ƒtKjL|ƒtMjN|ƒtOjP|ƒtj|ƒjQ|ƒtRjS|ƒtTjU|ƒtVjW|ƒtXj|ƒtYjZ|ƒt[j\|ƒt]j^|ƒt_j`|ƒtajb|ƒtcjd|ƒtej)|ƒtfjg|ƒthj)|ƒtij)|ƒtjjk|ƒtljm|ƒtnj|ƒtojL|ƒtjp||ƒtqjr|ƒtsjt|ƒtujv|ƒtwjL|ƒtxjL|ƒtyjL|ƒtzj|ƒt{j)|ƒtj||ƒt}|ƒt~j|ƒtj|ƒt€j|ƒtj|ƒt‚j|ƒtƒj|ƒt„j|ƒt…j|ƒt†j|ƒt‡j|ƒtˆj|ƒt‰j|ƒtŠj|ƒt‹j|ƒtŒj)|ƒtjŽ|ƒtj|ƒt‘j|ƒt’j“|ƒt”j•|ƒt–j—|ƒt˜j™|ƒtšj›|ƒtœj|ƒtžj|ƒtŸj |ƒtEj¡||ƒt¢j|ƒt£j)|ƒt¤j)|ƒt¥j|ƒt¦j)|ƒt§j)|ƒt¨j|ƒt©j|ƒtªj|ƒt«j)|ƒt¬j|ƒt­j|ƒt®j|ƒt¯j)|ƒt°j|ƒt±j|ƒt²j|ƒt³j|ƒt´j|ƒtµj|ƒt¶j|ƒt·j|ƒt¸j)|ƒt¹j)|ƒtº|ƒtMj»|ƒt¼j|ƒt½j|ƒt¾j)|ƒt¿j)|ƒtÀj)|ƒtÁ|ƒtÂ|ƒtÃjL|ƒtÄj |ƒtÅj|ƒtÆj)|ƒtÇj)|ƒtÈjÉ|ƒtÊj|ƒtËj|ƒtÌ|ƒtÍj|ƒtÎj|ƒ|jÏtjЃ}|rhtÑ|tjÒ|ƒn|jÏtjӃ}|r–tÑ|tjÔ|ƒn|jÏtjՃ}|rÄtÑ|tjÖ|ƒn|j×dƒ|jØdƒtjÙ|ƒt    j
|ƒdS(s2 Íæ¼ÒµÇ¼ÐèÒª´¦ÀíµÄÄÚÈÝ£¬±¾·þ¼°¿ç·þ·þÎñÆ÷·Ö¿ª
    Nièi(Út SetLoginTimeRtGetCurrentDataTimeStrtInitPlayerPackt__Sync_PackDetelRt SkillCommont PlayerLoginMergeServerSkillLogictDoPlayerLoginInMapR#tDR_PlayerLogint EventReporttWriteEvent_loginR`tDoLogic_PetInfo_OnLogint PlayerFamilytFamilyPlayerOnLoginCrosst
PlayerTeamtOnPlayerLoginCrossServerR'tGetPlayerLeaveServerSecondRtDef_PlayerOfflineProtectTimeR(t Def_Player_Dict_PlayChangeLineIDt Def_Player_Dict_FuncChangeLineIDt Def_Player_Dict_HighChangeLineIDRYR3tSyncGuideStatet ItemControlert OnPlayerLogintUpdPlayerServerGroupIDtPlayerLoginCheckLearnSkilltPlayerLoginUpdateSkillCDt__Sync_ClientSkillRVtInitRealityTimeItemtSyncOnLineTimeTotaltSyncTrainRealmLVtPlayerGodWeapontOnLogintPlayerPrestigeSyst__DoMixServerFirstLogintPlayerBillboardtBillboardOnLoginR,t__Sync_PlayerOfflinet__SyncPlayerInfoExtGiveDownloadPatchAwardt SyncPKModeltChEquiptOnPlayerEquipLoginLogictPlayerGreatMastert MasterOnLogint PlayerGeTuitLoginNotifySettingt    PlayerVipt    DoOnLogintPlayerRefineStovet    PlayerPettOnPlayerPetLoginRtEventResponse_OnEntertEventResponse_OnLogintNotifyRunEndAwardtClearPackEventItemROt rptAnyWheretPlayerGameWallowtCalc_Wallow_OfflineTimet PlayerLVAwardtSync_LVAwardGetRecordInfot
PlayerCointPlayerGoldGifttOperate_PlayerBuyZhenQiR5t GameFuncCommtSync_FuncOpenStatet PlayerSignDaytSignDayOnLogintNotifyPlayerDeadTimetUpdatePlayerNametSync_UpdatePlayerNameCountt PlayerHorsetPlayerHorseLogint
PlayerFaQitPlayerFaQiLogint PlayerLianTitPlayerTreasuretOnTreasureLogintPlayerLoginDayAwardtOnLoginNotifyLoginDayAwardtOpenServerCampaigntOnOpenServerCampaignLogintGameLogic_TrialTowertOnFBPlayerLogintGameLogic_GodAreatGodAreaOnLogint    NPCCommontSyncCollNPCTimetPlayerActivitytFBCommont    FBOnLogintPlayerWorldAverageLvtPlayerGoldInvesttPlayerAttrFruittAttrFruitOnLogint PlayerSuccesst SuccOnLogint PlayerCharmt
PlayerLovetFamilyPlayerOnLogintPlayerDienstgradtSync_AllDienstgradOnLogint PlayerRecovertRecoverOnLogint
PlayerCoatt OnLogin_CoattPlayerCrossRealmPKtPlayerCrossChampionshiptPlayerCrossBattlefieldtPlayerLuckyCloudBuyt PlayerArenatNotifyPlayerAllCurrencytNotifyPlayerBasePointtCrossActCTGBillboardtCrossActAllRechargetPlayerCostRebatetPlayerActTotalRechargetPlayerActRechargeRebateGoldtPlayerActRechargePrizetPlayerActGrowupBuytPlayerSpringSaletPlayerFlashGiftbagtPlayerDailyGiftbagtPlayerFlashSaletPlayerActBuyOnetPlayerActFamilyCTGAssisttPlayerActCollectWordst BossHurtMngtChItemtSync_ItemDayUseCntt
PlayerRunetPlayerRuneLogintPlayerFamilyRedPackettPlayerFeastRedPackettDoPlayerOnLogintPlayerMagicWeapontPlayerMagicWeaponLogintFunctionNPCCommontShopItemOnLogint PlayerDiceExt DiceExOnLogint QuestCommontSync_StoryMissionStatetGameLogic_XMZZt OnXMZZLogintPlayerOnlinePrizetPlayerEquipDecomposet PlayerLogintDoLogic_CheckWallowt PlayerAssisttPlayerFreeGoodstPlayerBossReborntPlayerActBossTrialtPlayerActHorsePetFeasttPlayerWeekPartytPlayerActBuyCountGiftt PlayerActTasktPlayerActLoginNewtPlayerFeastWeekPartytPlayerFeastLogintPlayerFeastWishtPlayerFeastTraveltPlayerActLogintPlayerActGarbageSortingtPlayerActXianXiaMJtPlayerActGubaotPlayerActHorsePetTraintPlayerActGodGifttPlayerActManyDayRechargetPlayerActSingleRechargetPlayerActTurntabletPlayerFairyCeremonytPlayerNewFairyCeremonytSyncPackDownloadAwardtDoFuncOpenLogict
PlayerDogzt FamilyRobBosstPlayerBindJadeWheeltPlayerWishingWelltPlayerLuckyTreasuretSyncLittleHelpertSyncChatBubbleBoxStatet FBHelpBattletPlayerGatherSoultPlayerGatherTheSoultPlayerFairyDomainR^t
SkillShelltNotifyElementSkillInfotGY_Query_BossFirstKilltPlayerTongTianLingtSync_CreateRoleAwardInfotPlayerCustomAwardtPlayerFuncSysPrivilegeRtDef_PDict_GameNoticeAwardStatetSync_RewardGetRecordInfotDef_RewardType_GameNoticetDef_PDict_ShareGameAwardStatetDef_RewardType_ShareGametDef_PDict_GoodGameAwardStatetDef_RewardType_GoodGametSetStatet
SetFacePictDoGMForbidenTalkOnLogin(R RtleaveServerSecondtgameNoticeAwardStatetshareGameAwardStatetgoodGameAwardState((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR1-sZ
 
 
 
 
 
 
 
 
 
 
 
 
 
 
      cCsï|jtjƒrdStj|tjdƒtjd|jƒƒtjƒrQnKt    j
|ƒt j
|ƒt j
|ƒt j
|ƒtj
|ƒ|jƒ|jtjƒ}t|gƒ}tjƒj|jƒddd|t|ƒƒdS(s     Íæ¼Ò×îÖյǼ³É¹¦´¦Àí£¬ ÓÉ  GameServerRefresh GameSever_PlayerInitOK  µ÷ÓÃ
        ¸Ãº¯ÊýΪµØͼ×îÖյǼ³É¹¦²Å»áÖ´Ðе½£¬ÒÔºóһЩ¹¦ÄÜÀàµÄµÇ¼´¦Àí½¨Òé¾ùдµ½ÕâÀï
        ¾ÉµÄ¹¦ÄÜÏȲ»¶¯( __DoPlayerLoginServer º¯ÊýÖеŦÄÜ)£¬Èç¹ûÓеǼÏà¹ØµÄbugÔÙ¿¼ÂÇÊÇ·ñÒƶ¯µ½´Ëº¯Êý
    NisMapServer->DoPlayerRealLoginOKitPlayerRealLoginOK(RRR+R'R(RR9R:Rt PlayerGubaoRLtPlayerShentongtPlayerZhanlingtPlayerMineAreat PlayerGuajitSendDBQueryRechargeR\t!Def_PlayerKey_MixServerFirstLoginR6R/RftGetIDRg(R RtisMixServerFirstLogintmsg((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytDoPlayerRealLoginOKËs       
.cCsHtjƒ}|jƒ|jƒ|_|jƒ|_tj||ƒdS(N(RkttagMCPlayerInfotCleartIsAdulttGetCreateRoleTimetCreateRoleTimeR'R((R t playerInfoEx((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR[ís  
c
Csôtjƒjtjƒ}|s"dS|jƒ}tjƒjtjƒ}|jtj    ƒ}||kr|tj
d||ƒdStjƒjtj ƒ}tj d||f|ƒt j|tj    |ƒ|jƒdkrêtj d|ƒdS|jtjdƒtj|dƒtj|dgƒtjddƒ}tjddƒ}tjdd    ƒ}tjdd
ƒ}    td ||    ƒ}
|\} } g} x¥|D]\}}}tjƒj|ƒ}|sÄq”n|jd ƒ}|jƒ}|tjkrôq”n|jdƒ}|sq”n||
kr0|||gg} q”Pq”Wi|d 6|d6|
d6}|| }tj d|
|f|ƒt j d|g|d| d| d|ƒt!j"|dt#ƒt$j%|ƒt&j%|ƒt'j%|ƒt(j%|ƒt)j%|ƒdS(Ns'±¾´ÎºÏ·þÒѾ­µÇ¼¹ý. lastMixServerDay=%ss9Íæ¼ÒºÏ·þÊ׵Ǵ¦Àí! lastMixServerDay=%s,mixServerWorldLV=%sis    ÐºŲ»¸øºÏ·þ½±Àø!t    MixServerit MixServerMailiiii–itMixServerWorldLVtLastMixServerDayt ItemWorldLVs3    ·¢ËͺϷþ²¹³¥Óʼþ: itemWorldLV=%s,addItemList=%st
MixServer1tgoldtsilvertdetailtisAll(*Rt GetGameWorldtGetGameWorldDictByKeyt ShareDefinetDef_Notify_WorldKey_IsMixServerR:t$Def_Notify_WorldKey_LastMixServerDayRRtDef_PDict_MixLoginDaytDebugLogt(Def_Notify_WorldKey_LastMixServerWorldLVR9R'R(RzRSR RrtDoResetCTGCountR¾tResetShopItemBuyCountR4R5t
GetFuncCfgtmaxt GetGameDatatGetItemByTypeIDtGetEffectByIndext GetEffectIDtDef_Effect_ItemAddLVtGetEffectValuet SendMailByKeyRXt"UpdatePlayerBillboardOnLeaveServerRtGameLogic_SkyTowertOnMixFirstLoginRÍRÙRÚRÛ(R t isMixServertplayerIDtlastMixServerDayt    playerDaytmixServerWorldLVt mailItemListtworldLVMailItemListt mailMoneyListt worldLVDownt itemWorldLVRRtworldLVItemListtitemIDt    itemCounttisBindtitemDatatcurEfftcurEffIDtlvLimitt
detailDictt addItemList((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRWùsd     
(     cCs0tj|tjdƒtj|tjdƒdS(Ni(R'R(RtDef_Player_Dict_PlayerDeadCnttDef_Player_Dict_DeadTime(R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytClearPlayerDeadInfoHscCsKtjƒ}tjdƒ}tjdƒ}t|||ƒt||ƒdS(NtPlayerLoginNotify_TimeSecttPlayerLoginNotify_Dict(RtGetCurrentTimet ReadChConfigtGetEvalChConfigtDoNotifyByTimeSecttDoNotifyByDict(R RtcurTimetnotifyByTimeSectt notifyByDict((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerLoginNotifySs   cCsLxE|D]=}tj||dƒs)qntj||d|dƒqWdS(Niii(Rt IsAtActTimeR't
NotifyCode(R RTt
notifyInfot    curNotify((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRRfs cCs\tjƒ}xI|D]A}|j|dƒ|dkrtj||d|dƒqqWdS(Niiii(RR R!R'RY(R RZt    gameWorldR[((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRSts  c
Cs|jƒ}xÝtjD]Ò}|j|ƒ}|jƒx°t|jƒƒD]œ}|j|ƒ}|jƒroqHnt    j
|ƒ}t    j |ƒ}||krHt    j ||ƒt jd|||||jƒ|jƒf|jƒƒqHqHWqWx'tjjƒD]}tj||ƒqüWdS(NsLµÇ¼¸üÐÂ×°±¸ÆÀ·Ö: packType=%s,i=%s,hisScore=%s,newScore=%s,itemID=%s,guid=%s(tGetItemManagerRt Def_PlayerLoginInitPackIndexListtGetPackt Sync_RefreshtxrangetGetCounttGetAttIsEmptyt
ItemCommont CalcEquipGStGetEquipGearScoretSetEquipGearScoreRR9t GetItemTypeIDtGetGUIDR:tDef_VPackCnt_DicttkeysRKtSync_VPackItem_Refresh(R t itemManagert    packIndextrolePacktitcurItemtnewScorethisScore((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR9€s" 
      :cCstj||ƒdS(N(RWtProcessTimeEquip(R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRQ¹scCsÆtjƒ}|jƒg|_|jƒ}xrt|jƒƒD]^}|j|ƒ}tjƒ}|j    ƒ|_
|j ƒ|_ |j ƒ|_|jj|ƒq>Wt|jƒ|_tj||ƒdS(N(RkttagMCPlayerSkillsRtSkillstGetSkillManagertranget GetSkillCounttGetSkillByIndexttagPlayerSkillt
GetSkillIDtSkillIDt GetRemainTimet
RemainTimetGetProficiencyt ProficiencytappendRgtCountR'R((R tsendPackt skillManagerRqtcurSkillt    skillInfo((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRPÂs 
      cCsd|jƒjƒ|jƒjƒ|jƒjƒ|jƒjƒ|jƒjƒ|jƒjƒdS(N(t GetBuffStatet    Sync_BufftGetDeBuffStatetGetAurat
GetIncBufftGetProcessBuffStatetGetProcessDeBuffState(R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRVÚs cCstjƒrdSdS(N(RR(R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRZès &cCsD|jdƒ|jtƒ|jtƒ|jtƒ|jtƒ|jtƒ|jƒtj    krvt
j ||ƒn t
j |ƒt ||ƒtjƒjƒtjkrÄtj|tj|ƒntjƒ rtj|ƒsïtj|ƒrtjd|jƒƒtj||jƒƒnQtjƒsotj|ƒ}|rotjd||jƒƒtj||ƒqont j!||ƒtjƒr›|j"tƒntj|ƒ}|j#ƒtjƒrÐ|j"t$ƒn|j%|ƒ|j&|ƒ|j'tj(|ƒtj)||ƒt*|ƒt+j,|ƒtj-|jƒƒt$t._/dS(Nis8===µÇ¼±¾·þµØͼʱ£¬´¦ÓÚ¿ç·þ»ò×Ô¶¨Ò峡¾°×´Ì¬£¬²»Ë¢ÐÂÊÓÒ°!sE===µÇ¼±¾·þµØͼʱ£¬´¦ÓÚ¾³½çÄѶȵØͼ£¬×Ô¶¯ÉèÖÃÄѶÈ! realmDifficulty=%s(0tGameServer_SetLoadMapStatet
SetCanMoveR2t    SetInitOKt SetMapLoadOKRbt SetCanAttackRNROt paGameEventtPlayerGameEventt StopGameEventtTakeoffFishermanEquipmentt__CheckClearBuffOnMapChangeRtGetMapt GetMapFBTypetfbtNullR:tAddBuffBySkillType_NoRefurbishRtDef_SkillID_LimitSuperBuffRR'RYtGetCustomMapIDR&R:tSetPlayerSightLevelR tGetMapRealmDifficultytSetRealmDifficultyRWtChangePlayerSighR0RURtSetProcessEquipDurgTickt SetLoginTickRStDef_PlayerKey_CalcOLTimeTicktRefreshRebornPointtSavePlayerMessionInDataServerR>tWriteEvent_FightPowertRemoveLeaveServerPlayerInfot
PyGameDatatg_needRefreshMapServerState(R RtrealmDifficultyRh((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR<sH        +  
 
     cCs»tjƒjƒ}tjdƒ}g}xf|jƒD]X\}}| sS||kr4tj|||ƒrŒtjd|ƒ|j    |ƒqŒq4q4Wx$t
j D]}tj|||ƒqšWdS(NtFBBuffsÇеØͼɾ³ý¶àÓàbuff: %s( RRšR¤RPRQtitemst    BuffSkilltDelBuffBySkillIDR&RƒRtClearBuffOnMapChangeList(R RtcurMapIDt
fbBuffDictt
buffIDListtbuffIDt    mapIDList((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR™ascCsdS(N((R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¨wscCstjtƒ||ƒdS(N(Rt GetPsycoFunct__Func_PlayerLogin(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÈ…scCs‘tjƒj|ƒ}y;t||ƒt||ƒ|jtƒtj||ƒWn:|j    t
j ƒddl }tj d|jƒƒnXdS(NiÿÿÿÿsÍæ¼ÒÉÏÏßÂß¼­´íÎó
%s(RR/R0RR5R‘R2tPlayerAutoCheckOnlinetPlayerLoginCaptchatKickROtdisWaitForPlayerLoinErrort    tracebacktRaiseExceptiont
format_exc(R;RR R¾((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¹s    cCstjtƒ||ƒdS(N(RR¸t__Func_ChangeMapInit(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt ChangeMapInit©scCsatjƒj|ƒ}t||ƒtj||ƒt|ƒt||ƒ|jƒ|j    ƒ}|dkrô|j ƒtj |t j|ƒ|jt jƒ}|j|ƒtj|ƒtj|jƒ|jƒ|jƒ|jƒ||jƒƒntj||ƒ|jƒtjƒjƒt j!kr9|j"dƒn |j"dƒ|j#ƒ|j$t%ƒdS(Nii(&RR/R0RR:tPlayerChangeMapUpdateSkillCDR8R<tInitChangeMapPlayerSummonInfotGetTrucktNonetGameServer_Sync_TruckMapIDRRRžRtDef_Player_Dict_PawnTruckLVtSetLVt PlayerTrucktChangeTruckNoteInfoRXtUpdateBillboardPlayerTruckR:tGetNameRRzR¤R`tSync_PetInfo_ChangeMapR/RšR›ROtfbtTeamtGameServer_TeamEnterFBt#BalanceServer_PlayerChangeMapInitOKR‘R2(R;RR tcurTruckttruckLv((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÁ³s,
 
     
 
  !
 
cCsq|jƒ}tj|ƒtj|ƒtj|ƒ|jƒjtjƒ}|jt    j
ƒ|j ƒ|jƒjtj ƒ}|jt    j ƒ|j ƒ|jtjƒ}|jt    jƒ|j ƒ|jtjƒ}|jt    jƒ|jtjƒ}|jt    jƒ|jtjƒ}|jt    jƒ|jtjƒ}|jtjƒ|jtjƒ}|jt    jƒdS(N(R]R't Init_ItemPacktInit_WarehousetInit_TreasurePackR_R"t rptDogzItemtSetCountRtDef_PackCnt_DogzItemtSync_PackCanUseCountt rptDogzEquiptDef_PackCnt_DogzEquipt
rptGarbagetDef_PackCnt_Garbaget rptTempSwaptDef_PackCnt_TempSwapt rptTempItemtDef_PackCnt_TempItemROtrptEquiptDef_PackCnt_EquipRmtDef_AnyWherePackCounttrptPettDef_PackCnt_Pet(R RntcurPack((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR8s0    
 
 
cCstj}t||ƒS(N(RRžtCheckHasBuffBySkillID(R tskillID((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt__CheckLimitSuperBuff?s    cCstjƒj|ƒ}|s9tjd||jƒƒtStj|ƒ}tj||ƒ}|dkrjtS|d}|j    ƒ}|j
|ƒ}|s™tSt S(Ns,Íæ¼ÒÈ¡Ïûbuffʧ°Ü,Êý¾Ý¿âÎÞ´Ëbuff,buffid = %s i(( RR,tGetSkillBySkillIDR9R:R2R:t GetBuffTypetGetBuffManagerByBuffTypetGetSkillTypeIDtFindBuffR(R Rêt    buffSkilltbuffTypet    buffTuplet    buffStatetbuffSkillTypeIDtcurBuff((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRéIs 
 cCstjtƒ||ƒdS(N(RR¸t__Func_LoadMapOK(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt    LoadMapOKgsc CsOtjƒj|ƒ}|jƒrÎ|jtjƒ}|jtjƒ}|rÊ|rÊtjd|j    ƒƒ|j
tjdƒ|j
tjdƒ|j t ƒt j|tjƒ|jƒtj||ƒndSt|ƒsÞdStjd|j    ƒƒ|jdƒ|jt ƒ|j|jƒ|jƒƒtj|ƒ}|oT|jtjƒdkstjƒ r´t j|ƒs…|jtjƒr´tj d|j    ƒƒt j!||j"ƒƒnQtjƒst j#|ƒ}|rtj d||j    ƒƒt j$||ƒqn|jƒ|j t ƒnt%j&|ƒdkrG|j't(j)ƒn|j*t ƒt+|ƒsp|j,t ƒn|j-t ƒ|j.ƒ}|t(j/krÃt0j1|t2t2ƒsët0j3|t2ƒqën(|t(j4krët5j6|t2t2t2ƒnt7||ƒt8j9||ƒt j:|t ƒt;j<||ƒtj=||ƒt>j?|ƒt>j@|ƒtAjB|ƒtjCƒ}|jƒ}    |jƒ}
|jDtjEƒr
|jDtjEƒdkrÃt j |ƒjFƒn.tGjH|    |
tjIƒ\}    }
|jJ|    |
ƒt jK|tjEdƒnt%j&|ƒdks4|jLƒt(j)kr‰|jtjMƒ} | rUtjNntjO} tjƒrvtjO} ntP|| |ƒn½|jQ|    |
ƒt krFtGjH|    |
tjIƒ\} }| dkr|dkrtjd|    |
f|j    ƒƒt j |ƒ}|jFƒqF|jJ| |ƒtjd    | |f|j    ƒƒntRjS|ƒ|jTƒtjUkrËtVjWtjCƒjXƒƒtjYkrË|jZtjUƒt[j\|tj]|ƒt[j\|tj^|ƒn|j_ƒ}|j`ƒ|kr|ja|ƒtb|ƒtj d
|ƒntcjd|ƒtejf|ƒtgjh|ƒjiƒ|jjƒt S( Ns'Íæ¼Ò¸±±¾Öбä¸ü¹¦ÄÜÏß·ÐéÄâÇеØͼ³É¹¦!!!is µØͼ¶ÁÈ¡³É¹¦is<===±¾·þLoadMapOKʱÍæ¼Ò´¦ÓÚ¿ç·þ»ò×Ô¶¨Ò峡¾°×´Ì¬£¬²»ÉèÖÿɼû£¡sH===±¾·þLoadMapOKʱÍæ¼Ò´¦ÓÚ¾³½çÄѶȵØͼ£¬×Ô¶¯ÉèÖÃÄѶȣ¡realmDifficulty=%sis:Íæ¼ÒµÇ¼ÖØÖÃλÖÃʧ°Ü, °ÑÍæ¼Ò´ò»ØÖØÉúµã posX = %s posY = %ss<Íæ¼ÒµÇ¼ÖØÖÃλÖÃʧ°Ü, ÉèÖø½½üµã nearPosX = %s nearPosY = %ss½øÈëµØͼǿÖÆÇл»PKģʽ: %s(kRR/R0t GetMapLoadOKR\RtDef_PlayerKey_ResetFBLinePosXtDef_PlayerKey_ResetFBLinePosYR9R:RSRbRR'RcReRdRt    DoEnterFBt__CheckForbidLoginRR“tInitPosR¦R¨RÂtGetCommonMissiont GetPropertytDef_NewGuyNoSightRRYR]R&R R R¡R¢RLRMtSetPlayerActionRORPR’RëR”R‘tGetLastMapPlayerVehicletpvHorseR|tPlayerRideHorseUpR2tPlayerRideHorseDowntpvTruckRÊt PlayerTruckUPtInitPlayerTruckRCtPlayerLoginSetTeamtSetIsNeedProcesst PlayerGMOpert DoGMOperLogictDoEnterFBLogicRtEventResponse_OnMaptEventResponse_OnMapExR`RaRšRtDef_PDict_IsReBorntSetToBornPlacetGameMaptGetNearbyPosByDistDef_RebornPos_Area_RangetResetPosR(RNR*trebornType_CityRRRQtCanMoveRRRõtCampType_NeutralRŽtGetRecordMapIDR¤tDef_MapID_NeedCampt
SetFactionR°R±tDef_SkillID_JusticetDef_SkillID_EviltGetInitAttackModelRÛt SetAttackModeR]tPassiveBuffEffMngtOnLoadMapGFPassivet PlayerYinjit    OnLoadMapRKtPlayerItemControlertRefreshStartEquipCountt
EndLoadMap(R;RR tresetFBLinePosXtresetFBLinePosYt firstMissionR­t playerVehicletcurMaptposXtposYtisLogint
rebornTypetnearPosXtnearPosYRhtinitAttackModel((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR÷qs´   
   . 
 
          *    # $      
 
cCs9tjƒ}|jƒ|jƒ|_tj||ƒdS(N(RkttagMCAttackModeRRÛtModeR'R((R R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR]Cs
 
cCstS(N(R(R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt__CheckGMCanLoadMapOKPscCs:|jƒtdtjƒ@dkr&tS|jtjƒdS(Nii(RqtpowRtDef_PysForbidByPyRR¼ROt    disGMKick(R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRýhs"cCsï|j|ƒ|jƒ}tjd||jƒƒ|dkr{|jƒdkrwtjd|jƒƒ|jdƒndS|jƒtjd||jƒƒtjƒj    |ƒ}|s¾dS|j
|ƒ|j |j ƒƒ|j |ƒdS(Ns³õʼ»¯æô³µ ID = %d ...is###Fix Truck State!s$֪ͨgameserverË¢ÐÂ×Ô¼ºµÄæô³µ id = %d(tSetTruckCalcStartTimet
GetTruckIDRR9R:t GetTruckStatet SetTruckStatetGameServer_RefreshTruckReqt GetNPCManagert FindTruckByIDtSetTruckt
SetTruckIDR tSetOwner(R RttruckIDRÒ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR    ws    
 cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytAddPoint³sc    Csžtjƒj|ƒ}|j}|j}| sM| sMt|ƒt|ƒkrQdSd}x>t|ƒD]0\}}tjd|ƒs†dS|||7}qdW|j    ƒ}    ||    krËtj
d|    |fƒdS|j |    |ƒx{t|ƒD]m\}}||}
|j t j|ƒ} | |
} tj|t j|| ƒtj
d|| |
| fƒqéWt||ƒtj|ƒ} | jƒtj|ƒtj|ƒdS(Nit    RolePoints3Ê£ÓàµãÊý²»×ã! curFreePoint(%s) < needTotalPoint(%s)s7Íæ¼Ò¼Óµã: attrID=%s,curPoint=%s,addPoint=%s,updPoint=%s(RR/R0tPointAttrIDListtPointValueListRgt    enumerateR4tGetIpyGameDataR»R&t SetFreePointRRtDef_PDict_AddPointValueR'R(R¥tRefreshPlayerAttrStateRtEventRespons_AddPointtSetLingGenMaxIndex(R;R<RR tpointAttrIDListtpointValueListtneedTotalPointRqtattrIDt curFreePointtaddPointtcurPointtupdPointRh((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt
OnAddPoint¿s6        &  
 
! 
  cCs5tjƒj|ƒ}tjƒ}gt|jƒƒD]}|j|ƒjƒ^q4}t    }x4|D],}|j
t j |ƒ}|rbt }PqbqbW|s©tjdƒdS|jƒtjddƒk}    |    stjddƒ}
|jƒjtjƒ} d} d} xÓ|
D]Ë}tj|| dƒ\}}|s7q
nx‹|D]ƒ}| j|ƒ}tj|ƒshq>ntj|ƒ\}}|rº|dkr•q>n| s¨|| krÁ|} |} qÁq>|} Pq>W| dkr
Pq
q
W| dkrédStj|| | gdt    t jƒntj|dddƒtj |ƒdS(    NsÖØÖüӵã Ã»ÓеãÊýÐèÒªÖØÖÃt LVUPAddPointiiiÿÿÿÿii
i(!RR/R0R4tIPY_DataRatGetRolePointCounttGetRolePointByIndext    GetAttrIDR2RRRLRR&RzR*R5R]R_ROtrptItemRetGetItem_FromPack_ByIDRctCheckItemCanUsetGetItemRemainingTimet
ReduceItemtItemDel_ResetAttrPointtItem_ResetAttrPointtDoResetAttrPointRtEventRespons_LingGenReset(R;R<RR t
ipyDataMgrtcanResetIDListtcanResetRSRVtisFreetneedItemIDListtitemPacktdelIndext
expireTimeRAt    hasEnought itemIndexListt    itemIndexRrt isExpireItemt remainingTime((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnResetAttrPointåsV 4        % c    Cs×|sItjƒ}gt|jƒƒD]}|j|ƒjƒ^q%}ng}g}x>|D]6}|jtj|ƒ}|j    |ƒ|j    |ƒq\Wt
j ƒ}||_ ||_ t|ƒ|_tj||ƒdS(N(R4RZRaR[R\R]RRRLRƒRkttagMCRolePointInfoRGRHRgtPointAttrIDCountR'R((    R tsyncAttrIDListRgR;RPRQRSRVt    pointInfo((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¥s 7           cCsÙtjƒj|ƒ}t|ƒs%dStjƒj|j|jƒsGdS|jƒ|j    |j|jƒt
j ƒ}|j ƒ|j ƒ|_|jƒ|_|j|_|j|_|j|_tj||tdƒdS(Niÿÿÿÿ(RR/R0t__CheckPlayerCanMoveRšRR§R©tStopMovet    ChangePosRkttagMCMoveByTypeRR tIDtGetGameObjTypetObjTypetMoveTypeR't PyNotifyAllR2(R;R<RR R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt OnMoveByType:s  
 
   cCsPtjƒj|ƒ}||jtjƒtjtjkr?dS|jtj|ƒ|jƒr˜tj    |j
ƒ|j ƒ|j |j ƒ|jƒkr˜dSt|ƒs¨dStjƒj|j |j ƒsÊdS|jƒ|j|j |j ƒtjƒ}|jƒ|jƒ|_|jƒ|_|j |_ |j |_ tj||tdƒdS(Niÿÿÿÿ(RR/R0t GetTickByTypeRtTYPE_Player_Tick_RushtTYPE_Player_Tick_Timet SetTickByTypetGetSighttGetDistR¦R¨R§R©RyRšRRzR{Rkt    tagMCRushRR R}R~RR'RR2(R;R<RR R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt OnPlayerRush^s(&B 
 
  c     CsTtjƒj|ƒ}|jtjƒtjkr4dStj|tj    t
j ƒsSt St |ƒscdS|j}|j}|j}|j}|j}||kr¬||kr¬dStjƒj||ƒsä|j|jƒ|jƒƒdS||jdƒdkrdS|jd|ƒ|jƒ}    |    t
jt
jgkr9dStjƒ}
t|||
||||ƒsgdStj||||ƒdkr¥|j|jƒ|jƒƒdS|jƒt
j krÍt!j"||ƒnt#j$||ƒ|j%||ƒ|j&ƒj'ƒ} | dkrdStj| jƒ| jƒ||ƒdkr=dSt)j*|||ƒdS(Nt FightMoveTicki2ii(+RR/R0RRt#Def_Player_Dict_AutoCheckHack_StatetDef_AutoCheck_State_DangertOperControlManagertIsObjCanDoActiontDef_Obj_ActState_ServerActROtoalMoveR2RytStartXtStartYtDestXtDestYt    WorldTickRšRRR¦R¨R\RStGetPlayerVehicletpvNullRt CheckMovePosRˆRNR•R–R—R'tDelLimitSuperBuffR{t    GetPetMgrt GetFightPetRÆR`tFightPetFollowMove( R;R<RR tsendPack_StartXtsendPack_StartYtsendPack_DestXtsendPack_DestYtsendPack_WorldTicktvehicleR,tfightPet((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerFightMove˜sX                          *cCstjtƒ||ƒdS(N(RR¸t__Func_PlayerMove(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt
PlayerMove
    sc
    CsidStjƒj|ƒ}|jtjƒtjkr8dStj|tj    t
j ƒsWt St |ƒsgdSt
jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}tjƒj||ƒsËdS||krç||krçdStjƒjƒt
jkr!tj||||ƒs!dSn|jƒ}    |    t
jt
jgkrIdSt|||||||ƒdS(N(RR/R0RRRŒRRŽRRROR‘R2RytIPY_CPlayerMovet    GetStartXt    GetStartYtGetDestXtGetDestYt GetWorldTickRšRR›RœRt DoFBCanMoveR—R˜RtPlayerNormalMove(
R;RR R…RžRŸR R¡R¢R£((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¦    s>           cCso|jƒstS|jƒs tStj|ƒdkr9tStj|tjt    j
ƒsXtSt j |ƒsktSt S(Ni(RùR2t
GetCanMoveRLRMRŽRRRROR‘R'tPlayerCanStateTransferR(R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRyl    s   cCs§dStjƒ}tj||||ƒs6|jƒdSt|||||||ƒsXdS|jƒtjkr€t    j
||ƒntj |tj ƒ|j ||ƒdS(N(RRšR'tPlayerMoveCheckClientWorldTicktSync_ClientTickR™RNROR•R–R—tChangePlayerActiontpaNulltMove(R t client_StartXt client_StartYt client_DestXt client_DestYtclientWorldTickRR,((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¯—    s 
c CsÜtj||||ƒsY|rU|jƒ|jƒkrU|j|jƒ|jƒƒntS|jƒ}|jƒ}    |j||ƒsš|r–|jƒntSt    j
||    ||ƒ}
|
t j krØ|rÔ|jƒntSt S(N(R'tPlayerRefreshPosR RR¦R¨R2RtMoveFailRRˆRtDef_PlayerMaxMoveDistR( R tcheckObjR,tstartXtstartYtdestXtdestYtsendPlayerMoveFailtobjPosXtobjPosYtmoveDist((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR™í    s     $cCstjtƒ||ƒdS(N(RR¸t__Func_PlayerStopMove(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerStopMoveJ
scCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÈS
scCsÓtjƒj|ƒ}tjƒ}|jƒ}tjd||jƒƒtjƒrdtjdƒdSt    j
|ƒr„t ||ƒdSt j ||ƒrªt    j|dƒdSt|||ƒrÏt|||ƒndS(NsÍæ¼Òµã»÷¸´»î: rebornType=%ss¿ç·þ·þÎñÆ÷²»½ÓÊܸ´»îÇëÇó!tReborn_lhs_31379(RR/R0ROtIPY_CCliectReborntGetTypeR&R:RR'RYtOnReqCrossServerRebornRtDoFBForbidRebornRYRQtPlayerReborn_InFB(R;RR R…R0((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerClickReborn²
s      cCstj|ƒ}|s&tjdƒdSt||dtƒs?dSi|jƒd6|d6}tjtj    |ƒtjd||f|jƒƒdS(Nsµ±Ç°ÎÞ¿ç·þµØͼ!t checkHPStateRnt
RebornTypes(¿ç·þÖÐÇëÇó¸´»î, crossMapID=%s,msgDict=%s(
R'RYRR&t__CheckCanRebornR2R:tSendMsgToCrossServerR"tClientServerMsg_Reborn(R R0t
crossMapIDtmsgDict((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÍÐ
s  cCsŒ|d}tjƒ}t|||ƒs,dS|jtjƒ}t|||ƒidd6|d6}|j|ƒtjt    j
||gƒdS(NRÒitResultt ReviveTired( RRšRÓRRtDef_PDict_IsAddReviveTiredt__DoPlayerReborntupdatetSendMsgToClientServerR"tCrossServerMsg_RebornRet(R tmsgDatat serverGroupIDRR0tgameMaptisAddReviveTiredRi((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÕà
s
  cCsX|d}|dkrdS|d}|d}t||tƒ|rTt||ƒndS(NRØiRÒRÙ(t __RebornCostRt__AddReviveTired(R RßRtresultR0Râ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÞò
s
 
 
cCs`tjƒ}|jƒ|jƒ|_||_|jƒ|_|jƒ|_    t
j ||ƒdS(N( t ChNetSendPackttagPlayerRebornRR:RntTypeR¦R§R¨R©R'R((R R0t
rebornInfo((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytSyncPlayerReborn s 
    cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerNeedSeeOther scCstjtƒ||ƒdS(N(RR¸t$__Func_PlayerClickOtherPlayerGetInfo(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerClickOtherPlayerGetInfoM scCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRìV s=cCs<tjdƒtjƒj|ƒ}tj|ƒdkr;dStjƒ}|jƒ}|dkrot    j
|ƒndS|j ƒr“t    j |dƒdS|j ƒtjkr¬dStj|tjtjƒsËdS|j|ƒtjƒ}|jƒ}|jƒ}|dkr+|tjkr+t    j||ƒdSt    j
|ƒdS(Ns PlayerSit...iitCanNotSitWrongState(RR&R/R0RLRMROtIPY_CSitRÌR't DoPlayerStandtIsMovingRYR—R˜RŽRRRtoalSittSetRestoreTimeRNRµt DoPlayerSit(R;RR R…tsetTypet
playAction((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt    PlayerSit¦ s6               cCstjtƒ||ƒdS(N(RR¸t__Func_PlayerDisconnect(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerDisconnectÝ scCsœ|jtjƒdkrdStjƒtj|jƒjƒƒ}|jdkrc|j    dkrcdSt
j |j ƒ|j ƒ|ƒtj|tjdƒdS(Niii
i<iX(RRtDef_Player_Dict_LoginValidRROR RRtdaystsecondsR#t DR_LoginValidR%R&R'R((R tdiffTime((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytNoteLoginValidå s%cCsdtjƒj|ƒ}yt||ƒWn*ddl}tjd|jƒƒnX|j|ƒdS(NiÿÿÿÿsÍæ¼ÒÏÂÏßÂß¼­´íÎó
%s(RR/R0tDoPlayerDisconnectR¾R¿RÀt DoDisconnect(R;RR R¾((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRøü s cCsàtjd|jƒƒtj||ƒ|jtjƒƒtj|ƒt    |ƒt
j |ƒt j |ƒtj|tjdƒtj|tjdƒtj|tjdƒtj|tjdƒtj|ƒtj|ƒdS(NsPlayerDisconnect!i(RR9R:R'tPlayerLeaveServert SetLogoffTimeR7R#tDR_PlayerDisconnectRÿRÆtCalcOnlineTimeRstUpdateFirstGoldTimeR(Rt!Def_Player_Dict_RouteServerInitOKtDef_Player_Dict_AutoTrucktDef_PlayerKey_CrossRegisterMaptDef_PlayerKey_IsCrossPKMatchingR`tReCallFightPetR>tWriteEvent_session(R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR s 
    cCsƒtjƒj|ƒ}tjƒ}|jƒ}tj|ƒs\d}tjd|jƒƒdSt    |ƒdkrrdS|j
|ƒdS(NRsSetShutCutData Encoding Errid( RR/R0ROtIPY_CSetShutCutDatat
GetSettingtEncodingToUnicodetErrLogR Rgt
SetSetting(R;RR R…tsetting((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytSetShutcutSettingHVV s   c Cs)tjƒj|ƒ}|j}tjd||jƒƒtjd|ƒ}|sTdStj|t    j
|ƒ}|s|j ƒ}|r´|j ƒ|kr´tjd||jƒƒdS|j ƒ}|r|jt    jƒ}    |    td|ƒ@}
|
stjd||jƒƒdSqntj||ƒdS(Ns#ÉèÖÃʹÓõÄÁÄÌìÆøÅÝ¿òID: useBoxID=%st ChatBubbleBoxs)    µÈ¼¶²»×㣬ÎÞ·¨Ê¹ÓøÃÆøÅÝ¿ò£¡needLV=%sis5    Î´¹ºÂòVIPÀñ°ü£¬ÎÞ·¨Ê¹ÓøÃÆøÅÝ¿ò£¡needVIPLVGift=%s(RR/R0t BubbleBoxTypeR&R:R4RJtGetDictValueByBitRtDef_PDict_ChatBubbleBoxStatet    GetNeedLVRztGetNeedVIPLVGiftRtDef_Player_Dict_VipAwardRecordR7R'tSetChatBubbleBox( R;R<RR tuseBoxIDtipyDatat curBoxStatetneedLVt needVIPLVGifttrecordthasBuy((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnSetChatBubbleBoxn s*      
cCsCtjd|ƒ}|sdStj|tj|dƒt|ƒtS(NRi(R4RJRtSetDictValueByBitRRRêR(R tboxIDR((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytDoActivateChatBubbleBox‰ s 
cCsI|jtjdƒ}|s dStjƒ}||_tj||ƒdS(Ni(RRRRkttagMCChatBubbleBoxStatetBoxStateR'R((R tboxStatet boxStatePack((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRê’ s     cCsÿtjƒj|ƒ}|j}|tjkrKtjd||jƒƒdSx­tdtj    dƒD]•}t
|d|ƒs¡tjd||f|jƒƒqbnt |d|ƒ}t j |tj||f|ƒtjd|||f|jƒƒqbWdS(Ns!СÖúÊÖ²»Ö§³Ö¸ÃÉèÖñàºÅ! setNum=%sisValue%ss+СÖúÊÖ²»Ö§³Ö¸ÃÖµ±àºÅÉèÖÃ! setNum=%s,value%ss"СÖúÊÖÖµÉèÖÃ: setNum=%s,value%s=%s(RR/R0tSetNumRtLittleHelperSetNumCountRR:RatLittleHelperValueCountthasattrtgetattrR'R(t!Def_Player_Dict_LittleHelperValueR&(R;R<RR tsetNumRqtvalue((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnSetLittleHelper© s      'cCsg}xÈttjdƒD]³}d}xŽtdtjdƒD]v}|jtj||fƒ}|skq=n|s‰tjƒ}||_    nt
|d|ƒr=t |d||ƒq=q=W|r|j |ƒqqW|sÛdStj ƒ}||_t|jƒ|_tj||ƒdS(NisValue%s(RaRR,RÆR-RR0RkttagMCLittleHelperFuncSetR+R.tsetattrRƒttagMCLittleHelperSett FuncSetListRgt FuncSetCountR'R((R t funcSetListR1tfuncSetRqR2tsetPack((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRé¸ s*       cCstjƒj|ƒ}|j}|j}|dkr |s?dntddƒd}x1ttjƒD] }t    j
|tj ||ƒqbWtj d||fƒnj|dtjkrÈtj d|ƒdStj d||fƒ|rëdnd}tj|tj ||ƒdS(    Niÿiiiis"ÉèÖÃÈ«²¿Òýµ¼×´Ì¬: isOK=%s,value=%ss0ÉèÖÃÒýµ¼Ê§°Ü, ³¬¹ý×î´óÖ§³Ö¼Ç¼λ£¡ guideIndex=%ss"ÉèÖÃÒýµ¼³É¹¦ guideIndex=%s,isOK=%s(RR/R0t
GuideIndextIsOKR7RaRtDef_GuideStateKeyCountR'R(tDef_Player_Dict_GuideStateR&RR$(R;R<RR t
guideIndextisOKR2Rq((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt OnSetGuideOKÚ s         cCsutjƒ}g|_x7ttjƒD]&}|jj|jtj|ƒƒq%Wt    |jƒ|_
t j ||ƒdS(N( RkttagMCGuideStatet
GuideStateRaRR>RƒRR?RgR„R'R((R tguideStatePackRq((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRJï s     $cCs)tjƒ}||_tj||ƒdS(N(RkttagMCShowGuidetGuideIDR'R((R tguideIDt    showGuide((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt    ShowGuideù s     cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt
PlayerJump scCsjtjƒj|ƒ}|sdS|jƒ}|jƒ}||krGdS|tjkrftj|ƒndS(N(    RR/R0tGetPlayerLastActionRNROR•R–R˜(R;RR t
lastActiont    curAction((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnPlayerChangeAction" s   cCs‚tjƒj|ƒ}tjƒ}|jƒ}|dksE|dkrIdS|j|ƒtj|ƒdkr~t    j
||ƒndS(Niid( RR/R0ROtIPY_CSetHPRestoretGetValuetSetHPRestoreSettingRLRMR'tPlayerAutoRestoreHP(R;RR R…tcurValue((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¸C s   cCs‚tjƒj|ƒ}tjƒ}|jƒ}|dksE|dkrIdS|j|ƒtj|ƒdkr~t    j
||ƒndS(Niid( RR/R0ROtIPY_CSetMPRestoreRQtSetMPRestoreSettingRLRMR'tPlayerAutoRestoreMP(R;RR R…RT((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRºa s   cCstjƒj|ƒ}tjƒ}|jƒ}|jƒ}|dkrg|tjkrg|jtjƒn¨|dkr•|tj    kr•|jtj    ƒnz|dkrÃ|tj
krÃ|j tj
ƒnL|dkrñ|tj krñ|j tj ƒntj d||jƒƒdSdS(Niis"SetMoneyType = > ½ðÇ®ÀàÐÍ = %s´íÎó(RR/R0ROtIPY_CSetMoneyTypeRÌt GetMoneyTypetTYPE_Price_Gold_MoneytSetUseGoldTypetTYPE_Price_Gold_PapertTYPE_Price_Silver_MoneytSetUseSilverTypetTYPE_Price_Silver_PaperR9R:(R;RR R…tcurTypet curMoneyType((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt SetMoneyType„ s   cCsmtjƒj|ƒ}||jƒtjkr2dS|j|ƒtj||ƒt    j||ƒt
|ƒdS(N( RR/R0tGetPosInfoTickRtDef_GetOtherPosIntervaltSetPosInfoTickRCtNotifyPosInfoToPlayerRÊtOnSendMapSignCnt(R;RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt PlayerMapInfo§ s 
cCs}tjƒj|ƒ}tjƒ}|jƒ}tjƒjƒ}|tj    krltj
d||j ƒƒdSt ||ƒdS(Ns±¾µØͼ²»¿ÉÇл»PKģʽ,mapID=%s( RR/R0ROtIPY_CChangeAttackModetGetModeRšR¤RtDef_CanNotChangeAtkModelMapR9R:tChangeAttackMode(R;RR R…t sendPackModetmapID((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerChangeAttackModeÊ s  
cCsÔ|tjks|tjkr3tjd|ƒdS|jƒ|krZtjd|ƒdStjƒjƒ}|td|ƒ@sštjd||fƒdS|tjkr¹t    j
|ƒn|j |ƒt |ƒdS(Ns*±ä¸üPKģʽÒì³££¬²»´æÔÚ¸Ãģʽ!attackMode=%ss PKģʽÏàͬ£¬²»±ä¸ü!attackMode=%sis3±¾µØͼ½ûÖ¹Çл»¸Ãģʽ£¡attackModels=%s,changeMode=%s( ROtamPeacetamMaxRR&RÛRštGetAttackModelsR7R‹tClearSummonAngry_PlayerR R](R t
attackModet attackModels((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRlä s 
cCs]tjƒj|ƒ}tjƒ}|jƒ}tj|||ƒtj|ƒ}|j    ƒdS(N(
RR/R0ROtIPY_CCancelBufft    GetBuffIDR°R±R'tRefreshPlayerAttrByBuff(R;RR R…RêRh((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerCancelBuff s 
 
cCstjtƒ||ƒdS(N(RR¸t__Func_StartGameEvent(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytStartGameEvent4scCs8tjƒj|ƒ}tj|ƒdkr.dStjƒ}|jƒ}|tjkrit    j
||ƒdS|tj kr|dSt j tj|ƒ}|dkr¼t j|tj|ƒs¼dSn|jƒ}||tjkrßdSt    j||ƒsõdSt    j|||ƒsdStj|tjƒt    j|||ƒdS(Ni(RR/R0RLRMROtIPY_CStartGameEventRÌtgeNullR–R—tgeFishRŽtGetActBitByActionRtDef_ActBit_GameEventRÆRtDef_Obj_ActState_ClientActtGetGameEventTicktDef_ShowEventTimetCheckCanBeginGameEventtCanProcessGameEventR'R´R•R{(R;RR R…t    eventTypet    curActBittlastShowEventTick((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRz=s4            cCs;tjƒj|ƒ}|jr$dnd}|j|ƒdS(Nii(RR/R0tAdultt ChangeAdult(R;R<RR tadult((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt
PySetAdultšs cCsßtjƒj|ƒ}||jƒtjkr2dStj|ƒdkrKdStj    |tj
t j ƒsjdS|j ƒrzdS|jƒt jkr“dS|jƒt jkr¬dS|j|ƒt jƒ}tj||jƒƒtS(Ni(RR/R0tGetShowFaceTickRRƒRLRMRŽRRROtoalLookRñRNRµR—R˜tSetShowFaceTickt IPY_CShowFaceR'tDoPlayerShowPlayerFaceRÌR(R;RR R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytShowFace³s&        cCs\|jƒsdStj|ƒdkr)dStj|ƒtkrBdS|jƒtkrXdStS(Ni(RùRLRMR'R±RR°(R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytCheckPlayerStopMoveÚs cCstjtƒ||ƒdS(N(RR¸t__Func_PlayerCanResetWorldPos(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerCanResetWorldPosöscCs)tjƒj|ƒ}tj||ƒdS(N(RR/R0R'tDoPlayerResetWorldPos(R;RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR”ÿscCs-tjƒj|ƒ}|jƒt|ƒdS(N(RR/R0t    ExitEventtNotifyChangeMapFail(R;RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerChangeMapFailCallback
s
 
cCsM|jtƒtjƒ}|jƒtj||ƒtjd|j    ƒƒdS(Ns µØͼÇл»Ê§°Ü(
RbRRkttagMCChangeMapFailRR'R(RR9R (R R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR˜s   
cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt OnlineReply-scCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerSummonMovecscCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerSummonAttack¯scCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerSummonStopscCsŠtjƒj|ƒ}tjƒ}|jƒ}|dkrc|dkrctjd||jƒƒdS|jƒ|krydS|j    |ƒdS(Niis#HideMask -> ·â°üÀàÐÍ´íÎóisHide = %s(
RR/R0ROt IPY_CHideMaskt    GetIsHideR9R:t GetIsHideMaskt SetIsHideMask(R;RR R…tisHide((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytHideMaskIs   cCs&tjƒj|ƒ}t||ƒdS(N(RR/R0t __Func_ExitFB(R;RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytExitFBis cCs‘tjƒjƒtjkr=|jƒtjddƒkr=dStjd|j    ƒ|j
ƒƒt j |ƒspdSt j ||ƒtj|ƒdS(NtMapLineisÍæ¼Ò = %s , Ö÷¶¯À뿪¸±±¾(RRšR›RORœR¤R4R5R9RÍR RtCanPlayerLeaveFBtDoPlayerLeaveFBR't PlayerLeaveFB(R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¥ss9  c    Cs@tjƒj|ƒ}tjƒ}|jƒ}|dkrWtjd||jƒƒdStjƒrgdS|j    ƒ}d}t
j ddiƒ}||kr´t d||dƒ}nt
j ddƒ}||kr||kr|||krtjd||||f|jƒƒdSt ||ƒs,dStj||ƒdS(Nis%ChangeLine -> ·â°ü´íÎó, ÎÞ´ËÏß· = %sR§iisF¸ÃµØͼûÓпª·Å´ËÏß·£¬ÎÞ·¨ÊÖ¶¯Çл»£¡mapID=%s,changLineID=%s,maxLine=%s(RR/R0ROtIPY_CChangeLinetGetLineRR RR¤R4R5R+t__CheckCanChangLineR'tPlayerChangeLine(    R;RR R…t changLineIDRntactivityLineIDtactivityMapLineDictt mapLineDict((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt
ChangeLine”s,      (    cCsñ||jƒtjkr-tj|dƒtS|jƒ}|tjkrXtj    |ƒn#|tj
kr{tj|dƒtStj |ƒržtj|dƒtS|j ƒdkrÄtj|dƒtS|jƒtjkrítj|dƒtStS(NtPK_liubo_500807tGeRen_liubo_71563tGeRen_liubo_850801tGeRen_liubo_760310(t GetLoginTickRtDef_PlayerChangLine_TickR'RYR2RNROtpaSitRðtDef_PlayerChangLine_StatetIsPlayerInFightRÅRÆR—tDef_PlayerChangLine_VehicleR(R Rt playerAction((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR­½s& cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt    LineStateöscCs/tj|ƒdkr.|jƒtjkr.dS|tjtjgkrJdStj    ƒj
ƒ}|tj kr¼t j ddƒ}tjtj    ƒjƒƒ}||kr¬||S|jddƒS|jtjƒr+tj|tjƒd}|r+|jƒjƒ|jƒjƒkr(t j ddƒdSq+ndS(s ËÀÍö״̬²ÅÑé֤ʱ¼ä£¬±¾·þ¿ç·þͨÓÃ
            ¿ç·þ·þÎñÆ÷ËÀÍöµÄ¸´»îÒ²ÊÇÏÈ·¢µ½±¾·þ£¬Õý³£Çé¿öϱ¾·þÊÇ»î×ŵģ¬ÎÞ·¨ÑéÖ¤
            ËùÒÔ¿É·ñ¸´»îÓÉ¿ç·þ·þÎñÆ÷ËÀÍö״̬ϵÄÍæ¼ÒʵÀýÅжϣ¬¼òµ¥½²¾ÍÊÇÄĸö·þÎñÆ÷ËÀÍöµÄÄĸö·þÎñÆ÷ÅжÏ
            ËùÒԸú¯Êý¿ÉÒÔÖ±½ÓʹÓÃÍæ¼ÒËùÔڵĵØͼÅжÏ
    itDuplicatesRebornTimeitRebornArguments(RLRMRNRORPRRtrebornType_MainCityRRšR›RœR4R5RŽRR¤tgetRRÚR:t FindBuffByIDtDef_SkillID_ReviveTiredtGetSkillt
GetSkillLVt GetSkillMaxLV(R R0tmapTypetfbRebornTimeDictR³tfindBuff((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt GetRebronTime s"* $cCs_|jtjƒ}ttjƒƒ}tjd|td||ƒfƒtd||ƒ|kS(Ns¸´»îÀäȴʱ¼ä=%s,passTime=%si(RRRKtintttimeRR&R+(R t
rebornTimetplayerDeadTimeTicktcurGameWorldTick((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytCanRebornByTimeOver.s$cCst|rAtj|ƒdkrA|jƒtjkrAt||ƒdS|tjkrTdS|r¸|jƒ}|tj    tj
gkr¸|j ƒ r¸t j d|jƒ|f|jƒƒdSnt||ƒ}|r5ttjƒƒ}|jtjƒ}|||kr5tj|dƒt jd|||f|ƒdSnt jƒsZt||tƒsZdSntj||ƒspdStS(sÇ ¼ì²é¿É·ñ¸´»î£¬ÎªÁËÂß¼­Í³Ò»£¬ÕâÀï²»ÊÊÓÃÍæ¼ÒËùÔڵĵØͼ£¬Ö§³Ö¿ç·þ״̬ÏÂÅжϿç·þµØͼ
                ±¾º¯Êý²»ÑéÖ¤Íæ¼ÒËÀÍö״̬µÈ£¬ÒòΪÓпÉÄÜÇ°ºó¶Ë¸´»î״̬²»Ò»Ö£¬Èç¹ûÕâÀïÀ¹×¡¿ÉÄܵ¼ÖÂÇ°¶ËÌÉʬ¸´»î²»ÁË
    iNs*¸ÃµØͼ²»¿ÉÔ­µØ¸´»î! mapID=%s,rebornType=%stRebornCDsC¸´»îÀäȴʱ¼äÖУ¬ÎÞ·¨¸´»î! curTime(%s) - deadTime(%s) < rebornCD(%s)(RLRMRNRORPRêRtDef_RebornTypeListR:trebornType_HealthtrebornType_UseItemtGetLocalRebornRRR¤RÌRÍRÎRRKR'RYR9RRãR2Rt OnCanFBRebornR(R R0RáRÑR7trebornCDRTtdeadTime((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÓ9s00  %& c Csatj|ƒ}|jƒ}|tjkr¾tjddƒ}|d}tj|tj    |ƒ}|s|t
j d||ƒdS|r]x6|D]+\}}    tj |||    tj ƒs‰dSq‰Wq]nŸ|tjkr]|tjkr    tjddƒ}
tj||
tjƒ} ntj|tjƒ} | s8t
j d|ƒdS|r]tj|| dtdƒq]ntS(NRÁiis%»õ±Ò²»×㣬ÎÞ·¨Ô­µØ¸´»î! moneyPrice=%stCrossBattlefieldReborns¸´»îµÀ¾ß²»×㣬ÎÞ·¨Ô­µØ¸´»î! tReborn(R'RYR:RRÕR4R5t HaveMoneyExR"tTYPE_Price_Gold_Paper_MoneyRRR7tDef_Cost_ReviveRÖtDef_FBMapID_CrossBattlefieldR*RetFindItemInPackByItemIDROR^tFindItemInPackByEffectExtDef_Effect_ReborntDelItemR( R R0tisDoCostRÖR7t    rebornCfgt
moneyPricet costMoneyListt    moneyTypetmoneyCntt rebornItemIDt
rebornItem((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRãds0 
ic
 
Cs‚tj}t}|tjkrLtjƒr3t}qttj|tj    dƒn(|tj
krttj|tj    dƒn|j |ƒ|rtj |||ƒn|r¼t j|tj|ƒn|jtjƒrÞt||ƒntjddƒd}tj|ƒrtj|||ƒntj|ƒr@tj|||ƒntj|ƒ}|jƒtj|tj|ƒ|tjƒtj|tj|ƒƒtj ||ƒt!j"ƒ}    |tjkrÈ| st!j"ƒj#|j$ƒ|j%ƒƒ s|tj
kr!|    j&ƒ|j'ƒkr!|j(ƒn=|tj
kr^tj)||    j&ƒ|    j*ƒ|    j+ƒtƒnt,j-|ƒtj.|t/j0ƒdS(NiitPKConfigiiè(1RtDef_MaxRateValueR2RRtOnPlayerRebornRR'R(RRÂRÜtOnResetFBRebornPlacePosR:RRžRRÚRäR4R*RWt IsInPKStatetSetPKStateTickt IsInBossStatetSetBossStateTicktRefreshAllStateRLtSetHPtGetMaxHPt    SetProDeft GetMaxProDeftOnPlayerRebornOverRRšRR¦R¨RªR¤RtPlayerResetWorldPost GetRebornMapXt GetRebornMapYRgt AutoSummonPetR´RORµ(
R R0Rt mapBornPlacetisAddSuperBufftresetHpPercentt
isFBRebornt    validTimeRhRá((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÛ…sF          
$ %' . cCs£tj|tjƒd}|rY|jƒjƒ}|jƒjƒ|kr_|d}q_nd}tj|tj||ƒtj    d|ƒt
j |tj dƒdS(Niis    ¸´»îÆ£ÀÍBUff buffSkillLV=%s( R:RÄRRÅRÆRÇRÈRRR&R'R(RÚ(R RRËt buffSkillLV((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRäÆscCsatjƒ}t|||ƒs"dStjƒsGt||tƒsGdSnt|||||ƒtS(s Íæ¼Ò¸´»î
    N(RRšRÓRRãRRÛ(R R0RRÿRRá((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRQÔs  cCs<tjƒjƒ}|tjkr%dStj|||ƒdS(N(RRšR›RORœRt DoFBOnReborn(R R0RRÉ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRÏés
cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerUseMakeStovescCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytQueryFamilyWarPlan)scCsˆtjƒj|ƒ}||jtjƒtjtjkrOtj|dƒdS|j    tj|ƒ|j
tj |j ƒdddƒdS(Nt Old_hgg_31379tTruckPosRi( RR/R0RƒRtTYPE_Player_Tick_QueryTruckPosR…R'RYR†tGameServer_QueryPlayerByIDtqueryType_sqtTruckR;(R;RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt QueryTruckPosJs&"cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytMoveToTruckPoshscCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt FarIdentify‘scCs…tjƒj|ƒ}||jtjƒtjtjkr?dS|jtj|ƒtjƒj    ƒt
j krqdSt j ||ƒdS(N(RR/R0RƒRtTYPE_Player_Tick_FBStateR…R†RšR›RORœRt DoGetFBState(R;RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt
GetFBState¦s&cCsvtjƒj|ƒ}|jƒs%dS||jtjƒtjtjkrOdS|jtj|ƒt    j
||ƒdS(N( RR/R0RùRƒRtTYPE_Player_Tick_FBHelpR…R†RtDoFBHelp(R;RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytFBHelpÉs &cCs2tjƒj|ƒ}tj||j|jƒdS(N(RR/R0R'tPlayerEnterCrossServert    DataMapIDR£(R;R<RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnEnterCrossServerèscCstjtƒ||ƒdS(N(RR¸t__Func_EnterFbGameEvent(R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytEnterFbGameEventÿscCsPtjƒj|ƒ}tjƒ}|jƒ}|jƒ}tj|||ƒdS(N(    RR/R0ROtIPY_CEnterFbGameEventR¤R¢R't PlayerEnterFB(R;RR R…RntclientSendLineID((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRs    cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPointTransports;cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytFriendTransPortisc    Cs}tjƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}tjƒj    |ƒ}t
|||||||ƒdS(N( ROtIPY_CWorldTransferRÌR¤R¦R¨t GetExtField1RR/R0t__Func_WorldTransPort(    R;Rt packUseItemtpackTransportTypeRnR-R.tlineIDR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytWorldTransPort¹s      c
    Csntjƒj|ƒ}|j}|j}|j}|j}|j}|j}    t    ||||||||    ƒdS(N(
RR/R0RèR¥R£R§R©tExData1R"(
R;t
clientPackRR R$RnR%R-R.texData1((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPYWorldTransPortÑs                        c
CsÖ|jƒ|krR||jtjƒtjtjkr<dS|jtj|ƒn|jƒ}tjd||||f|ƒ|dkrdn|}tj    ƒrÁ|jƒ|kr¸dSd}n|tj
j ƒkrîtj d||ƒdStj
j |ƒ}    tj|ƒsdStj||ƒs)dSt|||||ƒ\}}||fd    krmtj|dƒdS|    tjkr t||    ƒ r t||    ƒ r dS|jtj|    ƒt||||d|d|ƒdS(
NsAWorldTransPort packTransportType=%s,mapID=%s,lineID=%s,exData1=%siÿiÿÿÿÿs-WorldTransPort packTransportType = %s, NoFindis#04BBF813-7A30-47A8-927DE1ACCC4F378ER%R)(ii(R¤RƒRtTYPE_Player_Tick_WorldTransportR…R†R:RR&RtDef_PackType_TransportTypeRlRRÃR'tCheckPlayerTransporttCheckTagCountrytGetTransportPosRYtDef_Transport_Type_MissiontTransportVipLvRestricttPayForTransportRStDef_PlayerKey_TransTypet
BeginTrans(
R R$RnR-R.RR%R)R7t transportType((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR"Üs>&          Rc        
Cs)tj|||||||||ƒ    tS(N(R'RûR2(    R RnR-R.t    takeTruckR%RtcanLockR)((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR4s%cCsX|jƒ|krNtjƒj||ƒsNtj||tjƒ\}}qNn||fS(N(R¤RRšRRRRR(R R5ttransportMapIDt transportPosXt transportPosY((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR/9s$cCsÃtjdƒ}|stSd}|jƒjtjƒ}tj|||ƒ\}}|s¦tjddƒ}t    |tj
||t j ƒs¿t jd||fƒtSntj||||tƒtS(Nt TransportPayiis=    ´«ËÍÏûºÄ´¦Àí ´«Ë͵À¾ß²»×ã itemID=%s, Ç®Ò²²»¹»costMoney=%s(R4R*RR]R_ROR^ReR_tTransportPayMoneyR\RtGMTool_Offline_WorldTransferRR&R2Rb(R R5RAtuseCountRlRotitemListt    costMoney((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR2UscCstj|tjƒS(N(RdtGetPrivilegeValueRtVIPPrivilege_FreeTransport(R R5((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR1ksc    CsŽtj|||ƒ}|gkr%tSxb|D]Z\}}|dkr,tj|||tji|d6ƒtj||dd||ƒq,q,WtS(Nit TransportType(    R'RÝR2R7RtDef_Cost_TransportRtLogin_Interface_GoldRecR(R RétmoneyR5tnoteMarkt    moneyList((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR<ys  cCs5tjƒj|ƒ}tj|ƒ}|jtƒdS(N(RR/R0R't
PlayerLvUpR(R;RR Rh((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerLvUpRequest˜s cCsdS(N((R;R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytDoubleExpState¯scCsStjƒj|ƒ}tjƒ}|jƒ}|jƒ}tj||||ƒdS(N(    RR/R0ROtIPY_CFBSpecilSkillRÌR°RtUseFBSpecilSkill(R;RR t fbSkillPacktuseTypetuseState((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRM·s
   c    Cs3tjƒrdStjdƒ}tjƒj|ƒ}|j}|j}|jt    |ƒƒ}|svtj
d|ƒdS|d}|j ƒ}    |}
|j ƒ} |    |krÅtj
d|    |fƒdS|
| krìtj
d|
| fƒdSt j|ƒ} |jƒ} tj|ƒ}t    t|dƒƒ}|d}t    |dƒ}t    t|dƒƒ}t j |ƒ}t j|||ƒ}|sŠdSxe|D]]\}}t j|||tji|
d6|d    6|tj6ƒs‘tj
d
t |fƒdSq‘W|j|ƒt    t| |
dƒƒ}|j|ƒ|jƒdS( NtOfflineSys_ExpChangesÀëÏß¾­Ñé¶Ò»»Ë÷Òý´íÎóindex=%sis=ÀëÏß¹Ò»ú·â°ü¶Ò»»¾­ÑéÒì³££¬Íæ¼ÒvipµÈ¼¶ %s, ÏÔʾµÄvipµÈ¼¶ %s £¬s5ÀëÏß¹Ò»ú·â°ü¶Ò»»¾­ÑéÒì³££¬¶Ò»»Ê±¼ä %s, ÀÛ»ýʱ¼ä %s £¬iit
ChangeTimetIndexs3¸ßЧÁ·¹¦£¬£¬½ðÇ®²»×ã##PlayerControl=%s,,moneyCnt=%s(RRRPRQR/R0RSt ExchangeTimeRÃRÍRRýtGetOfflineMinutesR'tGetPlayerReExpRzRtGetWorldAverageLvExpRatetevalRÝR7RtDef_Cost_OffLineExptDef_Cost_Reason_SonKeytAddExpR+tSetOfflineMinutestSyn_OfflineTimeQueryResult(R;t curPackDataRtOfflineExpChangeDictR tmulIndext exchangeTimetrecListtminVIPLvRþt
useMinutest haveMinutestrExptreLVtworldLvExpRatet    redeemExpt moneyInfoListRéR@Rht haveMoneyListRêt offlineTime((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytPlayerExpExchangeÓsR         
 
!  
cCsdS(N((R;R^R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytBuyMapSignCount#s$cCsdS(N((R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRgMscCsûtjƒj|ƒ}|j}tjj|ƒ}|dkrQtjd|ƒdS|j    t
j ƒ}|t d|ƒ@r‹tjd|ƒdS|j t
jƒdkr¸tjd|ƒdSd|}|jt
jdd|t|ƒƒ|jt
jdƒdS(    Ns Ã»ÓÐÕâ¸ö¼Ò×åÐüÉÍÈÎÎñ arrestID=%sis¸ÃÈÎÎñ½±ÀøÒѾ­ÁìÈ¡ arrestID=%sis$ÒѾ­ÔÚ²éѯÖÐ, ²»Öظ´²éѯ arrestID=%ss%sitFamilyArrestAward(RR/R0tArrestIDR"tDef_ArrestOverState_BitDicRÃRÆR&RRt&Def_Player_Dict_FamilyArrestAwardStateR7R\t$Def_PlayerKey_FamilyArrestQueryStateR tqueryType_FamilyArrestRgRS(R;R<RR tarrestIDtbitt receiveStatetsendMsg((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytReceiveFamilyArrestAwardds"     
"cCs#tjƒj|ƒ}t|ƒdS(N(RR/R0t"Sync_FamilyArrestAwardReceiveState(R;R<RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt"QueryFamilyArrestAwardReceiveStates
cCsEtjƒ}|jƒ|jtjƒ}||_tj||ƒdS(N(    Rkt tagFamilyArrestAwardReceiveStateRRRRrt ReceiveStateR'R((R tawardReceiveStatetstate((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRz™s  
    cCsg}xOtdtjƒD];}|jtj|ƒ}|dkrGqn|j|ƒqWt|ƒ}|jtj|j    ƒd|t
|ƒƒdS(NitRequestIsFamily( RyRt!Def_Player_RequestAddFamilyMaxCntRt"Def_Player_Dict_RequestAddFamilyIDRƒR6R tqueryType_RequestIsFamilyR Rg(R t familyIDListR;tfamilyIDRx((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytQueryIsResFamily¦s  cCs”tjƒ}|j|ƒ}tj|tjƒsMtj|dtjgƒdS|j    }t
|ƒ}tjƒj |j ƒddd|t |ƒƒdS(NtGeRen_chenxin_676165itPlayerGetReward(RR/R0RetCheckPackHasSpaceROR^R'RYt
RewardTypeR6RfR Rg(R;R<Rt playerManagerR t
rewardTypet
resultName((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytClientPlayerGetReward»s      cCstjƒ}|j|ƒ}|j}|j}|j}tjd|||fƒ|tjkrrt    j
||ƒnŸ|tj kr‘t    j |ƒn€|tj kr³tj||ƒn^|tjkrÒtj|ƒn?|tjkrôtj||ƒn|tjkrtj|ƒnþ|tjkr5tj||ƒnÜ|tjkrTtj|ƒn½|tjkrvtj ||ƒn›|tj!kr˜t"j#||ƒny|tj$krºt%j&||ƒnW|tj'krÜt(j)||ƒn5|tj*krt+j,|||ƒn|tj-kr&t.j/|||ƒnë|tj0krKt1j2|||ƒnÆ|tj3krpt4j5|||ƒn¡|tj6kr’t7j8||ƒn|tj9kr±t:j;|ƒn`|tj<krÓt:j=||ƒn>|tj>kròt?||ƒn|tj@krtAjB|ƒn|tjCkr3tDjE||ƒnÞ|tjFkrUtGjH||ƒn¼|tjIkrztJjK|||ƒn—|tjLkrŸtJjM|||ƒnr|tjNkrÄtOjP|||ƒnM|tjQkrãtRj;|ƒn.|tjSkrtRj=||ƒn |tjTkr*tUjV|||ƒnç|tjWkrOtUjX|||ƒnÂ|tjYkrqtZj[||ƒn |tj\kr“t]j^||ƒn~|tj_kr¸t`ja|||ƒnY|tjbkrÝtcjd|||ƒn4|tjekrtfjg|||ƒn|tjhkr$tijj||ƒní|tjkkrFtljm||ƒnË|tjnkrktojp|||ƒn¦|tjqkrtrjs|||ƒn|tjtkr²tujv||ƒn_|tjwkr×txjy|||ƒn:|tjzkrüt{j||||ƒn|tj}kr!t~j|||ƒnð|tj€krCt%j||ƒnÎ|tj‚krbtƒj„|ƒn¯|tj…kr‡t†j‡|||ƒnŠ|tjˆkr£t‰|ƒnn|tjŠkrÅt‹jŒ||ƒnL|tjkrçtŽj||ƒn*|tjkr t‘j’|||ƒn|tj“kr.t%j”||ƒnã|tj•krSt–j—|||ƒn¾|tj˜krut™jš||ƒnœ|tj›kr©tœ||tjtžjŸddƒƒnh|tj krÝtœ||tj¡tžjŸddƒƒn4|tj¢krtœ||tj£tžjŸddƒƒndS(Ns5PlayerGetReward: rewardType=%s,dataEx=%s,dataExStr=%stGameNoticeRewarditShareGameRewardtGoodGameReward(¤RR/R0RŠtDataExt    DataExStrR&RtDef_RewardType_ActivityRtGetActivityAwardtDef_RewardType_ActivityPlacetGetActivityPlaceRewardtDef_RewardType_GuajiR    tOnGetGuajiAwardtDef_RewardType_DayFreeGoldGiftR¯tOnGetDailyFreeGiftbagtDef_RewardType_FamilyActivityRAtGetFamilyActivityAwardt(Def_RewardType_ChampionFamilyDailyRewardtGameLogic_FamilyWartGetChampionFamilyDailyRewardtDef_RewardType_XMZZWinCntRÄtGetXMZZWinPrizetDef_RewardType_FamilyDayAwardtGetFamilyDayAwardtDef_RewardType_LVAwardRptGetPlayerLVAwardtDef_RewardType_XBXZR¼tOnGetXBXZAwardtDef_RewardType_GoldGiftFirstRstGetPlayerGoldGiftFirsttDef_RewardType_FreeGoodsRËtOnGetFreeGoodstDef_RewardType_CostRebateR¨tOnGetCostRebateAwardtDef_RewardType_TotalRechargeR©tOnGetTotalRechargeAwardtDef_RewardType_ManyDayRechargeRÝtOnGetManyDayRechargeAwardtDef_RewardType_SingleRechargeRÞtOnGetSingleRechargeAwardtDef_RewardType_BossRebornRÌtGetBossRebornActionAwardtDef_RewardType_FCRechargeRàtGetFCRechargeAwardtDef_RewardType_FCPartytGetFCPartyAwardtDef_RewardType_DownLoadtGetDownloadAwardtDef_RewardType_WishingWellRçtDoGetWishingAwardtDef_RewardType_OpenFuncRutGetFuncOpenAwardtDef_RewardType_IceLodeStartGameLogic_IceLodetGetIceLodeStarAwardtDef_RewardType_WeekPartyActRÏtGetWeekPartyActionAwardtDef_RewardType_WeekPartyPointtGetWeekPartyPointAwardtDef_RewardType_ActLoginAwardActR×tGetLoginAwardActionAwardt Def_RewardType_NewFairyCRechargeRátDef_RewardType_NewFairyCPartyt Def_RewardType_FeastWeekPartyActRÓtGetFeastWeekPartyActionAwardt"Def_RewardType_FeastWeekPartyPointtGetFeastWeekPartyPointAwardtDef_RewardType_FeastLoginRÔtGetFeastLoginAwardtDef_RewardType_FeastTravelRÖtGetFeastTravelAwardtDef_RewardType_ActLoginAwardNewRÒtOnGetActLoginAwardtDef_RewardType_ActBuyCountGiftRÐtOnGetBuyCountGiftAwardtDef_RewardType_ActTaskRÑtOnGetActTaskAwardt#Def_RewardType_CACTGBillboardDabiaoR¦tGetDabiaoAwardtDef_RewardType_CAAllRechargeR§tGetCrossActAllRechargeAwardt!Def_RewardType_CrossYaomoBossHurttPlayerCrossYaomoBosstGetCrossYaomoBossHurtAwardtDef_RewardType_GubaoItemEffRtGetGubaoItemEffAwardtDef_RewardType_SuccessScoreR”tGetSuccessScoreAwardtDef_RewardType_BuyOneR±tGetBuyOneFreeAwardtDef_RewardType_FamilyCTGAssistR²tGetFamilyCTGAssistAwardt#Def_RewardType_FairyAdventuresAwardRîtGetFairyAdventuresAwardt!Def_RewardType_HistoryChargeAwardtOnGetHistoryRechargeAwardtDef_RewardType_OnlineRechargeTHRrtOnGetOnlineRechargeTHt,Def_RewardType_SkyTowerServerChallengeRewardR4t"OnGetSkyTowerServerChallengeRewardtDef_RewardType_CreateRoletOnGetCreateRoleAwardtDef_RewardType_CustomAwardRôtOnGetCustomAwardtDef_RewardType_RealmXXZLRVt GetXXZLAwardtDef_RewardType_FamilyBossHurttGameLogic_FamilyBosstGetFamilyBossHurtAwardtDef_RewardType_DailyPackBuyGifttGetDailyPackBuyGifttDef_RewardType_ZhanlingRtGetZhanlingRewardtDef_RewardType_MineTreasureRtGetMineTreasureAwardRøtOnGiveAwardByClientRöR4R5RúRùRüRû(R;R<RR‹R RŒtdataExt    dataExStr((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRˆ×sî              %%%cCsf|jtjƒr#tjdƒdStj|tjdƒƒsBdSt    j
|tjdƒt |ƒdS(NsÒÑÁìÈ¡´´½Ç½±Àø!tCreateRoleAwardi( RRtDef_PDict_CreateRoleAwardStateRR&Ret GiveAwardItemR4R5R'R(Ró(R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRòŒs 
cCs?tjƒ}|jƒ|jtjƒ|_tj||ƒdS(N(    RkttagMCCreateRoleAwardStateRRRRR°R'R((R R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRó™s
 
cCsg|j|ƒr*tjd||fƒdStj||ƒs@dStj||dƒt||dƒdS(Ns)ÒÑÁìÈ¡¹ý¸Ã½±Àø! rewardType=%s, dictKey=%si(RRR&ReRR'R(R÷(R RŒtdictKeytawardCfg((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR scCs<tjƒ}|jƒ||_||_tj||ƒdS(N(RkttagMCPlayerRewardGetRecordRRŠtRewardGetRecordR'R((R RŒtrewardGetRecordR…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR÷°s  
        cCsŒtjƒj|ƒ}t|jƒ}tjdƒ\}}}|jddg|ƒ}d}    x:t|ƒD],\}
} t    j
|t j |    |
f| ƒqhW|jddg|ƒ} d}    x:t| ƒD],\}
} t    j
|t j |    |
f| ƒqÄW|jddg|ƒ} d}    x:t| ƒD],\}
} t    j
|t j |    |
f| ƒq Wd}    |j|    dƒ} t    j
|t j |    df| ƒdS(NtAutoFightSettingt
BasicSkillit    AreaSkillR°tHPPackagePercent( RR/R0RXtDataRPRQRÃRIR'R(RtDef_PDict_AutoFightSetting(R;R<RR t settingDicttBasicSkillCounttAreaSkillCounttBuffSkillCounttBasicSkillListtKeyt
ValueIndextValuet AreaSkillListt BuffSkillList((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnSaveAutoFightSetting»s&$$$ c Cs¡tjdƒ\}}}i}d}g}x@t|ƒD]2}|jtj||fdƒ}|j|ƒq7W|||<d}g}    x@t|ƒD]2}|jtj||fdƒ}|    j|ƒqW|    ||<d}g}
x@t|ƒD]2}|jtj||fdƒ}|
j|ƒqéW|
||<d}|jtj|dfdƒ}|||<tjƒ} | j    ƒd|| _
t | j
ƒ| _ t j|| ƒdS(NR R iRR°Rs%s(RPRQRaRRRRƒRkttagMCAutoFightSettingRRRgtSizeR'R(( R RRRRRRRRRRR…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytSync_AutoFightSettingÙs:
 
 
 
 
 cCs3tjƒj|ƒ}|sdStj||ƒdS(N(RR/R0R´tOnQueryBossHurtList(R;R<RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR s
cCs    tjƒj|ƒ}|sdS|jsutj}||j|ƒtj|krbtjdƒdS|j    ||ƒn|j
}|j }|j }g}|ryt |j ƒ}Wn&tk
r×tjd|j ƒdSXt|tƒstjdt|ƒƒdSntjd||t|ƒfƒtjƒjƒ}    |    |krÊtj||ƒ}
tj|ƒ} | j|ƒ} d} | rŽ| jƒ} ntjd|    || t|
ƒfƒtj||| |
ƒn;dt|||gƒ}|jtjdd|t|ƒƒdS(    Ns OnQueryMapNPCInfo ²éѯ¹ýÓÚƵ·±£¡sOnQueryMapNPCInfo, npcIDList=%ss-OnQueryMapNPCInfo, npcIDList=%s is not list£¡s7OnQueryMapNPCInfo tagMapID=%s,tagLineID=%s,npcIDList=%sisB    Í¬µØͼ²éѯcurMapID=%s,tagLineID=%s,playerCnt=%s,npcInfoDict=%ss%stNPCInfo(RR/R0t IsNoTimeLimitRt TYPE_Player_Tick_QueryMapNPCInfoRƒR…R&R†R¥R£t    NPCIDListRXt BaseExceptionRt
isinstancetlistR6RšR¤R‹t
GetNPCInfoROt GetMapCopyPlayerManagerByFbIndextGetPlayerCountt SyncNPCInfoR tqueryType_NPCInfoRg(R;R<RR ttickTypettagMapIDt    tagLineIDt queryNPCStrt    npcIDListR³t npcInfoDictR\R‹t    playerCntRx((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnQueryMapNPCInfo sN                                c Cs©tjƒj|ƒ}|sdS|jsTtj|tj|ƒsTtjdƒdSn|j}|j    }|j
}g}|räyt |j
ƒ}Wn&t k
r¶tj d|j
ƒdSXt|tƒsätj dt|ƒƒdSntjd||t|ƒfƒtjƒjƒ}||krjtj||ƒ}    tjd||t|    ƒfƒtj|||    ƒn;dt|||gƒ}
|jtjdd|
t|
ƒƒdS(    Ns#OnQueryMapNPCCntInfo ²éѯ¹ýÓÚƵ·±£¡s"OnQueryMapNPCCntInfo, npcIDList=%ss0OnQueryMapNPCCntInfo, npcIDList=%s is not list£¡s:OnQueryMapNPCCntInfo tagMapID=%s,tagLineID=%s,npcIDList=%ss5    Í¬µØͼ²éѯcurMapID=%s,tagLineID=%s,npcInfoDict=%ss%sitNPCCnt(RR/R0R"tCheckPlayerTickRR#R&R¥R£R$RXR%RR&R'R6RšR¤R‹t GetNPCCntInfotSyncNPCCntInfoR tqueryType_NPCCntRg( R;R<RR R.R/R0R1R³R2Rx((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnQueryMapNPCCntInfoLs@                           cCs#tjƒj|ƒ}|jƒdS(N(RR/R0R³(R;R<RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytQueryWorldTick{s
cCs£tjƒ}|sdStjƒ}|jƒ|j|_|j|_|j    |_
|j |_ |j |_|j|_|j|_tjƒ|_tj||ƒdS(N(RRORkttagServerDateTimeRtyeartYeartmonthtMonthtdaytDaythourtHourtminutetMinutetsecondtSecondt microsecondt    MicSecondtGetCrossServerTimeStrtCrossServerTimeR'R((R t
serverTimetserverDateTime((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR,…s  
       cCstjƒ}|sdStjƒ}tjƒ}|jƒ|jtjƒ|_    |jtj
ƒ|_ |jtj ƒ|_ |jtjƒ|_|j|_|j|_|j|_|j|_|j|_|j|_|j|_tjƒ|_t j!||ƒdS(N("RROR RkttagOpenServerDayRR!R"tDef_Notify_WorldKey_ServerDayRBR#t IsMixServert Def_Notify_WorldKey_MixServerDaytMixDayt%Def_Notify_WorldKey_OpenServerWeekdayt OpenWeekdayR=tNowYearR?tNowMonthRAtNowDayRCtNowHourREt    NowMinuteRGt    NowSecondRIt NowMicSecondt GetWeekOfYeart
WeekOfYearR'R((R RMtgwtpackData((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR-s(   
       cCstjƒj|ƒ}|jtjƒtjkr4dSt|||ƒsÿ|jƒ|j    ƒ}}tj
ƒj ||ƒt krìt j||dƒ}|jƒ|krÑ|j    ƒ|krÑtjd||fƒdS|jƒ}|j    ƒ}n|j||ƒndS(NisÍæ¼Ò×ø±ê¿¨ËÀ %s %s(RR/R0RRRŒRtPYPlayerNormalMoveR¦R¨RšRRRtGetEmptyPlaceInAreaRR(R;R(RR R-R.t    resultPos((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt PYPlayerMoveÄs $ tPYMoveDistCalcTickt PYMoveDistSumc Cst|ƒstS|j}|j}|j}|j}|j}|j}|j}    |j    ƒ}
|    dkr’||
dkr’t
j d||
fƒtSt
j ƒj ||ƒs»t
j dƒtS|jƒ|krL|jƒ|krL|jt|ƒ|jtdƒ|    dkr||
dkrtS|j|ƒt|||||||    ƒtSt
j ƒjƒtjkr†tj||||ƒs†tSn|jƒ} | tjtjgkr®tStj||||ƒsÔ|j ƒtSt
j!|jƒ|jƒ||ƒ} | dkr:t
j d|jƒ|jƒ||f|j"ƒƒtS|j#tƒ} t$|j#tƒ| dƒ}|jt|ƒ|t%j&d    d
ƒkr&|j'ƒ}|| }||}|t%j&d    d ƒd }||krt
j d | |||||f|j"ƒƒtS|jt|ƒ|jtdƒn|j(ƒtj)krNt*j+||ƒntj,|tj-ƒ|j.||ƒt|||||||    ƒ|j|ƒ|j/ƒj0ƒ}|rý|    dksÔ||j1ƒdkrýt2j3|||ƒ|j4tj5ƒqýntS(Nii2smove ·¢°üÌ«¿ì ÊÕ°ü%s - ÉÏÒ»´Î%ss
Òƶ¯ÕÏ°­µãiÞis)Òƶ¯¾àÀë¹ý´ó£¬ Íæ¼Ò×ø±ê %s-%s  ÊÕ°ü %s-%siáõt PyMoveCheckiigY@sU    dist=%s,distSum=%s,speed=%s,needTick=%s, ËùÐèÒƶ¯Ê±¼äÒì³£ passCalcTick(%s) < (%s)i,(6RyRtDirt
ClientPosXt
ClientPosYt    SeverPosXt    SeverPosYR–R€tGetClientMoveTickRR&RšRR2R¦R¨RStMoveDistCalcTickt MoveDistSumtSetClientMoveTicktPyNotifyPlayerMoveR›RORœRR®R—R˜RR'R²R³RˆR R\tminR4R*tGetSpeedRNR•R–R—R´RµR{R›Rœt GetActionTickR`Rt SetCurActiont    laNPCNull(R R(RtmoveDirt
clientPosXt
clientPosYtsendPack_SeverPosXtsendPack_SeverPosYR¢tmoveTypet lastMoveTickR£tdisttcalcTicktdistSumtspeedt passCalcTicktneedTickt checkNeedTickR¤((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRaÜs€                               $  
$  
 
     # "cCstjƒ}|jƒ|jƒ|_tj|_||_||_    ||_
||_ ||_ |j ƒ|_||_tj||tdƒdS(Ni(RkttagMCPYPlayerMoveRR tObjIDROt    gotPlayerRRhRiRjRkRlRstSpeedR€R'RR2(R RwRxRyR-R.R|R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRqXs 
                         cCsÀ|jƒ}tjddƒ}|jtjƒ}||krZtjd||f|ƒdStjddƒ}|svdSt    j
|tj|ƒtjd||f|ƒt    j d|g|ƒdS(Nt
DownRewardis:ÒÑ·¢·ÅÏÂÔز¹¶¡°ü½±Àø! curAwardNum(%s) == patchAwardNum(%s)is3·¢·Å²¹¶¡°üÏÂÔؽ±Àø: curAwardNum=%s,patchAwardNum=%stDownloadPatchAward( R:R4R*RRtDef_PDict_DownloadPatchAwardRR&R5R'R(R2(R R7t patchAwardNumt curAwardNumt awardItemList((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR\is  c Csk|jƒ}tjddƒ}|jtjƒ}||krZtjd||f|ƒdStjddƒ}|svdS|dkrÉt    |ƒ}t
j |t j |ƒ}||krÉtj|dƒdSntj|tj|ƒtjd||f|ƒ|dkr$tjd|jƒg|ƒn9x6|D].\}}    }
tj|||    dt j gƒq+Wt|ƒdS(    NR‰is7ÒÑÁìÈ¡·Ö°ü½±Àø! curAwardNum(%s) == downloadAwardNum(%s)iitGeRen_chenxin_998371s4ÁìÈ¡·Ö°üÏÂÔؽ±Àø: curAwardNum=%s,downloadAwardNum=%stSubpackageDownload(R:R4R*RRtDef_PDict_DownloadAwardStateRR&R5RgRetGetItemPackSpaceROR^R'RYR(R2R RKtGivePlayerItemRâ( R RR7tdownloadAwardNumRRŽt    needSpacet    packSpaceRAtitemCntRC((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyR¼{s.      #
cCsWtjddƒ}tjƒ}|jƒ|jtjƒ|k|_t    j
||ƒdS(NR‰i( R4R*RkttagMCPackDownloadRecordRRRR‘tRecordR'R((R R”R…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyRâšs  
cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(s»Í¨ÖªÇ°¶ËÏòij¸öµãÒƶ¯
                ÕâÀïÇ°¶Ë¿ÉÄÜÐèÒªÕë¶Ôij´ÎÒƶ¯×ö¶îÍâ´¦Àí£¬±ÈÈçÒƶ¯µ½Ä³¸öµãºóÐèÒª×Ô¶¯Õ½¶·µÈ
                ËùÒÔÕâÀïÖ»×ö֪ͨǰ¶Ë¿ÉÒÔÏòij¸öµãÒƶ¯£¬×îÖÕÒƶ¯ÓÉÇ°¶Ë·¢Æð
    N(RkttagMCNotifyPlayerMoveRR§R©tNPCIDR'R((R R-R.tnpcIDR…((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytNotifyPlayerMove£s 
            cCstjƒj|ƒ}|j|jtj}tj|ƒ}||}|dkrmt    j    |ƒ}|j
ƒntj ||ƒdS(Ni( RR/R0tLostHPtLostHPExR"tDef_PerPointValueRLRMR'tSetDeadRö(R;R<RR tlostHPtcurHPtupdHPRh((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt OnRoleLostHP¸s
  cCs,tjƒj|ƒ}tj||jƒdS(N(RR/R0R'R¢tRealmDifficulty(R;R<RR ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pytOnSelectRealmDifficultyÍs(FRWRORR'RRRR°RRCR|RÊR‹R–R:RRµReRKR^R¾R RPR`RŽR"RºRnR'RkRtR#RXRzRÆRpRsRwRgRVRARƒRTRR‘RRŽRæR´RçR’R”R™RËR›RÂR4RÇR`RìRíRîRŸR R¡RuR¼RøR‡RŸRÌRÏRÓRÖRÔRÕR×RR‰R·R¹R4R>R…RdRfR!RÀRÂt    PlayerTJGRÄR°R®R¯R¨R±R¬R³R©R«RØRÙRÚRÛRÜR²RªRÝRÞRÎRÍR­RàRáRñRßRºR¢RèRdR¦R§RõRßRòRZRæRåRëRÊR£R«RrRbR–RäRR^R~RïRRRôRR€R#R—RLRER    RRÒRÐRÑtdatetimeRÎtmathtreRRRR,RDRIRjRKR5R1RR[RWRLRWRRRSR9RQRPRVRZR<R™R¨RÈR¹RÂRÁR8RëRéRøR÷R]R6RýR    RERXRtR¥R‚RŠR¥R§R¦RyR¯RR™RÉRÈRÐRÍRÕRÞRêRëRíRìR÷RùRÿRøRRR#R&RêR3RéRBRJRJRKROR¸RºRbRhRoRlRyR{RzRŒR’R“R•R”R™R˜R›RœRRžR¤R¦R¥R³R­R¿RÌRÒRÆRÓRãRÛRäRQRÏRRR RRRRRRRRRR&R*R"R2R4R/R2R1R<RJRKRMRmRnRgRyR{RzR†RŽRˆRòRóRR÷RRR R4R:R;R,R-RdRnRoRaRqR\R¼RâRR¥R§(((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\ChPlayer.pyt<module>s†                                                                                                                                                                          $        %              &    ž        ÿŸ    "         O                      9                    1    H            
        
    T    8    
        
    Ò                 <         &    4 !    $    :    r            Y    +    V ]            _                        .            P    7                I                            "        
                 !        #    #    #        )    '            ]        '                                 6    L    h    2         
    !    )    9        #     +    !A            '    !        )        #                        K    P         B                                P    *        ,                         µ                          (         @    /    
        '        |