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
128
129
130
131
132
133
134
135
136
137
138
139
Óü€\c@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z e dƒ\ZZe dƒ\ZZZZe dƒ\ZZZdd„Zd„Zd„Zd    „Zd
„Zd „Zd „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,dd„Z-d„Z.d„Z/d„Z0d „Z1d!„Z2d"„Z3d#„Z4d$„Z5d%„Z6dS(&iÿÿÿÿNiiiicCs|j||tjƒS(N(tNomalDictGetPropertytChConfigtDef_PDictType_TeHuiAction(t    curPlayertkeyt defaultValue((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyt__GetPlayerTeHuiDictValueBscCstj|||tjƒdS(N(t PlayerControltNomalDictSetPropertyRR(RRtvalue((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyt__SetPlayerTeHuiDictValueIscCstƒtƒgS(N(tGetCurActionShopIDtGetCurMixActionShopID(((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytGetCurActionShowIDListPscCs(tjƒ}tj}|j|ƒ}|S(N(t    GameWorldt GetGameWorldt ShareDefinet*Def_Notify_WorldKey_DayAction_DiscountShoptGetGameWorldDictByKey(t    gameWorldt    shopIDKeytshopID((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR Vs     cCs(tjƒ}tj}|j|ƒ}|S(N(RRRt-Def_Notify_WorldKey_DayAction_MixDiscountShopR(Rt mixShopIDKeyt    mixShopID((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR _s     cCsdS(N((R((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytChangeTeHuiActionStatehscCsdS(N((R((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytPlayerLogin_TeHuipscCs½tjƒ}tj}|j|ƒ}|s.dS|jtjdtjƒ}t    |jtj
dtjƒ|ƒ}tj d||f|j ƒƒ|jtj |ƒ}tj||||ƒdS(Nis/ͬ²½Ïû·ÑÅÅÐÐÌØ»Ý»î¶¯£¡actionNum=%s,totalGold=%s(RRRt&Def_Notify_WorldKey_DayAction_CostRankRRRt!Def_PDict_TeHui_CostRankTotalGoldRtmaxt#Def_PDict_TeHui_CostRankTotalGoldExtLogt GetPlayerIDt Def_Notify_WorldKey_DayAction_IDtPlayerBillboardtUpdateCostRankBillboard(RRt actionNumKeyt    actionNumt    totalGoldtactionID((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytSyncPlayerCostRankŒs      cCsdS(N((R((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytPlayerLoadMapOK¡scCskxdtdtjƒjƒƒD]G}tjƒj|ƒ}|dks|jƒ rVqnt||ƒqWdS(Ni(trangeRtGetPlayerManagertGetPlayerCounttGetPlayerByIndextNoneR t__CheckResetPlayerData(RtiR((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyt__CheckResetAllPlayerData­s "c
CsŠ|jƒ}tjƒ}tj|}|j|ƒ}tj|}t||ƒ}||krztj    d||f|ƒdStj    d||f|ƒt
|||ƒ|tj krÀt |ƒnÆ|tj krÜt|ƒnª|tjkrtƒ}tj||ƒn|tjkr2tƒ}    tj||    ƒnT|tjkrNt|ƒn8|tjkrjt|ƒn|tjkr†t|ƒndS(Ns(ÌØ»Ý»î¶¯idÏàͬ£¬²»´¦Àíkey=%s,actionID=%ss"ÌØ»Ý»î¶¯Êý¾ÝÖØÖÃkey=%s,actionID=%s(R RRRR!RRtDef_PDict_TeHui_ActionIDRtDebugLogR
t&Def_Notify_WorldKey_DayAction_RechargetResetRechargeDatat(Def_Notify_WorldKey_DayAction_ClassUPNumtResetClassUPAwardRecordRR tShopItemManagetClearPlayerShopItemBuyCntRR t*Def_Notify_WorldKey_DayAction_RechargeRanktResetRechargeRankDatat(Def_Notify_WorldKey_DayAction_CostProfittResetCostProfitInfoRtResetCostRankData(
RRtplayerIDRt actionIDKeyR'tplayerActionIDKeytplayerActionIDRR((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR/½s8                  cCs4t|tjdƒt|tjdƒt|ƒdS(Ni(R
RRRtSync_CostRankTeHuiInfo(R((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR>äs
cCs4t|tjdƒt|tjdƒt|ƒdS(Ni(R
Rt%Def_PDict_TeHui_RechargeRankTotalGoldt'Def_PDict_TeHui_RechargeRankTotalGoldExtSync_RechargeRankTeHuiInfo(R((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR;ís
cCstjƒ}tj}|j|ƒ}tjdƒ}||krCdSt||ƒt|t    j
|ƒt|t    j dƒt|t    j dƒ||}x_t t|ƒƒD]K}t|t    j|dƒt|t    j|dƒt|t    j|dƒq¦Wt|ƒdS(NtTeHuiAction_Rechargei(RRRR4Rt ReadChConfigtGetEvalChConfigt__SendRechargeAwardMailR
RtDef_PDict_TeHui_LastRechargeNumt!Def_PDict_TeHui_RechargeTotalGoldt#Def_PDict_TeHui_RechargeTotalGoldExR*tlentDef_PDict_TeHui_RechargeGotCntt!Def_PDict_TeHui_RechargeCanGetCntt$Def_PDict_TeHui_RechargeCurTotalGoldtSync_RechargeTeHuiInfo(RRtrechargeActionNumKeyR%trechargeActionDicttruleListtindex((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR5ös"       
 
cCs‡ySt|tjƒ}||kr6tjd|ƒdStjdƒ}||}|jƒ}xôt|ƒD]æ\}}tj    |}t||ƒ}    tjd|||    fƒ|    dkr¼qhn|d}
|d} d} |t
} |t }|t }|d}g}x|D]w}t |tƒrY||krCtjd|ƒq n||\}}}n|\}}}|j|||    |fƒq Wtjd| |t|ƒt|ƒfƒ| tkrÒ|d    ||    f} n#| tkrõ|d
||    f} ntj|
| | |jƒg|ƒ}|rhtjd |||    t|ƒf|jƒƒqhqhWWn-tk
r‚}tjd ||jƒƒnXdS( Ns=__SendRechargeAwardMail lastRechargeNum=%s not in actionDict!tTeHuiAction_RechargeMailsB³äÖµÌØ»ÝÓʼþ²¹·¢½±Àø: lastRechargeNum=%s,index=%s,lastCanGetCnt=%siits0TeHuiAction_Recharge.txt Î´ÅäÖøÃÖ°Òµ½±Àø job=%ss7    ruleType=%s,needGold=%s,itemList=%s,mailItemList=%siisRÓʼþ²¹·¢ÉϴγäÖµÌØ»Ý½±Àø£ºlastRechargeNum=%s,index=%s,canGetCnt=%s,mailItemList=%ss Óʼþ²¹·¢ÉϴγäÖµÌØ»Ý½±Àø³ö´í£¡%s(RRRKRR3RHRItGetJobt    enumerateRPt Recharge_TypetRecharge_NeedGoldtRecharge_AwardItemInfot
isinstancetdicttErrLogtappendtstrtRecharge_Type_SingletRecharge_Type_TotalRtSendMailR Rt BaseException(RRTtlastRechargeNumt rechargeMailt lastRuleListtjobt    lastIndextruleInfot canGetCntKeyt lastCanGetCntt    mailTitletgetDayst mailContenttruleTypetneedGoldt awardItemInfotitemListt mailItemListtitemInfotitemIDtitemCnttisBindtisSendte((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRJsX 
       
 
 
 
 
 
         $    .cCs9x(tjD]}t|tj|dƒq
Wt|ƒdS(Ni(RtClassUPDayListR
Rt"Def_PDict_TeHui_ClassUPAwardRecordtSync_ClassUPDayAwardRecord(RtdayType((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR7Os
cCsNtjd||jƒƒt||ƒtjƒ}tj}|j|ƒ}tj    dƒ}||kr„tjd||jƒƒdSt
|t j ƒ}t t
|t jƒ|ƒ}||}t|t j|ƒtjd||||f|jƒƒ||}x?t|ƒD]1\}    }
|
t} |
t} |
t} t j|    }t
||ƒ}||7}t|||ƒt j|    }t
||ƒ}t
|t j|    ƒ}||| kr³q n| tkrè|| krÑq nt|||dƒq | tkr t| || ƒ}t d||ƒ}||kr<t|||ƒq<q q Wt|ƒdS(NsÌØ»Ý»î¶¯³äÖµ: addGold=%sRGs(³äÖµÌØ»Ý»î¶¯£¡Î޸û±àºÅ! actionNum=%ss@³äÖµÌØ»Ý»î¶¯£¡actionNum=%s,totalGold=%s,addGold=%s,updateGold=%sii(RRR t__PlayerRechargeRankActionRRR4RRHRIRRRLRRMR
RZR[R\tRecharge_MaxCntRQRPRORcRdtminRR(RtaddGoldRRSR%RTR&t
updateGoldRURVRlRrRstmaxCnttcurTotalGoldKeyt curTotalGoldt    canCntKeyt    curCanCntt    curGotCntt    canMaxCnttcanCnt((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytPlayerGoldCharge_TeHuiAction[sP       
    
 
 
 
 
 
cCsòtjƒ}tj}|j|ƒ}|sHtjd||jƒƒdSt|tj    ƒ}t
t|tj ƒ|ƒ}||}t |tj |ƒtjd||||f|jƒƒ|jtj |ƒ}tj||||ƒt|ƒdS(Ns8µ±Ç°Ã»ÓгäÖµÅÅÐÐÌØ»Ý»î¶¯£¬²»ÐèÒª¸üÐÂÅÅÐаñ£¡actionNum=%ssD³äÖµÅÅÐÐÌØ»Ý»î¶¯£¡actionNum=%s,totalGold=%s,addGold=%s,updateGold=%s(RRRR:RRR RRRDRRER
R!R"tUpdateRechargeRankBillboardRF(RR„RR$R%R&R…R'((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRšs      
    
cCsòtjƒ}tj}|j|ƒ}|sHtjd||jƒƒdSt|tj    ƒ}t
t|tj ƒ|ƒ}||}t |tj |ƒtjd||||f|jƒƒ|jtj |ƒ}tj||||ƒt|ƒdS(Ns8µ±Ç°Ã»ÓÐÏû·ÑÅÅÐÐÌØ»Ý»î¶¯£¬²»ÐèÒª¸üÐÂÅÅÐаñ£¡actionNum=%ssDÏû·ÑÅÅÐÐÌØ»Ý»î¶¯£¡actionNum=%s,totalGold=%s,addGold=%s,updateGold=%s(RRRRRRR RRRRRR
R!R"R#RC(RR„RR$R%R&R…R'((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyt__PlayerCostRankActionµs      
    
cCs,|tjkr(||jƒkr(tSntS(N(RtClassUPDay_OfficetGetOfficialRanktTruetFalse(RR€tclassLV((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyt CheckClassLVÐscCsÔdStjƒj|ƒ}|j}|j}tjd||f|jƒƒ|tjkrotj    d|ƒdSt
|||ƒs…dSt j dƒ}tj ƒ}tj}|j|ƒ}    |    |krÙtj    d|    ƒdS||    }
||
krtj    d|t|
ƒfƒdStj|} t|| ƒ} | td|ƒ@rZtjd||fƒdSt j dƒ} || jƒkrtj    d    |ƒdS| |}||jƒkrÇtj    d
||fƒdS||}tj|tjƒ}|d }||krtj|d ƒdS|d }| d |>B} t|| | ƒxZ|D]R\}}}tj|||d tjgƒ}|r?tj|d||gƒq?q?W||j ƒ|||g}tj!d d|ƒt"||ƒdS(Ns&ÁìÈ¡Éý½×ÌØ»Ý½±Àø dayType=%s,classLV=%ss    ÌػݻÀàÐÍ=%s ·Ç·¨!tTeHuiAction_ClassUPs2    Ìػݻ±àºÅ=%s not in TeHuiAction_ClassUP.txts?    ÌػݻÀàÐÍ=%s ·Çµ±Ç°»î¶¯ÖеÄÉý½×ÌØ»ÝÈÕ£¡curDayTypeList=%sis9    ÌػݻÀàÐÍ=%s,classLV=%s ÒÑÁì¹ý½±Àø£¡²»ÄÜÖØ¸´ÁìÈ¡£¡tTeHuiAction_ClassUPAwardsG    ÌػݻÀàÐÍ=%s Î´ÅäÖý±ÀøÐÅÏ¢£¡Çë¼ì²é TeHuiAction_ClassUPAward.txtsQ    ÌػݻÀàÐÍ=%s,classLV=%s Î´ÅäÖý±ÀøÐÅÏ¢£¡Çë¼ì²éTeHuiAction_ClassUPAward.txtitGeRen_chenxin_998371it ObtainRes01tGeRen_liubo_734488(#RR+R-tDayTypetClassLVR3R RR}R`R–RHRIRR6RRbRR~RtpowRtkeyst
ItemCommontGetItemPackSpacet IPY_GameWorldtrptItemRt
NotifyCodeR
t ItemControlertGivePlayerItemt GetPlayerNamet WorldNotifyR(RVt
clientPackttickRR€R•tclassUPTeHuiDictRtclassUPActionNumKeyR%tcurDayTypeListtawardRecordKeyt awardRecordt    awardDicttawardClassInfoDictt    awardInfot    packSpacet    needSpaceRuRxRyRztisPutInt msgParamList((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytClientGetClassUPDayAwardäsl               
          
    
 
 
!  c    CsdStjƒ}tjƒj|ƒ}|j}|j}|jtjtj    ƒ}tj
d||f|j ƒƒ||kr—tj d||fƒdSt jdƒ}tj    }|j|ƒ}    |    |krßtj d|    ƒdS||    }
|t|
ƒkrtj d|t|
ƒfƒdS|
|} tj
dt| ƒƒt|tj|ƒ} t|tj|ƒ} | t}tj
d| | |fƒ| |krªtj dƒdS| d    krÇtj d
ƒdS| t}tj|tjƒ}|d    }||krtj|d ƒdS|d }t|tj|| d ƒt|tj|| d ƒ|jƒ}xÇ|D]¿}t|t ƒr±||kr›tj d |ƒqcn||\}}}n|\}}}t!j"|||d    tjgƒ}|rtj|d||gƒnt#j$|||    ||||ƒqcWt jdƒ}|j%|    dƒ}|rstj&d    ||j'ƒ| t(gƒnt)|ƒdS(Ns%ÁìÈ¡³äÖµÌØ»Ý½±Àø actionID=%s,index=%ss,    »î¶¯id´íÎó£¡actionID=%s != µ±Ç°»î¶¯id=%sRGs/    »î¶¯±àºÅ=%s not in TeHuiAction_Recharge.txts$    ÁìÈ¡Ë÷Òý=%s >=¹æÔòÁбíÌõÊýlen=%ss    ruleInfo=%ss$    gotCnt=%s,canGetCnt=%s,maxCnt=%ss    ÒÑ´ïµ½×î´óÁì½±´ÎÊý£¡is    Ã»ÓпÉÁìÈ¡´ÎÊý£¡R™is0TeHuiAction_Recharge.txt Î´ÅäÖøÃÖ°Òµ½±Àø job=%sRštTeHuiAction_RechargeNotifyRX(*RRR+R-tActionIDtIndexRRR!R4R3R R`RHRIRNRbRRRORPR‚R]R R¡R¢R£RR¤R
RYR^R_R¥R¦tDataRecordPacktDR_PlayerTeHuiRechargePrizetgetR¨R§R\RR(RVR©RªRRR't curActionIDt rechargeDictR$R%RURltgotCntt    canGetCntR†R²R³R´RuRjRwRxRyRzRµtRechargeNotifyDictt
notifyMark((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytClientGetRechargeTeHuiAward<s|                  
 
 
 
 
 
   !
cCs¿tjƒ}|jƒg|_xwtjD]l}|d|gkrGq)ntjƒ}|jƒ||_tj    |}t
||ƒ|_ |jj |ƒq)Wt |jƒ|_tj||ƒdS(Ni(tChPyNetSendPackttagMCClassUPDayAwardRecordListtCleartRecordInfoListRR}ttagMCClassUPDayAwardRecordRœRR~RtRecordRaRNt RecordCountt NetPackCommont SendFakePack(Rt    awardTypetawardRecordPackR€t    recordObjR®((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR—s 
     
     c
Csxtjƒ}tj}|j|ƒ}tjdƒ}||krCdS|jtjtjƒ}tj    ƒ}|j
ƒ||_ t |t jƒ|_tt |t jƒ|jƒ|_g|_||}x‹tt|ƒƒD]w}tjƒ}    |    j
ƒt |t j|ƒ|    _t |t j|ƒ|    _t |t j|ƒ|    _|jj|    ƒq×Wt|jƒ|_tj||ƒdS(NRG( RRRR4RRHRIR!RÅttagMCRechargeTeHuiInfoListRÇR¹RRRLt    TotalGoldRRMtInfoListR*RNttagMCRechargeTeHuiInfoRQt CurTotalGoldRPt    CanGetCntROtGotCntRatInfoCntRÌRÍ(
RRRSR%RTR't rechargePackRURVt rechargeInfo((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRR±s:         
        
 
cCs­tjƒ}tj}|j|ƒ}|s.dS|jtj|ƒ}tjƒ}|jƒ||_    t
|t j ƒ}t t
|t jƒ|ƒ}||_tj||ƒdS(N(RRRR:RR!RÅttagMCRechargeRankTeHuiInfoRÇR¹RRRDRRERÒRÌRÍ(RRR$R%R'RÙR&((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRFÛs      
        cCs­tjƒ}tj}|j|ƒ}|s.dS|jtj|ƒ}tjƒ}|jƒ||_    t
