hxp
2025-09-08 a6e2090c3de49d712add8e6fc0b706e89c263d00
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
105
106
107
108
Uºhc@scddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Zd„Zdd„Zd„Z dS(iÿÿÿÿNcCst|ƒdS(N(tSyncDropBootyInfo(t    curPlayer((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pytOnFBPlayerOnLogin%s
cCst|ƒdS(N(tResetBootyDropToday(R((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pytOnFBPlayerOnDay)s
cCsutƒ}x[|D]S}tj|tj|dƒ|jtj|ƒrtj|tj|dƒqqWt|ƒdS(Ni(tGetBootyItemIDListt PlayerControltNomalDictSetPropertytChConfigtDef_PDict_UnXiantaoCntBootytNomalDictGetPropertytDef_PDict_BootyDropTodayR(RtbootyItemIDListtitemID((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyR-s     !
cCs]t|tjƒ}tj|tj||ƒtjd||f|jƒƒt    ||ƒdS(Ns/¸üнñÈÕµôÂäÕ½ÀûÆ·Êý: itemID=%s,updDropToday=%s(
tminRtDef_UpperLimit_DWordRRR t    GameWorldtDebugLogt GetPlayerIDR(RR t updDropToday((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pytSetBootyDropToday6s
  cCsVtjƒ}|jƒ}|s"gS|j|dƒ}g|jƒD]}|d^qBS(Nii(t IpyGameDataPYtIPY_DatatGetMainChapterCounttGetMainChapterByIndextGetDailyBootyUpperList(t
ipyDataMgrt chapterCounttipyDatatbooty((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyR=s   cCs&|tjkr"t|||ƒndS(N(RtDef_FBMapID_Maint __doKillAward(RtatkObjt killObjListtuseSkilltmapIDt
funcLineID((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pytOnPlayerLineupAttackResultFscCs¨|stjdƒdS|jtjƒ}|r—tj|tjdƒtjddƒ}||}tjd||fƒtj|ƒj    |t
j ƒnt ||ƒdS(NsûÓл÷ɱ²»ÐèÒª´¦Àí!itMainlineis(Ôö¼Ó¾­Ñé: totalExp=%s,unXiantaoCntExp=%s( RRR
RtDef_PDict_UnXiantaoCntExpRRRt
GetFuncCfgtAddExpt ShareDefinetDef_ViewExpType_KillNPCt __doMainDrop(RR R!tunXiantaoCntExptperExpttotalExp((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyRNs 
 c
Cs,t||ƒdkrdS|jƒ}g}tj|ƒd}tjd|ƒ}|re|jƒ}ntjd||f|ƒt    j
|t j ƒ}tj ddiƒ}tj ddiƒ}xg|D]_\}    }
|dkrñtjd|ƒPn|
dkrqÅn|jtj|    ƒ} | |
krHtjd    |    | |
f|ƒqÅn|    |ksÅ|    |krfqÅn||    } |jtj|    ƒ} | | }|dkr¢qÅn||    }t|ttfƒ sÅt|ƒdkrÚqÅn|d}|d}d}xEt|ƒD]7}||kr|}ntj||ƒ}||7}qWt||
| ƒ}|dkraqÅntjd
|    | |||f|ƒtj|    |td |ƒ}|dkr±qÅn|jdƒtj||d t j gƒsâqÅn| | } tj |tj|    | ƒt!||    | |ƒ|d8}qÅWdS( Niÿÿÿÿit MainChapters"¿ÉµôÂäÕ½ÀûÆ·ÉÏÏÞ: chapterID=%s, %st MainBootyDropiis µôÂä±³°üÒÑÂú!s6Õ½ÀûÆ·ÒÑ´ï½ñÈÕµôÂäÉÏÏÞ! itemID=%s,todyDropCnt=%s >= %ssPµôÂäÕ½ÀûÆ·! itemID=%s,unXiantaoCntBooty=%s,´ÎÊý=%s,dropCntTotal=%s,spaceCount=%sRt packIndexList("t __doDropEquipRRtGetMainLevelNowInfoRtGetIpyGameDataRRRt
ItemCommontGetItemPackSpacet IPY_GameWorldt rptIdentifytGetFuncEvalCfgR
RR R    t
isinstancetlistttupletlentrangetrandomtrandintRt ItemControlertGetOutPutItemObjtFalsetNonet    SetIsBindtDoLogic_PutItemInPackRR(RR!tplayerIDtDailyBootyUpperListt    chapterIDtchapterIpyDatat
spaceCounttbootyDropNeedDicttbootyDropCntDictR t    dropUppert todyDropCntt dropOneNeedtunXiantaoCntBootyt dropBootyCntt dropCntRangetdropMintdropMaxt dropCntTotalt_tdropCnttcurItem((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyR,_sp    
 
 
(
 
            
c
Cs¥|jƒ}tj|ƒ}tjddƒ}t|jƒdƒ}d}i}x±|D]©}|jƒ}    |jƒ}
|
sqUnt    j
|
ƒ} | sšqUn| j ƒ} | |kr¸qUnt j || ƒ} | s×qUn| |9} || | g||    <|| 7}qUW|dkr,t jd||f|ƒdStj|tj|ƒ}|s^t jd|ƒdS|jtjƒ}tjd|ƒ}|sŒdSt jd||||f|ƒxò|jƒD]ä\}    }|\}} } t|d    | ƒrt|d    | ƒƒ}n |jƒ}t jd
|    | | ||f|ƒ|s;q¹nd}g}xFt|dƒD]5\}}|soqWn||7}|j||gƒqWW|sšdSt jd ||f|ƒxæt| ƒD]Ø}|dkr×Pnt j |ƒ}|sòqÁnt    jdd |d tjddƒ}|s"qÁnt j!|ƒ}t"j#|dt$d|ƒ}|dkr^qÁn|j&dƒt"j'||dtjgƒsqÁn|d8}qÁWq¹WdS(Nt MainEquipDropiis4Ö÷ÏßÔݲ»ÄܵôÂä! unXiantaoCntEquip=%s,dropEquipCnt=%ss µôÂä±³°üÒÑÂú!iÿÿÿÿtTreeLVsNÖ÷ÏßµôÂä×°±¸: unXiantaoCntEquip=%s,dropEquipCnt=%s,treeLV=%s,objDropCntDict=%ssGetEquipColorRateList%ss?tagID=%s,bossType=%s,dropCnt=%s,treeLV=%s,equipColorRateList=%ss!    colorRateList=%s,totalRate=%stcolort    placeListtfindTypeRR2((RRtGetUnXiantaoCntEquipRR(tmaxt GetFightPointtGetIDtGetNPCIDt    NPCCommont GetNPCDataPyt GetBossTypeRtGetResultByRandomListRR6R7R8R9R
RtDef_PDict_TreeLVR5titemsthasattrtgetattrtGetEquipColorRateListt    enumeratetappendR?t__GetEquipIDListtDef_MainEquipPlacesR@tchoiceRBRCRDRERFRG(RR!RHtunXiantaoCntEquiptbossTypeDropInfot
fightPointt dropEquipCnttobjDropCntDictttagObjttagIDtnpcIDtnpcDatatbossTypeRYttreeLVRtdropInfotequipColorRateListt    totalRatet colorRateListt
equipColort    colorRateRXt    itemColort equipIDListt randEquipIDRZ((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyR3¥s’      
          
 $  cCsÂtj|ƒ}|j}|jƒs8tj|dƒdSd}tjƒ}d}|j    t
