cehua-TT
2019-01-28 d69149d823bc03ba2eceb79e44b7ba5998c8e666
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
uÞJ\c@s]ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z dZ dZ dZd„Zd„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zid„Z d„Z!d„Z"dS(iÿÿÿÿNtLastGodAreaCheckTicktFBPlayerDict_LeaveTicktFBPlayerDict_FullTickcCsç|jtjƒ}tjddƒ}||kr4tSt|||ƒ}tj|tj|ƒt    |dƒ||krÝt
j tj ƒd}|j tjd|dtƒtjƒjƒ}tjƒj|jƒt|ƒn||kS(NtAngryAddiiiè(tNomalDictGetPropertytChConfigtDef_Player_Dict_GodArea_Angert IpyGameDataPYt
GetFuncCfgtTruetmint PlayerControltNomalDictSetPropertytDoFBHelptFBCommontGetFBLineStepTimetDef_FBMapID_GodAreat Sync_TimeTickt tttDeadTimet    GameWorldt GetGameWorldtGetTickt    GetGameFBtSetPlayerGameFBDicttGetIDR(t    curPlayertaddCnttangertmaxAngertupdAngertdeadTimettick((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt__AddGodAreaAnger"s   "cCsxtjƒjƒ}|tjkr;tj|tjdƒdStj|ƒ}t    ||ƒd}tj
d||fƒdS(Nis4    ¸±±¾ÀïOnLogin, leaveServerSecond=%s, addPoint=%s( RRtGetMapIDRRR R RtGetPlayerLeaveServerSecondtTimeAddGodAreaAngertDebugLog(RtmapIDtleaveServerSecondtaddPoint((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytGodAreaOnLogin6scCsAtjdƒ}||}t}|r7t||ƒ}n||fS(NR(RRtFalseR (RtsecondtperAngerNeedSecondR'tisFull((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyR#As 
cCs.|jtjƒ}tjddƒ}||kS(NRi(RRRRR(RRR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt __IsAngerFullKscCstS(N(R    (RR%tlineIDR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnEnterFBEventWscCs|S(N((RR%tlineIdtipyEnterPosInfoR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnGetFBEnterPosbscCs9tjtjdƒ}|d \}}|j||ƒdS(Nii(RtGetFBLineEnterPosInfoRRtResetPos(Rt rebornPlaceRR1tposXtposY((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnResetFBRebornPlacePoshscCstS(N(R    (R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    OnCanOpenqscCstjS(N(t IPY_GameWorldt    cmeAccept(taskR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnChangeMapAskxscCs‘tj|ƒ}tjd|ƒ|sWtjƒjƒ}tj||ƒ}|d}|sktj|ƒdStj    |j
ƒƒtj |ƒtj ||ƒtj |tjdƒtj |tjdƒtjd|jƒgƒtj|tjdtjƒtj|tjdƒtj|tjdƒtj|tjdƒtj|tj dƒn)t!|ƒr€tjdƒtj|ƒnt"||ƒdS(Ns#    ½ø¸±±¾DoEnterFB hadDelTicket=%sitElderGod_SomeInis%    ¸±±¾ÀïµôÏßÖØÉÏ Å­ÆøÒÑÂú£¬Í˳ö¸±±¾(#RtGetHadDelTicketRR$RR!tDelFBEnterTicketR t PlayerLeaveFBtClearAreaRewardRecordRtSetHadDelTickettAddEnterFBCountR RRt(Def_Player_Dict_GodArea_LastAddAngerTimetFBNotifytGetNamet EventReportt WriteEvent_FBRt CME_Log_StarttPlayerBossReborntAddBossRebornActionCnttDef_BRAct_GodAreatPlayerFairyCeremonytAddFCPartyActionCnttDef_PPAct_GodAreatPlayerNewFairyCeremonytPlayerWeekPartytAddWeekPartyActionCnttDef_WPAct_GodAreaR-R (RRt hadDelTicketR%t    delResulttisOK((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    DoEnterFB€s2
     cCsdS(N((RR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoExitFB¡scCsdS(N((RR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoPlayerLeaveFB©scCs~tj|dƒtj|tjdƒtj|tjdƒtjƒj    |j
ƒt dƒtjƒj    |j
ƒt dƒdS(Ni( RRCR R RRRERRRRRR(R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoPlayerChangeMapLogic­s cCstS(N(R    (((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnPlayerReborn¹scCsFt|ƒrBtjtjƒd}|jtjd|dtƒndS(Niiiè(    R-RRRRRR:t tttLeaveMapR    (Rt    leaveTime((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt DoPlayerDeadÁs  cCs#tjddƒ}t||ƒdS(NRi(RRR (RtplayerRebornTypeR'((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnPlayerRebornOverÉs cCsn|jƒ}tjd|ƒ}|s(dS|jƒ}t||ƒtj|ƒrjt|di|d6ƒndS(Nt ElderGodAreaitKillBOSS(tGetNPCIDRtGetIpyGameDataNotLogtGetMonsterAngerR Rt
IsGameBossR (RtcurNPCtnpcIDtipyDataR'((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytDoFB_DropOwnerÕs   cCsG|jtjƒ|tj<tjd||jƒƒtj||ƒdS(Ns helpDict=%s(    RRRRt
Help_scoreRR$Rt Notify_FBHelp(RRthelpDict((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyR åscCs!t|ƒtjd|tƒdS(NtGodAreaExpAward(t__DoLogic_CheckAngerRtDoLogicAreaRewardR    (R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    OnProcessñs
cCs@tjƒ}|jtƒ}tjddƒ}|||dkrEdS|jt|ƒtjt    j
ƒ}|\}}tj ƒ}t t j ƒƒ}x¨td|jƒƒD]‘}    |j|    ƒ}
|
jƒ} | sÔq§nt|
ƒrÃ|j| tƒ} | r^|| |dkr^|j| tdƒ|j| t|ƒtj|
ƒ} | jƒtjd| ƒn|j| tƒ}|r§|||dkr§tj|
ƒ|j| tdƒtjd| ƒq§q§nt}|
jt    jƒ}|r"||}t|
|ƒ\}}|r8tj|
t    j|ƒq8q§tj|
t    j|ƒq§WdS(NRiièis    Ê±¼äµ½ ÉèÖÃËÀÍö s    Ê±¼äµ½ TÈË ( RRtGetGameFBDictByKeytMap_FBDict_LastGodAreaCheckTickRRt SetGameFBDictRRRRtGetMapCopyPlayerManagertintttimetrangetGetPlayerCounttGetPlayerByIndext GetPlayerIDR-tGetPlayerGameFBDictByKeyRRRR tSetDeadR$RAR)RRER#R (RtgameFBt lastAwardTickt checkIntervalt stepTimeListRR^t playerManagertcurTimetindexRtplayerIDtfullTickt playerControlt    leaveTickR,tlastAddAngerTimet
passSecondRW((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyRp÷sL     
 
(#RRRR:RR RKRNRQRRRHRxRtRRR R(R#R-R/R2R8R9R=RXRYRZR[R\R_RaRkR RrRp(((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt<module>sD                         
                                  !