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
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
gì»gc@sóddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZd„Zd„Zd„Zedƒ\ZZZd„Zd„Zd„Zd    „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„Z0dS(iÿÿÿÿNcCst|ƒdS(N(tNotifyBuyFBBuffInfo(t    curPlayer((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytOnLogin2s
cCsAtjƒj|ƒ}|j}|j}tj||||ƒdS(N(t    GameWorldtGetPlayerManagertGetPlayerByIndext
ActionTypet
ActionInfotFBLogict
DoFBAction(t playerIndext
clientDatattickRt
actionTypet
actionInfo((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyt OnDoFBAction;s
        c Cs[tjƒj|ƒ}|j}tjd|ƒ|s9dStj||ƒ}|dkrltjd|ƒdStjddƒ}||krŽdS||}t    j
|t j |ƒ}|sºdS|}    i|d6|    d6}
x6|D].\} } t    j || | tj|
ƒsÛdSqÛWtjd||    |f|jƒƒtj|tj|dƒtj|ƒdS(    NsOnClearFBCD mapID=%sis&    CDʱ¼äÒѹý£¬²»ÐèÒªÇå³ý£¬ cdTick=%st    FBEnterCDitMapIDtCDSeconds1   mapID=%s Çå³ý¸±±¾CD second=%s,costMoneyList=%s(RRRRtDebugLogtFBCommont GetFBEnterCDt IpyGameDataPYtGetFuncEvalCfgt PlayerControlt HaveMoneyExt ShareDefinetTYPE_Price_Gold_Paper_MoneytPayMoneytChConfigtDef_Cost_ClearFBCDt GetPlayerIDtSetFBPDictValuetDef_PDict_LastEnterFBTicktSyncFBEnterTick( R
R R RtmapIDt enterCDTicktclearEnterCDDictt    costMoneyt costMoneyListtsecondtinfoDictt    moneyTypetmoneyCnt((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyt OnClearFBCDGs4      
     icCs=t||ƒ}|stS|d}|jtj|ƒ|kS(Ni(tGetPubCDFBSweepCfgtFalsetNomalDictGetPropertyRtDef_PDict_PubCDFBS_MapID(RR#tsweepCfgtgroupNum((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytIsCurPubCDFBSweepingrs
 
cCsStjdƒ}x=|jƒD]/\}}|d}||krDqn||fSWdS(Nt PubCDFBSweepi(t ReadChConfigtGetEvalChConfigtitems(RR#tPubCDFBSweepDictR2t    sweepInfot
mapIDGroup((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyR-zs
  c
Cs6|jtj|ƒ}|dkrFtjd||f|jƒƒdStj|||||ƒsedStt    j    ƒƒ}    t
j |tj||ƒt
j |tj ||ƒt
j |tj ||ƒt
j |tj||ƒt
j |tj||    ƒtjd||||||    f|jƒƒt||ƒdS(Nis7¹«¹²CD¸±±¾É¨µ´ÖÐ, ÎÞ·¨É¨µ´!groupNum=%s,curSweepMapID=%ssM¹«¹²CD¸±±¾¿ªÊ¼É¨µ´ mapID=%s,lineID=%s,cnt=%s,dataEx=%s,groupNum=%s,curTime=%s(R/RR0RRRRtOnStartPubCDFBSweeptintttimeRtNomalDictSetPropertytDef_PDict_PubCDFBS_LineIDtDef_PDict_PubCDFBS_CnttDef_PDict_PubCDFBS_DataExtDef_PDict_PubCDFBS_TimetSync_PubFBSweepData(
RR#tlineIDtcnttisFinishtdataExR2R9t curSweepMapIDtcurTime((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyt__DoStartPubCDFBSweep†s"         # cCs±|jƒ}|jtj|ƒ}|dks:||krXtjd||f|ƒdS|jtj|ƒ}|jtj|ƒ}|jtj|ƒ}    |jtj    |ƒ}
|t
} |t } | |    } t t j ƒƒ}td||ƒ}td| |ƒ}|dkr<|dkr<tjd||f|ƒdSi |d6|d6|    d6| d6|d    6|d
6dd 6|d 6|d 6|
d6|tj6}|dkrët| ƒ}|dkrë||d <tj|tj|tj|ƒsèdSqëntjdt|ƒ|ƒtj||||    |
ƒtj|tj|dƒtj|tj|dƒtj|tj|dƒtj|tj    |dƒtj|tj|dƒt||ƒdS(NisJδɨµ´ »ò ²»Êǵ±Ç°ÕýÔÚɨµ´µÄ¹«¹²CD¸±±¾, ÎÞ·¨Íê³É!curSweepMapID=%s,mapID=%sis*ɨµ´Ê±¼äδµ½£¬ÎÞ·¨Íê³É£¬Ê£Óà%sÃë, mapID=%sRItstartSweepTimetsweepCntt needTotalTimetpassTimet remainSecondtcostGoldR#RDRGis¹«¹²CD¸±±¾É¨µ´Íê³É: %s(RR/RR0RRRBR?R@RAtPCDFB_NeedTimetPCDFB_FinishTimeGoldR<R=tmaxtDef_Cost_Reason_SonKeytevalRRt IPY_GameWorldtTYPE_Price_Gold_MoneytDef_Cost_FinishFBSweeptstrRtOnGivePubCDFBSweepPrizeR>RC(RR#RFR2R9tplayerIDRHt    sweepTimeRDRLRGt sweepNeedTimetfinishCostGoldFormatRMRIRNR(t addDataDictRP((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyt__DoFinishPubCDFBžsL     
 
 
)   
 
 cCs2tjdƒ}|jƒ}|dkr0|}n||kr@dS|g}tjƒ}|jƒg|_x¡|D]™}tjƒ}|jƒ||_|j    t