j ƒ}|j dƒ}x6|j jƒD]%}    |j|    ƒ}|jƒrPqqW|sÄtj|dƒdStjƒ}
d|
_tj||
ƒg} |j    t
jƒ} | j dƒ}xX|j jƒD]G}    |j|    ƒ} | jƒr | j| ƒtj|| ||ƒq q W|jt
jƒ|}tj|t
j|ƒtj|d|ƒtj|dtj||ƒƒtj|ƒd}tj d|ƒ}|r||j!ƒ}xw|D]l\}}|dkr'q    n|jt
j"|ƒ|}tj|t
j"||ƒtj|d||fƒq    Wnt#||| ||j$|j%ƒ|j&ƒd|
_tj||
ƒdS(    Ns ·ÇÖ÷ÏßÕ½¶·ÖÐ!isÖ÷ÕóÈÝûÓдæ»îÎ佫!isδ½áËã¾­ÑéÕ½´¸Êý: %ssδ½áËã×°±¸Õ½´¸Êý: %sR0sδ½áËãÕ½ÀûÆ·(%s)Õ½´¸Êý: %s('t
TurnAttacktGetMainFightMgrt    turnFightt    isInFightRt DebugAnswerREt    BattleObjt GetBatObjMgrt getBatFactionRt Def_FactionAt getBatlineupt posObjIDDicttvaluest    getBatObjtIsAlivetChPyNetSendPackttagSCTurnFightReportSigntSignt NetPackCommont SendFakePackt Def_FactionBRot SetObjKilledR
R'RRtAddUnXiantaoCntEquipR4RR5RR    R%R#R$tcheckOverByKilled(Rt
useXiantaot mainFightMgrR‰R"t    batObjMgrR t batFactionAt    batLineuptobjIDt
clientPackR!t batFactionBRxR-RJRKRIR tupperCntRR((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyt
GMTestKills^                 !
    cCs˜tjƒj|ƒ}|j}|j}|j}|dkrOt|||ƒn)|dkrkt||ƒn t||ƒt    j