|t j ƒ|_ tt
|t jƒ|j ƒ|_ tj||ƒdS(N(RRRRRR!RÅttagMCCostRankTeHuiInfoRÇR¹RRRt    TotalCostRRRÌRÍ(RRR$R%R'tsendPack((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRCòs      
    cCsTdStjƒj|ƒ}tjd|jƒƒ|j}|j}tj}tj    }tj
ƒj ||ƒ}||kr”tjd||fƒdSt |t jƒ}    |    td|ƒ@rÎtjd|ƒdSt|ƒ}
|
só|t|
ƒkrtjd|ƒdS|
|} t |t jƒ} | t} | | krUtjd| | fƒdStj|tjƒ}| t}||kr›tjd||fƒdSt|t j|    td|ƒBƒ| t}x6|D].\}}}tj|||dtjgƒqÌWi|d    6| d
6| d 6t|ƒd 6}tj|d |ƒt |ƒtjdƒdS(Ns5==[PlayerTeHui]== In->OnGetCostProfitAward(), Name:%ss=OnGetCostProfitAward() action(%s) no equal current action(%s)is)OnGetCostProfitAward() have got award(%s)s2OnGetCostProfitAward() no configuration action(%s)s0OnGetCostProfitAward() current cost(%s) need(%s)s4OnGetCostProfitAward() pack space(%s) need space(%s)itactionIdt needCostGoldtcostGoldt itemInfoListtCostProfitAwards-==[PlayerTeHui]== Out->OnGetCostProfitAward()(!RR+R-R3R§R¹RºRR!R<RRRRtDef_PDict_TeHui_CostAwardStateRžt__GetCostProfitCfgRNtDef_PDict_TeHui_CostTotalGoldtCostProfit_GoldNumR R¡R¢R£tCostProfit_NeedSpaceR
tCostProfit_ItemListR¥R¦RbR»tDR_FuncGiveItemtSync_CostProfitInfo(RVt
clientDataRªRRßt
awardIndextdayActionKeyIdt dayActionKeyt curActionIdtgotStatetactionAwardInfoListtactionAwardInfot
curGoldNumt needGoldNumR³R´RâtitemIdtitemNumt
itemIsBindt addDataDict((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytOnGetCostProfitAward sP                  
 
 
  
#
 cCsdS(N((RtcostTypeRátinfoDict((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pytAddCostProfitGoldGscCs¥tj}tj}tjƒj||ƒ}|dkrHtjdƒdStjƒ}|j    ƒ||_
t |t j ƒ|_t |t jƒ|_tj||ƒdS(Nis$Sync_CostProfitInfo() no open action(RR!R<RRRR3RÅttagMCCostProfitInfoRÇR¹RRRæRÝRät
AwardStateRÌRÍ(RRîRïRßRÞ((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRë^s           
    cCsot|ƒt|tjdƒt|tjdƒtj}tjƒj    |ƒ}t|tj
|ƒt |ƒdS(Ni( t__SendCostProfitRepairMailR
RRæRäRR<RRRtDef_PDict_TeHui_LastCostIndexRë(RRït actionIndex((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyR=qs
    
cCsitjdƒ}t|ƒ}|s2tjdƒdSt|ƒ}t|tjƒ}|t    d|dƒdkr~tjdƒdSt|tj
ƒ}xÒt |ƒD]Ä}|t    d|ƒ@r¼qn||}|t }|t }    ||    krtjd||    fƒdS|d}
|d} |d|    } |jƒg} tj|
| | | |ƒstjd|ƒqqWdS(    NtTeHuiAction_CostProfitMails-__SendCostProfitRepairMail() no configurationiis.__SendCostProfitRepairMail() reward got finishs8__SendCostProfitRepairMail() cost(%s) gold no enough(%s)is6__SendCostProfitRepairMail() repair(%s) mail send fail(RHRIRåRR3RNRRRäRžRæR*RéRçR RReR`(RtmailInfoRòtawardNumRñRôR0RóRât costGoldNumRotmailDayRqt playerIdList((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRs8    
 
 
     
 
cCsQtjdƒ}t|tjƒ}|j|gƒ}|sMtjd|ƒn|S(NtTeHuiAction_CostProfitAwards6__GetCostProfitCfg() no configuration action index(%s)(RHRIRRRR½RR3(RtcostProfitDictt lastCostIndexRò((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyRå§s (7RRRRHR R¢RR¥RÅRÌR»R8R"R*RcRdR[R\R‚R]RçRèRéRR
R R R RRR(R)R1R/R>R;R5RJR7RŽRRR–R·RÄRRRRFRCRúRýRëR=RRå(((skE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerTeHui.pyt<module>s^                                                               '                        =         ?                X    [     *            <                &