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
Ö°¾gc@s<ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZd„Zd„Zd„Zed„Zd„Zd„Zd„Zd    „Zd
„Zgd „ZdS( iÿÿÿÿNcCst|ƒdS(N(t Sync_EDLVInfo(t    curPlayer((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyt PlayerLogin)s
cCst|ƒdS(N(t RefreshEDAttr(R((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pytDoEquipDecomposeOpen-s
cCsTtjƒj|ƒ}|js"dS|j}|j}|j}t||||ƒdS(N(t    GameWorldtGetPlayerManagertGetPlayerByIndextCountt    IndexListt
ItemIDListtIsAutotEatItems(tindext
clientDatattickRt eatIndexListt eatItemIDListtisAuto((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pytOnDoEquipDecomposeAs                c Cs¢t|ƒt|ƒkrdSt|||ƒ\}}}}|sQtjdƒd    S|jtjƒ}|jtjƒ}    t|||    |ƒ\}
} } t    j
|tj| ƒ|| krët    j
|tj| ƒt |ƒt    j    |ƒj ƒn|jtj ƒ} | |}tjdƒ}t    j
|tj ||ƒg}d}|rY||krYtjddƒ}tjddƒ}||}d
\}}xd|D]\}tj|tj|ƒ}|tj|tj|ƒ7}| sÜ||kr|}|}qqWxgt|ƒD]V}tj|ƒ}|sqün||kr8|r8|}n|j|dƒd||<qüWn|rWx9|jƒD]+\}}|jtj||dgƒƒqlWt|ƒ}tj|tj|ƒ}||krg|jƒD]\}}||dg^qØ}t    jd|jƒg|ƒqWx<|jƒD]+\}}tj |||dtjgƒq%Wnt!||ƒtj"ƒj#ƒ}tj$|tjdd|ƒt|ƒ|fS( Nis    ×°±¸ÎüÊՠûÓпÉÍÌÊÉÎïÆ·£¡tEquipDecomposeAwardiiitDefaultLackSpace(ii(ii(ii(%tlent__GetCanEatItemInfoRtDebugLogtNomalDictGetPropertytChConfigtDef_PDict_EquipDecomposeLVtDef_PDict_EquipDecomposeExpt__GetEatItemResultt PlayerControltNomalDictSetPropertyRtRefreshPlayerAttrStatetDef_PDict_EquipDecomposeCntt IpyGameDataPYt
GetFuncCfgtGetFuncEvalCfgt ItemControlertFindPlayerItemCountByItemIDt IPY_GameWorldtrptItemt rptWarehousetxrangetGetResultByRandomListtgettitemstappendt
ItemCommont GetJsonItemtGetItemPackSpacet SendMailByKeyt GetPlayerIDtGivePlayerItemRt GetGameWorldtGetTickt    ResetItem( RRRRt drDelItemListt totalAddExpt    delAllCnttgiveItemIDDicttLVtExptreduceTotalExptupdLVtupdExptcurDecomposeCnttupdDecomposeCnttperDecomposeCntt jsonItemListtgiveCntt awardRateListtresetItemIDListtminCntt    minItemIDtitemidtcntt_titmeIDt
giveItemIDtitemCntt    needSpacet    packSpacet prizeItemListR((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyR Lsh  
 
 
       !#  .& cCs¹g}d}d}i}tjddiƒ}tjddƒ}tj|tjƒ}    |jƒjt    j
ƒ}
xt |ƒD]ø\} } |
j | ƒ} | sy| j ƒr­qyn| jƒ}|| |krítjd| ||| fƒqyn| jƒtjkr#| jdƒ}|jdƒ}nÏtj| ƒrØ| jƒ}| jƒ}| jƒr\dnd}tjd||ƒ}|stjd|||fƒqyn|jƒ}|tjkrttjdd    ƒƒ}|j |dƒ|||<tjd
| jƒ|||||fƒnxÙ|j!ƒD]®\}}|t"|ƒkrGq#n|\}}tt#j$d ||ƒƒ}| s#|dkrˆq#n|j |dƒ|||<tjd | jƒ|||||||fƒq#Wntjd | |fƒqy| j%ƒ}||}||7}||7}tj&|| |t'tj(ƒtjd| ||||fƒ|j)||||gƒqyW|    r“|||    tj*7}nt+j,|t-j.|ƒ||||fS(NitEquipDecomposeAward2iRisX    ×°±¸·Ö½â¿Í»§¶Ë·¢µÄÎïÆ·Ë÷ÒýÓëʵ¼ÊÎïÆ·ID²»¶ÔÓ¦  index=%s,eatItemID=%s,wantEatItemID=%st PetEatEquipsO    tagPetEatEquip.txt,δÅäÖøÃÎïÆ·£¡ eatItemID=%s, EquipColor=%s,EquipClass=%sis]·Ö½â³È×°ÒÔÉ϶îÍâ½±Àø: eatEquip=%s,itemClass=%s,itemColor=%s,isSuite=%s,awardCount=%s total:%ssEquipDecomposeAwardEx%ss{·Ö½â¸ß¼¶Æ·ÖʶîÍâ½±Àø: eatEquip=%s,itemClass=%s,itemColor=%s,isSuite=%s,exAwardColor=%s,exItemID=%s,exAwardCount=%s total:%ss'    ²»¿É·Ö½âµÄµÀ¾ßindex=%s eatItemID=%ssE    ÎüÊՠɾ³ýÎïÆ· i=%s,baseExp=%s,itemCnt=%s,addExp=%s,totalAddExp=%s(/R"R$R#t    PlayerViptGetPrivilegeValueRtVIPPrivilege_EatItemtGetItemManagertGetPackR'R(t    enumeratetGetAttIsEmptyt GetItemTypeIDRtErrLogtGetTypetDef_ItemType_EquipDecomposeExptGetEffectByIndextGetEffectValueR/tCheckItemIsEquipt GetItemColortGetLVt
GetSuiteIDtGetIpyGameDataRtGetExptDef_Quality_OrangetevaltGetFuncCompileCfgR,R-tinttFormulaControltGetCompileFormulatGetCounttDelItemtTruetItemDel_EquipDecomposeR.tDef_MaxRateValuet PlayerSuccesstDoAddSuccessProgresst ShareDefinetSuccType_DecomposeEquip(Rt expIndexListRt eatItemListR9t
allitemCntt awardItemDictteatEquipAwardExDictteatEquipAwardItemIDtpetEatItemAddExpPertitemPacktiR teatItemt    eatItemIDtcurEfftbaseExpt    itemColort    itemClasstisSuitetipyDatat
awardCountt exAwardColort exAwardInfotexItemIDtexItemCountFormatt exAwardCountROtaddExp((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyR—sr        #     - 
 
 
    c
Cs|}d}tjƒ}|j|jƒdƒjƒ}xš|dkrÓ|d|krZPnt|ƒ}|spPntd||ƒ}    ||    kr¶d}||    7}||    8}|d7}q:||7}||7}d}q:W||7}|}tjd||||fƒ|||fS(Niis4×ܿɼӾ­Ñé=%s,ʵ¼Ê×ܿ۳ý¾­Ñé=%s,newLV=%s,×îÖÕ¾­Ñé=%s(    R"tIPY_DatatGetEquipDecomposeByIndextGetEquipDecomposeCountRet__GetLvUpNeedExptmaxRR(
RR<R=R9t    remainExpR>tipyMgrtmaxLVtmaxExptneedExp((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyRâs0   
 
 
 
 
 
    cCs*tjd|dƒ}|s dS|jƒS(s»ñȡװ±¸·Ö½âÉý¼¶ÐèÒª¾­ÑétEquipDecomposeii(R"Rgt GetUpNeedExp(tlvRˆ((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyR“scCsÀtj|tjƒsdSgtdƒD] }i^q&}|jtjƒ}tj    d|dƒ}|sjdSx9|j
ƒj ƒD]%\}}t j t|ƒ||ƒq}Wt j|tj|ƒdS(NiRši(t GameFuncCommt GetFuncCanUseRvtGameFuncID_EquipDecomposetrangeRRRR"RgtGetAttrR-RtCalcAttrDict_TypeRltSetCalcAttrListValuetDef_CalcAttrFunc_EquipDecompose(RRLt allAttrListtcurLVRˆtattrIDt    attrValue((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyRscCs2tjƒj|ƒ}tj|tj|jƒdS(N(RRRRRRtDef_PDict_EquipDecomposeSetingtSeting(R RRR((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pytOnDecomposeSetingSave'scCs´tj|dtƒ}tjƒ}|jƒ|jtjƒ|_    |jtj
ƒ|_ |jtj ƒ|_ |jtjƒ|_t|ƒ|_t|jƒ|_tj||ƒdS(Nt ensure_ascii(tjsontdumpstFalsetChPyNetSendPackttagMCEquipDecomposeInfotClearRRRR<RR=R©RªR!t DecomposeCnttstrt GetItemDataRt
GetItemLent NetPackCommont SendFakePack(Rt getItemInfotPackData((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyR-s 
(R"R'RR/R°RvR·RRRmtDataRecordPackRtRRUR%trandomR­tmathRRRR¯R RRR“RR«R(((stE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEquipDecompose.pyt<module>s6                               K    K    "