hwj35
2025-06-23 aa0f971ae9a59f0fd98d57b6c1d1663a270be92c
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
•°fc@sÉddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z e dƒ\Z ZZZe dƒ\ZZZZZZdZdZe
jZejZd„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„Z4d„Z5dS(iÿÿÿÿNiit FB_CostTimetFBPlayerDict_EnterStatecCsdS(N((ttick((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnOpenFB7scCsdS(N((R((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyt    OnCloseFB;scCsEtjddƒ}|rA|jƒsAtj|d|gƒtSntS(NtLoveFBitOnlyTwoMemTeamCanEnter(t IpyGameDataPYt
GetFuncCfgt    GetTeamIDt PlayerControlt
NotifyCodetFalsetTrue(t    curPlayertmapIDtlineIDRtonlyDoubleTeam((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnEnterFBEvent?s  cCsdS(Nt((RtlineId((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytGetPlayerResetWorldPosFBMsgGscCstjS(N(t IPY_GameWorldt    cmeAccept(taskR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnChangeMapAskKscCs|S(N((RRRtipyEnterPosInfoR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnGetFBEnterPosOsc
Cstjƒ}|jƒ}|jƒ}tjd|ƒtj|ƒ}|sítjƒjƒ}tj    ||ƒ}|d}|sŽt
j |ƒdStj |ƒtj |tjƒtjj|dƒ|j|tdƒtj|tjdƒn|tkr tjt|ƒn|tkrœtjƒjƒ}tj|ƒtd|tjƒjƒ}    |jt j!dt"|    dƒt#ƒ|jt j$dt"|    dƒt#ƒnn|t%kr
tjƒjƒ}tj|ƒt&d|tjƒjƒ}    |jt j'dt"|    dƒt#ƒnt(||ƒdS(Ns DoEnterFB...iiiè()t    GameWorldt    GetGameFBt    GetFBStept GetPlayerIDtLogtFBCommontGetHadDelTickett GetGameWorldtGetMapIDtDelFBEnterTicketR
t PlayerLeaveFBtSetHadDelTickettAddEnterFBCounttChConfigtDef_FBMapID_Lovet
PyGameDatatg_fbPickUpItemDicttpoptSetPlayerGameFBDictRtPlayerTongTianLingtAddTongTianTaskValuetTTLTaskType_LoveFBt FB_Step_Opent    SetFBSteptFB_Step_MapPreparetGetMaptGetFBLineStepTimetDef_Time_MapPreparet GetFBStepTickt Sync_TimeTickRt tttAddUpTimetmaxR t tttWaitStarttFB_Step_FightingtDef_Time_Fightt tttTowerTaketDoFBHelp(
RRtgameFBtfbSteptplayerIDt hadDelTicketRt    delResulttisOKt notify_tick((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyt    DoEnterFBSs<   
    +"% +% cCsdS(N((RR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytDoExitFBzscCsdS(N((RR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytDoPlayerLeaveFB~sc    CsÌd}tjdtƒ}|jƒ}tjƒ}x7|D]/}|dkr8|jtj    |ƒd}q8q8Wt
tjdtƒƒ}i|t j 6|t j 6}tjd||jƒƒt j||ƒdS(Ns
TD_%s_Moveis    TD_%s_Cfgs DoFBHelp: %s(tNonet ReadChConfigtGetEvalChConfigtTDRefreshNPCFileNumtkeysRRtGetGameFBDictByKeyR)tMap_TDNPC_RefreshBigWheelNumtlenR!t
Help_wheeltHelp_wheelTotaltDebugLogRt Notify_FBHelp(    RRtwheelNumt movePointDictt    rMarkListRAtrMarkt
wheelTotalt
fbHelpDict((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyR@‚s    !cCsztjƒjƒ}|tkr+t|ƒnK|tkrDt|ƒn2|tkr]t|ƒn|t    krvt
|ƒndS(N( RRRR4t__DoLogic_MapPrepareR=t__DoLogic_MapFightingtFB_Step_PickupItemt__DoLogic_PickupItemtFB_Step_LeaveTimet__DoLogic_MapLeave(RRB((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyt    OnProcess–s        cCsétjƒjƒ}tj|ƒ}|tjƒjƒ|tdkrIdStjt    |ƒt
j dt ƒ}|j ƒ}t}x6|D].}tj|t d||ƒ|r…t}q…q…Wtj|tdƒtjtj|tdƒdS(Niès
TD_%s_Movei(RR5R$R!R6RR8R7R3R=RLRMRNROR tOpenTDNPCRefreshR tNotifyCopyMapPlayerFBHelpR@tSync_Player_TimeTickRR?R>(RRttimeInfoRXRYtisNotifyRZ((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyR]¥s$   cCsWtjƒjƒ}tj|ƒ}|tjƒjƒ|tdkrIdSt|ƒdS(Niè(    RR5R$R!R6RR8R>t__DoOver(RRRg((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyR^ºs $
cCsØtjƒjƒ}tjƒjƒ}tj|ƒ}|ra|tjƒjƒ|t    dkradStj
t |ƒtj ƒ}xTt |jƒƒD]@}|j|ƒ}|dks|jƒrÃqnt||ƒqWdS(Niè(RtGetMapItemManagertGetMapItemCountR5R$R!R6RR8tDef_Time_PickupItemR3RatGetMapCopyPlayerManagertxrangetGetPlayerCounttGetPlayerByIndexRKtIsEmptyt DoOverToLeave(Rt mapItemCountRRgtcopyMapPlayerManagertiR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyR`Æs* cCsttjƒjƒ}tj|ƒ}|tjƒjƒ|tdkrIdStjt    |ƒtj
ƒt j |ƒdS(Niè( RR5R$R!R6RR8tDef_Time_LeaveR3t FB_Step_OvertDoLogic_FBKickAllPlayertGameWorldProcesstCloseFB(RRRg((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyRb×s$
 cCsB|jtjƒ}|tkr>|jtƒtj|dƒndS(Ni(t GetDictByKeyR)tDef_NPC_Dict_FromRefreshValueRNtSetIsNeedProcessR R!t UpdTDNPCCnt(tcurNPCRtfromRefreshValue((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyt DoFBRebornNPCäs
  cCs[tjdtƒ}|jƒ}tj|ƒ}|rWtjdƒtj|t    dƒndS(Ns
TD_%s_Moves$±¾´ó²¨ËùÓеãË¢Íê, Ç¿ÖÆÍ¬²½Ò»´Î¹ÖÎïÊýi(
RLRMRNROR!tIsTDWheelRefreshOverRRUReR@(t refreshMarkRRXRYtisWheelRefreshOver((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnTDCurWheelOverîs  cCs|jtƒtj|ƒdS(N(t
SetVisibleR t    NPCCommont    SetDeadEx(RR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnTDNPCReachTheGoaløs  cCsgt}g}tjƒ}xBt|jƒƒD].}|j|ƒ}|sLq+n|j|ƒq+W||fS(N(R RRmRnRoRptappend(Rt isOnlySelfSeetownerPlayerListt playerManagertindexR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytGetFBEveryoneDropInfoþs c
Cs,tjƒjƒ}|tkr"dS|jtjƒ}|tkrDdStj    |dƒtj
ƒj ƒ}t j dtƒ}|jƒ}tj|ƒ}tj|ƒ}|rÉ|rÉtjdƒt|ƒn_|r(tjdƒx3t|ƒD]%\}}    tj|    ||dkƒqéWtj|tdƒndS(Niÿÿÿÿs
TD_%s_Moves&È«²¿¹ÖË¢ÐÂÍê±ÏÇÒÒѱ»É±Íê, ´¦Àí½áÊøÂß¼­s±¾²¨¹ÖÈ«²¿É±Í꣬½øÈëÏÂÒ»²¨£¡i(RRRR=R{R)R|RNR!R~R#tGetTickRLRMROtIsTDNPCRefreshOvertIsTDNPCCurWheelAllKilledRURit    enumeratetSetEnterTDNextWheelReR@(
RRBR€RRXRYt isAllRefresht isAllKilledRŽRZ((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyt DoFB_NPCDeads*       cCs°tjdƒ|tjƒjƒ}tjƒ}|jt|ƒtjt|ƒtj    ƒtj
|t dƒt j dtƒ}|jƒ}x|D]}tj|tƒq’WdS(Ns´¦Àí¸±±¾½áÊøÂß¼­is
TD_%s_Move(RRURR8t SetGameFBDictRR!R3R_t
ClearFBNPCReR@RLRMRNROtCloseTDNPCRefreshR (RtcostTimeRARXRYRZ((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyRi7s  
  cCstj|||dƒdS(N(R!t OnPickUpItemRK(RtcurItemR((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyRœKsc CsQd}|jƒ}tjƒjƒ}tjƒ}tj|ƒtd}|jt    j
d|t ƒ|j t ƒ}tjj|gƒ}tj|ƒ}    |    r«|j|    tƒnd}
|
rétjddƒ} tj|| ƒ|j| ƒni|tj6|tj6|tj6tj|ƒtj6} tj|| ƒtj d|    |
| f|ƒdS(NiièiRis1½áËã: coupleID=%s,coupleEnterState=%s,overDict=%s(!RRR5R$RR!R6RvR9Rt tttLeaveMapR RPRR+R,tgetR
t GetCoupleIDtGetPlayerGameFBDictByKeyRRtGetFuncEvalCfgt ItemControlertGivePlayerItemOrMailtextendtOver_dataMapIDt Over_isPasst Over_costTimetGetJsonItemListt Over_itemInfotNotify_FB_OverR ( RRtisPassRCRRAt    leaveTickR›tpickupItemListtcoupleIDtcoupleEnterStatetcoupleAwardListExtoverDict((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyRrOs&  !cCstS(N(R (RRRtsweepCnttisFinishtdataEx((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnPlayerFBSweepAskhscCsÄtjtƒ}|dkrIx+|jƒD]\}}||||<q(Wntj|||ƒ\}    }
} d} i|    tj6dtj6} tj|||| | ƒt    j
d||    |
| |fƒt S(NisKɨµ´½±Àø: ´ÎÊý=%s,jsonItemList=%s,totalExp=%s,totalMoney=%s,npcCountDict=%s( R!tGetTDCfgNPCCntInfoRNtitemsR‡tGiveKillNPCDropPrizeRªt Over_isSweept NotifyFBOverRRUR (RRRR³R´Rµt npcCountDicttnpcIDtnpcCountt jsonItemListttotalExpt
totalMoneyR¬R²((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pytOnPlayerFBSweepResultls     (6R!R‡RLRR
RyR£RR+RR)R/trangeR7R>RlRvR2R4R=R_RaRwRRR*RNttttLeaveFamilyWartDef_Devil_TimeTypeRRRRRRRHRIRJR@RcR]R^R`RbRR…R‰RR—RiRœRrR¶RÂ(((s€E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_Love.pyt<module>sT            
                                    '                                      
    
            "