|t j t j|ƒdS(Nii(RtGetPlayerManagertGetPlayerByIndext    IndexListtOPTypetOPValuet__doEquipMainEquipt__doDecomposeMainEquipt__doPickupMainItemR6tSyncMakeItemAnswerR*tDef_mitMainDropItemOPRtDef_ComposeState_Sucess(tindext
clientDatattickRt itemIndexListtopTypetopValue((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pytOnMainDropItemOPHs               cCs|jƒ}tjd||f|ƒ|jƒjtjƒ}g}xœ|D]”}|dksK||jƒkruqKn|j|ƒ}t    j
|ƒs­tjd||ƒqKnt    j |ƒsÖtjd||ƒqKn|j ƒ}|j ƒ}    |    d}
tjd|||    |
f|ƒ|jƒjtjƒ} |
dksN|
| jƒkrqtjd||    |
f|ƒqKn| j|
ƒ} t    j
| ƒ} |jƒjdƒt    j||| tjƒsÃqKn|rK| rK|j|ƒqKqKW|rùt||ƒntj|ƒtj|tjƒdS(Ns1´©´÷Ö÷Ïß×°±¸: itemIndexList=%s,isAutoDecompose=%sisÎïÆ·Îª¿Õ»ò²»¿ÉÓÃ: itemIndex=%ss·ÇÖ÷Ïß×°±¸: itemIndex=%sis;    itemIndex=%s,itemID=%s,equipPlace=%s,equipPlaceIndex=%ssKÖ÷Ïß×°±¸¶ÔӦװ±¸Î»ÖÃË÷ÒýÒì³£: itemIndex=%s,equipPlace=%s,equipPlaceIndex=%s(RRRtGetItemManagertGetPackR8R9tGetCounttGetAtR6tCheckItemCanUsetGetIsMainEquipt GetItemTypeIDt GetEquipPlacetrptEquiptErrLogtGetItemRFtDoLogicSwitchItemRoR®tChEquiptRefreshRoleEquipAttrt
PlayerTaskt UpdTaskValueRtTaskType_EquipColor(RR¶tisAutoDecomposeRHt IdentifyPacktdecomposeIndexListt    itemIndextcurEquipR t
equipPlacetequipPlaceIndext    equipPackt    destEquipt    canDecomp((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyR­XsH    
          c    Cs|jƒ}tjd||ƒtjddƒ\}}| sF| rJdSi}|jƒjtjƒ}x]t    |j
