hxp
2025-07-23 f208dfcb9b5f19d7be220e158d41facf1f39e841
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
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
)U€hc    @sF 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@ddlAZAejBƒaCdZDdZEd„ZFeGdd„ZHd„ZIgd„ZJgdddgd    „ZKgd
„ZLgd „ZMd „ZNgd „ZOgd„ZPgd„ZQgd„ZRd„ZSgd„ZTggggggejUeVd„ZWgddddejUeVd„ZXd„ZYd„ZZd„Z[d„Z\d„Z]d„Z^dd„Z_eVd„Z`d„Zad„Zbd „Zcd!„Zdd"„Zed#„Zfd$„Zgd%„Zhd&„Zid'„Zjd(„Zkd)„ZleGd*„Zmd+„Znd,„ZoeVd-„Zpd.„Zqd/„Zrd0„Zsd1„Ztd2„Zud3„Zvd4„Zwd5„Zxd6„Zyd7„Zzd8„Z{d9„Z|d:„Z}d;„Z~d<„Zd=„Z€d>„Zd?„Z‚ddeƒd@„Z„gdA„Z…eGeVdB„Z†dC„Z‡dD„ZˆddeGdeVdE„Z‰dF„ZŠdG„Z‹dH„ZŒddeGddI„ZddJ„ZŽeƒdK„ZdL„ZdM„Z‘dN„Z’dO„Z“ej”eVdP„Z•dQ„Z–dR„Z—dS„Z˜dT„Z™dU„ZšdV„Z›dW„ZœdX„ZddY„ZždZ„ZŸeƒd[„Z eGd\„Z¡d]„Z¢eGd^„Z£ej¤iddeGeVd_„Z¥d`„Z¦da„Z§ddb„Z¨dc„Z©dd„Zªde„Z«ej¬ieGeGdf„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½dwfdx„ƒYZ¾dy„Z¿dz„ZÀd{„ZÁd|„ZÂeGd}„ZÃeGd~„ZÄd„ZÅd€„ZÆd„ZÇd‚„ZÈdƒ„ZÉd„„ZÊeVeGd…„ZËddd†„ZÌd‡„ZÍdˆ„ZÎd‰„ZÏeƒdŠ„ZÐeVd‹„ZÑdŒ„ZÒd„ZÓdŽ„ZÔd„ZÕd„ZÖd‘„Z×d’„ZØd“„ZÙdd”„ZÚd•„ZÛd–„ZÜd—„ZÝdddd˜„ZÞd™„Zßddš„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º„Zd»„Zd¼„Zd½„Zd¾„Zd¿„ZdÀ„ZdÁ„Zd„ZdÄZ    dĄZ
dńZ dƄZ dDŽZ dȄZdɄZdʄZd˄Zd̄ZeVeGdÍdd΄ZdÍddτZdЄZdфZd҄ZdӄZdԄZdՄZdքZdׄZd؄ZdلZdڄZdۄZ d܄Z!d݄Z"dބZ#eƒ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ý„ZBdþ„ZCeƒeƒdÿ„ZDd„ZEd„ZFdd„ZGdd„ZHd„ZIdS(iÿÿÿÿNiic
Cs·tjƒjƒ}d}t||ƒ|kr\|jƒtjd||f|jƒƒtS||jdƒdkr•|j    dƒ|j
d|ƒn|j ƒ}||krôtjd|j ƒƒ|j ƒ}|j    |dƒ|dkrôtSntj|jƒ|jƒ||ƒ}tj||t|jƒƒƒd    }    ||    kr³tjd
||jƒ|jƒ||g|    ||fƒ|j ƒ}|j    |dƒ|dkr³tSntS( NiˆsZPlayerMoveCheckClientWorldTick -- ·þÎñÆ÷tick %s-¿Í»§¶Ë%sʱ¼äÏà²î¹ý´ó£¬¿ÉÄÜÒòÍøÂçÒýÆð£¬À­»Øt    CheckTicki`êis/---clientWorldTick < lastMoveTick: %s, TickÌ«Âýiiis>¾àÀë²î%s ×ø±êS/C:%s---ÑéÖ¤Á½´Îtick¼ä¿ÉÄܲúÉúµÄ×ø±ê²î%s %s - %s(t    GameWorldt GetGameWorldtGetTicktabstSync_ClientTicktDebugLogtGetIDtFalset GetDictByKeyt SetMoveCounttSetDicttGetClientMoveTicktGetAccIDt GetMoveCounttGetDisttGetPosXtGetPosYtmathtceiltfloattGetSpeedtTrue(
t    curPlayertclientWorldTickt sendPack_PosXt sendPack_PosYt gameWorldTicktDef_Max_Move_Tickt lastMoveTickterrCnttdistt canMoveDist((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerMoveCheckClientWorldTickas6
         $' #  icCs;|dkrd}n|j|jƒ|jƒ||ƒdS(Niÿÿÿÿi(t    NotifyAllt    GetBuffert    GetLength(RtsendPackt
notifySelft    notifyCnt((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PyNotifyAll”s     cCsä|jƒ}|jƒ}|jƒ}tjƒj||ƒr@tStj||dƒ}|jƒ}|jƒ}||kr¬||kr¬|j    ƒtj
d||f|ƒn4|j ||ƒ|j    ƒtj
d||f|ƒt S(Nis Íæ¼ÒÎÞ·¿É×ß, ´ò»ØÖØÉúµã!(%d,%d)s"Íæ¼ÒÕ¾ÔÚÕϰ­µãÖÐ, Í£Ö¹Òƶ¯ (%d,%d)( RRRRtGetMaptCanMoveRtGameMaptGetEmptyPlaceInAreatStopMovetLogtResetPosR(Rt curPlayerPosXt curPlayerPosYt curPlayerIDt
curFindPost curFindPosXt curFindPosY((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoLogic_PlayerInBarrierPoint¡s     
 
cCs7|dkrtjdƒdS|j|t|ƒƒdS(NsNotifyCode Player = None(tNoneRtErrLogt
NotifyCodet__GetNotifyCodeList(RtmsgMarkt msgParamList((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR9Çs
  c
Csatjƒ}xNt|jƒƒD]:}|j|ƒ}    tj|    ƒsIqnt|    ||ƒqWdS(N(RtGetPlayerManagertxranget OnlineCounttOnlineAttIsNormalPlayerR9(
tcountryR;R<tlineIDt mergeMinOSDt mergeMaxOSDt mergeMapInfot playerManagertiR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt WorldNotifyØs cCsitjd6|||gd6S(NtTypetParams(t ShareDefinetCrossNotify_World(RBR;R<((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCrossWorldNotifyInfoâscCsitjd6|||gd6S(NRJRK(RLtCrossNotify_Family(tfamilyIDR;R<((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCrossFamilyNotifyInfoåscCs>t||gƒ}tjƒjdddd|t|ƒƒdS(sò ¿ç·þ¹ã²¥ÐÅÏ¢Ìáʾ£¬Ö§³Öͬ²½¶àÌõ£¬Í¬Ê±Ò²½¨Òé¶àÌõÒ»Æðͬ²½
    @param serverGroupIDList: ÐèҪͬ²½µ½µÄÄ¿±ê·þÎñÆ÷×éIDÁбí
    @param crossNotifyList: ÐÅÏ¢ÌáʾÁÐ±í£¬Í¨¹ý GetCrossWorldNotifyInfo GetCrossFamilyNotifyInfo º¯Êý»ñµÃ·µ»ØÖµÌí¼Óµ½Áбí
    it CrossNotifyN(tstrRR=tGameServer_QueryPlayerResulttlen(tserverGroupIDListtcrossNotifyListtsendMsg((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRRès(cCstj|||ƒdS(N(t PlayerFamilytNotifyAllFamilyMemberMsg(RPR;R<((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt FamilyNotifyøscCs tjƒj|t|ƒƒdS(N(RtGetMapCopyPlayerManagertBroadcastFB_NotifyCodeR:(R;R<((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBNotifyscCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RR\R>tGetPlayerCounttGetPlayerByIndexR7tIsEmptyt
GetFactionR9(tfactionR;R<tcopyMapPlayerManagerRHR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifySelfs cCstjƒ}xlt|jƒƒD]X}|j|ƒ}|dks|jƒrRqn|jƒ|krt|||ƒqqWdS(N(    RR\R>R_R`R7RaRbR9(RcR;R<RdRHR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifyOthers cCstjƒ}x|t|jƒƒD]h}|j|ƒ}|dks|jƒrRqn|jƒ|krwt|||ƒqt|||ƒqWdS(N(    RR\R>R_R`R7RaRbR9(Rct selfMsgMarktselfMsgParamListt otherMsgMarktotherMsgParamListRdRHR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytFBFactionNotifys cCsL|dkrdSd||f}tjƒjdd|d|t|ƒƒdS(Nis
("%s", %s)t
TeamNotify(RR=RTRU(tteamIDR;R<RX((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRl/s
 (c
 
CsdS(N((
t mailTypeKeytbatchPlayerIDListtbatchAddItemListtbatchParamListt    batchGoldtbatchGoldPapert batchSilvert batchDetailt moneySourcet    crossMail((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SendMailBatch8stc
Cs+x$|D]}
tj||
||ƒqWdS(N(t
PlayerMailt SendMailByKey( Rnt playerIDListt addItemListt    paramListtgoldt    goldPapertsilvertdetailRvRwtplayerID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR{>s cCs†tjƒ|stSxk|D]c}t|ƒ}|tjkrLtj|ƒq|tjkrqtjt|ƒƒqtj|ƒqWtS(N(    tNotifyCodeListtClearttypettypestIntTypetAddInttLongTypetAddStrRS(R<tmsgtitemPythonType((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR:Hs
  cCs\|jƒ}|dks$|dkr(dStj|ƒ}tjtjƒƒ}tj||ƒS(NRyt0i(t GetLogoffTimeRtGetDateTimeByStrtGetCurrentDataTimeStrtGetDiff_Minute(Rt logoffTimeStrt
logoffTimet    loginTime((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerMinuteas  cCsp|jƒ}|dks$|dkr(dStj|ƒ}tjtjƒƒ}||}|jddd|jS(NRyRŽiii<(RRRR‘tdaystseconds(RR“R”R•t    diff_Time((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerSecondqs 
cCs‰|jƒ}|dks$|dkr(dS|jƒd}tjƒjƒd}tj|tjƒ}tj|tjƒ}||}|jS(NRyRŽi(RtsplitRR‘RtChConfigtTYPE_Time_Format_DayR—(RR“t loginTimeStrR”R•tdiffTime((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLastLeaveServerPastDayƒs 
cCsÖtj|ƒdkrtSt|ƒs)tStjƒjƒtjkr|tjƒj    ƒt
j ddƒkr|t |dƒtSntj ƒ r¦t|ƒr¦t |dƒtS|jtjƒrÒtjd|jƒƒtStS(NitDungeonDeliveritCarry_lhs_844170t
CrossMap10s¿Í»§¶Ë×Ô¶¨Ò峡¾°ÏÂÎÞ·¨´«ËÍ!(tGameObjtGetHPRtCheckTransStateRR)t GetMapFBTypet IPY_GameWorldtfbtNulltGetMapIDt IpyGameDataPYtGetFuncEvalCfgR9t IsCrossServert GetCrossMapIDR    RœtDef_PlayerKey_ClientCustomSceneR.t GetPlayerIDR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckPlayerTransport™s $  cCsh|dkrtS|jƒjtjƒ}|jtjƒ}|rQ|jƒ rQtSt|d|gƒt    S(NiL'tGeRen_lhs_861048(
RtGetItemManagertGetPackR¨trptEquiptGetAttretWingRaR9R(Rt    destMapIDt playerEquiptcurEquip((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckEquipCanTrans·s cCsut|ƒ|jƒt|tƒ|j|ƒ|j|ƒ|j|ƒ|jƒtj    ƒj
ƒ}t ||ƒdS(N( tExitPlayerConfrontingR-tSetIsNeedProcessRtSetPrepareTimetSetPrepareStatet SetPrepareIDtSync_PrepareBeginRRRtDelLimitSuperBuff(Rt prepareTimet prepareTypet    prepareIDttick((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÁÏs
 
 
 cCsð|jƒ}||krdSt|ƒ|tjkrBt|ƒn|tjkr‘| r‘|tjtjgkr‘t    j
d||j ƒƒdSn|tj kr­t |ƒn|j|ƒ|tjkrÍdSt    jƒjƒ}t||ƒdS(Ns²»Ç¿ÖÆ×ª»»×´Ì¬ %s(tGetPlayerActiont DoPlayerStandRœtDef_PlayerCancelConfrontingR¼R¨tpaEventtpaNulltpaAttackRRRt paPreparingtDoExitPreparingtSetPlayerActionRRRÂ(Rt changeActiont forceChangetcurPlayerActionRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytChangePlayerActionès$  
    cCsÉtj|ƒ|jƒ}|dkr?tjd|jƒƒdS|jƒtj    krntjd|jƒƒdStj
ƒj |j ƒƒ}|dkr¯tjd|jƒƒdS|j ƒ}|jƒdS(NsDoExitPreparing -> Ã»ÓÐÄ¿±êsDoExitPreparing -> ²É¼¯¶ÔÏó²»¶ÔsDoExitPreparing ->ûÓÐÕâ¸öNPC(t    NPCCommontClearCollectNPCt GetActionObjR7RR.R°tGetGameObjTypeR¨tgotNPCt GetNPCManagert GetNPCByIndextGetIndextGetPlayerHurtListR…(RttagObjtcurNPCtcurNPC_HurtList((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÎ s     
cCsOt||ƒrdS|jtjƒ}|td|ƒB}t|tj|ƒdS(Ni(tGetPyPlayerActiontNomalDictGetPropertyRœtDef_Player_Dict_PyPlayerActiontpowtNomalDictSetProperty(RRÐtstate((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytChangePyPlayerAction)s cCs/|jtjƒ}|td|ƒ@}|dkS(Nii(RáRœRâRã(Rtactiont receiveStateRå((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRà9scCstj|tjdƒdS(Ni(t PlayerControlRäRœRâ(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytClearPyPlayerActionCscCsA|jƒ}||krdS|j|ƒtj|d|ƒdS(NsÉèÖÃÍæ¼ÒÊÇ·ñ¼¤»î:%s(tGetIsNeedProcessR½RtGodLog(Rt isNeedProcesstcurPlayerIsNeedProcess((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR½Ns    cCs|jƒtjkrtStS(N(RÇR¨RÌRR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsPlayerInFight]scCsdS(N((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAutoEnterPlayerConfrontingpscCsdS(N((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¼‡scCs    |jƒtjkrdS|jƒtjtjgkr;dS|jƒ}|dkrWdS|j    ƒtj
krpdSt j ƒj |jƒƒ}|dkr›dS|jƒ}tjd|ƒ}|sÃdS|jƒsÓdSt|tjƒ|jƒdkr|jdƒndS(Nt
CollectNPC(RÇR¨RÍtGetPrepareStatetpstMissionCollectingRLtDef_PstProduceRÖR7R×RØRRÙRÚRÛtGetNPCIDR«tGetIpyGameDataNotLogtGetCanBreakCollectRÓRËt SetActionObj(RRÝRÞtnpcIDtcollectNPCIpyData((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytBreakPlayerCollectœs,     cCs>|jƒtjkrdS|jƒt|tƒ|jƒdS(N(RÇR¨tpaSitR-R½RtSit(RRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt DoPlayerSitÒs 
 
cCs'|jƒtjkrdS|jƒdS(N(RÇR¨RütStand(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÈés
cCs6|jƒ|j|jtjƒ|jtjƒƒdS(N(R-tSetDeadR    RœtDef_NPCDead_KillerIDtDef_NPCDead_KillerType(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt DoPlayerDeadøs
c Csß|jƒs&tjd|jƒƒtS|jƒsLtjd|jƒƒtStjƒ}t}|j||ƒtkr#t    j
||t j ƒ}|j ƒ|krÖ|jƒ|krÖtjd||f|jƒƒtStjd|||j ƒ|jƒf|jƒƒ|j ƒ}|jƒ}n|j ƒ}|jƒ}    tj||||    ƒ}
|
dkryt|||||ƒtSt}tjd||||    |
fƒ|}|    }t|||||ƒtSt|||||ƒtS(NsµØÍ¼Ã»ÓжÁÈ¡³É¹¦, Ë¢ÐÂʧ°ÜsûÓÐËٶȲ»ÄÜË¢ÐÂ×ø±ê!s6Íæ¼ÒÖØÖÃλÖÃʧ°Ü, °ÑÍæ¼Ò´ò»ØÖØÉúµã posX = %s posY = %ssX×ø±ê´íÎ󣬼ì²éÍæ¼ÒͣϵÄ×ø±êÊÇ·ñÕýÈ· posX = %d, posY = %d, ÖØÖÃλÖÃ:posX = %d, posY = %dis+Client=(%s,%s), Server=(%s,%s), ²îÒì¾àÀë=%s(t GetMapLoadOKRR.R°RRR)R*RR+R,RœtDef_DropItemDistRRRt__FixPlayerPosR( RtcheckObjtposXtposYtcanChangeClientPostcurMapt needResetPost    resultPostobjPosXtobjPosYR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerRefreshPos
sB       $        )        cCs8|r|j||ƒdS|r4|j||ƒdSdS(N(R/t    ChangePos(Rt
changePosXt
changePosYtneedResetServerPostneedChangeClientPos((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRoscCs>|jdƒ}|sdS||dkr-dSt|tƒtS(NtDelayDeleteMirrori'(R    t DeleteMirrorRR(RRÆtaddTick((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytOnDelayDeleteMirror|s cCs§|jƒsdS|jƒ}|retjd|ƒt||ƒtjƒjƒ}|jd|ƒdStjd|ƒtj    |ƒt
|ƒt j |ƒ|j ƒdS(s »ØÊÕ¾µÏñÍæ¼Ò
    Ns¾µÏñÍæ¼ÒÉèÖÃÑÓ³Ù»ØÊÕ!Rs ¾µÏñÍæ¼Ò»ØÊÕ!(tGetRealPlayerIDR°RRtSetPlayerSightLevelRRR tPassiveBuffEffMngtOnPlayerLeaveMaptKillPlayerSummonNPCt
PetControltReCallFightPetR(RtisDelayRƒRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR…s    
 
cCsag}x6t|jƒƒD]"}|j|ƒ}|j|ƒqWx|D]}tj|ƒqFWdS(N(trangetGetSummonCounttGetSummonNPCAttappendRÔt    SetDeadEx(Rt summon_Listtindext curSummonNPCt    summonNPC((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR s cCs|jƒ}|tjkS(N(RÇRœtDef_Player_Can_Transfer_State(RRÒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerCanStateTransfer¯s cCs,|jƒtjkr(tj|tƒndS(N(tGetPlayerVehicleR¨tpvHorset PlayerHorsetPlayerRideHorseDownR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__RidingHorsePlayerDisconnect¼scCsŒtj||ƒtj|||ƒtj|ƒtjƒjƒdkr’tj    ƒj
ƒ}|rfdnd}||gt j |<t j||ƒnt|ƒt||ƒtj|ƒ|jƒt jkrät jj|jƒƒntt _tj||ƒ|jƒ}|s2tj|ƒt jj|dƒnt jj|dƒtj|ƒx3t j j!ƒD]"}||krb|j"|ƒqbqbWdS(Niii(#t SkillCommontRefreshAllSkillRemainTimet
PlayerTeamtTeamPlayerLeaveMapRÔRÕRR)R§RtGetCurGameWorldIndext
PyGameDatatg_lastExitFBTypetFBLogict DoExitFBLogict__ClearLeaveNoSaveBufftUpdateOnLineTimeRRR°tg_maliciousAttackDicttpopRtg_needRefreshMapServerStatet PlayerSuccesstFinishDelayAddSuccessProgresstCrossPlayerDatatClearCrossSyncDataCachetg_fbBuyBuffTimeDictR7tg_playerReqEnterFBExtClearPriWoodPiletg_realmDiffPlayerDicttvaluestremove(RRÆt isDisconnecttfbIndext
exitFBTypeRƒR|((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerLeaveServerLogicÉs2 
          cCs¡|jtjƒ}|dkr5|jtj|ƒdS|jtj|ƒ||d}|dkr|j|jƒ|ƒ|j|jƒ|ƒt|ƒndS(Niiè(    R    RœtDef_PlayerKey_CalcOLTimeTickR tSetWeekOnlineTimetGetWeekOnlineTimet SetOnlineTimet GetOnlineTimetSyncOnLineTimeTotal(RRÆt lastCalcTicktdiffSec((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR<s   cCs9tjƒ}|jƒ|jƒ|_tj||ƒdS(N(tChPyNetSendPackttagMCOnLineTimeTotalR…RRtOnLineTimeTotalt NetPackCommont SendFakePack(RR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRSs
 
cCsPdStjƒ}|jƒ||_|jtj|ƒ|_tj    ||ƒdS(N(
RVttagMCOnlineTimeLastOpenPackR…tPackTypeRáRœt$Def_Player_Dict_LastAutoOpenPackTicktLastOnLineTimeRYRZ(RtpackTypeR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSyncOnLineTimeLastOpenPack%s 
    cCs|jƒjƒdS(N(t
GetMapBuffR…(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR;2scCsÌt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||j    ƒt|ƒdS(N(
tPlayerClearBuff_Singlet GetBuffStatetClearBuffByDisconnecttGetDeBuffStatetGetAurat
GetIncBuffRatGetActionBuffManagertGetProcessBuffStatetGetProcessDeBuffState(RRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DisconnectClearBuffBscCsÇtj||ƒt||ƒt|ƒ}|jƒtj|ƒtj|ƒt    j|ƒt
||t ƒt |ƒt |ƒ||jƒ|jƒgtj|jƒ<tjdtj|jƒƒdS(NsÍæ¼Ò´Ó±¾µØÍ¼ÀëÏß: %s(RtDoLogic_PetInfo_OnLeaveServerRkRétRefreshAllStatetPlayerBillboardt"UpdatePlayerBillboardOnLeaveServertPlayerViewCachetOnPlayerLogoutRYRMRR1RRRR7tg_disconnectPlayerR°RR(RRÆt playerControl((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLeaveServerXs  
 
 
(cCs"|tjkrdStj|dS(Ni(R7Rr(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerTickxscCs%|tjkrdStj|dd!S(Niii(ii(R7Rr(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerPosscCsQxJtjjƒD]9\}}|d}||dkrtjj|ƒqqWdS(Nii€î6(R7RrtitemsR>(RÆRƒt    leaveInfot    leaveTick((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt"RemoveTimeoutLeaveServerPlayerInfo‡s
 
cCs6|tjkr2tjj|ƒtjd|ƒndS(Ns%½øÈë±¾µØÍ¼£¬ÒƳýÉÏ´ÎÔÚ±¾µØÍ¼ÀëÏ߼Ǽ!(R7RrR>RR(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRemoveLeaveServerPlayerInfoscCs~|jƒjtjƒ}xLt|jƒƒD]8}|j|ƒ}| s+|jƒrYq+n|jƒq+Wt    |t
j dƒdS(Ni( R³R´R¨t
rptRecycleR"tGetCountR¶RaR…RäRœtDef_Player_Dict_DelPackIndex(RtbackPackRHtcurItem((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelRecylcePackšsc    Cs¿t|ƒt||tƒtj||ƒtj|ƒx,|jƒre|jdƒ}t    j
|ƒq:W|j t j ƒ}tjƒjƒtjkrM|jƒtjddƒkrM|jƒ}|jƒ}|jƒ}|jƒ}t|t j|ƒt|t j|ƒt|t j|ƒt|t j|ƒtjd||||fƒná|jƒt jkr.|jƒ|kr.tjƒj |ƒtjkr.|jƒ}|jƒ}|jƒ}t!|ƒ}t|t j"|ƒt|t j#|ƒt|t j$|ƒt|t j%|ƒtjd||||fƒnt&j'|ƒtjƒjƒtjkr±t(j)|ƒdkr±|j*ƒtj+kr±t(j)|ƒt(j,|ƒkr±t(j-|ƒq±n|j.ƒdS(NitMapLineis>×îºóÒ»´ÎÀ뿪µÄ·ÇÖÐÁ¢³£¹æµØÍ¼¸üÐÂ!mapID=%s,lineID=%s,Pos(%s,%s)sJ½øÈ븱±¾Ê±£¬×îºóÒ»´ÎÀ뿪µÄ¿É·µ»ØµÄ¸±±¾ID¸üÐÂ!mapID=%s,lineID=%s,Pos(%s,%s)(/tNotifyStartChangeMapRMRR9tDoPlayerChangeMapLogicRR R#R$RÔR&R    RœtDef_PlayerKey_ChangeMapIDRR)R§R¨R©RªR«R¬RRtGetClientLineIDRätDef_Player_Dict_FromMapIDtDef_Player_Dict_FromPosXtDef_Player_Dict_FromPosYtDef_Player_Dict_FromLineIDRtDef_CanBackFBMaptGetMapFBTypeByMapIDtGetFBFuncLineIDtDef_Player_Dict_FromFBMapIDtDef_Player_Dict_FromFBPosXtDef_Player_Dict_FromFBPosYtDef_Player_Dict_FromFBLineIDt PlayerAssistRR¤R¥RÇtpaDietGetMaxHPt    SetHPFulltDoResetWorldPosAndClear(RRÆR*t changeMapIDtmapIDRR    RC((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerResetWorldPos®sF
 9     '      H
c Cs;|jtjƒs&tj|dƒdStjd|jƒƒtjƒrYt    j
|ƒdSd}t }|j ƒt jddƒks˜|j ƒtjkrq|jtjƒ}|jtjƒ}|jtjƒ}|jtjƒ}t|tjdƒ|s4t jddiƒ}|sdS|jƒ}d}||krL||\}}}qn|jƒ}    |    d\}}}q4nÃ|jtjƒ}
|
r|
}|jtjƒ}|jtjƒ}|jtjƒ}|}t}t|tjdƒtjd||||fƒn0|jƒ}|jƒ}|jƒ}|j ƒ}||j ƒkr{tj!ƒ} | j"ƒ| j#ƒ| j$ƒ}}}ntjd|||f|jƒƒt%j&ƒrätj'ƒj(ƒj)ƒdkrätj*ƒ} | j+dƒnt,|||||d    |d
|ƒ|j-ƒt.j/gks*|j0ƒr7|j1ƒndS( NisPlayerLeaveFB...iR‚it CreateRoleMapsGÀ뿪¸±±¾£¬·µ»Ø¿É֮ǰ¿É·µ»ØµÄ¸±±¾! fromFBMapID=%s,lineID=%s,posXY(%s,%s)s.PlayerLeaveFB MapID = %d, PosX = %d, PosY = %dt
funcLineIDt enterFBFree(2RáRœt!Def_Player_Dict_RouteServerInitOKtGameServerRefresht%Set_PlayerRouteServerInitOK_OnLeaveFBRR.R°R­tCrossRealmPlayertPlayerExitCrossServerRRªR«R¬R‹R‡RˆR‰RŠRätGetJobRHRŽRRR‘RRt GetFromMapIDt GetFromPosXt GetFromPosYt GetFromLineIDR)tGetRebornMapIDt GetRebornMapXt GetRebornMapYtGameWorldProcesstIsNoPlayerNeedCloseFBRR\R_t    GetGameFBtSetIsSafeClosetPlayerResetWorldPosFBRÇR¨RËtIsMovingt
BeginEvent( RR›RœR˜RR    RCtcreateRoleMapDicttjobt mapInfoListt fromFBMapIDtgameMaptgameFB((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerLeaveFBêsd  3         )#* 
"$ cCs3|jƒ}tjd||f|ƒ|tjkr9dStjƒjƒ}|jtjƒ}|r”||dkr”tj    d|ƒt
|dƒdS|j tj ƒ}|rÊtj d||f|ƒdStjƒrçtj    dƒdSt|ƒr tj d|jƒƒdStjƒs*t
|dƒdStj|ƒd    krPt
|d
ƒdStj|ƒrvt
|d |gƒdStj|ƒ}|rStj||tƒ}|sÁtj    d ||fƒdStj|||||ƒ}    |    tjkrïdStj||||ƒsStj    d |jƒƒ|tjgkr?t
|dƒn t
|dƒdSn|tj krúi}
|tj!kr t"j#||ƒ} | s“dS| |
d<ni|jƒd6|d6|d6|j$ƒd6} |
rä| j%|
ƒntj&tj'| ƒn"t(j)||d|ƒ} | sdS|j*tj|ƒdS(Ns(Íæ¼ÒÇëÇó½øÈë¿ç·þµØÍ¼: mapID=%s,lineID=%siˆs    ÇëÇó½øÈë¿ç·þCDÖÐ!tRequestEnterCrossServerCDs;¿ç·þÒѾ­ÔÚÉÏ´«Êý¾Ý£¬²»Öظ´Ìá½»!crossRegisterMap=%s,mapID=%ss¿ç·þ·þÎñÆ÷²»ÔÊÐí¸Ã²Ù×÷!s+Íæ¼Òµ±Ç°Îª¿ç·þ״̬£¬²»ÔÊÐíÔÙ´ÎÇëÇó½øÈë¿ç·þ!tCrossMatching18it    CrossMap4t SingleEnterPKs/¸±±¾±íÕÒ²»µ½¸±±¾¶ÔÓ¦¹¦ÄÜÏß·!mapID=%s,lineID=%ss    OnEnterFBEvent False!tGeRen_chenxin_268121tSingleEnterDefaultBossIDtPlayerIDtMapIDt
FuncLineIDtLVRC(+R°RR.RœtDef_CrossMapIDListRRR    t)Def_PlayerKey_RequestEnterCrossServerTickRR9RátDef_PlayerKey_CrossRegisterMapR8R­R®R tIsCrossServerOpenR¤R¥t PlayerStatet IsInPKStatetFBCommont GetFBIpyDatatGetFBLineIpyDataRtCheckCanEnterFBCommRLtEntFBAskRet_OKR9tOnEnterFBEventtDef_FBMapID_CrossBattlefieldtDef_CrossDynamicLineMaptDef_FBMapID_CrossDemonKingtGameLogic_CrossDemonKingtGetCurFBLineBOSSIDtGetLVtupdatetSendMsgToCrossServertClientServerMsg_EnterFBtGY_Query_CrossRealmRegtRegisterEnterCrossServerR (RR˜RCRƒRÆtlastRequestTicktcrossRegisterMapt    fbIpyDatat fbLineIpyDatatrett
extendInfotbossIDtmsgDicttisSend((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerEnterCrossServerAsx          .c Csºtj|ƒ}|jƒ}tjd|||||f|ƒtj|ƒ}tj||ƒ}|sk|n    |jƒ}    tjƒj    |    ƒsªtj
d|    |j ƒƒdStj ƒj ƒ}
t||||||
ƒtjkrädS|dkr\|dkr\tj|||ƒ} tj|||| |
ƒ} | sMtj
d||fƒdS| \}}n|jƒru|jƒnd} t}tjƒj|    ƒ}|tjkré|jƒré|jƒtjkràtjd|jƒƒdSt}n|s|tjks|t j!dƒkršg}|tj"krrt#j$ddƒ}||krWtj%d    ƒdSt&j'|ƒ}|g}n|tj(krýt)j'|ƒ}|d
g}|j*tj+tj(ƒ}|tj,|tj(ƒkr€|j*tj-ƒrú||j.ƒg}qúq€nƒ|tj/kr*t0j1||ƒ}|g}nV|tj2kr[|j*tj+|ƒ}|g}n%|tj3kr€|    |d <|g}nt4||||
|ƒdSt5||||| d |ƒdS( NsAÍæ¼ÒÇëÇó½øÈ븱±¾! mapID=%s,lineID=%s,posX=%s,posY=%s,reqInfoEx=%ss###·Ç·¨µØÍ¼Êý¾Ý£¬sceneMapID: %sis&δÕÒµ½½øÈ븱±¾×ø±ê£¡mapID=%s,lineID=%ss!·Ç¶Ó³¤£¬ÎÞ·¨·¢Æð½øÈë×é¶Ó¸±±¾ÇëÇó!tMapID_SendToGameServertSealDemonNewbieLineis*·âħ̳ÐéÄâÏß·ֻÄÜͨ¹ý×Ô¶¨Ò峡¾°½øÈëÌôÕ½£¡iÿÿÿÿt
sceneMapIDR›(6RÉtGetRecordMapIDR°RR.RÊRËRªR)t IsMapIDExistR8RRRt CheckMoveToFBRLRÍtGetFBLineEnterPosInfoR9tOnGetFBEnterPosR¯R-RRŒR¨tfbtTeamt    GetTeamIDt    GetTeamLVt    tmlLeaderRRœtDef_MapID_SendToGameServert ReadChConfigtGetEvalChConfigtDef_FBMapID_SealDemonR«R¬RtGameLogic_SealDemontCurFBLineBOSSIDtDef_FBMapID_ZhuXianBosstGameLogic_ZhuXianBossRátDef_Player_Dict_EnterFbCntDaytGetEnterFBMaxCnttDef_PDict_ZhuXianBossHelpCntt GetFamilyIDtDef_FBMapID_DemonKingRÒRÓtDef_MapID_LineIDToPropertyIDtMirrorBattleMapIDListtSendToGameServerEnterFBR®(RR˜RCRR    t    reqInfoExRƒRÜRÝRæRÆtipyEnterPosInfotretPostfbIDtisSendToGameServert    mapFBTypetextendParamListtnewbielineListRàtenterCnt((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerEnterFB”sv #$            
 cCstjd|||f|jƒƒ|dkrGtj|||ƒ}n||g}||7}d|}|jtjdd|t    |ƒƒdS(Ns=SendToGameServerEnterFB mapID=%s,lineID=%s,extendParamList=%ss%sitEnterFB(
RR.RR7R9tGetPlayerFBLineIDtGameServer_QueryPlayerByIDRœtqueryType_EnterFBRU(RR˜RCRÆRRX((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÿås      
 
"c    Cs£tj|||||d||ƒ}|tjkr7|Stj|ƒdkr`tjdƒtjS|r”|j    ƒt
j kr”t j |ƒr”tjSnt j|ƒrÆ|r¿t|d|gƒntjSt|ƒr|tjkr|rýt|d|gƒntjS|jƒ}    |    t
jkrB|r;t|d|gƒntjS|    t
jkrn|rgt|dƒntjS|jtjƒr³|r–t|dƒntjd|jƒƒtjS|    tjkrß|rØt|dƒntjSx=tj D]2}
t!||
ƒré|rt|dƒntjSqéWtj"ƒj#ƒt
j$krQt%} t&j'd    ƒ} tj"ƒj(ƒ} | | kr†|| | kr†t)} n| tj*kržt)} ntj"ƒj+|ƒ}|t
j$kræ| t,j-d
dƒkr%t)} q%n?tj.| ƒtj.|ƒkr%t/j0|||ƒr%t)} q%n| sQ|rGt|d |gƒntj1Snt/j2||||ƒsœtj3d |jƒƒ|r•t|d ƒntjStjS(sþÅжϿɷñ½øÈ븱±¾£¬°üº¬ÊÖ¶¯¼°Æ¥Åä
    @param isTeamAsk: ÊÇ·ñÊǶÓÎé½øÈëÇëÇóµÄ£¬Ò»°ãÊǶÓÎé״̬Ï£¬¶Ó³¤·¢Æð½øÈ븱±¾£¬ÐèÒª¼ì²é¶ÓÔ±¿É·ñ½øÈ룬´ËʱΪTrue£¬¿É×öһЩ¸½¼Ó´¦Àí
    @note: ²ß»®ÒªÇóÌáʾ°´ÓÅÏȼ¶À´£¬¸±±¾×ÔÉíµÄÌõ¼þÏÞÖÆÓÅÏÈÌáʾ£¬ÆäËû¸½¼ÓÌáʾÓÅÏȼ¶½ÏµÍ
    iisÍæ¼ÒÒѾ­ËÀÍö, ÎÞ·¨½øÈ븱±¾!R»t    CrossMap5tSingleEnterGathertCarry_lhs_697674s¿Í»§¶Ë×Ô¶¨Ò峡¾°ÏÂÎÞ·¨½øÈ븱±¾!tFBEnableTransportMapR¡tSingleEnterDungeons    OnEnterFBEvent False!R½(4RÉRÌRLRÍR¤R¥RR.tEntFBAskRet_DeadRîR¨RïRÇt IsInBossStatetEntFBAskRet_BossStateRÈR9tEntFBAskRet_PKStateR®RœRÃtEntFBAskRet_InCrossMapRÇRÍtEntFBAskRet_PreparingRütEntFBAskRet_SitR    R¯R°tEntFBAskRet_OthertDef_Player_Cannot_TransStatet(Def_Player_NotCan_EnterFbPyGameEvenStateRàR)R§R©RRñRòRªRR‹RŒR«R¬RçR9tCanChangeSameDataMapFBtEntFBAskRet_InFBRÎR(RR˜RCRÜRÝRÆtisNotifyt    isTeamAskRÞt playerActionR(tcanFBMoveToOthertfbEnableTransportMaptcurMapIDt toMapFBType((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRéús‚$ 
            
cCs&tjƒjƒ}tj||ƒdS(N(RRRtPlayerGameWallowtDoLogic_WallowOnlineTime(RRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerTickiscCsF|jƒ|krdS|jtjƒ}t|tj|ƒtjd||||f|jƒƒ|j    tj
|ƒ|j    tj |ƒ|j    tj |ƒt |ƒt|ƒtjƒ}|jƒ||_||_||_tj||ƒ|jdƒ|j||ƒt|||ƒtjƒ}|jƒtj||ƒdS(sPÍæ¼ÒÇл»µ½Ö¸¶¨¸±±¾¶ÔÓ¦µÄ¹¦ÄÜÏß·ID£¬ÊÊÓÃÓڶೡ¾°ºÏ²¢Ò»ÕŵØÍ¼µÄÇé¿ö£¬ºó¶ËÐèÔÚͬһÕÅÎïÀíµØÍ¼²ÅÄÜʹÓøú¯Êý
    ÓÉÓÚǰ¶ËµØÍ¼ºÏ²¢µÄ³¡¾°¼ÓÔØÊÇ·Ö¿ªµÄ£¬ËùÒÔÔÚÇг¡¾°µÄʱºò²»ÄÜÖ±½ÓÉèÖÃ×ø±ê£¬ÒòΪǰ¶Ëʵ¼ÊÉϲ»´æÔÚ¸Ã×ø±ê
    Íæ¼ÒÖ±½ÓÔÚµØÍ¼ÖÐÇл»¹¦ÄÜÏß·ID£¬´Ëʱǰ¶ËÐèÒª×ßÕý³£µÄÇÐͼÁ÷³Ì²ÅÄܼÓÔØÄ¿±ê¹¦ÄÜÏß·ID¶ÔÓ¦µÄ³¡¾°
    ¹ÊÕâÀï×ö¸öÐé¼ÙÇÐͼÁ÷³Ì
    NsHÍæ¼Ò¸±±¾Öбä¸ü¹¦ÄÜÏß·ÐéÄâÇеØÍ¼: mapID=%s,posX=%s,posY=%s,funcLineID=%si(RªRáRœtDef_Player_Dict_ReqFBMapIDRätDef_Player_Dict_ReqFBFuncLineRR.R°R R…tDef_PlayerKey_ResetFBLinePosXtDef_PlayerKey_ResetFBLinePosYtNotifyPrepareChangeMapRƒt ChNetSendPackttagPlayerMapInitR…RÀtPosXtPosYRYRZtSetSightR/tSetFBFuncLineIDttagServerPrepareOK(RR˜RR    R›treqMapIDt playerMapInitt    prepareOK((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPosFBLineIDss0    
 
 
              
c    
Cs tjƒjƒ}    |jtjƒ}
|    |
dkrwtjd|||||||    |
f|jƒƒt|dƒdS|j    tj|    ƒt
j |ƒ}t
j ||ƒ} | s·|n    | j ƒ} tjdƒ} || kr| |}|rtj|ƒ} tjd| ƒqn|r'|jƒntj|||ƒ}t|tj|ƒt|tj|ƒtjd| ||||||    |
f|jƒƒ|r½t|tjdƒtjd    ƒn|j| ||t||ƒ|j    tj| ƒ|j    tjtd
|ƒƒt|ƒt |ƒdS( sÎ
    ²ÎÊý˵Ã÷:
        @param fbID:
            ´óÓÚ0µÄÕûÊý:
                Èç¹û²ÎÊýmapIDÖ¸¶¨µÄµØÍ¼´æÔÚfbIDÖ¸¶¨µÄ·ÖÏߣ¬ÔòÖ±½Ó´«Ë͵½²ÎÊýmapIDËùÖ¸¶¨µÄµØÍ¼µÄfbIDËùÖ¸¶¨µÄ·ÖÏߣ¬·ñÔòÔÚËùÓдæÔڵķÖÏßÖУ¬Ëæ»úѡһÌõ·ÖÏß´«Èë¡£fbIDµÄ¼ÆËã¼ûÏÂÃæfbID=-1µÄ˵Ã÷¡£
            -1£º
                ½Ó¿ÚÄÚ²¿×Ô¶¯Ìæ»»³Éµ±Ç°fbID£¬´«Èë²ÎÊýmapIDËùÖ¸¶¨µÄµØÍ¼£¨ÕâÀï²ÎÊýmapIDÆäʵÊÇDataMapID£©µÄͬһfbIDµÄµØÍ¼(Èç¹ûÓУ¬Ã»ÓÐÔòËæ»ú)¡£
                Ï־͵±Ç°fbIDµÄ¼ÆËã,¾ÙÀý˵Ã÷,¼ÙÉèµØÍ¼AºÍµØÍ¼BÔÚMapID.txtÅäÖÃÈçÏ£º
                MapName     MapID   DataMapID FBCount
                µØÍ¼A         101     101     3
                µØÍ¼B         102     101     3 
                ¼´µØÍ¼AºÍµØÍ¼BÓй²Í¬µÄDataMapID,ÄÇôµØÍ¼B½ø³ÌÄÚ²¿µÄµÚÒ»Ìõ·ÖÏߵĿͻ§¶ËID¾ÍÊÇ3(ËùÓзÖÏߵĿͻ§¶Ë·ÖÏßID:0¡¢1¡¢2¡¢3¡¢4¡¢5)
            -2£º
                Ö±½ÓËæ»ú´«µ½²ÎÊýmapIDËùÖ¸¶¨µÄµØÍ¼µÄijһÄÚ²¿·ÖÏߣ¬ÕâÀïµÄijһÄÚ²¿·ÖÏßÏÞÓÚMapID.txtÖÐmapIDΪ´«Èë²ÎÊýmapIDµÄµØÍ¼½ø³ÌµÄ·ÖÏß¡£
    
        @param funcLineID: ¹¦ÄÜÏß·ID
    iès\Íæ¼ÒÇÐͼCDÖÐ: mapID=%s,posX=%s,posY=%s,fbID=%s,msg=%s,funcLineID=%s,tick=%s,lastTransTick=%st    MapMoveCDNt
FBMapShuntsµ¥È˵ØÍ¼·ÖÁ÷ sceneMapID=%sseÍæ¼ÒÇëÇó¿ªÊ¼ÇÐͼ: sceneMapID=%s,posX=%s,posY=%s,fbID=%s,msg=%s,funcLineID=%s,tick=%s,lastTransTick=%sis    ±¾´ÎÃâ·Ñ½øÈ븱±¾!i(!RRRR    RœtDef_PlayerKey_TransTickR.R°R9R RÉRçRËRªRñRòtrandomtchoiceRR°R9tGetPlayerResetWorldPosFBMsgRäR)R*tDef_Player_Dict_EnterFBFreetResetWorldPosReqRR…tDef_PlayerKey_ChangeLineIDtmaxR(R-(RR˜RR    RRŒtcanLockR›RœRÆt lastTransTickRÝRætFBMapShuntDictt    shuntList((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR®¥sB    )  
     )
 
cCs•|jtƒtjƒ}|jƒtj|jtj    ƒƒ|_
|j tj ƒ|_ |j tjƒ|_tj||ƒtjd|jƒƒdS(Ns ×¼±¸Çл»µØÍ¼(t
SetVisibleRRVttagMCPrepareChangeMapR…RtGetMapDataMapIDR    RœR…RÀRáR*RÁR)t    FuncMapIDRYRZR.R(RR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR-çs  
cCsˆtjƒ}|jƒtj|jtjƒƒ|_|j    tj
ƒ|_ |j    tj ƒ|_ tj||ƒtjd|jƒƒdS(Ns֪ͨ¿ªÊ¼Çл»µØÍ¼(RVttagMCStartChangeMapR…RRIR    RœR…RÀRáR*RÁR)RJRYRZR.R(RR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRƒôs 
cCs*tjƒjƒ|kr-tjd|ƒdStjƒ}|jƒtjkr_t|dƒdS||j    ƒkr›tjd||j    ƒf|j
ƒƒdSt |t j |dƒt |t jdƒt |t jdƒt||jƒ|jƒ|jƒ|ƒtjd|jƒ|f|j
ƒƒdS(NschangLineID SameLine = %stGeRen_liubo_180377s»»ÏßµÄÄ¿µÄµØ²»´æÔÚ = %s, %siisÍæ¼Ò = %s Çл»·ÖÏß = %s, Ëø×¡(RRt    GetLineIDR8R)R§R¨R©R9t GetMaxFbCountRRäRœt Def_Player_Dict_PlayChangeLineIDt Def_Player_Dict_FuncChangeLineIDt Def_Player_Dict_HighChangeLineIDR®RªRRR.tGetName(Rt changLineIDRµ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerChangeLines   &(&c
 
Cstjƒ}t||jƒ|jƒ|||ƒ}    tjd|||    f|jƒƒ|jƒ|krØ|    dks†|jƒ|    krØ|r¥tj||||ƒntj    |||ƒt
j |tjƒj ƒƒdSt |||||    ||ƒtjƒdS(Ns&·ÖÁ÷ mapID=%s,lineID=%s,shuntLineID=%siÿÿÿÿ(RRtGetResetWorldPosShuntLineIDRªRMRR°tChPlayertNotifyPlayerMovetResetPlayerPost
SkillShelltProcessMapBuffRR®RªtOnPlayerLeaveMapCloseFB(
RR˜RR    RCRŒRCtexData1t    gameWorldt shuntLineID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPos-s '#0
cCstjƒr|S|tjks.|tjkr2|Stj|}|r]|tjkr]d}n|jƒ}|jtjƒ}|jtj    ƒ}    |jtj
ƒ}
tj d|||||f|ƒ|dkr©| r|     r|
rt |tj    |dƒtj d||f|ƒn|r¥t j|ƒr¥t||||||jƒƒ} | dkr¥tjƒjƒ} tj d|| f|ƒt j||| || ƒ| Sn|S||krÉtj d|ƒ|Stjddƒ} || kr3| |}i}xK|jƒD](\}}||kr"qn|||<qWn|}t|ƒ}tj d    ||fƒ|r|t|ƒkrtj d
||ƒ|dS|    r×|    t|ƒkr×tj d |    |ƒt |tj    dƒ|    dS|
r|
t|ƒkrtj d |
|ƒt |tj
dƒ|
dS||kr¨tj d ||ƒt|||ƒ}|dkr½| r½|     r½|
r½t |tj
|dƒtj d||f|ƒq½nt||||ƒ}|dkr|d|kr|d}tj d|||fƒn|S(s§»ñÈ¡ÇÐͼÏß·ID
    ÇÐÏßÓÐÈýÖÖÇé¿ö
    1. Íæ¼ÒÊÖ¶¯Çл»Ïß·£¬ÓÅÏȼ¶×î¸ß
            ¼Ç¼key  Def_Player_Dict_PlayChangeLineID£¬ ÀëÏß³¬¹ý±£»¤Ê±¼äºóÖØÖã¬È·±£¶ÏÏßÖØÁ¬Õý³£¼´¿É
            
    2. ¹¦ÄÜÇл»µ½Ö¸¶¨Ïß·£¬Èç´òboss¡¢´«Ë͵½Ä¿±êÍæ¼ÒÏß·£¨±»»÷ɱÇйýÈ¥°ï棩
            ¼Ç¼key  Def_Player_Dict_FuncChangeLineID£¬ ÀëÏß³¬¹ý±£»¤Ê±¼äºóÖØÖã¬È·±£¶ÏÏßÖØÁ¬Õý³£¼´¿É
            
    3. ³£¹æÇÐͼ
            Ïß·ѡÔñÓÅÏȼ¶: ÊÖ¶¯ÇÐÏ߼Ǽ > ¹¦ÄÜÇÐÏ߼Ǽ > ¸ßµÍÇÐÏ߼Ǽ > ÏµÍ³·ÖÁ÷ÇÐÏß¹æÔò
            
            ÏµÍ³·ÖÁ÷ÇÐÏß¹æÔò: µ±Ç°µØÍ¼Ïß· ¶ÔÓ¦ Ä¿±êµØÍ¼Ïß·ÈËÊý Èç¹ûµ½´ï¶î¶¨Öµ²Å½øÐзÖÁ÷£¬·ÖÁ÷µ½ÈËÊý½ÏÉÙµÄÏß·
            
        ÌØÊâboss·ÖÁ÷: 
        @param bossID: ·ÖÁ÷bossID
    isD´¦Àí·ÖÁ÷,curMapID=%s,curLineID=%s,tagMapID=%s,tagLineID=%s,bossID=%siÿÿÿÿisI¹¦ÄÜÖ¸¶¨Çл»Ä¿±êÏß·£¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ss&·ÖÁ÷boss, bossID=%s,bossShuntLineID=%ssͬµØÍ¼Çл»×ø±ê²»´¦Àí·ÖÁ÷£¡R‚s,Ä¿±êµØÍ¼¿ÉÓ÷ÖÁ÷Ïß·ÈËÊýÐÅÏ¢: tagMapID=%s,%ss$ÓÐÖ÷¶¯Çл»¹ýÏß·!playChangeLineID=%ss,¹¦ÄÜÓÐÖ¸¶¨¹ýÏß·ÀúÊ·Ïß·,funcChangeLineID=%ss(ÓиßÏßÇеÍÏßÀúÊ·Ïß·,highChangeLineID=%ss!Ä¿±êµØÍ¼²»´æÔÚ¸ÃÏß·,curLineID=%ss?¸ßÏßÇеÍÏߣ¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ssг£¹æ·ÖÁ÷ºóµÄlineIDΪ-1£¬µ«ÊÇÄ¿±êµØÍ¼µ±Ç°Ïß·²»¿ÉÓ㡲»¿É´«Ë͵½¸ÃÏß·£¡curLineID=%s + 1 > tagMapMaxLine(%s), Ç¿ÖÆ·ÖÁ÷µ½Ïß·(shuntLineID=%s)(RR­R7tg_commMapLinePlayerCountDictRœtDef_FBMapID_BossHomeR°RáRORPRQRRäRÔtIsMapNeedBossShuntt__GetBossShuntLineIDtkeysRRtAddBossShuntRelatedPlayerR«t
GetFuncCfgRwRUt__GetShuntLineID(RR$t    curLineIDttagMapIDt    tagLineIDRàttagLinePlayerCountDictRƒtplayChangeLineIDtfuncChangeLineIDthighChangeLineIDtbossShuntLineIDRÆt mapLineDictt tagMapMaxLinettagLinePlayerCountShuntDicttktvR^((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRUKs|            !   
   ! 
    c Cs!|jƒ}|jƒtjddƒkr>tjd|ƒdStjddƒ}||krptjd|ƒdS||}|dkrÀ||}||krÀtjd|||f|ƒdSng|jƒD]\}}    |    |g^qÍ}
