cehua_lyf
2019-03-06 3c8ee0a8a524a6251d7d5aae2372e76fd8a99b9c
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
¸‹c\c@siddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z dZ dZdZd„Zd„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z id„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.pytGodAreaOnLogin7scCsAtjdƒ}||}t}|r7t||ƒ}n||fS(NR(RRtFalseR (RtsecondtperAngerNeedSecondR'tisFull((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyR#Bs 
cCs.|jtjƒ}tjddƒ}||kS(NRi(RRRRR(RRR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt __IsAngerFullLscCstS(N(R    (RR%tlineIDR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnEnterFBEventXscCs|S(N((RR%tlineIdtipyEnterPosInfoR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnGetFBEnterPoscscCs9tjtjdƒ}|d \}}|j||ƒdS(Nii(RtGetFBLineEnterPosInfoRRtResetPos(Rt rebornPlaceRR1tposXtposY((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnResetFBRebornPlacePosiscCstS(N(R    (R((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    OnCanOpenrscCstjS(N(t IPY_GameWorldt    cmeAccept(taskR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pytOnChangeMapAskyscCs§tj|ƒ}tjd|ƒ|smtjƒ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ƒt!j"|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_GodAreatPlayerActLogintAddLoginAwardActionCnttDef_LoginAct_GodAreaR-R (RRt hadDelTicketR%t    delResulttisOK((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt    DoEnterFBs4
     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 stepTimeListRRat playerManagertcurTimetindexRtplayerIDtfullTickt playerControlt    leaveTickR,tlastAddAngerTimet
passSecondRZ((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyRsùsL     
 
($RRRR:RR RKRNRQRRRURHR{RwRRR R(R#R-R/R2R8R9R=R[R\R]R^R_RbRdRnR RuRs(((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_GodArea.pyt<module>sF                          
                                  "