CeHua_ZWJ
2018-10-22 84272f2db09e6d95d9e232442821bf8d3ed1a69e
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
›ÍÍ[c@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZdd„Zd„Zd„Zed„Zd„Zed„Zd    „Z d
„Z!d d&d „ƒYZ"d d'd„ƒYZ#e#ƒZ$d„Z%d„Z&d„Z'd„Z(d„Z)d„Z*d„Z+d„Z,gd„Z-d„Z.ed„Z/ged„Z0d„Z1d„Z2d„Z3ge4d„Z5d„Z6d „Z7ed!„Z8d"„Z9ed#„Z:ge4d$„Z;d%„Z<dS((iÿÿÿÿNicCs|j||tjƒS(N(tNomalDictGetPropertytChConfigtDef_PDictType_Success(t    curPlayertkeyt defaultValue((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt GetPDictValue4scCstj|||tjƒdS(N(t PlayerControltNomalDictSetPropertyRR(RRtvalue((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt SetPDictValue;scCstj|tj|ƒS(N(t    GameWorldtGetDictValueByBitRtDef_PDict_Success_FinishTime(RtsuccID((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytGetSuccIsFinish?scCstj|tj||ƒS(N(R tSetDictValueByBitRR (RRtfinish((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt SetSuccFinishCscCstj|tj|ƒS(N(R R RtDef_PDict_Success_AwardRecord(RR((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt GetSuccHasGotGscCs‚t||ƒ|krdStj|tj||ƒ|r~t||dƒt||gtƒtj    ||ƒt
j ||ƒndS(Ni( RR RRRRtSync_SuccTypeIndexAwardRecordtTruetPlayerMagicWeapontActiveMagicWeapont
EventShelltEventRespons_SuccessFinish(RRthasGot((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt SetSuccHasGotKscCs'tj||f}t|||ƒdS(N(RtDef_PDict_Success_CntValueR
(RtsuccTypet    conditionR    R((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytSetSuccFinishValue[scCs tj||f}t||ƒS(N(RRR(RRRR((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytGetSuccFinishValueast SuccessDatacBseZd„ZRS(cCspd|_d|_d|_g|_g|_i|_i|_d|_i|_t    |_
d|_ i|_ dS(Ni( RRtneedCntt preSuccIDListRt awardItemDictt    moneyDicttexptattrDictRthasAwardt redPacketIDtmagicWeaponExp(tself((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt__init__ks                                                (t__name__t
__module__R-(((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR"istSuccessDataMngcBs,eZd„Zd„Zd„Zd„ZRS(cCsi|_i|_dS(N(tsuccTypeConditionDicttsuccessDataDict(R,((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR-s        c     CsÝ||jkrdStjdi|d6ttƒ}|s<dSi}i}x|D]y}tƒ}|jƒ|_||_|j    ƒ|_
t |j ƒƒ|_ t |jƒƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ|_|jƒ}|jƒ}|r.|r.||j|<nt|jpd|jpd|jpd|jpd|jpd|jƒ|_|||j<t|jƒ|kr«|jg|t|jƒ<qO|t|jƒj |jƒqOW||j|<dS(NtSuccesstType(!R2t IpyGameDataPYtGetIpyGameDataByConditionRtFalseR"tGetIDRRt
GetNeedCntR#tlistt GetPreSuccessR$t GetConditionRt GetAwardItemR%tGetMoneyR&tGetExpR't GetAwardAttrR(tGetRedPacketIDR*tGetMagicWeaponIDtGetMagicWeaponExpR+tboolR)ttupletappend(    R,RtsuccessDataListtsuccessDataObjDictt conditionDicttsuccessIpyDatatsuccDatat magicWeaponIDR+((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt__LoadSuccessData‰s<            ? ! cCs8||jkr|j|ƒn|jj|iƒjƒS(N(R2t _SuccessDataMng__LoadSuccessDatatgettvalues(R,R((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytGetSuccDataByType±scCsctjd|ƒ}|sdS|jƒ}||jkrG|j|ƒn|jj|iƒj|ƒS(NR3(R5tGetIpyGameDataNotLogtGetTypeR2RNRO(R,Rt succIpyDataR((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytGetSuccessDataÂs (R.R/R-RNRQRU(((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR0|s        (    cCstS(N(t g_succDataMng(((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytGetSuccDataMngÔscCsdt|ƒt|ƒt|ƒx?tjD]4}tƒj|ƒ}|sLq(nt|||ƒq(WdS(N(tSync_SuccessInfoRt__CheckOldPlayerSuccesst ShareDefinetSuccessTypeListRWRQt__DoCheckSuccessFinish(RRt succInfoList((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt SuccOnLoginÚs
 
 
c(
Cs    d}idtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj    6dtj
6dtj 6dtj 6dtj 6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6dtj6}t|tj ƒ}t!j"d|ƒt#j$ƒ}xù|j%ƒD]ë\}}||krˆqjn|tjkr:x»t&|j'ƒƒD]‰}|j(|ƒ}|j)ƒ}    t*j+||    ƒ}
|
séqªn|j,tj-|    ƒ} x1t&| dƒD]} t.||d|    | gƒqWqªWqj|tjkrw|j,tj/ƒ} t.|tjd| gƒqj|tjkrò|j0|j1ƒdƒj2ƒ}x­t&d|dƒD]2}|j,tj3|ƒ}t4||||gƒq¹Wqj|tjkr«t5||ƒxDt&|j6ƒƒD]ƒ}|j7|ƒ}|j8ƒ}|j,tj9|dtj:ƒ} | smq!nx4t&d| dƒD]}t.||d||gƒqWq!Wqj|tjkrDt5||ƒx‹tj;j%ƒD]f\}}xW|D]O}t<j=|||ƒ}x1t&d|dƒD]}t.||d|gƒqWqêWq×Wqj|tjtjtjtjgkrut>|ƒqj|tj    tj
gkrt?j@|ƒqj|tj krÅt4|||jAƒƒqj|tj kr–t5||ƒ|jBƒjCtjDƒ}xYtE|jFƒƒD]ƒ}|jG|ƒ}|jHƒr3q n|jItjJƒ}|jItjKƒ}x5t&|dƒD]#} t.||d|| dgƒqhWq Wqj|tj tjtjgkrÄtLjM|ƒqj|tjkrþ|j,tjNƒ}t.||d|gƒqj|tjtjtjgkr,tOjP|ƒqj|tjkrÂ|jQƒ}x tEd|jRƒƒD]^}|jS|ƒ}|jTƒtjUtjVgkr]|jWƒ}t4||||jXƒgƒq]q]Wqj|tjkrátYjZ|ƒqj|tjkrQt#j[ddiƒ} | j\ƒ}!xA|!D]2}"|j,tj]|"ƒ}#t4|||#|"gƒqWqj|tjkr…|j,tj^ƒ}$t4|||$ƒqj|tjkr³t.||d|j_ƒgƒqj|tjkr;t5||ƒxƒt&|j`ƒƒD]R}|ja|ƒ}t!jb|tjc|j)ƒƒrât.||d|jdƒgƒqâqâWqj|tjkr°xt&|jeƒƒD]L}|jf|ƒ}t!jb|tjg|ƒr]t.||d|jhƒgƒq]q]Wqj|tjkrèt5||ƒt.||tijj|ƒƒqj|tjkrjtkƒjl|ƒ}%xI|%D]>}&|&jmd}'tnjo||'ƒr    t.||d|'gƒq    q    WqjqjWtp|tj |ƒt!j"d|ƒdS(sž ³É¾Í°æ±¾¸üÐÂÀÏÍæ¼Ò¼ì²é
        ÕýʽÉÏÏߺ󣬳ɾ͵ÄÐ޸ĻòÕßÔö¼Ó£¬Ò»°ãÊÇÔö¼Óгɾͣ¬ÔòÐèÒª¶ÔÀÏÍæ¼Ò³É¾Í°æ±¾½øÐÐУÕý£¬¼ì²é³É¾ÍÍê³ÉÇé¿ö
        ³É¾Í°æ±¾ºÅµÝÔö
    is(¸üÐÂÀÏÍæ¼ÒÉÏÏß¼ì²é³É¾ÍcurCheckVersion=%siitFamilyTechNeedLVs)¸üÐÂÀÏÍæ¼ÒÉÏÏß¼ì²é³É¾ÍupdCheckVersions=%sN(qRZtSuccType_GetMagicWeapontSuccType_PassRuneTowertSuccType_GodWeapontSuccType_HorseAllLVtSuccType_EquipPlusLVtSuccType_EquipColorItemtSuccType_EquipArmortSuccType_EquipWeapontSuccType_InlayRunetSuccType_RuneLvUptSuccType_RealmlvUptSuccType_PetClassLVtSuccType_InlayStone1tSuccType_InlayStone2tSuccType_XJMJGetExptSuccType_EquipWashLV1tSuccType_EquipWashLV2tSuccType_EquipWashLV3tSuccType_EquipWingtSuccType_MWSkillUptSuccType_EquipSuittSuccType_FamilyTechLVtSuccType_AlchemyLVtSuccType_VIPLVtSuccType_StoneTotalLVt SuccType_XBXZtSuccType_DogzBattletSuccType_DogzEquipPlustSuccType_MainTaskNodeRRtDef_PDict_Success_CheckVersionR tDebugLogR5tIPY_DatatitemstxrangetGetTreasureCounttGetTreasureByIndexR8RtGetIsActiveMagicWeaponRtDef_PDict_MagicWeaponLVtDoAddSuccessProgresst!Def_Player_Dict_TrialTower_PassLVtGetGodWeaponByIndextGetGodWeaponCountRStDef_PDict_GodWeaponLVtUptateSuccessProgresstResetSuccessByTypet GetHorseCounttGetHorseByIndext
GetHorseIDtDef_PDict_Horser_LVtDef_PDictType_HorsetPack_EquipPart_CanPlusStartChEquiptGetEquipPartStarLVtDoEquipSuccessLogict
PlayerRunetDoRuneSuccessLogictGetOfficialRanktGetItemManagertGetPacktrptPettrangetGetCounttGetAttIsEmptyt GetUserAttrtDef_IudetPet_NPCIDtDef_IudetPet_ClassLVtOperate_EquipStonetDoStoneSuccesst!Def_PDict_BZZD_TotalFightExpPointtOperate_EquipWashtEquipWashSuccesstGetSkillManagert GetSkillCounttGetSkillByIndext GetFuncTypetDef_SkillFuncType_FbSkilltDef_SkillFuncType_FbSPSkillt
GetSkillLVtGetSkillTypeIDtOperate_EquipSuitComposetDoSuiteSuccesstGetFuncEvalCfgtkeystDef_Player_Dict_FamilyTechLVtDef_PDict_AlchemyLVtGetVIPLvt GetXBXZCounttGetXBXZByIndexR tDef_PDict_XBXZAwardRecordtGetMWIDt GetDogzCounttGetDogzByIndextDef_PDict_DogzFightStatet    GetDogzIDt
PlayerDogztGetFightDogzTotalPlusLvRWRQRt QuestCommontGetHadFinishMainMissionR
((RtVersionstNeedCheckSuccTypeDicttcurCheckVersiont
ipyDataMgrRtversiontittreasureIpyDataRLtisActivetcurMWLVtlvtpasslvtmaxTypetweaponLVtipyDatatindextrlvtpTypet    indexListtequipPartStarLVtpluslvt petDataPackt petDataIndextpetItemtpetNPCIDtclassLVtexpPointRecordt skillManagertcurSkillt
curSkillLVttechNeedLVDictt
techIDListttechIDttechLVt    alchemyLVR]RKt    missionID((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyRYïs
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
    $  $  %$   (  &   &&   $cCsýg}tjdƒ}x¸|D]°}tƒj|ƒ}|s@qnx‰|D]}|j}|j}t|||ƒswqGnt|||dƒt||t    ƒt