|
j    ƒ|
dd} tjd    ||
f|ƒ| S(
NtSetWorldPosShuntis³¬¹ýÖ¸¶¨µÈ¼¶²»·ÖÁ÷iÿÿÿÿisÄ¿±êµØÍ¼²»ÐèÒª·ÖÁ÷sBδ´ïµ½¶î¶¨ÈËÊýÖµ,²»Ó÷ÖÁ÷,curLineID=%s,Ä¿±êµØÍ¼µ±Ç°Ïß·ÈËÊý: %s/%sis@·ÖÁ÷µ½ÈËÊý½ÏÉÙµÄÏß·,tagMapID=%s,linePlayerList[count,lineID]=%s(
R°RÔR«RfRRR¬R7Rwtsort( RRiRrRhRƒt mapShuntDicttlineMaxPlayerCountttagLinePlayerCountRCt playerCounttlinePlayerListR^((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRg²s(  
 
     +
c  CsÜ|jƒ}|jƒ}d}d}    idggd6dggd6}
tjj|iƒ} t} tjddiƒ} tj    d||||| tj
f|ƒ|| krt d| |dƒ}|dkr||kr|j |ƒtj    d||f|ƒqnt |ƒ}x¬|D]¤}||f}tj
j|iƒ}|ro||krotj    d||f|ƒ|Sd}d}xu|jƒD]g\}}|d}||kr°qˆn|d7}|d}|rˆ||krˆ||krˆ|d7}qˆqˆW|r||    kr|}    |}n| j|dƒ}|s2dnd}|
|\}}| rd|dkrd|}n|j||gƒ||g|
|<|s–t} ntj    d    |||||    |f|ƒqW|dkrätj    d
||ƒ|S||kr |tjdd ƒkr tj    d ||ƒ|S| r,dnd}tj    d | |
fƒ|
|\}}|jƒ|d\}}tjddƒ}||kr»|dkr»tj    d||f|ƒ|Stj    d|||f|ƒ|S(s©»ñȡĿ±êµØÍ¼boss·ÖÁ÷Ïß·
                ¸ù¾ÝÈËÊý·ÖÁ÷Íæ¼Ò£¬ÓÅÏÈ·ÖÅäµ½»î×ŵÄÏß·
                ¶ÓÎéĬÈÏ·ÖÅäµ½¶ÓÎé¶ÓÔ±¶àµÄÄÇÌõÏß
                Ð­ÖúĬÈÏ·ÖÅ䵽Ŀ±êÍæ¼ÒÏß·£¬ÓÅÏȼ¶×î¸ß
                      
                Ç°¶Ë£º
        1.ÔÚÖÐÁ¢µØÍ¼µÄʱºò£¬ÏÔʾµ±Ç°Ïß·BOSSµÄ״̬
        2.ÔÚ³£¹æµØÍ¼µÄʱºò£¬ÏÔÊ¾Íæ¼Ò»÷ɱBOSSµÄCDʱ¼ä
        3.±¾µØÍ¼²»»»Ïߣ¬60Ãë¹æÔò±£³Ö²»±ä
        4.½øÈëBOSSÇøÓòÀˢÐÂBOSS״̬
        
                Íæ¼ÒÔÚ·ÇÖÐÁ¢µØÍ¼£º
                ±¾µØÍ¼²»»»Ïߣ¬60Ãë¹æÔò±£³Ö²»±ä£¨£©
                
                Íæ¼ÒÔÚÖÐÁ¢µØÍ¼
                Ã»ÓÐ60Ãë¹æÔò
                Ö±½Ó·¢´«ËͰü£¬Óɺó¶Ë¾ö¶¨£¨ÓжÓÔ±ÔÚ²»Í¬Ïß·´òͬһֻboss£¬Ôò´«ËÍ£¬·ñÔòmove£©
    iÿÿÿÿiiR‚isnÍæ¼Òboss·ÖÁ÷: playerTeamID=%s,tagMapID=%s,npcID=%s,lineIDList=%s,bossLineStateDict=%s,g_bossShuntPlayerInfo=%ss>    ·Ç1ÏߵĻÏß·²»²ÎÓë·ÖÁ÷: activityLineID=%s,lineIDList=%ss9    ·ÖÁ÷µ½Ð­ÖúÄ¿±êÍæ¼ÒÏß· assistTagPlayerID=%s,lineID=%ssg    lineID=%s,lineBossIsDead=%s,playerCount=%s,teamPlayerCount=%s,hurtTeamMemCount=%s,hurtTeamLineID=%ss,    ·ÖÁ÷µ½¶ÓÓÑÈËÊý¶àµÄÏß· hurtTeamLineID=%sis/    ÖÐÁ¢µØÍ¼ÔÚ±¾µØÍ¼ÖÐĬÈϵ±Ç°Ïß· curLineID=%ss>    boss״̬¶ÔÓ¦Ïß·ÈËÊý: haveAliveLine=%s, ×´Ì¬key0Ϊ»î×Å: %st    BossShunts4    ·ÖÁ÷µ½¿ÕÐÂÏß· shuntBossIsDead=%s,emptyLineID=%ssX    ·ÖÁ÷µ½ÈËÊý×îÉÙµÄÏß· shuntBossIsDead=%s,minPlayerCntLineID=%s,linePlayerCountList=%s(R°RíR7tg_bossShuntLineStatetgetRR«R¬RRtg_bossShuntPlayerInfoRBRItGetAssistTagPlayerIDRwR%RRvRf( RR$RhRiRùt
lineIDListRƒt playerTeamIDthurtTeamLineIDthurtTeamMemCounttbossLinePlayerDicttbossLineStateDictt haveAliveLinetactivityMapLineDicttactivityLineIDtassistTagPlayerIDRCtkeytshuntPlayerDictRztteamPlayerCountt shuntPlayerIDt    shuntInfoRàt shuntTeamIDt lineIsAlivetlineBossIsDeadt emptyLineIDtlinePlayerCountListtshuntBossIsDeadtminPlayerCntLineIDtbossShuntPlayerCountMax((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRcÍs€              
 
 
                ! $
    cCs¼d}d}|jƒ}tjƒ}|j||ƒsVtjd||||fƒn\tj|||ƒ\}}|dks‰|dkr²tjd||||f|jƒƒn||fS(Nis=ÖØÉúµãÒì³££¬³¬¹ýµØÍ¼(%s)±ß½ç posX = %s, posY = %s, round = %ssKÖØÉúµã·¶Î§ÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄ·ÇÕϰ­ÖØÉúµã posX = %s, posY = %s, round = %s(    RªRR)t
IsValidPosR8R+tGetNearbyPosByDisR.R°(RRR    troundt
rebornPosXt
rebornPosYR$Rµ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetLegitRebornPoint9s           c
CsÞtjƒ}|jƒ}|jƒ}|jƒ}t}tjƒ}|jƒ}g}    g}
|stjd|j    ƒƒt
}n}xUt d|ƒD]D} |j | ƒ} |
j | ƒtj|| ƒr|    j | ƒqqW|    sütjd|j    ƒƒt
}n|r¯tj|    ƒ} |j | ƒ} | jƒ}| jƒ}| jƒ}t||||ƒ\}}|dksƒ|dksƒ|dkr¯tjd|jƒ|j    ƒƒt
}q¯nt}|sb|jƒ}|jƒ}|jƒ}|jƒ|krt|||tjƒ\}}n|dks6|dks6|dkrbtjd|jƒ|j    ƒƒt
}qbn|s |jƒ}tjdƒ}tj||ƒ}|d}d}|dtj| |ƒ}|d    tj| |ƒ}tjd
|jƒ|||f|j    ƒƒn|jƒtj krw|j!|ƒ|j"|ƒ|j#|ƒtjd |j$ƒ|||f|j    ƒƒdS|j%|ƒ|j&|ƒ|j'|ƒtjd |j$ƒ|||f|j    ƒƒt(j)||
ƒdS( Ns´ËµØÍ¼Ã»ÓÐÖØÉúµãis´ËµØÍ¼Ã»ÓкÏÊÊÍæ¼ÒµÄÖØÉúµãs2µØÍ¼Éϲ¼µÄÖØÉúµã·¶Î§ÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄºÏ·¨ÖØÉúµãs,tagChinMap.txtÄÚÕÒ²»µ½¸ÃµØÍ¼(%s)µÄºÏ·¨ÖØÉúµãtPlayer_Reborn_PlaceiiisqtagBornRefresh.txtºÍtagChinMap.txtÄÚ¶¼ÕÒ²»µ½¸ÃµØÍ¼(%s)
µÄºÏ·¨ÖØÉúµã£¬ÉèÖÃÍæ¼ÒÖØÉúµãΪ´´½¨½ÇɫʱµÄ³õʼµã%s-(%s,%s)s,Íæ¼Ò%s,ÉèÖÃĬÈÏÖØÉúµãÍê±Ï mapID = %s-(%s,%s)s0Íæ¼Ò%s,ÉèÖø±±¾Ä¬ÈÏÖØÉúµãÍê±Ï mapID = %s-(%s,%s)(*RR)Rªt GetRebornPosXt GetRebornPosYRt GetGameDatatGetBornRefreshCountR.R°RR"tGetBornRefreshByIndexR%t IsSameCountryR<R=RRtGetRoundRR§R¨R©RœtDef_RebornPos_Area_RangeR¢RñRòtrandintR§R¨R©tSetRebornMapIDt SetRebornPosXt SetRebornPosYt GetPlayerNametSetFBRebornMapIDtSetFBRebornPosXtSetFBRebornPosYR9t OnRebornPlace(RRÆRµt rebornMapIDR›RœthasBornRefreshPointtgameDatatbornRefreshCounttbornListt
fbBornListRHtbornRefreshPointt    bornIndextbRP_PosXtbRP_PosYt bRP_RoundPosthasBornPointInTxtt curPlayerJobtposListtpost    bornRange((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshRebornPointXs„                  $        $      
&   ,   ,cCs,|dkr|dkrdS|ddSdS(Niiii
((tcurLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRankäsc    Csîtƒ}|dkr&tjdƒ|Sg}x»td|jƒƒD]¤}|j|ƒ}|dksB|jƒdkr{qBntj    |ƒdkr–qBntj
|||j ƒ|j ƒƒ|krÆqBn|j |ƒ|j |jƒƒqBW|S(Ns»ñÈ¡¶ÓÎéÇøÓò³ÉÔ±£¬¶ÓÎé²»´æÔÚ£¡i(tlistR7RR8R"tGetMemberCountt    GetMemberR°R¤R¥RRRR%(    tcurTeamtcenterXtcenterYtareatisLogt
playerlistR|RHt curTeamPlayer((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAreaTeamMemberòs"        cCsztƒ}|dkr|SxZt|jƒƒD]F}|j|ƒ}|dks,|jƒdkreq,n|j|ƒq,W|S(s »ñȡͬµØÍ¼ÖеĶÓÔ± iN(RÃR7R>RÄRÅR°R%(RÆRËRHRÌ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMapTeamMember"    s     cCs|tjkr|jƒS|tjkr2|jƒS|tjkrKt|ƒS|tjkrd|jƒS|t    j
kr}t |ƒS|t    j kr™t ||ƒSdS(Ni(R¨tTYPE_Price_Gold_MoneytGetGoldtTYPE_Price_Gold_Papert GetGoldPapertTYPE_Price_Silver_Moneyt    GetSilvertTYPE_Price_Silver_PapertGetSilverPaperRLtTYPE_Price_PayCoint
GetPayCointTYPE_Price_CurrencyDicttGetPlayerCurrency(Rt
TYPE_Price((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMoney6    s
 
 
 
 
 cCs4|jtj|ƒ}|dkr'| St||ƒS(Ni(RáRœtDef_PDict_MoneyMinusRÜ(Rt    moneyTypet
moneyMinus((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetMoneyRealR    s cCs<|tjkr{|jtj|ƒ}|dkrY||krPt|||ƒnd}q{|dkr{t||dƒq{n|tjkrš|j|ƒnž|tj    kr¹|j
|ƒn|tj krØt ||ƒn`|tj kr÷|j|ƒnA|tjkrt||ƒn"|tjkr8t|||ƒndS(Ni(RLtMoneyMinusRefreshDictRáRœRÝt SetMoneyMinusR¨RÏtSetGoldRÑt SetGoldPaperRÓt    SetSilverRÕtSetSilverPaperR×t
SetPayCoinRÙtSetPlayerCurrency(RRÞtvalueRß((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMoneyY    s*       cCsft|ƒ}t|tj||ƒ|tjkr6dStj|}|dkrbt|||ƒndS(N(RRäRœRÝRLRáR7tSendPropertyRefresh(RRÞRét refreshType((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRâ    s   cCsy|tjkr|jƒS|tjkr2|jƒS|tjkrK|jƒS|tjkrd|jƒSt    j
d|ƒdS(Ns#GetWarehouseMoney, moneyType:%d Erri( R¨RÏtGetWarehouseGoldRÑtGetWarehouseGoldPaperRÓtGetWarehouseSilverRÕtGetWarehouseSilverPaperRR8(RRÞ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWarehouseMoneyŽ    s
 
 
 
cCs|jtj|ƒS(N(RáRœtDef_PDict_Currency(Rt currencyType((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÚ¡    scCs+t|tj||ƒt|||ƒdS(N(RäRœRòtNotifyPlayerCurrency(RRóRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRè§    scCsb|tjkrdStj|}|dkr0dS|dkrNt||ƒ}nt|||ƒdS(Ni(RLRÙR7RÚRë(RRóRéRì((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRô­    s   cCsRg}xjtjD]_}tj|}|dkr5qnt||ƒ}tjƒ}||_||_|j|ƒqWx|tj    j
ƒD]k\}}|dkr¡qƒn|j t j |ƒ}|sÃqƒntjƒ}||_||_|j|ƒqƒWtjƒ}|jƒ|jƒ|_|jƒ|_t|ƒ|_||_tj||ƒdS(N(RLRÙR7RÚRVttagRefreshTypet RefreshTypetValueR%RáRwRáRœRÝttagObjInfoListRefreshR…RtObjIDR×tObjTypeRUtCountRYRZ(Rt
notifyListRóRìRét notifyStructRÞR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyPlayerAllCurrencyº    s8                      
    cCsØ|r|}n    tj}g}xh|D]`}|jtj|ƒ}| rZ|dkrZq%ntjƒ}||_||_    |j
|ƒq%W|s“dStj ƒ}|j ƒ||_ t|j ƒ|_tj||ƒdS(N(RLtUseTotalPriceTypeListRáRœtDef_PDict_UseMoneyTotalR7RVttagMCUseMoneyTotalt    MoneyTypetUseTotalR%ttagMCUseMoneyTotalInfoR…tInfoListRURûRYRZ(Rt moneyTypeListtnotifyMoneyTypeListtinfoListRÞtuseTotaltinfot
clientPack((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyUseMoneyTotalà    s(                   
    c
CsÒ|dkrtSd}d}|tjkr@|jƒ}d}nÉ|tjkrd|jƒ}d}n¥|tjkrˆt|ƒ}d}n|tjkr¬|j    ƒ}d}n]|t
j krÊt |ƒ}n?|t
j krët||ƒ}ntjd||jƒƒtS||krˆ||}t||ƒ}|rˆ|\}}    t|||    tƒr…tjd|||||    f|jƒƒtSqˆn||krÎ|r°|r°t||ƒntjd    |||fƒtStS(
NiRytGoldErrt GoldPaperErrt    SilverErrtSilverPaperErrs¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %ssiHaveMoney¿ÉʹÓõȼۻõ±Ò²¹×ã¿Û³ý: TYPE_Price=%s, Price=%s, lackPrice=%s, tagMoneyType=%s, tagMoneyValue=%ss3»õ±Ò²»×ã: TYPE_Price=%s, Price=%s, curMoneyCount=%s(RR¨RÏRÐRÑRÒRÓRÔRÕRÖRLR×tGetPayCoinTotalRÙRÚRR.R°tGetEqualMoneyInfot    HaveMoneyRRR9(
RRÛtPricet
needNotifytneedMoneyCountt
notifyCodet    lackPricet tagMoneyInfot tagMoneyTypet tagMoneyValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR
sJ                      
      
  cCs½tjddiƒ}t|ƒ|kr+dS|t|ƒ}tjddiƒ}t|ƒ|krfdS|t|ƒ}||dkrŠdS|d}ttj|t|ƒƒƒ}||fS(NtEqualValueMoneyiii(R«R¬RStintRRR(RÞt    needValuetequalMoneyInfoRtexchangeMoneyInfot exchangeInfotmultipleR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR8
s
cCs*|dkrgS|tjkr+tj}n|tjtjtjtjgkrut||||ƒrq||ggSgS|tjkr|jƒ}|j    ƒ}|||krÆ|rÂt
|dƒngS||krâtj|ggS||}tj|gtj|ggSt j d||j ƒƒgSgS(NiR s¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s(RLtTYPE_Price_Gold_Paper_MoneyR¨RÏRÑRÓRÕRRÒRÐR9RR.R°(RRÛRRR€RtneedGold((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt HaveMoneyExP
s.      
c    
Cs‚|dkrtS|dkr:tjd||jƒƒtS|}    |tjkr,t||ƒ}
|
|kr‚| r‚t|dƒtS|
|} t    ||| ƒt
|t j ƒ} | } |t jkrÙtd| |ƒ} n| | krî| } ntd| ƒ} | | krt|t j | ƒn| |d<nÜ|tjkr‹t||ƒ}||krn| rnt|dƒtS||}t    |||ƒn}|tjkr×t|ƒ}||krÃt|dƒtSt|||ƒn1|tjkr#|jƒ}||krt|dƒtS|j||ƒnå|t jkrt|ƒ}t|t jƒ}||}||krjtS||kr||n|}|}|rÝtjd|||fƒt|t j||ƒ||8}tjd    |ƒn|dkrt|||ƒqn|t jkrêt||ƒ}||krÓ|}    ||}t||ƒ}|r²|\}}t |||||||||ƒ    sƒtStjd
||||||f|jƒƒqÓtjd |||fƒtSnt||||    ƒntjd ||jƒƒtSt!|||    ||||ƒ|r~|t jkret|d |t"t#|    ddƒƒgƒq~t|d ||    gƒntS(Nis###---¿ÛÇ®Òì³£ = %sR t BourseMoneyRRRs9Ïȿ۴ú±ÒʱЧ: curPayCoinDay=%s,price=%s,costPayCoinDay=%ssÔÙ¿Û´ú±Ò: costPayCoin=%ssiµÈ¼Û»õ±Ò²¹×ã¿Û³ý: type_Price%s, price=%s, curCurrency=%s, lackPrice=%s, tagMoneyType=%s, tagMoneyValue=%ss+»õ±Ò²»×ã! type_Price=%s,curCurrency=%s < %ss¸¶·Ñ½ðÇ®Òì³£ type_Price = %st    LostMoneygY@i($RRR.R°RR¨RÏRàR9RêRÜRLtTYPE_Price_BourseMoneyRœtUnUseInner_CostTypeRBRèRÑRÓRÔRåRÕRÖRæR×RØRÚtTYPE_Price_PayCoinDayRRçRÙRtPayMoneyt__PayMoneyAfterRSRš(Rt
type_PricetpricetcostTypetinfoDicttquantityt costVIPGoldRtisMinust    lostMoneyt curPlayerGoldt updPlayerGoldtcurBourseMoneytupdBourseMoneytcurPlayerGoldPapert updGoldPapertcurPlayerSilvertcurPlayerSilverPapertcurPlayerPayCoint curPayCoinDayt payCoinTotaltcostPayCoinDayt costPayCoint curCurrencyRRRR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR+€
s    
        
 
 
 
 $    &,c    CsH|tjkre|jtj|ƒ}t||tjƒ}t|tj||ƒt||gƒn|t    j