ƒƒD]I}|j |ƒ}t j |ƒs¥q{nt j|ƒsºq{n|||<q{W|sÒdSt|ƒ}    tj|ƒ}
|    dkr    |
t|    ƒn|
} td|| ƒ} tjd|
|    | |jƒf|ƒtjd|| f|ƒd} d}g}xš|D]’}||kr“q{n||}| | 7} tjd||| | | f|ƒt j|||j
ƒttjƒ|j|ƒ|d7}|
| 8}
q{W| sdStt| ƒƒ} tj||
ƒ}
tjd    | |
f|ƒtj||| d
d tƒtj |tj!|ƒdS( Ns·Ö½âÖ÷Ïß×°±¸: itemIndexList=%sR[iisEunXiantaoCntEquip=%s,equipCnt=%s,perEquipXiantao=%s,equipIndexList=%ssmoneyBase=%s,decomposeMoney=%sisH    itemIndex=%s,moneyBase=%s,perEquipXiantao=%s,decomposeMoney=%s,×Ü:%ss"moneyTotal=%s,unXiantaoCntEquip=%stDecomposeMainEquipt    isSysHint("RRRRR:RºR»R8R9R?R¼R½R6R¾R¿R>RR`tfloatRatkeystDelItemtTrueRtItemDel_EquipDecomposeRotinttroundtSetUnXiantaoCntEquipt    GiveMoneyRDRÈt AddTaskValuetTaskType_EquipDecompose(RR¶RHt    moneyTypet    moneyBaset    equipDictRÌR³RÏtequipCntRstperEquipXiantaotdecomposeMoneyt
moneyTotalt decomposeCntRÍRÎ((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyR®ˆsZ  "      
 
    " 
c
CsH|jƒ}tjd||ƒ|jƒjtjƒ}tj|ƒ}xú|D]ò}|dksN||j    ƒkrxqNn|j
|ƒ}t j |ƒs°tjd||ƒqNnt j |ƒrÙtjd||ƒqNn|jƒ}|jƒ}tj|ƒ}    tjd|||    f|ƒ|jtj|ƒs6dS|jƒqNWdS(Ns$ʰȡÖ÷ÏßµôÂäÕ½ÀûÆ·! itemIndexList=%sisÎïÆ·Îª¿Õ»ò²»¿ÉÓÃ: itemIndex=%ssÖ÷Ïß×°±¸²»¿Éʰȡ: itemIndex=%ss1Ö÷ÏßÎïÆ·Ê°È¡: itemIndex=%s,itemID=%s,itemCount=%s(RRRRºR»R8R9RBtPlayerItemControlerR¼R½R6R¾R¿RÀRÄt GetItemCountt    PutInItemtrptItemtWipe(
RR¶RHRÌt itemControlRÎRZR titemt    itemCount((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyR¯Ãs,    icCs½|stƒ}n    |g}tjƒ}|jtjƒ}g|_xR|D]J}|jtjƒ}||_|j    t
j |ƒ|_ |jj |ƒqIWt|jƒ|_tj||ƒdS(N(RtObjPoolt
GetPoolMgrtacquireR•ttagSCDropBootyInfot DropBootyListttagSCDropBootytItemIDR
RR t TodayDropCntRoR>tCountR˜R™(RR tsyncItemIDListtpoolMgrR¤t    dropBooty((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyRàs               cCsÆ|s
dS|j}|jƒ}tj|ƒ}tj|ƒ\}}    }
|sžtd|
dƒ} tj|||    | ƒ} tj    d||    |
| | f|ƒdS|j
ƒrËtj    d||    |
f|ƒdS|
|j kr.t |j |
dƒ} tj|||    | ƒ} tj    d||    |
| | f|ƒntj    d||    |
f|ƒtj |ƒ} tj||    |
ƒ}|| kr¨tj    d|| f|ƒtj||ƒntj    d|| f|ƒdS(NisRÖ÷ÏßС¹ÖÕ½¶·Ê§°Ü£¬½µÒ»²¨! chapterID=%s,levelNum=%s,wave=%s,nextWave=%s,nowValue=%ss>Ö÷ÏßС¹ÖÕ½¶·Ê¤Àû£¬ÓÐÏÂһС¶Ó! chapterID=%s,levelNum=%s,wave=%ssTÖ÷ÏßС¹Ö²¨Õ½¶·Ê¤Àû£¬ÏÂÒ»²¨! chapterID=%s,levelNum=%s,wave=%s,nextWave=%s,nowValue=%ssDÖ÷ÏßС¹Ö²¨Õ½¶·Ê¤Àû£¬×îºóÒ»²¨Ñ­»·Ë¢! chapterID=%s,levelNum=%s,wave=%ss1¸üе±Ç°¹ý¹Ø½ø¶È! curPassValue=%s,hisPassValue=%ss>䳬¹ýµ±Ç°¹ý¹Ø½ø¶È£¬²»¸üÐÂ! curPassValue=%s <= hisPassValue=%s(tisWinRR‡RˆRR4RatSetMainLevelNowInfoRRthaveNextLineuptwaveMaxRtGetMainLevelPassValuetComMainLevelValuetSetMainLevelPassValue(RR‰R#R$toverMsgRþRHRŸRJtlevelNumtwavetnextWavetnowValuet hisPassValuet curPassValue((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pytOnTurnFightOverñs8               (!RRR‡R*RRR•RBR8R˜R6RÈReRŒRÆRòR@RRRRRR%RR,R3R§R¹R­R®R¯RR (((s„D:\SG_ServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GameWorldLogic\FBProcess\GameLogic_MainLevel.pyt<module>s@                                                         F    \    G        0    ;