||t    ƒ|j |ƒt j d|ƒqGWqW|rùt||tƒt||tƒndS(NtWeekResetSuccTypeis"    OnWeek ÖØÖóɾÍÀàÐÍ: succID=%s(R5R²RWRQRRR!R RR7RRFR R~RRRX(Rt    resetListtweekResetSuccTypeListRR]t succDataObjRR((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytOnWeeks(           c    Csg}tjƒjtjƒ}tjd|ƒxÄtjD]¹}tƒj|ƒ}|s]q9nx’|D]Š}|j    }|j
}t ||ƒ}|dks¦t ||ƒr¹tjdƒqdnt |||ƒrdt|||dƒ|j|ƒqdqdWq9W|rt||tƒndS(NsÁ¬ÐøÀàÐͳɾ͹ýÌì...serverDay=%sis        ÒÑÍê³ÉµÄ²»ÔÙ¼ì²é(R t GetGameWorldtGetGameWorldDictByKeyRZtDef_Notify_WorldKey_ServerDayR~tContinueSuccessTypeListRWRQRRRRt__DoCheckResetContinueR RFRXR(    RRçt    serverDayRR]RéRRt
finishTime((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt    SuccOnDay¨s(          cCs·tj|}t||ƒ}|dkr,dSttjƒƒ}tj|tjƒ}tj|tjƒ}||tj    dƒkr’tj
dƒdSt ||dƒtj
d|ƒt S(Nièis,        ×òÌìÓиüеIJ»´¦Àí£¬Ö¤Ã÷»¹ÊÇÁ¬Ðø×´Ì¬is    ÖØÖóɾÍÁ¬ÐøÀàÐÍ: succID=%s( RtDef_PDict_Success_LastDayRtintttimeR tChangeTimeNumToDatetimetTYPE_Time_Format_Daytdatetimet    timedeltaR~R
R(RRðRt
lastDayKeytlastDayttick((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyRïËs   cCs†tƒj|ƒ}|sdSxc|D][}|j}|j}t||ƒ}|dks#t||ƒrkq#nt|||dƒq#WdS(Ni(RWRQRRRRR (RRR]RéRRRñ((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyRŒás         cCs´t|tjƒt|tjƒt|tjƒtj}|jƒj|ƒ}x_t    |j
ƒƒD]K}|tj kr|qan|j |ƒ}|j ƒrqan|jtjƒ}|sÄ|jƒ}n|jƒ}tj|ƒ}|tjtjtjgkrt|tjd||gƒn|tjkrMt|tjd|||gƒqa|tjkr~t|tjd|||gƒqa|tjkrat|tjd||gƒqaqaWdS(Ni(RŒRZReRfRgt IPY_GameWorldtrptEquipR™RšRRt RoleEquipTypeRžRŸR tDef_IudetItemColort GetItemColortGetItemQualityt
ItemCommontGetItemClassLVtretWingtretGuardtretHorseR†RtBaseEquipPlace_WeapontBaseEquipPlace_ArmorRr(RtpackTypet playerEquipt
equipIndextcurEquipt    itemColort itemQualityRÛ((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR•òs2      ""#cCs±|tjkrdStƒj|ƒ}|s/dSd}x<|D]4}t|||ƒsZq<nt|||jƒ}Pq<W|dkr„dS||kr­t|||||tƒndS(Niÿÿÿÿ(    RZR[RWRQt__CheckCanAddSuccessR!RR†R7(Rt successTypetnewCntRR]tcurCntRK((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR‹s    c Cs‘|j}|j}|j}|tjk}|tjk}t||ƒsWt||ƒr[dS|j}x2|D]*}    t||    ƒ rkt||    ƒ rkdSqkWt    |ƒdkr|rÈ|d|krŠdSq|tj
kr|d|doþ|d|ddksŠdSqt    |ƒt    |ƒkr$dS|r:||kr:dS|st }
x4t |ƒD]&\} } | || krSt }
PqSqSW|
rŠdSqnt S(Ni(RRRRZtUnDownCheckSuccessTypeListtContainSuccessTypeListRRR$tlentMultipleSuccessTypeListR7t    enumerateR( RRéRRRtcondt isUnDownCheckt    isContainR$t    preSuccIDtisbreakRÈtnum((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR,s>                  *
cCs¼|sF||jtjƒtjtjkr0dS|jtj|ƒn|jƒ}|tjkredStjj|ƒ}x>|j    ƒD]0\}}t
||d|t |dƒt ƒq„WdS(Nii( t GetTickByTypeRtTYPE_Player_Tick_SuccesstTYPE_Player_Tick_Timet SetTickByTypeR8t
PyGameDatatg_delaySuccessDicttpopR€R†R:R7(RRütisFinishtplayerIDt successDictt
sucessInfotcnt((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytFinishDelayAddSuccessProgressXs (c    Cs‚|jƒ}|r|tjkr|tjkr@itj|<n|t|ƒf}|tj|kry|tj||<n tj|||tj||<dS|rÖt|ƒtgƒkrÖtjdt|fƒdS|tj    krédSt
ƒj |ƒ}|stj d|ƒdSd}g}    g}
g} t tjƒƒ} x»|D]³} | j}| j}t|| |ƒswqGn|
j|ƒ| j| ƒ| j}||    kr¶|    j|ƒn||krË|}n|tjkrGtj|}t||| ƒqGqGW|     s|dkrdSxF|    D]>}t|||ƒ}t|||ƒ}t||||ƒqWt||
tƒt||| ƒdS(Ns1DoAddSuccessProgress type=%s, condition=%s ´íÎó£¡s     ÕÒ²»µ½³É¾ÍÊý¾ÝsuccessType=%si(R8RZtNeedResetSuccessTypeListR#R$REttypeR tErrLogR[RWRQR~RôRõRR#RRFRRîRRóR
R!tminR RXR7R\(RRtaddCntRt    delayCalcR't successTupleR]tmaxCnttupdConditionListt    updIDListtupdsuccDataListRüRéRR#t curConditionRúRtupdCnt((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR†ts^                         c CsY|tjtjgk}tjtjƒƒ}|jƒ}x|D]}|j}|j}t    ||ƒ}    |    dks@t
||ƒrˆq@nt |||j ƒ}
|
|kr@t ||ƒ|jsÏt||ƒnt|||ƒ|rtjdd||gƒnx0|jjƒD]} tj|| |tjƒqWtjd|||fƒq@q@WdS(NitAncientBattlefield_1s&    Íê³É³É¾ÍsuccID=%s, type=%s,time=%s(RZtSuccType_ElderBattlefieldKillt SuccType_ElderBattlefieldConKillR tChangeTimeStrToNumtGetCurrentDataTimeStrtGetNameRR#RRR!RRR)RtNotify_FinishSuccessRt WorldNotifyR+R³t EventReporttWriteEvent_MWSuccessRt CME_Log_StartR~( RRR]t    isNeedSystcurTimet
playerNameRéRR#RñRtmwID((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR\Ës,                    c Cs(gtdƒD] }i^q }i}tjƒ}x™t|jƒƒD]…}|j|ƒ}|jƒ}|jƒ}|s}qDnt||ƒs’qDnx4|j    ƒD]&\}    }
|j
|    dƒ|
||    <qŸWqDWt j d|ƒx-|j    ƒD]\}    }
t j|    |
|ƒqëWt j|tj|ƒdS(Niis    ³É¾ÍÔö¼ÓÊôÐÔ attrDict=%s(RœR5RRtGetSuccessCounttGetSuccessByIndexR8R@RR€ROR R~RtCalcAttrDict_TypetSetCalcAttrListValueRtDef_CalcAttrFunc_Success( Rt_t allAttrListR(RÆRÈRÐRt attrAwardDicttattrIDt    attrValue((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytCalcSuccessAttrùs$   "cCs!t|ƒtj|ƒjƒdS(N(RRRtRefreshPlayerAttrState(R((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytRefreshSuccessAttrs
cCs=tjƒ}|jƒg|_|r.|}nWg}tjƒ}xBt|jƒƒD].}|j|ƒ}|j    ƒ}|j
|ƒqSWi}    xæ|D]Þ}t ƒj |ƒ}
|
s¶q’n|
j } |
j} t|| | ƒ} t||ƒ}| r    | dkr    | r    q’nt||ƒrq’n| |    kr@| | gg|    | <q’| | g|    | kr’|    | j
| | gƒq’q’W|    s~dSx–|    jƒD]ˆ\}}xy|D]q\} }tjƒ}|jƒ||_| rÛt| ƒnd|_t|jƒ|_||_|jj
|ƒqžWq‹Wt|jƒ|_tj||ƒdS(Nis[0](tChPyNetSendPackttagMCSuccessInfoListtCleartSuccessInfoListR5RRRHRIR8RFRWRURRR!RRR€ttagMCSuccessInfotSuccTypetstrt    ConditionRtLentCntValuetcountt NetPackCommont SendFakePack(Rt
succIdListt
isSendZerotsuccInfoListPackt
syncIdListRÆRÈRÐRt syncTypeDictRKRRR^tisfinishtsTypet conditionListtcntValuetsuccInfo((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyRXsT 
                     
        cCs3tjƒ}|jƒ||_tj||ƒdS(N(RUttagMCSuccessFinishRWtSuccIDR`Ra(RRRñtsuccFinishPack((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR?Ts
 
    cCsvg}xi|D]a}tƒj|ƒ}xF|D]>}|j}t||ƒr,t||ƒ r,|j|ƒq,q,Wq W|S(N(RWRQRRRRF(RtsuccessTypeListtsuccListRR]RéR((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytGetCanGetAwardSuccByType]s      cCspi}xc|D][}t|||ƒ}|s1q nx4|jƒD]&\}}|j|dƒ|||<q>Wq W|S(Ni(t__DoGetSuccTypeIndexAwardR€RO(Rt
succIDListt
isGiveItemt    awardDictRR%titemIDtitemCnt((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt GiveSuccAwardhs "cCs/tjƒj|ƒ}|j}t||ƒdS(N(R tGetPlayerManagertGetPlayerByIndexRmRr(RÑt
clientDataRüRR((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytOnGetSuccessAward}s     cCsctjd|ƒtƒj|ƒ}|s>tjd|ƒdSt||ƒ}|dkrjtjdƒdSt||ƒrŠtjdƒdS|js¤tjdƒdS|j}|r÷tj    |t
j ƒ}t |ƒ}||kr÷t j|dƒdSnt||ƒ|rTxG|jƒD]6\}}    tj|||    dt
j t
jgtƒ}
qWnx0|jjƒD]\} } t j|| | ƒqdW|jr¬t j |ƒj|jƒn|jrÂt|ƒn|jrêtj||jtj|ƒn|jrExO|jjƒD];\} }t j!|| |ƒt"j#|| |t$j%dƒqWntjd    ||jfƒ|S(
NsÁìÈ¡³É¾Í½±ÀøsuccID=%ss    ³É¾ÍÊý¾Ý²»´æÔÚ£¡succID=%sis    ¸Ã³É¾ÍδÍê³É£¡s    ¸Ã³É¾Í½±ÀøÒѾ­ÁìÈ¡¹ý£¡s    ¸Ã³É¾ÍûÓÐÅäÖý±Àø£¡tGeRen_chenxin_998371is%    OK! awardItemDict=%s moneyDict=%s(&R R~RWRURRR)R%RtGetItemPackSpaceRýtrptItemRRt
NotifyCodeRR€t ItemControlertGivePlayerItemt rptAnyWhereRR&t    GiveMoneyR'tAddExpR(RTR*tPlayerFamilyRedPackettCreatRedPacketByIDt State_NoGotR+RtAddMagicWeaponUpExpRARBRt CME_Log_End(RRRtRKRñtitemDictt    packSpacet    needSpaceRvRwtisPutInt    moneyTypeR    RGtaddExp((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyRr†sR                                #c Cs.|r1g}xq|D]}|j|dƒqWnOtjƒ}|jƒ}|sSdS|j|dƒjƒ}t|ddƒ}tjƒ}|j    ƒg|_
xf|D]^}    |j t j |    ƒ}
| rÖ|
rÖq¦ntjƒ} |    | _|
| _|j
j| ƒq¦Wt|j
ƒ|_tj||ƒdS(Nii(RFR5RRHRIR8RœRUt!tagMCSuccessFinishAwardRecordListRWt
RecordListRRRttagMCSuccessFinishAwardRecordt RecordIndextRecordRt    RecordCntR`Ra( RRst
isSyncZerotrecordIndexListRRÆtsuccCntt    maxSuccidt succFARPackRÈt awardRecordt
recordInfo((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyR×s0    
              cCsN|tjkr%t|tj|ƒn%|tjkrJt|tj|ƒndS(N(RtDef_FBMapID_BZZDR†RZt SuccType_BZZDtDef_FBMapID_IceLodetSuccType_IceLode(RtmapIDtaddCount((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pytAddEnterFBSuccessõs
(((=RZRR RUR`RRýRRRR†R5RR#RARøRõtmathR“R–R£R¦R°R¿RÁRR
RRRRRR R!R"R0RVRWR^RYRêRòRïRŒR•R‹RR+R†R\RRRTR7RXR?RqRxR|RrRR¤(((s].\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerSuccess.pyt<module>st                                                R                         #            '     , W    .         9                      Q