j |ƒ|_ |j    t
j |ƒ|_|j    t
j|ƒ|_|j    t
j|ƒ|_|jj|ƒqoWt|jƒ|_tj||ƒdS(NR4iÿÿÿÿ(R5R6tkeystChPyNetSendPackttagMCPubFBSweepDatatCleart SweepDatListttagMCPubFBSweeptPubNumR/RR0tFBMapIDR?tLineIDRBt    SweepTimeR@tSweepCnttappendtlentCntt NetPackCommont SendFakePack(RR2R8tallGroupNumListt groupNumListt pubSweepDatatgNumR9((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyRCÓs,            
      
    c Cstjƒj|ƒ}|j}|j}|j}d}|j}|j}    |    r€tj    |t
j ƒs€tj d|j ƒƒdSn|dkrdStj|ƒ}
tjtjƒjƒƒtj|ƒkró|
ró|
jƒrótj d|ƒdSntj||ƒ} | s&tj d||fƒdStj||||
| |ƒt
jkrQdSg} g} d}|jƒjtjƒ}| r¤| jƒ}|rÕ|jƒ|krÕtj d|||jƒ|f|j ƒƒdS| jƒ}|r¤|     r¤| jƒ}||}tj |||ƒ\}} }}|s¡tj!|tj"ƒ}|rk||}t#j$|t
j%|ƒ} n| sžtj d||||f|j ƒƒdSq¡q¤nt&j'||||||ƒsÆdSt(j)|t
j*d|gƒ| r |r tj+||| |t,dƒn| rpi|d    6|d
6|d 6}x?| D]4\}}t#j-|||t.j/|ƒs5t,|fSq5Wntj0||||ƒ|
r®|
jƒr®tj1|||ƒnt2j3d ||ƒ}|ràt4j5|||ƒdSt&j6||||||ƒdS( NisÍæ¼ÒûÓÐСÖúÊÖ¹¦ÄÜȨÏÞ£¡is(Íæ¼ÒÔÚɨµ´Ä¿±êµØÍ¼ÖУ¬ÎÞ·¨É¨µ´£¡mapID=%ss/ÕÒ²»µ½¸Ã¸±±¾Ïß·£¬ÎÞ·¨É¨µ´£¡mapID=%s, lineID=%ssHÍæ¼Ò¸±±¾É¨µ´,µÈ¼¶²»×㣡mapID=%s, lineID=%s, playerLV=%s, sweepLVLimit=%ssCɨµ´ÏûºÄµÀ¾ß²»×ã, mapID=%s,lineID=%s,sweepItemID=%s,sweepCostCnt=%stFBSweepCostItemRRit
SweepCountt FBHelpBattle(7RRRRRiRntDataExtIsLittleHelpert GameFuncCommt GetFuncCanUseRtGameFuncID_LittleHelperRRRt GetFBIpyDatatGetRecordMapIDtGetMaptGetMapIDt GetDayTimestGetFBLineIpyDatatCheckCanEnterFBCommtEntFBAskRet_OKtGetItemManagertGetPackRVtrptItemtGetSweepLVLimittGetLVtGetSweepItemIDtGetSweepCostCntt
ItemCommontGetItem_FromPack_ByID_ExExtGetShopItemPriceRWRRRRtOnPlayerFBSweepAskt PlayerSuccesstDoAddSuccessProgresstSuccType_FeastRedPack_FBSweept
ReduceItemR.RRtDef_Cost_FBSweeptDelFBEnterTickettAddEnterFBCountRtGetIpyGameDataNotLogRwt(SendGameServer_SweepCallHelpBattlePlayertOnPlayerFBSweepResult(R
R R RR#RDRERFRGtisLittleHelpert    fbIpyDatat fbLineIpyDataR'tsweepCostindexListt sweepCostCnttitemPackt sweepLVLimitt sweepItemIDt sweepItemCnttisEnoughthasBindtlackCntt    itemPriceR&R)R*tmoneyNumt helpIpyData((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytOnPlayerFBWipeOutüs†                     *'     #   
!
      cCsdS(N((R
R R ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytOnPlayerBuyFBEnergyzscCsTtjtj}||jtjƒ|kr0dS|jtj|ƒtj|ƒdS(N(RtTYPE_Player_Tick_TimetTYPE_Player_Tick_FBTimeProcesst GetTickByTypet SetTickByTypeRtRegainFBCntProcess(RR t checkInterval((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytDoPlayerFBTimeProcess€s  cCsJtjƒj|ƒ}|j}|j}|j}tj||||ƒdS(N(RRRRRitPercentRtOnGetMultiFBPrize(R
R R RR#RDt    prizeExLV((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytOnPlayerGetMultiFBPrize–s             cCstjƒj|ƒ}dS(N(RRR(R
R R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytOnPlayerResetFBJoinCnt¥sc    Csytjƒj|ƒ}|j}|j}|j}|j}||g}tj||||ƒtj    d|||fƒdS(Ns4    ¿Í»§¶Ë¸±±¾·¢ËͽáÊømapID=%s,lineID=%s,dataList=%s(
RRRRRitData1tData2Rt OnClientEndFBR(    R
R R RR#RDtdata1tdata2tdataList((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyR¹³s                 cCs)tjƒj|ƒ}tj||ƒdS(N(RRRRtOnClientStartFB(R
R R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyR½ÅscCs>tjƒj|ƒ}|j}|j}t||||ƒdS(N(RRRRt
FuncLineIDtDoEnterCustomScene(tindexR R RR#t
funcLineID((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytOnClientStartCustomSceneÒs
        cCs#tjƒj|ƒ}t|ƒdS(N(RRRtDoExitCustomScene(RÀR R R((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pytOnClientExitCustomSceneßs
c
Cs
|jƒ}tjd||f|ƒ|jtjƒr¾tj|ƒ}tj|ƒ}||kr‡||kr‡tjd|ƒd}n tjd||f|ƒd}t    ||||ƒ|S|r&t
j |ƒ}t
j ||ƒ}    tj |||||    |ƒtjkr&t    |||dƒdSntj||jƒƒ|jtjdƒ|jtj|ƒtj|||ƒtj|ƒtjd||f|ƒ|rÅtj|ƒtj|||ƒntj|ƒtj|ƒkrótj|ƒnt    |||dƒdS(Ns)Íæ¼ÒÇëÇó½øÈë×Ô¶¨Ò峡¾°!mapID=%s,lineID=%ss.    Íæ¼Òµ±Ç°ÒѾ­ÔÚ×Ô¶¨Ò峡¾°ÖУ¡ÎÞÐèÖØÐÂÇëÇó£¡isF    Íæ¼Òµ±Ç°ÔÚ²»Í¬µÄ×Ô¶¨Ò峡¾°ÖУ¡²»ÔÊÐí½øÈ룡curMapID=%s,curLineID=%sis%Íæ¼Ò¿ªÊ¼×Ô¶¨Ò峡¾°!mapID=%s,lineID=%s(RRtLogt GetDictByKeyRtDef_PlayerKey_ClientCustomSceneRtGetCustomMapIDtGetCustomLineIDtStartCustomSceneResultRR}R‚t CheckMoveToFBRR„tSetPlayerSightLeveltGetIDtSetDictt'Def_PlayerKey_ClientCustomSceneStepTickt SetCustomMapt    NPCCommontClearPriWoodPilet
PetControltDoLogic_PetLoadMapOKRtOnEnterCustomScenetGameObjtGetHPtGetMaxHPt    SetHPFull(
RR#RDR R[tcurMapIDt    curLineIDtresultR›Rœ((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyR¿äs@         '  cCsT|dkrt|ƒntjƒ}||_||_||_tj||ƒdS(Ni(RÃRbttagMCStartCustomSceneResultRR¾tResultRoRp(RR#RDRÜt
resultPack((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyRÊs               cCs9tj|dƒtj|ƒ}tj|ƒ}|jtjdƒ|jtjdƒ|jtjdƒtj    |ddƒ|rºt
j |||ƒtj krºt
j |||tj ƒntj|ƒtj|ƒdkr|jƒtjkrtj|ƒtj|ƒkrtj|ƒntjd|jƒƒdS(NisÍæ¼ÒÍ˳ö×Ô¶¨Ò峡¾°!(RRÌRÈRÉRÎRRÇRÏt$Def_PlayerKey_ClientCustomSceneGradeRÐRtGetCustomMapSteptCustomMapStep_OvertSetCustomMapStepRÑRÒRÖR×tGetPlayerActionRVtpaDieRØRÙRRÅR(RR#RD((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyRÃs$ Hc Cstjƒj|ƒ}|jƒ}|j}|j}tjd||ƒ}|sRdS|jƒ}tj    ƒj
|ƒ}    |    s}dSt j |ƒ}
|
r¢||
kr¢dS|
rÅ|tj ƒjƒkrÅdSttjƒƒ} ||f} tjj|iƒj| dƒ} | r1| | |jƒkr1tjdƒdSi|d6|d6}t j|tj|tj|ƒsjdS|tjkr‰itj|<n| tj|| <t|ƒ|
rõi|jƒd6|d6}tjtj|ƒtjd|
|f|ƒdStj |||    t!|ddƒdS(    Nt    FBBuyBuffis¸±±¾¹ºÂòbuff CDδµ½ Rt    addBuffIDtPlayerIDtbuffIDs(¿ç·þÖÐÇëÇó¸´»î, crossMapID=%s,msgDict=%s("RRRRRtMoneyCntRtGetIpyGameDatat    GetBuffIDt GetGameDatatGetSkillBySkillIDRt GetCrossMapIDRR€R<R=t
PyGameDatatg_fbBuyBuffTimeDicttgett    GetBuffCDRRRVRWRtDef_Cost_FBBuyBuffRtSendMsgToCrossServerRtClientServerMsg_AddBufft
SkillShellt__DoLogic_AddBuffR.(R
R R RR[R#R+tipyDataRçtcurSkillt
crossMapIDRIttimeKeytlastTimeR)tmsgDict((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyt OnFBBuyBuff5sH           ! !
c    CsÆ|jƒ}tjj|iƒ}|s+dStjƒ}g|_x]|jƒD]O\}}|\}}tjƒ}||_    ||_
||_ |jj |ƒqMWt |jƒ|_tj||ƒdS(N(RRðRñRòRbttagMCFBBuyBuffInfotInfoListR7ttagMCFBBuyBuffTimeRRêtBuyTimeRlRmRnRoRp(    RR[t buffTimeDicttpackDataRütbuyTimeR#R+ttimeInfo((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyRas                     c Cstjƒj|ƒ}|jƒ}|j}|j}tjd||f|ƒtj|ƒ}tj    ||ƒ}tj
|||||ƒt j kr–dSt j|||ƒ}    |     sÄt|    ƒdkrâtjd||f|ƒdS|    \}
} |
r¢tjƒj|
ƒ} | sdStj| ƒ} tjddƒ}t| |ƒ}tj|ƒ}|r¢||kr¢tjd|||
| ||f|ƒtj|dƒdSn|r|jƒr| r| dkrñtj
|||||| ƒt j krñdStj||| ƒnt j|||ƒdS(Ns,Íæ¼ÒÇëÇó¿ìËÙÒ»¼ü¹ý¹Ø¸±±¾: mapID=%s,lineID=%sis$ÎÞ·¨Ò»¼ü¹ý¹Ø¸±±¾: mapID=%s,lineID=%st FBQuickPassiseÎÞ·¨Ò»¼ü¹ý¹Ø¸±±¾! Õ½Á¦ÏÞÖÆ: mapID=%s,lineID=%s,bossID=%s,npcFightPower=%s,quickNeedFightPower=%s > %st TaskFeedback4(RRRRRRiRRR}R‚RƒRR„RtOnPlayerFBQuickPassRmRítFindNPCDataByIDRÑtGetSuppressFightPowerRt
GetFuncCfgR<Rt GetFightPowert
NotifyCodeRR–tOnPlayerFBQuickPassResult(R
R R RR[R#RDR›RœtreqRettbossIDtquickCnttnpcDatat npcFightPowertquickNeedRatiotquickNeedFightPowert curFightPower((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyt OnFBQuickPass{sB         $     3(1R5RVRRRRRRbRoRRŒRRRzRwR÷RðRÓRÑRÖR=tmathRRR,trangetPCDFB_MapIDListRQRRR3R-RJR`RCR©RªR±RµR¶R¹R½RÂRÄR¿RÊRÃRÿRR(((shE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFB.pyt<module>sZ                                       '                 5 )    ~                                      ,    
        ,