hxp
5 天以前 a99a23d9248540a64a1dce67822f15c18fc5b1a4
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
562
563
564
565
566
567
568
ÿ•ic    @s’ 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/ddl0Z0ddl1Z1ddl2Z2ddl3Z3ddl4Z4ej5ƒa6dZ7dZ8d„Z9e:dd„Z;d„Z<gd„Z=gdddgd    „Z>gd
„Z?gd „Z@d „ZAgd „ZBgd„ZCgd„ZDgd„ZEd„ZFgd„ZGggggggejHeId„ZJgddddejHeId„ZKd„ZLd„ZMd„ZNd„ZOd„ZPdd„ZQeId„ZRd„ZSd„ZTd„ZUd „ZVd!„ZWd"„ZXd#„ZYd$„ZZd%„Z[d&„Z\d'„Z]d(„Z^e:d)„Z_d*„Z`d+„ZaeId,„Zbd-„Zcd.„Zdd/„Zed0„Zfd1„Zgd2„Zhd3„Zid4„Zjd5„Zkd6„Zld7„Zmd8„Znd9„Zod:„Zpd;„Zqd<„Zrd=„Zsddetd>„Zugd?„Zve:eId@„ZwdA„ZxdB„Zydde:deIdC„ZzdD„Z{dE„Z|dF„Z}dde:ddG„Z~ddH„ZetdI„Z€dJ„ZdK„Z‚dL„ZƒdM„Z„ej…eIdN„Z†dO„Z‡dP„ZˆdQ„Z‰dR„ZŠdS„Z‹dT„ZŒdU„ZdV„ZŽddW„ZdX„ZetdY„Z‘dZ„Z’d[„Z“d\„Z”e:d]„Z•d^„Z–e:d_„Z—ej˜idde:eId`„Z™da„Zšdb„Z›ddc„Zœdd„Zde„Zždf„ZŸej ie:e:eIdg„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­dtfdu„ƒYZ®dv„Z¯dw„Z°dx„Z±dy„Z²e:dz„Z³e:d{„Z´d|„Zµd}„Z¶d~„Z·d„Z¸d€„Z¹d„ZºeIe:d‚„Z»dddƒ„Z¼d„„Z½d…„Z¾d†„Z¿etd‡„ZÀdˆ„ZÁd‰„ZÂeIdŠ„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¹„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ÿdDŽZdȄZdɄZdʄZd˄ZeIe:dÌdd̈́ZdÌdd΄ZdτZdЄZdфZ    d҄Z
dӄZ dԄZ dՄZ dքZdׄZd؄ZdلZdڄZdۄZd܄Zd݄ZdބZetd߄Zdà„Zdá„Zdâ„Zdã„Zdä„Zdå„Zdæ„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ü„Z4etetdý„Z5dþ„Z6ddÿ„Z7dd„Z8d„Z9dS(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.pytPlayerMoveCheckClientWorldTickTs6
         $' #  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.pytFBNotifyöscCstjƒ}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.pytFBFactionNotifySelfús 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 SendMailBatch+stc
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{1s 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:;s
  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.pytGetPlayerLeaveServerMinuteTs  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.pytGetPlayerLeaveServerSecondds 
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.pytGetPlayerLastLeaveServerPastDayvs 
cCsªtj|ƒdkrtSt|ƒs)tStjƒjƒtjkr|tjƒj    ƒt
j ddƒkr|t |dƒtSntj ƒ r¦t|ƒr¦t |dƒtStS(NitDungeonDeliveritCarry_lhs_844170t
CrossMap10(tGameObjtGetHPRtCheckTransStateRR)t GetMapFBTypet IPY_GameWorldtfbtNulltGetMapIDt IpyGameDataPYtGetFuncEvalCfgR9t IsCrossServert GetCrossMapIDR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckPlayerTransportŒ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.t GetPlayerIDtGetGameObjTypeR¨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.pytChangePyPlayerActions cCs/|jtjƒ}|td|ƒ@}|dkS(Nii(RÖRœR×RØ(Rtactiont receiveStateRÚ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÕscCst|tjdƒdS(Ni(RÙRœR×(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytClearPyPlayerAction scCsA|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±+s    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.pytAutoEnterPlayerConfrontingMscCsdS(N((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR°dscCs    |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.pytBreakPlayerCollectys,     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(Rût
changePosXt
changePosYtneedResetServerPostneedChangeClientPos((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRúLscCs>|jdƒ}|sdS||dkr-dSt|tƒtS(NtDelayDeleteMirrori'(R    t DeleteMirrorRR(RRºtaddTick((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytOnDelayDeleteMirrorYs cCs§|jƒsdS|jƒ}|retjd|ƒt||ƒtjƒjƒ}|jd|ƒdStjd|ƒtj    |ƒt
|ƒt j |ƒ|j ƒdS(s »ØÊÕ¾µÏñÍæ¼Ò
    Ns¾µÏñÍæ¼ÒÉèÖÃÑÓ³Ù»ØÊÕ!R
s ¾µÏñÍæ¼Ò»ØÊÕ!(tGetRealPlayerIDRËRRtSetPlayerSightLevelRRR tPassiveBuffEffMngtOnPlayerLeaveMaptKillPlayerSummonNPCt
PetControltReCallFightPetR (RtisDelayRƒRº((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR bs    
 
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 cCsYtj||ƒtj|ƒtjƒjƒdkrtjƒjƒ}|rSdnd}||gt    j
|<t j ||ƒnt |ƒt||ƒtj|ƒ|jƒt    jkrÑt    jj|jƒƒntt    _tj||ƒ|jƒ}|s tj|ƒnt    jj|dƒx3t    jjƒD]"}||kr/|j|ƒq/q/WdS(Niii(t SkillCommontRefreshAllSkillRemainTimeRÈRÉRR)R§RtGetCurGameWorldIndext
PyGameDatatg_lastExitFBTypetFBLogict DoExitFBLogict__ClearLeaveNoSaveBufftUpdateOnLineTimeRRRËtg_maliciousAttackDicttpopRtg_needRefreshMapServerStatet PlayerSuccesstFinishDelayAddSuccessProgresstCrossPlayerDatatClearCrossSyncDataCachetg_playerReqEnterFBExR7tg_realmDiffPlayerDicttvaluestremove(RRºt isDisconnecttfbIndext
exitFBTypeRƒR|((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerLeaveServerLogic™s, 
        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…R=tOnLineTimeTotalt NetPackCommont SendFakePack(RR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR>ås
 
cCsPdStjƒ}|jƒ||_|jtj|ƒ|_tj    ||ƒdS(N(
RAttagMCOnlineTimeLastOpenPackR…tPackTypeRÖRœt$Def_Player_Dict_LastAutoOpenPackTicktLastOnLineTimeRDRE(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(ýscCsÌ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
GetIncBuffRLtGetActionBuffManagertGetProcessBuffStatetGetProcessDeBuffState(RRº((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__DisconnectClearBuff scCs½tj||ƒt||ƒt|ƒ}|jƒtj|ƒtj|ƒt    j|ƒt
||t ƒt |ƒ||j ƒ|jƒgtj|jƒ<tjdtj|jƒƒdS(NsÍæ¼Ò´Ó±¾µØÍ¼ÀëÏß: %s(RtDoLogic_PetInfo_OnLeaveServerRVt PlayerControltRefreshAllStatetPlayerBillboardt"UpdatePlayerBillboardOnLeaveServertPlayerViewCachetOnPlayerLogoutRYR8RRRRR$tg_disconnectPlayerRËRR(RRºt playerControl((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLeaveServer#s  
 
(cCs"|tjkrdStj|dS(Ni(R$R^(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerTickAscCs%|tjkrdStj|dd!S(Niii(ii(R$R^(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerLeaveServerPosHscCsQxJtjjƒD]9\}}|d}||dkrtjj|ƒqqWdS(Nii€î6(R$R^titemsR+(RºRƒt    leaveInfot    leaveTick((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt"RemoveTimeoutLeaveServerPlayerInfoPs
 
cCs6|tjkr2tjj|ƒtjd|ƒndS(Ns%½øÈë±¾µØÍ¼£¬ÒƳýÉÏ´ÎÔÚ±¾µØÍ¼ÀëÏ߼Ǽ!(R$R^R+RR(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRemoveLeaveServerPlayerInfoXscCs~|jƒjtjƒ}xLt|jƒƒD]8}|j|ƒ}| s+|jƒrYq+n|jƒq+Wt    |t
j dƒdS(Ni( tGetItemManagertGetPackR¨t
rptRecycleRtGetCounttGetAtRaR…RÙRœtDef_Player_Dict_DelPackIndex(RtbackPackRHtcurItem((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDelRecylcePackcsc    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ƒntjƒ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)(-tNotifyStartChangeMapR8RR&tDoPlayerChangeMapLogicRRRRRÈRR    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_FromFBLineIDR¤R¥R»tpaDietGetMaxHPt    SetHPFulltDoResetWorldPosAndClear(RRºRt changeMapIDtmapIDRüRýRC((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytDoPlayerResetWorldPoswsD
 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...iRqit 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¬RzRvRwRxRyRÙtGetJobR3R}R~RR€RRt GetFromMapIDt GetFromPosXt GetFromPosYt GetFromLineIDR)tGetRebornMapIDt GetRebornMapXt GetRebornMapYtGameWorldProcesstIsNoPlayerNeedCloseFBRR\R_t    GetGameFBtSetIsSafeClosetPlayerResetWorldPosFBR»R¨R¿tIsMovingt
BeginEvent( RR‰RŠR†RüRýRCtcreateRoleMapDicttjobt mapInfoListt fromFBMapIDtgameMaptgameFB((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerLeaveFB°sd  3         )#* 
"$ c CsÙ|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|ƒ}|r1tj||tƒ}|sÁtj    d ||fƒdStj|||||ƒ}    |    tjkrïdStj||||ƒs1tj    d |jƒƒt
|dƒdSn|tjkr i}
i|jƒd6|d6|d6|j ƒd6} |
rŠ| j!|
ƒntj"tj#| ƒn"t$j%||d|ƒ} | sÂdS|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!tSingleEnterDefaultPlayerIDtMapIDt
FuncLineIDtLVRC('RËRR.RœtDef_CrossMapIDListRRR    t)Def_PlayerKey_RequestEnterCrossServerTickRR9RÖtDef_PlayerKey_CrossRegisterMapR8R­R®RŽtIsCrossServerOpenR¤R¥t PlayerStatet IsInPKStatetFBCommont GetFBIpyDatatGetFBLineIpyDataRtCheckCanEnterFBCommRLtEntFBAskRet_OKR&tOnEnterFBEventtDef_CrossDynamicLineMaptGetLVtupdatetSendMsgToCrossServertClientServerMsg_EnterFBtGY_Query_CrossRealmRegtRegisterEnterCrossServerR ( RR†RCRƒRºtlastRequestTicktcrossRegisterMapt    fbIpyDatat fbLineIpyDatatrett
extendInfotmsgDicttisSend((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerEnterCrossServersj         .c
CsNtj|ƒ}|jƒ}tjd|||||f|ƒtj|ƒ}tj||ƒ}|}    tjƒj|    ƒs˜tj    d|    |j
ƒƒdStj ƒj ƒ}
t ||||||
ƒtjkrÒdS|dkrJ|dkrJtj|||ƒ} tj|||| |
ƒ} | s;tj    d||fƒdS| \}}n|jƒrc|jƒnd} t}tjƒj|    ƒ}|tjkr×|jƒr×|jƒtjkrÎtjd|jƒƒdSt}n|r.g}|tjkr|jtj |ƒ}|g}nt!||||
|ƒdSt"||||| d|ƒdS(NsAÍæ¼ÒÇëÇó½øÈ븱±¾! mapID=%s,lineID=%s,posX=%s,posY=%s,reqInfoEx=%ss###·Ç·¨µØÍ¼Êý¾Ý£¬sceneMapID: %sis&δÕÒµ½½øÈ븱±¾×ø±ê£¡mapID=%s,lineID=%ss!·Ç¶Ó³¤£¬ÎÞ·¨·¢Æð½øÈë×é¶Ó¸±±¾ÇëÇó!R‰(#RµtGetRecordMapIDRËRR.R¶R·R)t IsMapIDExistR8RRRt CheckMoveToFBRLR¹tGetFBLineEnterPosInfoR&tOnGetFBEnterPosRR-RR{R¨tfbtTeamt    GetTeamIDt    GetTeamLVt    tmlLeaderRRœtDef_MapID_LineIDToPropertyIDRÖtDef_Player_Dict_FbEnterCnttSendToGameServerEnterFBRœ(RR†RCRüRýt    reqInfoExRƒRÄRÅt
sceneMapIDRºtipyEnterPosInfotretPostfbIDtisSendToGameServert    mapFBTypetextendParamListtenterCnt((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt PlayerEnterFBQsL #$       cCstjd|||f|jƒƒ|dkrGtj|||ƒ}n||g}||7}d|}|jtjdd|t    |ƒƒdS(Ns=SendToGameServerEnterFB mapID=%s,lineID=%s,extendParamList=%ss%sitEnterFB(
RR.RR7R&tGetPlayerFBLineIDtGameServer_QueryPlayerByIDRœtqueryType_EnterFBRU(RR†RCRºRÞRX((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|    tjkrš|r“t|dƒntjSx=tjD]2}
t||
ƒr¤|rÏt|dƒntjSq¤Wtjƒj ƒt
j!kr t"} t#j$dƒ} tjƒj%ƒ} | | krA|| | krAt&} n| tj'krYt&} ntjƒj(|ƒ}|t
j!kr¡| t)j*d    dƒkràt&} qàn?tj+| ƒtj+|ƒkràt,j-|||ƒràt&} qàn| s |rt|d
|gƒntj.Snt,j/||||ƒsWtj0d |j1ƒƒ|rPt|d ƒntjStjS( sþÅжϿɷñ½øÈ븱±¾£¬°üº¬ÊÖ¶¯¼°Æ¥Åä
    @param isTeamAsk: ÊÇ·ñÊǶÓÎé½øÈëÇëÇóµÄ£¬Ò»°ãÊǶÓÎé״̬Ï£¬¶Ó³¤·¢Æð½øÈ븱±¾£¬ÐèÒª¼ì²é¶ÓÔ±¿É·ñ½øÈ룬´ËʱΪTrue£¬¿É×öһЩ¸½¼Ó´¦Àí
    @note: ²ß»®ÒªÇóÌáʾ°´ÓÅÏȼ¶À´£¬¸±±¾×ÔÉíµÄÌõ¼þÏÞÖÆÓÅÏÈÌáʾ£¬ÆäËû¸½¼ÓÌáʾÓÅÏȼ¶½ÏµÍ
    iisÍæ¼ÒÒѾ­ËÀÍö, ÎÞ·¨½øÈ븱±¾!R©t    CrossMap5tSingleEnterGathertCarry_lhs_697674tFBEnableTransportMapR¡tSingleEnterDungeons    OnEnterFBEvent False!Rª(2RµR¸RLR¹R¤R¥RR.tEntFBAskRet_DeadRÒR¨RÓR³t IsInBossStatetEntFBAskRet_BossStateR´R9tEntFBAskRet_PKStateR®RœR¯tEntFBAskRet_InCrossMapR»RÁtEntFBAskRet_PreparingRðtEntFBAskRet_SittDef_Player_Cannot_TransStatetEntFBAskRet_Othert(Def_Player_NotCan_EnterFbPyGameEvenStateRÕR)R§R©Rt ReadChConfigtGetEvalChConfigRªRRzR{R«R¬RËR&tCanChangeSameDataMapFBtEntFBAskRet_InFBRºRRË(RR†RCRÄRÅRºtisNotifyt    isTeamAskRÆt playerActionRtcanFBMoveToOthertfbEnableTransportMaptcurMapIDt toMapFBType((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÍŸsx$ 
            
cCsdS(N((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerTickscCsF|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 RttDef_PlayerKey_ResetFBLinePosXtDef_PlayerKey_ResetFBLinePosYtNotifyPrepareChangeMapRrt ChNetSendPackttagPlayerMapInitR…R¬tPosXtPosYRDREtSetSightR/tSetFBFuncLineIDttagServerPrepareOK(RR†RüRýR‰treqMapIDt playerMapInitt    prepareOK((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPosFBLineIDs0    
 
 
              
c    
Csütjƒjƒ}    |jtjƒ}
|    |
dkrwtjd|||||||    |
f|jƒƒt|dƒdS|j    tj|    ƒt
j |ƒ}|} t j dƒ} || krð| |} | rðtj| ƒ} tjd| ƒqðn|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õtrandomtchoiceRRžR&tGetPlayerResetWorldPosFBMsgRÙRRtDef_Player_Dict_EnterFBFreetResetWorldPosReqRRttDef_PlayerKey_ChangeLineIDtmaxRÿR(RR†RüRýRÛRŒtcanLockR‰RŠRºt lastTransTickRØtFBMapShuntDictt    shuntList((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRœ@s@    )  
     )
 
cCs•|jtƒtjƒ}|jƒtj|jtj    ƒƒ|_
|j tj ƒ|_ |j tjƒ|_tj||ƒtjd|jƒƒdS(Ns ×¼±¸Çл»µØÍ¼(t
SetVisibleRRAttagMCPrepareChangeMapR…RtGetMapDataMapIDR    RœRtR¬RÖRR­Rt    FuncMapIDRDRER.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֪ͨ¿ªÊ¼Çл»µØÍ¼(RAttagMCStartChangeMapR…RR R    RœRtR¬RÖRR­RR!RDRER.R(RR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRrŽ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.pytPlayerChangeLineŸs   &(&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ªR$RRËtChPlayertNotifyPlayerMovetResetPlayerPost
SkillShelltProcessMapBuffRRœR˜tOnPlayerLeaveMapCloseFB(
RR†RüRýRCRŒRtexData1t    gameWorldt shuntLineID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerResetWorldPosÇs '#0
cCsætjƒr|S|tjks.|tjkr2|Stj|}|jƒ}|jtjƒ}|jtjƒ}    |jtj    ƒ}
tj
d|||||f|ƒ|dkr‹| rù|     rù|
rùt |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ƒ} || kr| |}i}xK|jƒD](\}}||krqæn|||<qæWn|}t|ƒ}tj
d||fƒ|rr|t|ƒkrrtj
d    ||ƒ|dS|    r¹|    t|ƒkr¹tj
d
|    |ƒt |tjd ƒ|    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
    sD´¦Àí·ÖÁ÷,curMapID=%s,curLineID=%s,tagMapID=%s,tagLineID=%s,bossID=%siÿÿÿÿisI¹¦ÄÜÖ¸¶¨Çл»Ä¿±êÏß·£¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ss&·ÖÁ÷boss, bossID=%s,bossShuntLineID=%ssͬµØÍ¼Çл»×ø±ê²»´¦Àí·ÖÁ÷£¡Rqs,Ä¿±êµØÍ¼¿ÉÓ÷ÖÁ÷Ïß·ÈËÊýÐÅÏ¢: tagMapID=%s,%ss$ÓÐÖ÷¶¯Çл»¹ýÏß·!playChangeLineID=%ss,¹¦ÄÜÓÐÖ¸¶¨¹ýÏß·ÀúÊ·Ïß·,funcChangeLineID=%sis(ÓиßÏßÇеÍÏßÀúÊ·Ïß·,highChangeLineID=%ss!Ä¿±êµØÍ¼²»´æÔÚ¸ÃÏß·,curLineID=%ss?¸ßÏßÇеÍÏߣ¬¼Ç¼µ±Ç°Ïß·ºóÐøÇÐÏß±¸ÓÃ! curLineID=%s,tagLineID=%ssг£¹æ·ÖÁ÷ºóµÄlineIDΪ-1£¬µ«ÊÇÄ¿±êµØÍ¼µ±Ç°Ïß·²»¿ÉÓ㡲»¿É´«Ë͵½¸ÃÏß·£¡curLineID=%s + 1 > tagMapMaxLine(%s), Ç¿ÖÆ·ÖÁ÷µ½Ïß·(shuntLineID=%s)(RR­R$tg_commMapLinePlayerCountDictRËRÖRœR&R'R(RRÙRÈtIsMapNeedBossShuntt__GetBossShuntLineIDtkeysRRtAddBossShuntRelatedPlayerR«t
GetFuncCfgRcRUt__GetShuntLineID(RRýt    curLineIDttagMapIDt    tagLineIDtbossIDttagLinePlayerCountDictRƒtplayChangeLineIDtfuncChangeLineIDthighChangeLineIDtbossShuntLineIDRºt mapLineDictt tagMapMaxLinettagLinePlayerCountShuntDicttktvR5((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR,åsx        !   
   ! 
    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«R<RRR¬R7Rctsort( RR?RIR>Rƒt mapShuntDicttlineMaxPlayerCountttagLinePlayerCountRCt playerCounttlinePlayerListR5((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR=Ls(  
 
     +
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ÿÿÿÿiiRqisnÍæ¼Ò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ÑR$tg_bossShuntLineStatetgetRR«R¬RRtg_bossShuntPlayerInfoRR4tGetAssistTagPlayerIDRcRRRMR<( RRýR>R?Rít
lineIDListRƒt playerTeamIDthurtTeamLineIDthurtTeamMemCounttbossLinePlayerDicttbossLineStateDictt haveAliveLinetactivityMapLineDicttactivityLineIDtassistTagPlayerIDRCtkeytshuntPlayerDictRQtteamPlayerCountt shuntPlayerIDt    shuntInfoRAt shuntTeamIDt lineIsAlivetlineBossIsDeadt emptyLineIDtlinePlayerCountListtshuntBossIsDeadtminPlayerCntLineIDtbossShuntPlayerCountMax((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR9gs€              
 
 
                ! $
    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Ë(RRüRýtroundt
rebornPosXt
rebornPosYRýR£((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__GetLegitRebornPointÓs           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ËRRtGetBornRefreshByIndexRt IsSameCountryRRRRtGetRoundRtR•R–R—RœtDef_RebornPos_Area_RangeRRôRõtrandintR§R¨R©tSetRebornMapIDt SetRebornPosXt SetRebornPosYt GetPlayerNametSetFBRebornMapIDtSetFBRebornPosXtSetFBRebornPosYR&t OnRebornPlace(RRºR£t rebornMapIDRrRsthasBornRefreshPointtgameDatatbornRefreshCounttbornListt
fbBornListRHtbornRefreshPointt    bornIndextbRP_PosXtbRP_PosYt bRP_RoundPosthasBornPointInTxtt curPlayerJobtposListtpost    bornRange((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshRebornPointòs„                  $        $      
&   ,   ,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(tlistR7RR8RtGetMemberCountt    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.pytGetMoneyÐ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 GetMoneyRealì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.pytSetMoneyó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¿A    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ËG    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±RAttagRefreshTypet RefreshTypetValueRR¸RcRÖRœR´ttagObjInfoListRefreshR…RtObjIDRÌtObjTypeRUtCountRDRE(Rt
notifyListRÊRÃRÀt notifyStructRµR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyPlayerAllCurrencyT    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_UseMoneyTotalR7RAttagMCUseMoneyTotalt    MoneyTypetUseTotalRttagMCUseMoneyTotalInfoR…tInfoListRURÒRDRE(Rt moneyTypeListtnotifyMoneyTypeListtinfoListRµtuseTotaltinfot
clientPack((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytNotifyUseMoneyTotalz    s(                   
    cCs|jtjƒdS(s‹ÒòΪս´¸¶ÔӦװ±¸ÊÇ1¸öÕ½´¸¿ÉÄܶÔÓ¦¶à¸ö×°±¸µôÂ䣬ËùÒÔ·Ö½â×°±¸µÄʱºò1¸öÕ½´¸ÐèÒªÖ§³Ö¿É²ð·Ö
    ËùÒÔÐèÒªÖ§³ÖСÊý´æ´¢£¬Ôݶ¨ÒÔÖ§³Ö3λСÊý´æ´¢
    g@@(RÖRœtDef_PDict_UnXiantaoCntEquip(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetUnXiantaoCntEquip”    scCs-|jtjƒ|d}t|tj|ƒS(Niè(RÖRœRäRÙ(RtaddCnttunXiantaoCntEquip((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddUnXiantaoCntEquip™    scCs,tt|dƒdƒ}t|tj|ƒS(Niiè(tintRqRÙRœRä(RRç((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetUnXiantaoCntEquipœ    sc
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£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    HaveMoneyRR(
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¬RSRéRRR(Rµt    needValuetequalMoneyInfoRøtexchangeMoneyInfot exchangeInfotmultipleRù((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRðà    s
cCs|dkrgS|tjkr+tj}n|tjtjtjtjgkrut||||ƒrq||ggSgS|tjkrò|jƒ}|j    ƒ}|||kr°gS||krÌtj|ggS||}tj|gtj|ggSt
j d||j ƒƒgSgS(Nis¸¶·Ñ½ðÇ®Òì³£ TYPE_Price = %s( RLtTYPE_Price_Gold_Paper_MoneyR¨R¦R¨RªR¬RñR©R§RR.RË(RR²RòRóR€RtneedGold((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt HaveMoneyExø    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!|||    ||||ƒtS( Nis###---¿ÛÇ®Òì³£ = %sRët BourseMoneyRìRíRîs9Ïȿ۴ú±ÒʱЧ: 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 = %s("RRR.RËRR¨R¦R·R9RÁR³RLtTYPE_Price_BourseMoneyRœtUnUseInner_CostTypeRR¿R¨RªR«R¼R¬R­R½R®R¯R±tTYPE_Price_PayCoinDayRR¾R°RðtPayMoneyt__PayMoneyAfter(Rt
type_PricetpricetcostTypetinfoDicttquantityt costVIPGoldRøtisMinust    lostMoneyt curPlayerGoldt updPlayerGoldtcurBourseMoneytupdBourseMoneytcurPlayerGoldPapert updGoldPapertcurPlayerSilvertcurPlayerSilverPapertcurPlayerPayCoint curPayCoinDayt payCoinTotaltcostPayCoinDayt costPayCoint curCurrencyRöR÷RøRù((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR(
s˜   
        
 
 
 
 $    &c    Cs|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||ƒ|tjkrl|jtjƒ}t|tj||ƒt||ƒt|ƒd}    tjd|    ƒ}
|
r|
jƒ} x|| D]q\} } | dkr½qŸn|jtj| ƒ| krßqŸn|jtj| ƒ}t|tj| ||ƒqŸWnt j!||ƒt"j#|t"j$|ƒt%j&|tj'|ƒt(j)|tj*|ƒn|dkr~|nt+t,j-|d|ƒƒ}|}|}|tj.krÆtj.|}n|t    j
t    j tj/gkr÷|tj0kr÷dS|tj/kr|j1ƒ}t2||ƒ}t3|tj4ƒ}||d<|j5ddƒ}t6j7d|||||f|ƒt6j8|tj9d    |||g|dƒn|tj:krÉt6j;d
|||fƒn;t<j=|||||ƒt>j?|||||tj@|ƒdS( Nit MainChapterigð?tPlayerMoneyCount2t    orderInfoRysJ¼Ç¼ÏûºÄ´ú±Ò: eventName=%s,price=%s,nowMoney=%s,payCoinDay=%s,orderInfo=%sis;BT°æ±¾Ñ°±¦ÏûºÄ»õ±ÒÔÝʱ²»¼Ç¼Á÷Ïò: %s,type_Price=%s,price=%s(ARLRÖRÖRœR×tmintDef_UpperLimit_DWordRÙRãR¨R¦t__PayMoneyAfterByGoldMoneyR¨t__PayMoneyAfterByGoldPaperRªt__PayMoneyAfterBySilverMoneyR¬t__PayMoneyAfterBySilverPapertPlayerActTurntabletOnPlayerUseGoldtPlayerActLunhuidiantAddLunhuidianValuetAwardType_PayMoneytTYPE_Price_XiantaotDef_PDict_UnXiantaoCntExpRètGetMainLevelNowInfoR«tGetIpyGameDatatGetDailyBootyUpperListtDef_PDict_BootyDropTodaytDef_PDict_UnXiantaoCntBootyt
PlayerLLMJtAddUseZhanchuitPlayerPrestigeSystAddRealmTaskValuetRealmTaskType_UseXiantaot
PlayerTaskt AddTaskValuetTaskType_CutTreetPlayerActivitytAddDailyTaskValuetDailyTask_CutTreeRéRRtDef_CostType_DictR®tDef_Cost_UnknownRËR·R³RRURR.t AddPlayerRectDef_PlayerRecType_PayCointDef_Cost_TreasureRtDataRecordPackt DR_UseMoneyt EventReporttWriteEvent_virtual_resourcetDef_UserAction_Money_Use(RR    R
R R R RRàtunXiantaoCntExpt    chapterIDtchapterIpyDatatDailyBootyUpperListtitemIDtupperCnttunXiantaoCntBootyt    unitPricet reason_namet    eventNameRƒtnowMoneyt
payCoinDayR!((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¢
sp   "/ 
#+cCs\|tjkr>tj||||ƒtj|tj|ƒntjd||j    ƒƒdS(Ns$²»¼ÆÈëÏû·Ñ»î¶¯µÄÏû·ÑÀàÐÍ!costType=%s(
RœtCostRebate_DisableTypetPlayerCostRebatetAddCostRebateGoldtPlayerFeastTraveltAddFeastTravelTaskValuetDef_FeastTravel_UseGoldRRRË(RR    R
R R R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR$ s
cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RAttagMCGoldCostReportR…tCostTypeRòtItemIDRDRE(RR R
RMR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__Sync_GoldCostReportC s 
            cCsdS(N((RR
R R ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR%Q s
cCsdS(N((RR
((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR&b scCsdS(N((RR
((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR'j sc    Cs¦|dkrtS|dkr7tjd||fƒdStjƒr›t|ƒ}i|jƒd6|d6|d6|d6|d6}    tjtj|    |gƒtS|tj    krºt
j ||ƒSt ||ƒ}
|t jkrkt||ƒ|} | tjkrt|d|gƒdSt||| ƒ|rR| dkrRt|tjt|| ƒƒnt |tjƒ|d    <n |t jkrÆt||ƒ|} | tjkr³t|d|gƒdSt||| ƒnE|t jkrït|t|ƒ|ƒn|t jkrH|jƒ|tjkr.t|d|gƒdS|j|jƒ|ƒnÃ|tjkrqt |t!|ƒ|ƒnš|tj"krËt#||ƒ} | tj$kr¢dSttj$| |ƒ}t%|||ƒn@tj&d
|||f|jƒƒt'j(|||||ƒdS|tj)kr&tj}n|rOt*j+|g|d i||6ƒnt,|||||ƒ|
dkr¢t ||ƒ}|dkr¢t*j-||ƒq¢ntS( Nis1Íæ¼Ò»ñµÃ½ðÇ®Òì³£ £¬ value = %s , priceType = %s ,R«RÙRÎtGiveTypet AddDataDictt MoneyIsFullRs/½ðÇ®ÀàÐÍ´íÎó, priceType=%s,value=%s,giveType=%st    moneyInfo(.RRR.R­tGetPlayerServerGroupIDRËtSendMsgToClientServerRLtCrossServerMsg_GiveMoneytTYPE_Price_FamilyExpRYt AddFamilyExpR³R¨R¦R·RœtDef_PlayerTotalMoney_GoldR9RÁt    GiveMoneyRR"R¨RªR¼R«R¬R­tDef_PlayerTotalMoney_SilverR½R®R¾R¯R°R±R#R¿R8RDtDR_GiveMoneyErrorRt ItemControlertNotifyGiveAwardInfot__GiveMoneyAftertCheckGiveBindMoneyTypeItem(Rt    priceTypeRÀtgiveTypet addDataDictt    isSysHinttisGiveBourseMoneyt notifyAwardt serverGroupIDtmsgInfotbefMoneyRtupdPlayerGoldPaperRtupdValuetaftMoney((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRiu sp    /# #  c
    CsÑtj|tj||gƒtj|tj||gƒ|tjkrZt    j
||ƒn|t j t j tjgkr‹|tjkr‹dS|}|tjkrºtj|}||d<n|tjkr`|jƒ}t||ƒ}t|tjƒ}||d<|jddƒ}    tjd|||||    f|ƒtj|tjd|||g|    dƒn|jdƒdkr’tjd    |||fƒn;tj|||||ƒtj|||d|tj|ƒdS(
NRRR R!RysJ¼Ç¼»ñµÃ´ú±Ò: eventName=%s,value=%s,nowMoney=%s,payCoinDay=%s,orderInfo=%sit GiveItemEventtTreasures8BT°æ±¾Ñ°±¦¸ø»õ±ÒÔÝʱ²»¼Ç¼Á÷Ïò: %s,priceType=%s,price=%s( R9R:RœtTaskType_GetMoneyR<R=tDailyTask_GetMoneyRLtTYPE_Price_FamilyCoinRYtAddFamilyContribR¨R¦R¨R®tDef_GiveMoney_UnknowntDef_GetType_DictRËR·R³RRURR.RARBRRDt DR_GiveMoneyRFRGtDef_UserAction_Money_Get(
RRpRÀRqRrRRRƒRSRTR!((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRnÑ s2   
#+ 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(NiRas½ðÇ®ÀàÐÍ = %sÌî´íÀ²(RR¨R¦R§RœRhR9RR¨R©RªR¬R­RjRLR®R°R±R#RR.RË(RRpRÀR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt CanGiveMoney, s2 cCsdS(N((RRº((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreHPY scCsdS(N((RRº((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAutoRestoreMPb scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetPlayerReExpj 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.pytAddPlayerPKValuew 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ŒRR"RRRËt ClearPKValueRœtDef_SkillID_Redt
SetPKValueR!t 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(tGetSkillR!t GetBuffTypet GetLastTimet GetRemainTimeR"RRœ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‹R!R–RœR”R•RŸR¢R¡RéRRRRRRË(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«R<(((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRŒÐ scCs>tjdƒ}|r:|jƒj|ƒr:tjddƒSdS(Nt TitleAddPointii(R«R<tGetDienstgradManagert GetDienstgrad(RttitleID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTitleAddExtraPointÖ sRXcBseZdZd„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__í sic
Cs|j}|j||||||ƒ\}}|r{tjƒ}    |tj|    _|tj|    _||    _t    j
||    ƒn|S(N( R·t_PlayerControl__AddExpRAt tagMCAddExpRœtDef_PerPointValuetExpPointtExptSourceRDRE(
R¸taddExpt expViewTypeRst
addSkillIDt    expRateExRt finalAddExpt expNotifyTypeR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytAddExp÷ s    $     c    Cs|dkr||fSt|ƒ}t|ƒ}tjddƒ}    |jƒ}
|
|kr°||    kr°|    dkr°|j|dƒtjd|
|||    f|jƒƒd|fS|t    j
krÈd} nE|t    j t    j gkrï|j ƒ} nttjƒjƒtjƒ} | |7} t|| ttjƒƒ}|
|krk|    dkrkt|td|    |ƒƒ}n|dkrŽtjdƒd|fS||} | tj} | tj}|jƒ|krÔ|j|ƒn|jƒ| krö|j| ƒn|
|kr|jƒn||fS(    Nit PlayerMaxLViiÿÿÿÿtGeRen_admin_825676sF¾­ÑéÒÑÂú£¡ÒÑÂú¼¶£¡curLV=%s,maxLV=%s,curTotalExp=%s >= maxLVExpStore=%si's ÎÞ·¨»ñµÃ¾­Ñé(tGetPlayerTotalExptGetPlayerMaxLVR«R<R¼t_PlayerControl__NotifyExpFullRRRËRLtDef_ViewExpType_KillNPCtDef_ViewExpType_GameEventtDef_ViewExpType_SittGetGameEventExpRateRRt
GetExpRateRœtDef_MaxRateValueRéRR"R½t GetExpPointt SetExpPointt GetTotalExpt SetTotalExpt
PlayerLvUp(R¸RRÁRÂRsRÃ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__NotifyExpFullE s
 c Csþ|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ƒntj|ƒtj|ƒtj|ƒjƒnt||ƒdS(Niii2tlv(R·tGetPlayerLVIpyDataR¼tGetLVUPTotalExpNeedRÊRRËtBeginRefreshStateRtSetLVRDtDR_PlayerUpgradetCache_FightPowerChangeInfoRœtPowerDownType_LVUPt_PlayerControl__GiveLVMailAwardtEndRefreshStateR9t UpdTaskValuet TaskType_LVt GameFuncCommtDoFuncOpenLogict PlayerOnlinet CalcRoleBasetGetOnlinePlayertRefreshRoleAttrtSetPlayerTotalExp( R¸thandLvUpRt    lvIpyDatat lvUpNeedExpRØtplayerNeedDoLVUpR˜RÙtbefLVtisNotifyServertaftLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR×Q sR          
 
     " 
 
     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.pyRY¼ scCsdS(N((R¸((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytReCalcAllStateà scCs3|j}|jtjdƒ|r/|jƒntS(Ni(R·R RœtDef_Player_RefreshAttrByBufftRefreshPlayerAttrByBuffExR(R¸RR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshPlayerAttrByBuffÈ s
     cCsdS(N((R¸((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÑ scCs[|j}|jtjdƒ|rD|tjkrDtjj|ƒn|rW|jƒndS(Ni(R·R RœtDef_Player_RefreshAttrR$tg_refreshAttrBillboardFuncRtRefreshPlayerAttrStateEx(R¸RRR((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.pyR é scCsdS(N((R¸((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshAllSkillscCsdS(N((R¸tskillIDtbeforeFightPowertisRefreshState((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerExscCsdS(N((R¸t
delSkillIDR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshSkillFightPowerByDelscCsdS(N((R¸((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCalcPassiveBuffAttrscCsdS(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•RvRwtGetFBRebornMapIDtGetFBRebornPosXtGetFBRebornPosYR9R.RËRªR/R6(R¸RRÝR‡RrRs((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|ƒdS(Ni(R·R&R÷tReSetPlayerStatet#_PlayerControl__PlayerDeadClearBuffRRRtClearUseSkillRecR¤R¥tSetHPRtClearPlayerPosCounttSetPlayerDeadCntRRtClearPyPlayerState(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_DeadTimeRéttimeR!R–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(R!R–RœR$RŸR%R&RÖtDef_PDict_IsAddReviveTiredR"RAttagMCPlayerDeadTimetDeadTimeRDRE(R¸RR(tlastDeadTimeTicktpackData((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR'¼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·RRRRMRNtClearBuffByDieRPRQRRRLRSRTRU(R¸RRº((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt__PlayerDeadClearBuffÌs    N(t__name__t
__module__R7R·RºRLtDef_ViewExpType_MissionRRÇR»RÌRR×RìRYRRRR R R RRRRRRôR R'R(((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRXä s.    
;     Z                       %                  1    2    /    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.RRŸt
GetSkillIDt DelBuffInfotDeleteBuffByIndexR0tClearBuffEffectBySkillIDList(    Rt    buffStatet funcClearBuffRºR2RtbuffSkillIDListt
passiveEfftcurBuff((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRMãs& 
 
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.pyR.    s cCs |jƒ}|jƒt@dkS(Ni(RŸR@tDef_Buff_Clear_Disconnect(R?RB((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyROs 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: %sRtEnemy_State_No_TranstCarry_lhs_306641tTransportMapLineCheckitCarry_yeqian_0(RR)RÌR8RËR9RtGetCountryByMapIDtIsSameCountry_Namet
GetCountryR{R¨R©t CanEnterMaptGetPlayerLineIDRôRõRcR(    Rt    destMapIDR£t
mapCountryt    mapLineIDtmapLineCheckDicttcanEnterLineIDRCt    mapIDList((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytCheckTagCountrys6  
 
 cCst|||ƒstStS(N(tCheckLVCanEnterMapRR(RRMt    isShowSys((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRKYscCstjƒjƒj|ƒ}|s%dS|jƒ}|jƒ|krc|r_t|d|gƒntS|jƒ}|r‰t||ƒ r‰tSt    S(Nt Carry_hwj35_0(
RRxt
GetChinMapt
GetMapByIDR¼R9Rt GetTreasureIDt    IsMapOpenR(RRMRUtmapDatatenterLVt openMapStep((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRThs  cCstS(N(R(RR]((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRZzscCs„|jƒ}|tjkr,t|dƒtS|jƒrE|jƒn|tjkrat    |ƒnt
j |tj tj ƒs€tStS(NRç(R»RœRñR9RR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_LimitSuperBuffRXR(RRº((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¶¢s  cCs‹tjƒjƒ}|jƒ}|tjkr0n$|tjkrBn|tjkrTn|tjkrpt    |ƒnt
|ƒ|j dƒdS(N( RRRR»R¨tpaTradeR¾t paGameEventRÁRÂR°RìR7(RRºRÆ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR²s  
 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.pytIsPlanStateNullàs  
cCsƒ|jƒj|ƒ}|jƒ}|r7|j|ƒn5tj|ƒtj||ƒ}|jt||ƒƒ|r|jƒndS(N(    RhRit GetMaxCounttSetCountt
ItemCommontGetPackInitCounttGetPackOpenItemCntR"tSync_PackCanUseCount(RRJt
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ŽtGetPlayerCrossActInfoRURLt    ActKey_IDt ActKey_CfgIDt ActKey_StatetActKey_StateJointActStateJoin_EndRRRËRR$tg_operationActionDictR3t ActKey_ActNumR( RtactNametactIDKeyt crossActNamet crossActIDKeyt playerActIDtactInfotactIDtcfgIDRÚt    stateJointactNum((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsInOperationActions, !    "!    cCsetjƒ}xRt|jƒƒD]>}|j|ƒ}|dks|jƒ rSqnt|ƒqWdS(N(RR=R>R_R`R7RftSync_ExpRateChange(RGRHR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytRefreshOperationAction_ExpRate#s cCsñt|ƒ}|jƒ}|tj|ƒ7}tjjtjiƒ}|jtj    ƒr§t
j d|jtj ƒƒ}|r§|j ƒ|jƒkr§||jƒ7}q§nd}||tj7}||krí|jtj|ƒ|j|ƒndS(Nt
ActExpRatei(tGetPlayerExpRatetGetFightExpRatetPlayerGoldInvesttGetAddFightExpRateR$R}RURLtOperationActionName_ExpRateRzR«R0RyR¼t
GetLVLimitt GetAddExpRateRœRÒR tDef_PlayerKey_TotalExpRatetSync_CurExpRate(Rt totalExpRatet fightExpRatetactExpRateInfot actExpIpyDatatmapExpAddMultiple((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRŠ0s   cCs|jtjƒS(N(R    RœR”(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRHsc 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R7RRR>R5R6RŸRtGetEffectCountt    GetEffectt GetEffectIDRœtTYPE_Calc_AttrFightExpRatetGetEffectValuetEffCalcType_LinePlusRØ( Rt    limitTypeR–R;RHR?R§tjt    curEffectteffectIDt
effExpRatetcalcTypetlimitTypeValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLimitExpRateIs,      cCstj|jƒddƒS(Ni(RtGetValuetGetEquipShowSwitch(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetHorseSkinIDlscCsX|jƒ}tj|ddt|dƒƒ}|j|ƒtjd|||fƒdS(Niics9ʹÓÃ×øÆïÍâ¹Û: horseSkinID=%s,showValue=%s,updShowValue=%s(RªRtSetValueR"tSetEquipShowSwitchR(Rt horseSkinIDt    showValuet updShowValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetHorseSkinIDms
 ! 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.pytSetGMForbidenTalk”s       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µ³s
 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.pytDoGMForbidenTalkOnLoginÂs cCs-t|ƒ\}}}|d|}||kS(Nid(tGetMainLevelPassInfo(RtlvIDt passChapterIDt passLevelNumt_t    passValue((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytIsMainLevelPassÑscCs
|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ÚscCst|||ƒ}t||ƒ|dkr{|d|}tj|tj|ƒtj|tj    ƒt
j |tj |ƒn|S(Niid( tComMainLevelValueRËRZtUpdatePlayerBillboardRLtDef_BT_MainLevelR9RîRœtTaskType_MainLevelR-tUptateSuccessProgresstSuccType_MainLevel(RRJtlevelNumtwaveRÀRÂ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMainLevelPassInfoÛs  cCsatt|ƒƒ\}}}| rT| rTd\}}}t|t|||ƒƒn|||fS(Nii(iii(tGetMainLevelValueRÉRËRÌ(RRJRÒRÓ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÁès
cCs
|jƒS(N(t
GetExAttr2(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMainLevelNowValueòscCs|j|ttƒdS(N(t
SetExAttr2R(RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMainLevelNowValueóscCs#t|||ƒ}t||ƒ|S(N(RÌRÙ(RRJRÒRÓRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMainLevelNowInfoôs cCs}tt|ƒƒ\}}}| rN| rNd\}}}t||||ƒn|spd}t||||ƒn|||fS(Ni(iii(RÕR×RÚ(RRJRÒRÓ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR/üscCs|d|d|S(Ni'id((RJRÒRÓ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÌscCs/|d}|dd}|d}|||fS(Ni'id((RÀRJRÒRÓ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÕ    s
 
cCs
|jƒS(N(t
GetExAttr3(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetTitleIDscCs$|j|ttƒtj|ƒdS(N(t
SetExAttr3RRYtRefreshFamilyMember(RRµ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetTitleIDs cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRWscCst||d|ƒS(Ni
(tSetTeamCheckState(Rt joinReqCheckt inviteCheck((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTeamCheckStateExscCsdS(N((Rt
checkState((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRàscCsdS(N((RR†R‰((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR
scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFBFuncMapIDscCsdS(Ni((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
SetExAttr5RRR/R0(RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetCrossMapID$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½R"R#R«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.pytGetVIPExpireTime6scCsdS(N((Rt
expireTime((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetVIPExpireTime7scCsdS(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.pyt
GetChatBox>scCs|j|ttƒS(N(t SetExAttr10RR(RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
SetChatBox?scCst|ƒt|tjƒS(N(R¯R±RLR(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRïBscCs
|jƒS(N(t GetExAttr11(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¯CscCs|jt|tjƒttƒS(N(t SetExAttr11R"RœR#R(RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR¾DscCs;t|tjƒ}|dkr7t|tj|dƒndS(Nit PayCoinOnDay(R±RLRRR®(RRT((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRùEs cCs$t|jƒƒ}|r |dSdS(Ni(t GetCoupleInfoRË(Rt
coupleInfo((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetCoupleIDMscCs$t|jƒƒ}|r |dSdS(NiRy(RúRË(RRû((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetCoupleNamePscCs$t|jƒƒ}|r |dSdS(Nii(RúRË(RRû((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetCoupleJobSscCs$t|jƒƒ}|r |dSdS(Nii(RúRË(RRû((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBridePriceMaxIDVscCs|tjkrdStj|S(N(R$t g_coupleInfo(Rƒ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRúYscCs-|stjj|dƒn |tj|<dS(N(R$RR+R7(RƒRû((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.pyRcescCsitjƒrdStjƒ}|s&dS|jƒ}||kre|j|ttƒtjd|ƒndS(Ns(¸üÐÂÍæ¼ÒËùÊô·þÎñÆ÷×éID: serverGroupID=%s(RR­tGetServerGroupIDRt SetExAttr13RRR(RRvtplayerServerGroupID((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytUpdPlayerServerGroupIDfs    cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealmDifficultytscCsdS(s( ÉèÖþ³½çÄѶȵȼ¶£¬ÈκεØÍ¼¾ù¿ÉÑ¡Ôñ
    N((RtrealmDifficulty((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetRealmDifficultyuscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetDifficultyRealmLVyscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMapRealmDifficultyzscCs;|jƒ}|d}|dd}|d}|||fS(Nidi
(t GetExAttr12(RRÀtleaveCntt    kickedCnttlastVoluntarily((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLeaveFamilyInfo€s
 
 
cCsJtd|ƒdtd|ƒd|}|j|ƒtjd|ƒ|S(Ni    idi
s     SetLeaveFamilyInfo: value=%s(R"t SetExAttr12RR(RR RRRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLeaveFamilyInfo‡s( cCs
|jƒS(N(t GetExAttr19(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLeaveFamilyTimeExscCs*|j|ƒ|jtj|dtƒ|S(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.pyR•scCsQt|ƒ}|j|tj|tjtƒtjd||f|jƒƒdS(Ns×ÜÕ½Á¦: %s, beforeFightPower=%s(Rt SetFightPowerRœR½RRRRË(RRÀR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR–s ! cCsdS(N((RtmfpTypet
fightPower((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMFPFightPower¢scCsdS(Ni((RR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPFightPower¤scCsdS(N((RRR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMFPExFightPower§scCsdS(Ni((RR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPExFightPower©scCsdS(N((RRR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetMFPSkillFightPower¬scCsdS(Ni((RR((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetMFPSkillFightPower®scCs|jƒdS(Ni(R$(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRLµscCs|j|ƒdS(N(R    (Rtsight((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR    ½s
cCs|jƒ}|S(N(tGetAtkInterval(Rt atkInterval((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR$Ìs tunknowncCsG|dkrtSt|ƒ}||}||kr6tSt||ƒtS(Ni(Rt    GetZhenQiRt    SetZhenQi(RR™t canOverbrimtisSysMsgRRt    eventDatat    curZhenQiRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerAddZhenQiÜs  
  cCsg|dkrtSt|ƒ}td||ƒ}|dkrVtjd||fƒtSt||ƒtS(NiscurZhenQi = %s, lostValue = %s(RR'RRR8RR((Rt    lostValueRRR+R,RÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytPlayerLostZhenQi÷s    cCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR' scCsdS(N((Rt totalZhenQi((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR( scCs|jƒ}t|ƒS(N(R¼tGetTotalExpByPlayerLv(RR˜((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLVUPTotalNeedExps cCs t|ƒ}|sdSt|ƒS(Ni(RåRæ(tplayerLVRø((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyR1s cCs1tjd|ƒ}|s-tjd|ƒdS|S(NtPlayerLVs¾­Ñé±íÒì³£  lv= %s(R«R0RR8(R3Rø((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRå#s
cCs|s
dS|jƒS(Ni(tGetExp(Rø((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRæ*scCsJtjddƒ}tjƒ}|j|jƒdƒ}t||jƒƒS(NRÈi(R«R<tIPY_DatatGetRealmByIndext GetRealmCountR"tGetLVMax(RÙt
ipyDataMgrt realmIpyData((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetOpenMaxLV/s cCsPtjddƒ}|jƒ}tj|ƒ}|s7dSt||jƒƒ}|S(NRÈii(R«R<tGetOfficialRankR6tGetRealmIpyDataR"R9(RRÙt
curRealmLVR;t playerMaxLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRË6s cCs%|jƒ}t|ƒ}t||ƒS(N(R¼RÊtGetRealPlayerLvEx(Rt realPlayerLvRØ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetRealPlayerLvCs  cCsWt|ƒ}|s|Sx:||krR|d7}||8}t|ƒ}|sPqqW|S(Ni(R1(RBRØt needTotalExp((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRANs 
 
 cCs-|jƒ}|jƒ}|tj|}|S(N(RÕRÓRœR½(RRÜRÞttotalMasterExp((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½RÓRÔRÕRÖ(RRÜRÝRÞ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRöes  cCsEtjƒ}|jƒ||_||_||_tj||ƒdS(N(RAttagMCNotifySelectObjR…RJtIDtisSelectRDRE(RtobjTypetobjIDRHt    selectObj((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_SelectObjws 
            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_TrainRealmLVRR=(RtfuncTypet trainRealmLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTrainRealmLVRealŠscCs(t|tj||ƒt||ƒdS(N(RÙRœRPtSyncTrainRealmLV(RRQRR((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 (R7RRÖRœRPRAttagMCTrainRealmLVtFuncTypet TrainRealmLVRttagMCTrainRealmLVInfoRÜRURÒRDRE(RRQtsyncFuncTypeListRßtfTypeRRtlvInfoRâ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRT‘s&                    cCs|jtjƒS(N(RÖRœtDef_PDict_CharmLV(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt
GetCharmLV¨scCs*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
SetCharmLV©scCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTotalLingGenPoint®scCsdS(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.pytGetHPCureEnhanceÀscCs
|jƒS(N(tGetReceivedSalary(R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetFamilyMemberLVÃscCs|j|ƒ|j|ƒdS(N(tSetReceivedSalarytSetFamilyMemberLV(RtfmLV((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRoÄs  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    SetProDefÌscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetMaxProDefÏscCsdS(N((RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetMaxProDefÐscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetLostYinjiTimeÓscCsdS(N((RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetLostYinjiTimeÔscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetYinjiCnt×scCsdS(N((RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetYinjiCntØscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetTheFBSkillsCDÛscCsdS(N((RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetTheFBSkillsCDÜscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt GetBurnValueÞscCsdS(N((RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt SetBurnValueßscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetBurnTimePeráscCsdS(N((RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetBurnTimePerâscCsdS(Ni((R((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytGetSubSpeedPeräscCsdS(N((RRÀ((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSetSubSpeedPeråscCsdS(N((Rt    funcIndexRNtinsidePerAttrDicttcustomAttrDict((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.pytGetCalcAttrListValueíscCs´tj|ƒrb|tjgkrb|jƒ}tjj|iƒ}||||f<|tj|<n|dkr‚|j||ƒdSt    dt
|tj ƒƒ}|j |||ƒ|S(Ni( R/tIsNeedProcessCrossPlayerRœR±RËR$tg_crossPlayerDictChangeInfoRUtNomalDictDelPropertyRR"tDef_UpperLimit_DWordExtNomalDictAddProperty(RRbRÀtdTypeRƒt
changeDict((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRÙös  cCs†g}tjƒ}|jƒ||_||_||_|j|ƒtjƒ}|jƒt|ƒ|_    ||_
t j ||ƒdS(N( RAttagMCSyncSingleBlessValueR…RJRÎtMultipleRttagMCSyncBlessValueRUtTypeCntt    BlessInfoRDRE(Rt    blessTypeRÀRÿtitemListt    valuePackR%((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pytSync_BlessValues 
              
    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(    R RRt SetSightLevelt    GetPetMgrt GetFightPetRRR(Rt
sightLevelRtrolePetRHt    curSummon((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyRs   (:RR0RœR!R+R&R˜RÈRmRôR¥RR^RYRLR\RZRŒR¨RARDRDR6RµRRFR-RlRðR«R$RXR(RVR*RÀRRŽR/R<RR³RòR9RzR4R-R¤RR‡RR#tjsontIPY_NotifyCodeListR„RARCR!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÷RRúR R RR R8R)R>RKR(RVR`RaRbRfRgRpR‡R¥RÊR7RàRÖRÍRÿRRœRRrR+R6R,R=R9RtR—R™tDef_Team_GetExpScreenDistR¤R¥R³R·RÁR¹RÈR±R¿RËRÕRãRåRèRêRñRðRR@RRR$R^R%R&R'R‚RiRnR†R‡RˆR‰R’RR˜R¯R“RŒR¶RXRMR.RORSRKRTRZR¦R¶RRhRjRvR‰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ßRWRãRàR
RåR|R®RèR«R¼RíRïRðRòRôRöRïR¯R¾RùRüRýRþRÿRúRRcRRR    R
R RRRRRRRRRR R!R"RLR    R$R-R/R'R(R2R1RåRæR<RËRCRARÊRöRLRORSRURTR^RaRbRcRdReRfRgRhRjRkRmRoRqRrRsRtRuRvRwRxRyRzR{R|R}R~RR€R„R†RÙR–R(((slD:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerControl.pyt<module>sf                                                          3     & 
                $!
                       %            
                         6             e                           8                                                   9    W    J9 i        2A             ( g     l        Œ    0                &                     &              8     0z    x    )              \    [    -                                             ÿÿ    &        
    >                      !                        #