cehua-HWJ35
2019-01-15 82886c28e099712cce05903682eb66033794dca8
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
ی<\c@s$ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    e
dƒ\Z Z Z ZZZdZdZdZdZd„Zd„Zd    „Zd
„Zed „Zd „Zd „Zed„Zd„Zd„Zd„Z d„Z!dS(iÿÿÿÿNisDogzfb_LastRefreshTime%ssNextNeedTime%st LastCheckTicksNPCRemainCnt_%scCstS(N(tTrue(t    curPlayertmapIDtlineIDttick((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pytOnEnterFBEvent4scCstS(N(R(R((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyt    OnCanOpen;scCstjS(N(t IPY_GameWorldt    cmeAccept(taskR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pytOnChangeMapAskCscCsdS(N((RR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyt    DoEnterFBKscCsdS(N((RRtisEnter((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pytDoFBHelp\scCsdS(N((Rt
actionTypet
actionInfoR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyt
DoFBActiongscCst|ƒdS(N(tCheckRefreshBoss(R((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyt    OnProcessos
c    CsFtjƒ}|jtƒ}|p4|o4||dks;dS|jt|ƒtjddiƒ}ttjƒƒ}tj    ƒ}i}x||j
ƒD]n\}}    |    t }
|j t |
ƒ} | sÆq‘n|j t|
ƒ} | rõ|| | krõq‘n|    ||<q‘W|s dSi} tjƒ}xptd|jƒƒD]Y}|j|ƒ}|jƒ}|sbq5n|jƒ}| j|dƒ|jƒ| |<q5Wt}x—|j
ƒD]‰\}}    |    t }
|rË|    tn|    t}|jt|
|ƒ|    t}t|tƒr |gn    t|ƒ}d}x$|D]}|| j|dƒ7}q$Wt||    t|ƒ}|dkrütj |ƒx…|D]z}|dkr‘Pn| j|dƒ}||krµq{nt|||ƒ}||8}t!j"||
|fg|||ƒq{Wnt#|
|    t$ƒ|
tjddƒkr¥t%}q¥q¥W|rBt&ƒndS(NiètDogzFBRefreshCfgiii('t    GameWorldt    GetGameFBtGetGameFBDictByKeytMap_Dogzfb_LastCheckTickt SetGameFBDictt IpyGameDataPYtGetFuncEvalCfgtintttimet GetGameWorldtitemst    Def_NPCIDtGetGameWorldDictByKeytMap_Dogzfb_NextNeedTimetMap_Dogzfb_LastRefreshTimet GetNPCManagertxrangetGetCustomNPCRefreshCounttGetCustomNPCRefreshAttGetCounttGetRefreshMarktgettFalsetDef_FirstRefreshCnttDef_RefreshCnttSetGameWorldDictt
Def_MaxCntt
isinstancetlisttmintDef_TotalLimittrandomtshuffletNPCCustomRefresht SetNPCRefresht__UpdateBossTimetDef_TimeFormulaRtSyncNPCRefreshTime(RtisFirsttgameFBt lastCheckTicktdogzRefreshCfgtcurTimet    gameWorldt refreshDicttmarkInfot refreshInfotnpcIDt nextNeedTimetlastRefreshTimet
npcCntDicttgameNPCtit
npcRefreshtnpcCnttrmarkt
isNeedSynct
refreshCnttmaxCnttmarkListt curTotalCnttrMarktcurCnttneedRefreshCnt((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyRtsr  
   $
 
$      
* 
cCsÃtjƒjƒtjkrdStjddƒ}t|ƒ|krGdStjƒ}|j    t
ƒ}|s¿tj ddiƒ}x/|j ƒD]!}|t }t||tƒqŠWt|tƒndS(NRii(RtGetMaptGetMapIDtChConfigtDef_FBMapID_DogzRt
GetFuncCfgtstrRRRRtvaluesR R8R9RR(tkeyRtbossidR<R=R>RCRD((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pytOnOnlineCntChange·s 
cCsBtjƒ}|jtjƒ}t|ƒ}|jt||ƒdS(N(RRR!t ShareDefinet%Def_Notify_WorldKey_BossOnlineHeroCnttevalR.R"(RDtformulat gameWorldMgrt    onlineCnttnextTime((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyR8Çs
  cCsGtjƒ}|jt|ƒ}|jt|ƒ}td|||ƒS(Ni(RRR!R#R"tmax(R?RDRcRFRE((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pytGetDogzNPCRefreshTimeÏs cCs£tjddƒ}i}xP|D]H}tjƒ}|jt|ƒ}|jt|ƒ}||g||<qWt|ƒ}tjƒj    dddd|t
|ƒƒdS(NRiit DogzNPCTime( RRRRR!R#R"RZtGetPlayerManagertGameServer_QueryPlayerResulttlen(t syncNPCIDListtsyncDictRDRcRFREtmsgStr((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyR:Ös   (("RRRR_R6t SkillCommontGameObjRR4RWtrangeR R/R9R-R,R3R#R"RtMap_Dogzfb_NPCRemainCntRRR R R+RRRRR^R8RgR:(((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Dogz.pyt<module>s4                                    C