krt ||||||ƒnc|t    j krµt ||||ƒn>|t    jkrÔt||ƒn|t    jkrót||ƒntj|||ƒtj|||ƒtj|tj||ƒ|tjkr¬|jtjƒ}t|tj||ƒ|jtjƒ}    t|tj|    |ƒtj|tj|ƒn|dkr¾|ntt j!|d|ƒƒ}
|} | } |tj"krtj"|} n|t    j
t    j tj#gkr7|tj$kr7dS|tj#krÝ|j%ƒ} t&||ƒ}t'|tj(ƒ}||d<|j)ddƒ}t*j+d| ||||f| ƒt*j,| tj-d|||g|dƒn|tj.kr    t*j/d| ||fƒn;t0j1|| |||ƒt2j3||| ||
tj4|ƒdS(    Nigð?tPlayerMoneyCount2t    orderInfoRysJ¼Ç¼ÏûºÄ´ú±Ò: eventName=%s,price=%s,nowMoney=%s,payCoinDay=%s,orderInfo=%sis;BT°æ±¾Ñ°±¦ÏûºÄ»õ±ÒÔÝʱ²»¼Ç¼Á÷Ïò: %s,type_Price=%s,price=%s(5RLRÿRáRœRtmintDef_UpperLimit_DWordRäR R¨RÏt__PayMoneyAfterByGoldMoneyRÑt__PayMoneyAfterByGoldPaperRÓt__PayMoneyAfterBySilverMoneyRÕt__PayMoneyAfterBySilverPapertPlayerActivitytOnPayMoneyActivitytPlayerActTurntabletOnPlayerUseGoldtPlayerActLunhuidiantAddLunhuidianValuetAwardType_PayMoneytTYPE_Price_XiantaotDef_PDict_UnXiantaoCntExptDef_PDict_UnXiantaoCntEquiptPlayerPrestigeSystAddRealmTaskValuetRealmTaskType_UseXiantaoRRRtDef_CostType_DictR×tDef_Cost_UnknownR°RàRÜR*R~RR.t AddPlayerRectDef_PlayerRecType_PayCointDef_Cost_TreasureRtDataRecordPackt DR_UseMoneyt EventReporttWriteEvent_virtual_resourcetDef_UserAction_Money_Use(RR-R.R/R0R1R2R    tunXiantaoCntExptunXiantaoCntEquipt    unitPricet reason_namet    eventNameRƒtnowMoneyt
payCoinDayRD((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR,ú
sX/ 
#+cCsr|tjkrTtj||||ƒtj|tj|ƒtj|tj    |ƒnt
j d||j ƒƒdS(Ns$²»¼ÆÈëÏû·Ñ»î¶¯µÄÏû·ÑÀàÐÍ!costType=%s( RœtCostRebate_DisableTypetPlayerCostRebatetAddCostRebateGoldtPlayerFeastTraveltAddFeastTravelTaskValuetDef_FeastTravel_UseGoldtPlayerActGarbageSortingtAddActGarbageTaskProgresstDef_GarbageTask_UseGoldRRR°(RR-R.R/R0R2((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRGb s cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RVttagMCGoldCostReportR…tCostTypeRtItemIDRYRZ(RR/R.titemIDR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__Sync_GoldCostReportŒ s 
            cCsdS(N((RR.R/R0((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRHš s
cCsdS(N((RR.((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRI« scCsdS(N((RR.((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRJ³ sc
Csï|dkrtS|dkr7tjd||fƒdStjƒr›t|ƒ}i|jƒd6|d6|d6|d6|d6}tjtj||gƒtSt    ||ƒ}    |t
j krLt ||ƒ|}
|
t jkròt|d|gƒdSt|||
ƒ|r3|
dkr3t|tjt||
ƒƒnt    |tjƒ|d    <nÈ|t
jkr§t ||ƒ|} | t jkr”t|d|gƒdSt||| ƒnm|t
jkrÐt|t|ƒ|ƒnD|t
jkr)|jƒ|t jkrt|d|gƒdS|j|jƒ|ƒnë|tjkrRt|t|ƒ|ƒnÂ|tjkrÔt ||ƒ} | t j!krƒdStt j!| |ƒ} t"||| ƒ|tj#krt$j%|tj&|ƒqn@tj'd
|||f|jƒƒt(j)|||||ƒdS|tj*kr/tj}n|r˜|tjkr˜|tjkrt|d |t+t,|d d ƒƒgƒq˜t|d ||gƒnt-|||||ƒ|    dkrët    ||ƒ}|dkrët.j/||ƒqëntS(Nis1Íæ¼Ò»ñµÃ½ðÇ®Òì³£ £¬ value = %s , priceType = %s ,R¿RR÷tGiveTypet AddDataDictt MoneyIsFullR&s/½ðÇ®ÀàÐÍ´íÎó, priceType=%s,value=%s,giveType=%sRÜgY@i(0RRR.R­tGetPlayerServerGroupIDR°tSendMsgToClientServerRLtCrossServerMsg_GiveMoneyRÜR¨RÏRàRœtDef_PlayerTotalMoney_GoldR9Rêt    GiveMoneyR(RERÑRÓRåRÔRÕRÖtDef_PlayerTotalMoney_SilverRæR×RçRØRÙRÚRFRètTYPE_Price_RealmPointR@tDoAddSuccessProgresstSuccType_GetRealmPointR8R]tDR_GiveMoneyErrorR*RSRšt__GiveMoneyAftert ItemControlertCheckGiveBindMoneyTypeItem(Rt    priceTypeRétgiveTypet addDataDictt    isSysHinttisGiveBourseMoneyt serverGroupIDtmsgInfotbefMoneyR6tupdPlayerGoldPaperRBtupdValuetaftMoney((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR~¾ st    /# ,  c
    Cs“tj|tj||gƒ|tjtjtjgkrM|tj    krMdS|}|tj
kr|tj
|}||d<n|tjkr"|j ƒ}t ||ƒ}t |tjƒ}||d<|jddƒ}    tjd|||||    f|ƒtj|tjd|||g|    dƒn|jdƒdkrTtjd    |||fƒn;tj|||||ƒtj|||d|tj|ƒdS(
NRfRCRDRysJ¼Ç¼»ñµÃ´ú±Ò: eventName=%s,value=%s,nowMoney=%s,payCoinDay=%s,orderInfo=%sit GiveItemEventtTreasures8BT°æ±¾Ñ°±¦¸ø»õ±ÒÔÝʱ²»¼Ç¼Á÷Ïò: %s,priceType=%s,price=%s(t
PlayerTaskt AddTaskValueRœtTaskType_GetMoneyR¨RÏRÑRLR×tDef_GiveMoney_UnknowntDef_GetType_DictR°RàRÜR*R~RR.RZR[RR]t DR_GiveMoneyR_R`tDef_UserAction_Money_Get(
RR‡RéRˆR‰RfRƒRgRhRD((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR„ s,   
#+ 1cCsT|dkrtS|tjkrR|jƒ|tjkrPt|d|gƒtSnþ|tjkr”|j    ƒ|tjkrPt|d|gƒtSn¼|tj
kr¦nª|tj krè|j ƒ|tj krPt|d|gƒtSnh|tjkrúnV|tjkr2t||ƒ}||tjkrPtSntjd||jƒƒtStS(NiRys½ðÇ®ÀàÐÍ = %sÌî´íÀ²(RR¨RÏRÐRœR}R9RRÑRÒRÓRÕRÖRRLR×RÙRÚRFRR.R°(RR‡RéRB((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt CanGiveMoneym s2 cCsdS(N((RRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreHPš scCsdS(N((RRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreMP£ scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerReExp« scCs]|jƒ}tƒ}||kr%dSd}t|||ƒ}||krYt|dƒndS(Nit PK_lhs_202580(t
GetPKValuet GetMaxPKValuet ChangePKValueR9(RRÆtcurPlayerPKValuet
maxPKValuetaddPointt changePKValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddPlayerPKValue¸ s       c
Cs-|jƒ}tƒ}tdt|||ƒƒ}||krA|Stjd|||f|jƒƒ|dkr}t|ƒn¬tj    }|j
|ƒt j ||ƒ}|d}||}    |s
t j |||ƒ|dkr
t j ||ƒ}|d}|d}    q
n|    r)|r)t|||    ƒn|S(s¸ü¸ÄPKÖµis7¸üÐÂPKÖµ: curPlayerPKValue=%s,newPKValue=%s,addValue=%si(R R¡RBRERRR°t ClearPKValueRœtDef_SkillID_Redt
SetPKValueR2t FindBuffByIDtAddBuffBySkillType_NoRefurbisht__AddPKValueRedBuffTime(
RtaddValueRÆR£R¤t
newPKValuet    addBuffIDt findBuffInfotredBufft addTimeValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¢É s,      #       
 
 
 cCsª|jƒ}|sdStj|ƒ}|jƒ|}|jƒ}ttd||ƒtjƒ}|j    |ƒt
j |||ƒt j d||||f|jƒƒdS(sSÔö¼ÓPKÖµ¶ÔÓ¦buffʱ³¤
    @param addTimeValue: Ôö¼ÓµÄbuffµ¥Î»Ê±³¤´ÎÊý, Ö§³ÖÕý¸º
    NisL    Ôö¼ÓºìÃûbuffʱ³¤: addTimeValue=%s,remainTime=%s,addTime=%s,resultTime=%s(tGetSkillR2t GetBuffTypet GetLastTimet GetRemainTimeRERBRœtDef_Max_Buff_RemainTimet SetRemainTimet    BuffSkilltPYSync_RefreshBuffRRR°(RR²R³t    buffSkilltbuffTypetaddTimet
remainTimet
resultTime((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR­å s       cCsÓ|jƒ}|sdStj|tjƒd}|sF|jdƒdS|jƒ}|s\dS|jƒ}|jƒ}t    t
j |t |ƒƒƒ}||krÏ|j|ƒt jd||f|jƒƒndS(Nis&¸üÐÂÍæ¼ÒPKÖµ: remainTime=%s,pkValue=%s(R R2R«RœR©RªR´R·R¶RRRRRRR°(Rt
curPKValueR²R¼R¿tperPKValueTimetpkValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPKValueByRedBuffö s"       #cCs9|jdƒtjƒjƒ}tj|tj|ƒdS(sÇå³ýPKÖµiN(RªRRRRºtDelBuffBySkillIDRœR©(RRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¨
s cCstjddƒS(s »ñÈ¡×î´óPKÖµtPKConfigi(R«Rf(((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¡ scCs†|jƒ}|jƒ}tjddiƒ}tj||dƒ}|dkrhtd||fƒ‚dSt|t    |ƒt
|ƒƒS(Nt LVUPAddPointiis0Íæ¼Ò»ñµÃÉý¼¶ÊôÐÔµãÒì³£, curLV = %s PlayerID = %s( RRÔR«R¬RtGetDictValueByRangeKeyR7t    ExceptionRtGetFabaoAddPointtGetTitleAddExtraPoint(RR2RÁt addPointDictR¥((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLvUp_AddPoint s   c    Csótjtjƒ}|jƒ}||kr.dStjddƒ}t|ƒ}t|ƒ}tj    ddiƒ}x_|j
ƒD]Q\}}||dkrœqzn||||t ||dƒ|dd7}qzW||j ƒtjddƒ7}|S(NiRÇiii( t GameFuncCommtGetFuncLimitLVRLtGameFuncID_AddPointRÔR«RfRÊRËR¬RwREtGetOfficialRank(    RtopenLVRÁt setFreePointt fabaoAddPointt titleAddPointRÌtrangLVstpoint((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetAllPointByLV& s    3 cCs>tjdƒ}|r:|jƒj|ƒr:tjddƒSdS(Nt TitleAddPointii(R«RftGetDienstgradManagert GetDienstgrad(RttitleID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRË: scCs>tjddƒ}tj||ddƒs.dStjddƒS(Nt FabaoAddPointitlvii(R«RftPlayerMagicWeapontGetIsActiveMagicWeapon(RtmwID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÊA scCs{|jƒ}t|ƒ}|jƒ}i|d6}|j|ƒtj|d||ƒtjd|||f|jƒƒdS(s ¼Óµã¹¦ÄÜ¿ªÆôtbeforeFreePointt AddPointOpensB    ¼Óµã¹¦ÄÜ¿ªÆô´¦Àí  beforeFreePoint=%s,curLV=%s, setFreePoint=%sN(    t GetFreePointRØRÔt SetFreePointR]t DR_FreepointRRR(RRâRÓRÁR‰((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoAddPointOpenH s     #RécBseZdZd„Zejeddd„Zddd„Z    d„Z
e d„Z d„Z e de d„Zd„Ze d    „Zd
„Zde d „Zd „Zd „Zed„Zed„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs ||_dS(N(t_PlayerControl__Player(tselftiPlayer((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__init__e sic
Cs|j}|j||||||ƒ\}}|r{tjƒ}    |tj|    _|tj|    _||    _t    j
||    ƒn|S(N( Rèt_PlayerControl__AddExpRVt tagMCAddExpRœtDef_PerPointValuetExpPointtExptSourceRYRZ(
RétaddExpt expViewTypeRŠt
addSkillIDt    expRateExRt finalAddExpt expNotifyTypeR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddExpo s    $     c    Cs%|dkr||fSt|ƒ}t|ƒ}tjddƒ}    |jƒ}
|
|kr°||    kr°|    dkr°|j|dƒtjd|
|||    f|jƒƒd|fS|t    j
krÔ|j t j ƒ} nE|t    jt    jgkrû|jƒ} nttjƒjƒt jƒ} | |7} t|| tt jƒƒ}|
|krw|    dkrwt|td|    |ƒƒ}n|dkrštjdƒd|fS||} | t j} | t j}|jƒ|krà|j|ƒn|jƒ| kr|j| ƒn|
|kr|jƒn||fS(Nit PlayerMaxLViiÿÿÿÿtGeRen_admin_825676sF¾­ÑéÒÑÂú£¡ÒÑÂú¼¶£¡curLV=%s,maxLV=%s,curTotalExp=%s >= maxLVExpStore=%ss ÎÞ·¨»ñµÃ¾­Ñé(tGetPlayerTotalExptGetPlayerMaxLVR«RfRÔt_PlayerControl__NotifyExpFullRRR°RLtDef_ViewExpType_KillNPCR    RœtDef_PlayerKey_TotalExpRatetDef_ViewExpType_GameEventtDef_ViewExpType_SittGetGameEventExpRateRBRt
GetExpRatetDef_MaxRateValueRRRERît GetExpPointt SetExpPointt GetTotalExpt SetTotalExpt
PlayerLvUp(RéRRòRóRŠRôRõt curTotalExptmaxLVt maxLVExpStoreRÁtexp_ratettotalExptcurExptexpPoint((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__AddExp‚ s@ 
   $&
 
 
 
    cCs?|jtjƒ}|s;t||ƒ|jtjdƒndS(Ni(R    RœtDef_PlayerKey_ExpFullNotifyR9R (RéRtexpFullNotifyMarktexpFullNotifyState((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__NotifyExpFull¼ s
 c Csn|j}t|jƒƒ}|s%dSt|ƒ}|dkrAdSt|ƒ}||kr]dSt}|jƒ}t|ƒ}|jƒ|jƒ}    xÛ||krn||krnt}|d}t}
|dkr×t}
n|j    ||
ƒt
j ||jƒt|ƒ|ƒt
j |t ji|d6ƒ|j|ƒt|jƒƒ}||}t|ƒ}|dkr”Pq”q”W|jƒ|r]|jƒ} | |    kr|j    | tƒtj|t j| |    ƒtj|t jƒtj|tj| ƒtj||    | ƒntj|ƒtj |ƒt!j"|ƒt!j#|ƒj$ƒt%j&|ƒt'j(||    | ƒnt)||ƒdS(Niii2RÞ(*RètGetPlayerLVIpyDataRÔtGetLVUPTotalExpNeedRûRRütBeginRefreshStateRtSetLVR]tDR_PlayerUpgradetCache_FightPowerChangeInfoRœtPowerDownType_LVUPt_PlayerControl__GiveLVMailAwardtEndRefreshStatetPlayerTongTianLingtAddTongTianTaskValuetTTLTaskType_LVUpR”t UpdTaskValuet TaskType_LVR@tUptateSuccessProgressRLtSuccType_HeroLVRKtDoAddActivityByLVt PlayerGubaotDoGubaoAddFreePointRÎtDoFuncOpenLogict PlayerOnlinet CalcRoleBasetGetOnlinePlayertRefreshRoleAttrR9t OnPlayerLVUptFunctionNPCCommontMysticalLimitShopOpentSetPlayerTotalExp( RéthandLvUpRt    lvIpyDatat lvUpNeedExpR
tplayerNeedDoLVUpRÁR tbefLVtisNotifyServertaftLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR    È s^          
 
     " 
 
       cCsatjddiƒ}||kr%dS||\}}|j}t||jƒg||gƒdS(Nt MailLVAwardi(R«R¬RèR{R°(RéRÁtmailLVAwardDictRnt mailItemListR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GiveLVMailAward+s     cCsdS(N((Rét
isSyncBufft billboardFunctisForce((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRm<scCsdS(N((Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReCalcAllStateCscCs3|j}|jtjdƒ|r/|jƒntS(Ni(RèR RœtDef_Player_RefreshAttrByBufftRefreshPlayerAttrByBuffExR(RéR?R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerAttrByBuffHs
     cCsdS(N((Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRBQscCs[|j}|jtjdƒ|rD|tjkrDtjj|ƒn|rW|jƒndS(Ni(RèR RœtDef_Player_RefreshAttrR7tg_refreshAttrBillboardFuncR%tRefreshPlayerAttrStateEx(RéR>R?R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerAttrState]s     cCsdS(s  ±¾ÏîĿˢÊôÐÔ¹æÔò
                    ÊôÐÔ£º
            1.¹Ì¶¨ÊôÐÔ£ºÈç¹¥»÷+100
            2.°Ù·Ö±ÈÊôÐÔ£º Èç¹¥»÷+5%£¬°Ù·Ö±È¼Ó³É»ùÖµ½öΪ¹Ì¶¨ÊôÐÔ£¬°Ù·Ö±È¼Ó³ÉÊôÐÔÖµ²»±»³ýbuff°Ù·Ö±ÈÍâµÄÈκΰٷֱÈÊôÐÔ¶þ´Î¼Ó³É
            
                    ²ã¼¶£º
            1.ÊôÐԲ㼶£ºËùÓй¦ÄÜͬһ²ã¼¶
            2.buff²ã¼¶£º°Ù·Ö±È¿É¶Ô¹¦ÄܰٷֱȼӳɵÄÊôÐÔ½øÐжþ´Î¼Ó³É
            
                    ¹¦ÄÜÄ£¿é£º¶¨ÒåÒ»¸ö¹¦ÄÜ£¬±ÈÈçÁé¸ùÄ£¿é£¬Ò»¸öÄ£¿é¿ÉÄܰüº¬¶à¸ö¹¦Äܵã
                    ¹¦Äܵ㣺ij¸öÄ£¿éϵĸ÷¸öÊôÐÔ¹¦Äܵ㣬ÈçÁé¸ùÄ£¿é¿ÉÄܰüº¬ Áé¸ù»ù´¡¡¢Áé¸ùÆ·ÖÊ Á½¸ö¹¦ÄܵãÊôÐÔ
        
                    °Ù·Ö±È¼Ó³ÉÖµ£º°Ù·Ö±È¼Ó³ÉÊôÐÔÖµ²»±»³ýbuff°Ù·Ö±ÈÍâµÄÈκΰٷֱÈÊôÐÔ2´Î¼Ó³É
            1.¹¦ÄÜÄÚ²¿ÊôÐ԰ٷֱȼӳɣº¹¦ÄܰٷֱÈÊôÐÔ¶Ô×Ô¼º¹¦Ä̶ܹ¨Öµ¼Ó³É
            2.¹¦Äܽ»²æÊôÐ԰ٷֱȼӳɣº¹¦ÄܰٷֱÈÊôÐÔ¶ÔÆäËû¹¦Ä̶ܹ¨Öµ¼Ó³É
            3.¹¦Ä̶ܹ¨ÊôÐ԰ٷֱȼӳɣº¹¦ÄܰٷֱÈÊôÐÔ¶ÔËùÓй¦Ä̶ܹ¨Öµ¼Ó³É
            4.buff²ã¼¶°Ù·Ö±È£º¶ÔËùÓÐÊôÐÔ½øÐжþ´Î¼Ó³É
            
                    ¼¼ÄÜÊôÐÔ£º¹Ì¶¨Öµ²»ÏíÊ̶ܹ¨°Ù·Ö±È¼Ó³É
                    
        buff²ã¼¶£º
            1.²»ËãÕ½Á¦
            2.ÏÈËã°Ù·Ö±È¼Ó³ÉÔټӹ̶¨Öµ
            
                    ÊôÐÔËã·¨£º
                       Ä£¿é¹Ì¶¨ÊôÐÔ    = ¹¦ÄܵãA¹Ì¶¨Öµ + ¹¦ÄܵãB¹Ì¶¨Öµ + ...
                        ¹Ì¶¨×ÜÊôÐÔ        = Ä£¿éA¹Ì¶¨Öµ + Ä£¿éB¹Ì¶¨Öµ + ...
                        ÎÞbuff×ÜÊôÐÔ  = ¹Ì¶¨×ÜÊôÐÔ + ÄÚ²¿°Ù·Ö±È¼Ó³ÉÖµ + ½»²æ°Ù·Ö±È¼Ó³É  + ¹Ì¶¨×ÜÊôÐ԰ٷֱȼӳɠ  + ¼¼ÄܰٷֱȶԹ̶¨ÊôÐԼӳɠ + ¼¼Ä̶ܹ¨Öµ
                        º¬buff×ÜÊôÐÔ  = ÎÞbuff×ÜÊôÐÔ * buff°Ù·Ö±È¼Ó³É  +  buff¹Ì¶¨Öµ
        N((Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRFiscCsdS(N((Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshAllSkillŽscCsdS(N((RétskillIDtbeforeFightPowertisRefreshState((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerEx’scCsdS(N((Rét
delSkillIDRK((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerByDel•scCsdS(N((Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcPassiveBuffAttr›scCsdS(N((Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerActionState¢scCsì|j}tjƒjƒ}|tjkrQ|jƒ}|jƒ}|jƒ}n$|j    ƒ}|j
ƒ}|j ƒ}|dkr¬t |dƒtj d||jƒƒdS||jƒkrÕtj|||ƒdSt||||ƒdS(NitObjectMapNonentitysÈËÎïÖØÉúµØÍ¼ID = %sÒì³£!(RèRR)R§R¨R©R§RŸR tGetFBRebornMapIDtGetFBRebornPosXtGetFBRebornPosYR9R.R°RªRXR_(RéRRR°R›Rœ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetToBornPlaceªs$           cCsÇ|j}tj|ƒt|ƒ|jƒt|ƒtj|ƒ|jƒt    j
|ƒdkrst    j |dƒnt j |ƒ|j|ƒt jƒjƒ}t|ƒt    j|ƒtj|ƒdS(Ni(RèR9RtReSetPlayerStatet#_PlayerControl__PlayerDeadClearBuffRRR tClearUseSkillRecR¤R¥tSetHPRtClearPlayerPosCounttSetPlayerDeadCntRRtClearPyPlayerStatet MirrorAttackt OnPlayerDead(RéRRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÛs      
 
 
 
 
  cCswt|tjttjƒƒƒtj|tjƒd}|o_|jƒj    ƒ|jƒj
ƒksfdS|j |ƒdS(Ni( RäRœtDef_Player_Dict_DeadTimeRttimeR2R«tDef_SkillID_ReviveTiredR´t
GetSkillLVt GetSkillMaxLVtNotifyPlayerDeadTime(RéRtfindBuff((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR[s *! cCs–tj|tjƒd}|r’|jƒjƒ|jƒjƒkr’|jtjƒr’|jtj    ƒ}t
j ƒ}||_ t j||ƒq’ndS(Ni(R2R«RœRaR´RbRcRátDef_PDict_IsAddReviveTiredR_RVttagMCPlayerDeadTimetDeadTimeRYRZ(RéRRetlastDeadTimeTicktpackData((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRd>s*     cCsç|j}tjƒjƒ}t||jƒt|ƒt||jƒt|ƒt||jƒt|ƒt||j    ƒt|ƒt||j
ƒt|ƒt||j ƒt|ƒt||j ƒt|ƒt||j ƒt|ƒdS(N(RèRRRRbRctClearBuffByDieReRfRgRaRhRiRj(RéRRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerDeadClearBuffNs    N(t__name__t
__module__R7RèRëRLtDef_ViewExpType_MissionRRøRìRýRR    RRmR@RCRBRGRFRHRLRNRORPRURR[RdRW(((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRé\ s.    
:     c                       %                  1    4    /    c    Csú|jƒ}d}g}tjƒj|ƒ}x³||jƒkrâ|j|ƒ}|s{tjd||ƒ|d7}q0n|r||ƒr|d7}q0n|j|j    ƒj
ƒƒ|rÒ|j |j    ƒƒn|j |ƒq0Wt j|||ƒdS(Nis###Íæ¼ÒÇå¿Õbuffʧ°Ü,Ë÷Òý = %si(R°RtGetPassiveEffManagert GetPassiveEfft GetBuffCounttGetBuffRR.R%R´t
GetSkillIDt DelBuffInfotDeleteBuffByIndexRYtClearBuffEffectBySkillIDList(    Rt    buffStatet funcClearBuffRÆR2R(tbuffSkillIDListt
passiveEfftcurBuff((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRbes& 
 
cCs |jƒ}|jƒt@dkS(Ni(R´tGetDieContinuetDef_Buff_Clear_Die(R|tskill((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRk‹s cCs |jƒ}|jƒt@dkS(Ni(R´R}tDef_Buff_Clear_Disconnect(R|R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRd“s c    CsJtjƒ}|j|ƒsFtjd||jƒƒt|dƒtS|j|ƒ}tj||j    ƒƒs~t|dƒtS|j
|ƒt j kr§t|dƒtSt ||ƒsºtSt|ƒ}tjdƒ}d}xB|jƒD]4\}}||krqèn||krtS|}qèW|dkrFt|d||gƒtStS(Ns###·Ç·¨µØÍ¼Êý¾Ý£¬mapID: %sRQtEnemy_State_No_TranstCarry_lhs_306641tTransportMapLineCheckitCarry_yeqian_0(RR)RèR8R°R9RtGetCountryByMapIDtIsSameCountry_Namet
GetCountryRŒR¨R©t CanEnterMaptGetPlayerLineIDRñRòRwR(    RR¸Rµt
mapCountryt    mapLineIDtmapLineCheckDicttcanEnterLineIDRCt    mapIDList((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckTagCountrys6  
 
 cCst|||ƒstStS(N(tCheckLVCanEnterMapRR(RR¸t    isShowSys((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRˆÛscCstjƒjƒj|ƒ}|s%dS|jƒ}|jƒ|krc|r_t|d|gƒntS|jƒ}|r‰t||ƒ r‰tSt    S(Nt Carry_hwj35_0(
RR¡t
GetChinMapt
GetMapByIDRÔR9Rt GetTreasureIDt    IsMapOpenR(RR¸R‘tmapDatatenterLVt openMapStep((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRês  cCstS(N(R(RR™((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR–üscCs„|jƒ}|tjkr,t|dƒtS|jƒrE|jƒn|tjkrat    |ƒnt
j |tj tj ƒs€tStS(NR(RÇRœRR9RR¯R-R¨RüRÈtOperControlManagertIsObjCanDoActiontDef_Obj_ActState_ServerActt oalTransmitR(RR!((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¦s      cCsZ|jƒrdS|s+tjƒjƒ}ntj|tj|ƒrVt|ƒj    ƒndS(N(
t GetCanAttackRRRRºRÅRœtDef_SkillID_LimitSuperBuffRéRC(RRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÂ$s  cCs¹tjƒjƒ}|jƒ}|tjkr0n$|tjkrBn|tjkrTn|tjkrpt    |ƒn|j
ƒ}|tj kržt j |tƒnt|ƒ|jdƒdS(N(RRRRÇR¨tpaTradeRÊt paGameEventRÍRÎR-R.R/R0RR¼RøR7(RRÆRÒtcurPlayerVehicle((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRV4s    
 cCs$|jƒstS|jƒr tStS(N(t    GetInitOKRt GetIsLoginOffR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__CanPullPlayer]s
  cCs=|jƒtjkrtS|jƒr)tS|jƒr9tStS(N(RÇR¨RËRR¯t IsBattleStateR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsPlanStateNulljs  
cCsƒ|jƒj|ƒ}|jƒ}|r7|j|ƒn5tj|ƒtj||ƒ}|jt||ƒƒ|r|jƒndS(N(    R³R´t GetMaxCounttSetCountt
ItemCommontGetPackInitCounttGetPackOpenItemCntREtSync_PackCanUseCount(RR_t
defaultMaxtisSynctcurPacktmaxCounttcount((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytInit_PackCount„s  c Cs«|rÏ|rÏ|j|ƒ}tj||ƒ}|jtjdƒ}|jtjdƒ}|jtjdƒ}    |jtjdƒ}
|    rÏ|
tj    krÏ||krÏt
j d||||
f|j ƒƒt SnxÕtjj|iƒjƒD]¸}|jtjdƒ} |jtjdƒ}|jtjdƒ}    |jtjdƒ}
|j|| ƒ}|    rë|
tj    krë||krët
j d|| ||
f|j ƒƒt SqëWtS(Nis4%s»î¶¯Íæ¼ÒÕýÔÚ²ÎÓëÖÐ! cfgID=%s,actID=%s,stateJoin=%ss1%sÍæ¼ÒÕýÔÚ²ÎÓëÖÐ! actNum=%s,actID=%s,stateJoin=%s(RáR tGetPlayerCrossActInfoR~RLt    ActKey_IDt ActKey_CfgIDt ActKey_StatetActKey_StateJointActStateJoin_EndRRR°RR7tg_operationActionDictRHt ActKey_ActNumR( RtactNametactIDKeyt crossActNamet crossActIDKeyt playerActIDtactInfotactIDtcfgIDRåt    stateJointactNum((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsInOperationAction‘s, !    "!    cCsetjƒ}xRt|jƒƒD]>}|j|ƒ}|dks|jƒ rSqnt|ƒqWdS(N(RR=R>R_R`R7R£tSync_ExpRateChange(RGRHR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshOperationAction_ExpRate­s cCsQt|ƒ}|jƒ}|tj|tjƒ7}|tj|ƒ7}tj    j
t j iƒ}|j
t j ƒrÀtjd|j
t jƒƒ}|rÀ|jƒ|jƒkrÀ||jƒ7}qÀn|jƒtjgkrñ||jtjƒ7}ntdtj|ƒdƒ}||tj7}||krM|jtj|ƒ|j|ƒndS(Nt
ActExpRateii(tGetPlayerExpRatetGetFightExpRatet    PlayerViptGetPrivilegeValueRœtVIPPrivilege_FightExpRatetPlayerGoldInvesttGetAddFightExpRateR7RºR~RLtOperationActionName_ExpRateR·R«tGetIpyGameDataR¶RÔt
GetLVLimitt GetAddExpRateRªtDef_FBMapID_FamilyInvadeR    tDef_PlayerKey_TeamExpRateRBRÉtGetAreaRewardMultipleRR RÿtSync_CurExpRate(Rt totalExpRatet fightExpRatetactExpRateInfot actExpIpyDatatmapExpAddMultiple((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRǺs"   cCs|jtjƒS(N(R    RœRÿ(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÊÓsc Cs*t|ƒ}|dkr|S|jƒ}xût|jƒƒD]ç}|j|ƒ}|jƒ}xÃt|jƒƒD]¯}|j    |ƒ}|j
ƒ}    |    dkr Pn|    t j krµqon|j dƒ}
|j dƒ} |j dƒ} | t jkso| rþqon| td|ƒ@ro||
8}qoqoWq;W|S(sA »ñÈ¡ÊÜÏÞ¹¦ÄÜ×ܾ­Ñé±¶ÂÊ
    @param limitType: ÊÜÏ޵ŦÄÜÀàÐÍ
    iiiN(RÊR7RgR>RrRsR´R"tGetEffectCountt    GetEffectt GetEffectIDRœtTYPE_Calc_AttrFightExpRatetGetEffectValuetEffCalcType_LinePlusRã( Rt    limitTypeRÙRxRHR|R¼tjt    curEffectteffectIDt
effExpRatetcalcTypetlimitTypeValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLimitExpRateÔs,      cCs(|j||tj|tj|ƒdS(sG ·¢ËÍ0418°ü
    @param boardCast: ÊÇ·ñ¹ã²¥ÖÜÎ§Íæ¼Ò£¬Ò»¶¨»á·¢¸ø×Ô¼º
    N(RëRLRî(Rt    inputTypeRét    boardCast((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRë    s$cCs%|j||tj|tjƒdS(N(tSendGameServerRefreshStateRLRî(RRìRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRîs!cCs,t||ƒ|jƒ}|dkrT|tdtjƒB}|tdtjƒB}nÇ|dkry|tdtjƒB}n¢|dkræ|tdtjƒ@r´|tdtjƒA}n|tdtjƒ@r|tdtjƒA}qn5|tdtjƒ@dkr|tdtjƒA}nt||ƒdS(s? ÉèÖÃÊÇ·ñ½ûÑÔ
    @param value: 0-½â½û£»1-½ûÑÔ£»2-½ûÉ豸£»3-½âÉ豸
    
    ½ûÉ豸Á÷³Ì
    1.ÏÈÉèÖÃ2֪ͨǰ¶ËдÈë½ûÉ豸¼Ç¼£¨Ç°¶Ë´¦Àíµ±Îª2ʱ±¾µØÉ豸±ê¼ÇΪ½ûÉ豸£© 
    2.ÔÙÉèÖÃ1£¬´Ëʱǰºó¶Ë״̬¾ùΪ1£¬¼´½ÇÉ«½ûÑÔ
    
    ½â½ûÉ豸Á÷³Ì
    1.ÏÈÉèÖÃ3֪ͨǰ¶Ëɾ³ý½ûÉ豸¼Ç¼
    2.ÔÙÉèÖÃ0£¬´Ëʱǰºó¶Ë״̬¾ùΪ1£¬¼´½ÇÉ«½â½û
    iiiiN(t__SetGMForbidenTalkValuet GetAccStateRãRœtDef_PysForbidTalkDevicetDef_PysForbidTalktSetPlayerAccState(RRétaccState((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetGMForbidenTalks       cCsQ|j|ƒt|tj|ƒt|tj|ƒtjd||jƒƒdS(Ns__SetGMForbidenTalkValue %s(RõRîRLtCDBPlayerRefresh_ForbidenTalkRëRRR°(RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRï5s
 cCs^|j|ƒ|j|ƒt|tj|ƒt|tj|ƒtjd||jƒƒdS(NsSetPlayerAccState %s(    t SetAccStatet SetExAttr17RîRLtCDBPlayerRefresh_ExAttr17RëRRR°(RRô((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRó<s   cCs¨|jƒtdtjƒ@rOtjd|jƒƒt|dƒt|dƒnU|jƒtdtjƒ@r‘tjd|jƒƒt|dƒnt    |t
j dƒdS(NisÉÏÏßʱ½ÇɫΪ±»É豸½ûÑÔ״̬!isÉÏÏßʱ½ÇɫΪ±»½ûÑÔ״̬!i( RðRãRœRñRR.R°RïRòRëRLRö(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoGMForbidenTalkOnLoginDs cCs-t|ƒ\}}}|d|}||kS(Nid(tGetMainLevelPassInfo(RtlvIDt passChapterIDt passLevelNumt_t    passValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsMainLevelPassSscCs
|jƒS(N(t
GetExAttr1(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMainLevelPassValue[scCs|j|ttƒdS(N(t
SetExAttr1R(RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMainLevelPassValue\scCs#t|||ƒ}t||ƒ|S(N(tComMainLevelValueR(Rt    chapterIDtlevelNumtwaveRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMainLevelPassInfo]s cCstt|ƒƒS(N(tGetMainLevelValueR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRûescCs
|jƒS(N(t
GetExAttr2(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMainLevelNowValuekscCs|j|ttƒdS(N(t
SetExAttr2R(RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMainLevelNowValuelscCs#t|||ƒ}t||ƒ|S(N(RR(RRRR    Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMainLevelNowInfoms cCstt|ƒƒS(N(R R (R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMainLevelNowInfouscCs|d|d|S(Ni'id((RRR    ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRzscCs/|d}|dd}|d}|||fS(Ni'id((RéRRR    ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR {s
 
cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR€‚scCst||d|ƒS(Ni
(tSetTeamCheckState(Rt joinReqCheckt inviteCheck((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTeamCheckStateEx…scCsdS(N((Rt
checkState((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR†scCs:|d|}||jƒkr6|j|ttƒndS(Niè(t
GetExAttr3t
SetExAttr3RR(RR˜R›Ré((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR3ˆscCs|jƒdS(Niè(R(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFBFuncMapIDscCs|jƒdS(Niè(R(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRŽscCs
|jƒS(N(t
GetExAttr5(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR®‘scCs-|j|ttƒ|s)tj|ƒndS(N(t
SetExAttr5RRRBRC(RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetCrossMapID’scCs|jƒdS(Niè(t GetExAttr14(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCustomMapID™scCs|jƒdS(Niè(R(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCustomLineIDšscCs:|d|}||jƒkr6|j|ttƒndS(Niè(Rt SetExAttr14RR(RR˜RCRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetCustomMapœscCs|jƒtj|jƒS(N(t
GetExAttr6RœRîRÔ(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÔ£scCsn|tj}t|tjtjƒ}||jƒkrH|j|ƒn||jƒkrj|j|ƒndS(N(RœRîRERFRÔRåR"t
SetExAttr6(Rt totalSilverRt silverPoint((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRå¤s cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVIPExpireTime®scCsdS(N((Rt
expireTime((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVIPExpireTime¯scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetVIPLVUpTime²scCsdS(N((RtlvUpTime((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVIPLVUpTime³scCs
|jƒS(N(t GetExAttr10(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetChatBubbleBox¶scCs|j|ttƒS(N(t SetExAttr10RR(RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetChatBubbleBox·scCst|ƒt|tjƒS(N(RØRÚRLR*(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRºscCs
|jƒS(N(t GetExAttr11(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRØ»scCs|jt|tjƒttƒS(N(t SetExAttr11RERœRFR(RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRç¼scCs;t|tjƒ}|dkr7t|tj|dƒndS(Nit PayCoinOnDay(RÚRLR*R+R×(RRh((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR2½s cCs|jƒ}|jƒS(N(RÚt GetCurGradID(RtcurDienstgradMgr((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetTitleIDÅs cCs$t|jƒƒ}|r |dSdS(Ni(t GetCoupleInfoR°(Rt
coupleInfo((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetCoupleIDÊscCs$t|jƒƒ}|r |dSdS(NiRy(R6R°(RR7((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetCoupleNameÍscCs$t|jƒƒ}|r |dSdS(Nii(R6R°(RR7((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetCoupleJobÐscCs$t|jƒƒ}|r |dSdS(Nii(R6R°(RR7((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBridePriceMaxIDÓscCs|tjkrdStj|S(N(R7t g_coupleInfo(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR6ÖscCs-|stjj|dƒn |tj|<dS(N(R7R<R>R7(RƒR7((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetCoupleInfoÚs cCs
|jƒS(N(t GetExAttr13(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRzâscCsitjƒrdStjƒ}|s&dS|jƒ}||kre|j|ttƒtjd|ƒndS(Ns(¸üÐÂÍæ¼ÒËùÊô·þÎñÆ÷×éID: serverGroupID=%s(RR­tGetServerGroupIDR>t SetExAttr13RRR(RRŒtplayerServerGroupID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytUpdPlayerServerGroupIDãs    cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealmDifficultyñscCsdS(s( ÉèÖþ³½çÄѶȵȼ¶£¬ÈκεØÍ¼¾ù¿ÉÑ¡Ôñ
    N((RtrealmDifficulty((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetRealmDifficultyòscCsdS(Ni((RD((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDifficultyRealmLVöscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMapRealmDifficulty÷scCs
|jƒS(N(t GetExAttr19(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLeaveFamilyTimeExüscCs*|j|ƒ|jtj|dtƒdS(Ni(t SetExAttr19RëRLtCDBPlayerRefresh_ExAttr19R(RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLeaveFamilyTimeExýs cCs|jƒtj|jƒS(N(tGetFightPowerExRœRît GetFightPower(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRNscCsøt|ƒ}|j|tj|tjtƒ||krLtj||ƒn|jtjƒ}||jtj    ƒtj7}||krÄ|}t
|tj|tjƒt
|tj    |tjƒnt j d|||f|j ƒƒtj|ƒdS(Ns1×ÜÕ½Á¦: %s, ÀúÊ·×î¸ßÕ½Á¦: %s, beforeFightPower=%s(RNt SetFightPowerRœRîRR]tDR_FightPowerChangeInfoRátDef_PDict_FightPower_HighesttDef_PDict_FightPower_HighestExRäRRR°RntUpdatePlayerFPTotalBillboard(RRéRJthighestFightPower((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyROs !  # cCsdS(N((RtmfpTypet
fightPower((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMFPFightPowerscCsdS(Ni((RRU((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPFightPowerscCsdS(N((RRURV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMFPExFightPowerscCsdS(Ni((RRU((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPExFightPower!scCsdS(N((RRURV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMFPSkillFightPower$scCsdS(Ni((RRU((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPSkillFightPower&scCs|jƒdS(Ni(RM(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR‰-scCsR|jtjƒtjkrA|jƒ|kr=|j|ƒndS|j|ƒdS(N(RáRœt#Def_Player_Dict_AutoCheckHack_StatetDef_AutoCheck_State_DangertGetSightR2(Rtsight((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR25s  cCs8|jƒ}|jtjƒtjkr4|d9}n|S(Nid(tGetAtkIntervalRáRœR]R^(Rt atkInterval((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRaDs
   tunknowncCsG|dkrtSt|ƒ}||}||kr6tSt||ƒtS(Ni(Rt    GetZhenQiRt    SetZhenQi(RR®t canOverbrimtisSysMsgRft    eventDatat    curZhenQiRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAddZhenQiTs  
  cCsg|dkrtSt|ƒ}td||ƒ}|dkrVtjd||fƒtSt||ƒtS(NiscurZhenQi = %s, lostValue = %s(RRdRBRR8RRe(Rt    lostValueRfRhRiRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLostZhenQios    cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRdƒscCsdS(N((Rt totalZhenQi((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRe„scCs|jƒ}t|ƒS(N(RÔtGetTotalExpByPlayerLv(RRÁ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLVUPTotalNeedExpŽs cCs t|ƒ}|sdSt|ƒS(Ni(RR(tplayerLVR3((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRn•s cCs1tjd|ƒ}|s-tjd|ƒdS|S(NtPlayerLVs¾­Ñé±íÒì³£  lv= %s(R«RÒRR8(RpR3((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR›s
cCs|s
dS|jƒS(Ni(tGetExp(R3((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¢scCsPtjddƒ}|jƒ}tj|ƒ}|s7dSt||jƒƒ}|S(NRùii(R«RfRÑRUtGetRealmIpyDataREtGetLVMax(RR t
curRealmLVt realmIpyDatat playerMaxLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRü§s cCs%|jƒ}t|ƒ}t||ƒS(N(RÔRûtGetRealPlayerLvEx(Rt realPlayerLvR
((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealPlayerLv´s  cCsWt|ƒ}|s|Sx:||krR|d7}||8}t|ƒ}|sPqqW|S(Ni(Rn(RyR
t needTotalExp((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRx¿s 
 
 cCs-|jƒ}|jƒ}|tj|}|S(N(RRRœRî(RRRttotalMasterExp((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRûÏs  cCsb|tj}|tj}|jƒ|kr<|j|ƒn|jƒ|kr^|j|ƒndS(N(RœRîRRRR(RRRR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR1Ös  cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RVttagMCNotifySelectObjR…RJtIDtisSelectRYRZ(RtobjTypetobjIDRt    selectObj((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_SelectObjès 
            cCsdS(N((tattrTypeRét allAttrList((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcAttrDict_Type÷scCs)|jtj|ƒ}t||jƒƒS(N(RáRœtDef_PDict_TrainRealmLVRBRÑ(RtfuncTypet trainRealmLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTrainRealmLVRealûscCs(t|tj||ƒt||ƒdS(N(RäRœR‡tSyncTrainRealmLV(RRˆR‰((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTrainRealmLVþs cCsÝ|dkrtddƒ}n    |g}g}xh|D]`}|jtj|ƒ}| ri|dkriq4ntjƒ}||_||_|j    |ƒq4W|s¢dStj
ƒ}||_ t |j ƒ|_ tj||ƒdS(Nii
i (R7R"RáRœR‡RVttagMCTrainRealmLVtFuncTypet TrainRealmLVR%ttagMCTrainRealmLVInfoRRURûRYRZ(RRˆtsyncFuncTypeListRtfTypeR‰tlvInfoR ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR‹s&                    cCs|jtjƒS(N(RáRœtDef_PDict_CharmLV(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetCharmLVscCs*t|tj|ƒt|tj|ƒdS(N(RäRœR”RëRLtCDBPlayerRefresh_CharmLV(RtcharmLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetCharmLVscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTotalLingGenPointscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMetal$scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWood%scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetWater&scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFire'scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetEarth(scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetReduceSkillCDPer-scCsdS(N((Rt    reducePer((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetReduceSkillCDPer.scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHPCureEnhance1scCs|jtjƒS(N(RáRœtDef_Player_Dict_FamilyEmblemID(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFamilyEmblemID4scCst|tj|ƒdS(N(RäRœR£(RtemblemID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetFamilyEmblemID5scCs
|jƒS(N(tGetReceivedSalary(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFamilyMemberLV8scCs|j|ƒ|j|ƒdS(N(tSetReceivedSalarytSetFamilyMemberLV(RtfmLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRª9s  cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    GetProDef@scCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt    SetProDefAscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetMaxProDefDscCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetMaxProDefEscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLostYinjiTimeHscCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLostYinjiTimeIscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetYinjiCntLscCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetYinjiCntMscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTheFBSkillsCDPscCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTheFBSkillsCDQscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetBurnValueSscCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetBurnValueTscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBurnTimePerVscCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBurnTimePerWscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSubSpeedPerYscCsdS(N((RRé((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSubSpeedPerZscCsdS(N((Rt    funcIndexR…tinsidePerAttrDicttcustomAttrDict((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetCalcAttrListValue_scCs8gtdƒD] }i^q }i}i}|||fS(Ni(R"(RR¼RÿtattrListR½R¾((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetCalcAttrListValuebscCsNi|jƒd6|jƒd6tj|ƒd6|jƒd6|jƒd6}|S(NtAtktDeftMaxHPtHittMiss(t    GetMaxAtktGetDefR¤R”tGetHittGetMiss(Rt lordAttrDict((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetLordAttris-cCs±tj|ƒrn|tjtjtjgkrn|jƒ}tjj    |iƒ}||||f<|tj|<n|dkrŽ|j
||ƒdS|j |t |tj ƒ|ƒdS(Ni(RBtIsNeedProcessCrossPlayerRœtDef_PDict_FightPower_TotaltDef_PDict_FightPower_TotalExRÅR°R7tg_crossPlayerDictChangeInfoR~tNomalDictDelPropertytNomalDictAddPropertyREtDef_UpperLimit_DWordEx(RR‹RétdTypeRƒt
changeDict((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRäqs  cCs†g}tjƒ}|jƒ||_||_||_|j|ƒtjƒ}|jƒt|ƒ|_    ||_
t j ||ƒdS(N( RVttagMCSyncSingleBlessValueR…RJR÷tMultipleR%ttagMCSyncBlessValueRUtTypeCntt    BlessInfoRYRZ(Rt    blessTypeRéR"titemListt    valuePackR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_BlessValues 
              
    cCs¹|dkr;t|ƒ}|r;|}tjd|ƒq;n|j|ƒ|jƒjƒ}|rp|j|ƒnxBt|jƒƒD].}|j|ƒ}|s¤qƒn|j|ƒqƒWdS(Nis3¾³½çµØÍ¼×Ô¶¯ÉèÖÃÒÑÑ¡ÔñµÄ¾³½çÄѶÈÊÓÒ°: sightLevel=%s(    RGRRt SetSightLevelt    GetPetMgrt GetFightPetR"R#R$(Rt
sightLevelRDtrolePetRHt    curSummon((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR•s   (JRRYRœR/R4R2R]R+R9RªRÔRªRñRºRRšRYRLRpRnRžR¨R&RVRYR]RURKRÉRR_R@R…RÎR«R7RßRlRMRôR÷RÒRÌRjRORoRØRR/RÏR RBR.R’RÇR'R*R”RzRVR¤R<R‡RR`tjsontIPY_NotifyCodeListR„R~R€R!RR(R6R9RIRNRQRRR[R^ReRfRkRltDef_GiveMoney_MailRRxR{R:R–RšR R±R»RÁRÓRÎRæRàRêR½RïRðR¼RûRþRÈRRRRRRR,R1RMR<RSR`R;RkRtRuRvRzR{RR™R·RãR7R    RÿRéR(R8R®R-RƒRTR_RURgRcRRÀRÂtDef_Team_GetExpScreenDistRÍRÎRÜRàRêRâRñRÚRèRôRþR RRR%RYR+R,RGRvRHRIRJR—R~R„R›RœRRžR§R¢R­RÄR¨R¡RÍRØRËRÊRçRéRbRkRdRRˆRR–R¦RÂRVR¥R§R³RÆRÈRÇRÊRëRëRîRõRïRóRúRRRR
RûR RRRRR R€RRR3RRR®RRRR!RÔRåR&R(R)R+R-R/RRØRçR2R5R8R9R:R;R6R=RzRBRCRERFRGRIRLRNRORWRXRYRZR[R\R‰R2RaRjRlRdReRoRnRRRüRzRxRûR1Rƒ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´RµR¶R·R¸R¹RºR»R¿RÁRÌRäRÞR(((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt<module>s†                                                                       3     & 
                $!
                          %            
                         6             e                                =                                                    <    W    SQ o    
    2B             ( g     l        Œ    0                &                     &   8     0z    h    *              X    W    -                                                                  ÿÿ     &        
    >                      )                        5