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
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
140
141
142
143
144
145
146
܀Jhc@sKddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl!Z!ddl"Z"ddl#Z#ddl$Z$ddl%Z%ddl&Z&ddl'Z'e(dd'ƒZ)\Z*Z+Z,Z-Z.Z/e*Z0dZ1dZ2dZ3dZ4d„Z5d    „Z6d
„Z7d „Z8d „Z9d „Z:d„Z;d„Z<d„Z=d„Z>d„Z?d„Z@d„ZAd„ZBid„ZCd„ZDe0d„ZEd„ZFd„ZGd„ZHd„ZIdejKdd„ZLdd(d „ƒYZMd!„ZNdd"„ZOd#„ZPd$„ZQd%„ZRd&„ZSdS()iÿÿÿÿNiiiiiicCs tjdƒS(NtPayRMB(t IpyGameDataPYt
GetFuncCfg(((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt GetCoinRatecscCs[t|ƒst|ƒn|jtjƒr8t|ƒn|jtjƒrWt|ƒndS(N(tDoResetCTGCountByTimetSync_CoinToGoldCountInfotNomalDictGetPropertytChConfigtDef_PDict_DayFreeGoldGiftStatetSync_DayFreeGoldGiftStatetDef_PDict_OnlineRechargeTHAwardtSyncOnlineRechargeTH(t    curPlayer((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnLogines    cCs¿tjddƒ}|sdSt|tƒs<tjdƒdSttjƒƒ}tjt|ƒdƒ}||krvdS|j    t
j ƒ}||kr˜dSt j |t
j |ƒt||ƒtS(NtCTGis-³äÖµÖØÖÃʱ¼äÅäÖñØÐëÊÇÊýÖµ¸ñʽ£¬²»Äܰüº¬·ûºÅ!s%Y%m%d(RRt
isinstancetintt    GameWorldtErrLogttimetChangeTimeStrToNumtstrRRtDef_PDict_CTGCountResetTimet PlayerControltNomalDictSetPropertytDoResetCTGCounttTrue(R tctgResetTimeYMDtcurTimet    resetTimetplayerResetTime((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRns     c
Csé|jƒ}tjƒ}xÀt|jƒƒD]¬}|j|ƒ}|jƒ}tj|t    j
|dƒ|j ƒsxq+n|j t    j |ƒ}|j t    j|ƒ}|j t    j|ƒ}    |j t    j|ƒ}
| rò| rò|     rò|
ròq+ntj|t    j |dƒtj|t    j|dƒtj|t    j|dƒtj|t    j|dƒi|jƒd6|jƒd6|d6|d6|d6|d6|    d6|
d    6} tjd
| |ƒtjd ||||f|ƒq+Wt|ƒdS( NitPlayerIDtAccIDt
ResetEventt totalBuyCountt todayBuyCounttrecordIDt weekBuyCountt monthBuyCountt ResetCTGCountsIÖØÖóäÖµ´ÎÊý: resetEvent=%s,recordID=%s,totalBuyCount=%s,todayBuyCount=%s(t GetPlayerIDRtIPY_Datatxranget GetCTGCountt GetCTGByIndext GetRecordIDRRRtDef_PDict_CTGSelectItemValuetGetCanResetBuyCountRtDef_PDict_CTGGoodsBuyCounttDef_PDict_TodayCTGCounttDef_PDict_WeekCTGCounttDef_PDict_MonthCTGCounttGetAccIDtDataRecordPackt SendEventPackRtLogR( R t
resetEventtplayerIDt
ipyDataMgrtitipyDataR$R"R#R%R&tdrDict((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR…s4    $    
c
 
Cs±|s
dS|jƒ}x‡|D]}tj|tj|dƒ|jtj|ƒ}|jtj|ƒ}|jtj|ƒ}|jtj    |ƒ}| r·| r·| r·| r·qntj|tj|dƒtj|tj|dƒtj|tj|dƒtj|tj    |dƒi|jƒd6|j
ƒd6|d6|d6|d6|d6|d6|d    6}    t j d
|    |ƒt jd ||||f|ƒqWt||ƒdS( NiRR R!R"R#R$R%R&R'sIÖØÖóäÖµ´ÎÊý: resetEvent=%s,recordID=%s,totalBuyCount=%s,todayBuyCount=%s(R(RRRR.RR0R1R2R3R4R5R6RR7R(
R R8tresetCTGIDListR9R$R"R#R%R&R=((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytDoResetCTGCountByIDList£s.  $     cCsMtj|ƒtj|tjdƒtj|tjdƒg}tjƒ}x°t    |j
ƒƒD]œ}|j |ƒ}|j ƒ}|j tj|ƒ}|j tj|ƒ r¹| r¹q^ntj|tj|dƒtj|tj|dƒ|j|ƒq^W|rt||ƒn|j tjƒrItj|tjdƒt|ƒndS(Ni(tPlayerActGrowupBuytDoUpdateGrowupBuyStateOnDayRRRtDef_PDict_TodayCTGCoinTotaltDef_PDict_CTGRealTodayRR)R*R+R,R-RR.R1tappendRRR    (R tsyncRecordIDListR:R;R<R$tselectItemValue((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnDay½s(    cCs§g}tjƒ}xxt|jƒƒD]d}|j|ƒ}|jƒ}|jtj|ƒsbq%nt    j
|tj|dƒ|j |ƒq%W|r£t ||ƒndS(Ni( RR)R*R+R,R-RRR2RRRDR(R RER:R;R<R$((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnWeekÛs  cCs§g}tjƒ}xxt|jƒƒD]d}|j|ƒ}|jƒ}|jtj|ƒsbq%nt    j
|tj|dƒ|j |ƒq%W|r£t ||ƒndS(Ni( RR)R*R+R,R-RRR3RRRDR(R RER:R;R<R$((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnMonthés  cCs>tjƒj|ƒ}|j}t||r3|gngƒdS(N(RtGetPlayerManagertGetPlayerByIndextRecordIDR(tindext
clientDatattickR R$((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnQueryCoinToGoldCountÿs    c Cs tjƒj|ƒ}|jƒ}|j}|j}|tjkr`tjd||f|ƒdSt    j
d|ƒ}|s|dS|j ƒ}t ||ƒ\}    }
|
rÁtjd||
f|ƒdStj d|||    f|ƒtj|tj||ƒt||gƒdS(Ns6³äÖµ×ÔÑ¡ÎïÆ·Ñ¡ÔñÖµÒç³ö! recordID=%s,selectItemValue=%sRs.³äÖµ×ÔÑ¡ÎïÆ·Ñ¡Ôñ´íÎó! recordID=%s,errorInfo=%ss>³äÖµ×ÔÑ¡ÎïÆ·: recordID=%s,selectItemValue=%s,selectItemList=%s(RRJRKR(RLtSelectItemValueRtDef_UpperLimit_DWordRRtGetIpyGameDatatGetSelectItemInfotGetSelectItemListInfotDebugLogRRR.R( RMRNROR R9R$RFR<tselectItemInfotselectItemListt    errorInfo((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnSelectCTGItem s&          cCsœtjƒj|ƒ}|j}|j}tjd||ƒ}|sFdStƒ}tj    |j
ƒdƒ|_ ||_ ||_ d|_t||dtƒdS(Nt    OrderInfoidttCoinBuyOrderInfo(RRJRKtAppIDR[RRStCPY_PlayerCoinToGoldtCommFunct    RMBToCoint GetUsdMoneytuseCoint    orderInfotappIDtorderIDtPlayerCoinToGoldtPayOrderType_PayCoin(RMRNROR ReRdR<t cPlayerCoin((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnCoinBuyOrderInfo,s                        c
Cs£|jddƒ}|jddƒ}|jdtƒ}| sD| r[tj|||ƒdS|jddƒ}|jƒ}tj|ƒ}i|tj6|d6|d6}    tj    |t
j |||    ƒtj|ƒ}
t j d    ||||||
|f|ƒg} ||g} tjd
|g| | ƒ|tkrŸt jƒjt
jƒd } |jitjd 6||
gd 6|jƒd6| d6|d6ƒtj||ƒndS(sÆ ³äÖµ¶Ò»»³É´ú±Ò
                Ò»°ã¿ÉÓÃÓÚһЩ³äÖµ¶©µ¥¶Ò»»ÓÎÏ·¹¦ÄÜʱ£¬ÓÎÏ·¹¦ÄÜÓÐÏÞÖÆÈçÏÞ¹º£¬
                ¸Ã³äÖµÊÓΪ³É¹¦£¬²¢×ª»¯Îª¶ÔÓ¦´ú±Ò£¬¿ÉÒÔÀí½âΪÀàËÆ³äÖµµãȯ£¬´ú±Ò¿ÉÓÃÓÚÏ´γäֵʱ֧¸¶£»
    RdR\t    orderCoinit payOrderTypeNt    eventNametExchangePayCoinso³äֵת»¯Îª´ú±Ò: orderInfo=%s,orderCoin=%s,payOrderType=%s,eventName=%s,befPayCoin=%s,aftPayCoin=%s,errorInfo=%stExchangeToPayCoinitcoinTypetPayCointVIPLvt    ServerDay(tgettPayOrderType_DefaultR5t DR_CTGErrorR(Rt
GetPayCoinRtDef_Give_Reason_SonKeyt    GiveMoneyt ShareDefinetTYPE_Price_PayCoinRR7t SendMailByKeyRht GetGameWorldtGetGameWorldDictByKeytDef_Notify_WorldKey_ServerDaytupdatetCoinType_ExchangePayCointGetVIPLvtDR_CTGOK(R RYt    addDRDictRdRkRlRmR9t
befPayCoinR=t
aftPayCoint addItemListt    paramListt    serverDay((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRn<s.         cCsHtjddƒ}|sdStjddƒ}t||tj|ƒdS(NtCornerPresentedMoneyii(RRtPlayerCoinToGoldExRt Def_GiveMoney_SuperAccountCreate(R tgiveCoinByCreatetisAddBourseMoney((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytGiveGoldByCreate^s c CsLtj|ƒ}d}d}tjƒ}xqt|jƒƒD]]}|j|ƒ}    ||    jƒkr:|    j    ƒ|kr:|    j
ƒ r:|    j ƒ r:|    }Pq:q:W|sÅtj d||f|j ƒƒdS|jƒ}
d} g} tj|ƒ} t||
ƒ}|}i| d6|d6|d6}t|tj| || | |||d|ƒ    tS(Nis>Can not found one RMB pay num orderInfo! appID=%s,payRMBNum=%siRkRŽRmtcoinExp(RtGetPlayerPlatformtNoneRR)R*tGetOrderInfoCounttGetOrderInfoByIndextGetAppIDt GetPayRMBNumtGetCTGIDt GetGiftbagIDRR(t
GetCoinExpR`RaRt
DoCTGLogicRt CoinType_GoldR(R torderRMBRmRŽRet    payRMBNumt oneRMBIpyDataR:R;R<t oneRMBCoinExpt    prizeGoldt giveItemListRkRtaddGoldR„((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR‹gs* >  +cCsdS(N((R RœRmRŽt addDataDict((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt PlayerItemCTGƒs
cCsntjd||ƒ}|sdStƒ}tj|jƒdƒ|_||_||_||_    t
|||ƒS(NR[id( RRSR_R`RaRbRcRdReRŽRg(R RdReRŽRmR<Ri((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytDoGMCTGs                cCsÄ|jƒ}|jƒ}|jƒ}|jƒ}|rF|j|ƒn|jƒ}|sjtj|ƒ}ni|d6|d6|d6|d6|d6|d6}    |dkr½tj    |d|    ƒdSt
j d    ||ƒ}
|
sïtj    |d
|    ƒdStj d |||f|j ƒƒ|} tj|
jƒƒ}|
jƒ} tj d ||| f|j ƒƒ||    d<| |    d <| tj| dƒkr£tj    |d| |    ƒdS|tkr|
jƒrft
j d|
jƒƒ} | rf| jƒtkrtjd||f|j ƒƒdS| jƒ}t
jddƒ}||krctjd|||f|j ƒƒdSqfntj|tjƒ}tj|tj||i|tj 6|d6ƒsÝtjd|||tj!|ƒf|j ƒƒdStj|tjƒ}||kr|||    d<qn||    d<dddgdf\}}}}} |
jƒr†t#||
jƒ|    ƒ}|sndS|\}}}}} nŒ|
j$ƒrû|
j$ƒ}d|koµdknrÖt%j&|||    ƒsødSqt'j(||
j$ƒg|    ƒsdSntj    |d|    ƒdS|
j)ƒ}| rE| jƒt*t+gkrEtj,ntj-}t.|||||||||    | ||ƒ sdS|rˆn| rš| jƒnd}t/|||||ƒ|j0ƒt1S(NRkRdRfRŽRmReisThe orderCoin is zero!R[sCan not found the orderInfo.s6Ô½ÄϳäÖµÑéÖ¤ÃÀÔª: orderInfo=%s,orderCoin=%s,orderID=%ss5    ×ª»¯ºó: orderInfo=%s,orderCoin=%s,orderCoinUsd=%st orderCoinUsdids<The orderCoinUsd is not equal to the ipyData's UsdMoney(%s)!Rs.´ú±Ò¿É²»ÓÃÓÚÖ§¸¶´ú±Ò³äÖµ!appID=%s,orderInfo=%st RechargeLimitis;¸Ã³äÖµID¿É²»ÓÃÓÚÖ§¸¶´ú±Ò³äÖµ!appID=%s,orderInfo=%s,ctgID=%ss?´ú±Ò²»×ã! appID=%s,orderInfo=%s,orderCoin=%s,curPayCoinTotal=%st usePayCoinDayRliÇsThe orderInfo is useless!(2tGetCoint GetOrderInfot
GetOrderIDtGetIsAddBourseMoneytSendDBFinishRechargeR•RR‘R5RvRRSR7R(R`RaR–RbRhR—t
GetPayTypetPayType_PayCoinRR-tGetFuncEvalCfgRtGetPlayerCurrencyRztTYPE_Price_PayCoinDaytPayMoneyR{RtDef_Cost_Reason_SonKeytGetPayCoinTotalR’t__GetCTGInfoByIDR˜tPlayerDailyGiftbagtOnPlayerOrderDailyGiftbagtPlayerFlashGiftbagtOnPlayerOrderGiftbagR™t PayType_GoldtPayType_GoldPlusR›t CoinType_BuyRštSync_CoinToGoldReporttSendDBQueryRechargeR(R t
chargeInfoRmRlRkRdRfRŽReR„R<R¦tusdMoneyt
ctgIpyDatatctgIDtpayCoinLimitCTGIDListt befPayCoinDayt aftPayCoinDayt    moneyTypeR¢R R¡t ctgResultInfot    giftbagIDRRpR$((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRg¢s”      # #
 
     #
/    & 
$    0-
cCsàtjd|ƒ}|s/tj|d|ƒdS|ji|d6ƒ|jƒtkrtj||ƒ\}}|stj|||ƒdSn|j    ƒ}|j
t j |ƒ}|r÷|ji|d6|d6ƒ||kr÷t |d||ƒdSn|jƒ}|j
t j|ƒ}    |ra|ji|d6|    d6ƒ|    |krat |d    |    |ƒdSn|jƒ}
|j
t j|ƒ} |
rË|ji|
d
6| d 6ƒ| |
krËt |d | |ƒdSn|jƒ} |j
t j|ƒ} | r5|ji| d 6| d6ƒ| | kr5t |d| |ƒdSng}|jƒ}|r½|j
t j|ƒ}|ji|d6ƒt||ƒ\}}|r¦t |||ƒdS|ji|d6ƒnt|dt jƒ}tj|t j ||ƒ|ji|d6ƒt|    dt jƒ}tj|t j||ƒ|ji|d6ƒt| dt jƒ}tj|t j||ƒ|ji|d6ƒt| dt jƒ}tj|t j||ƒ|ji|d6ƒg}|t|ƒ7}||7}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}| r<|r<|n|}|t j!kr½|t"t#gkrt$j%|t j&ƒr|}nt'j(||ƒ}|r½||7}|jidd6ƒq½nt)||gƒ|||||fS(NRsCan not find CTG ipyData!R$ttotalBuyCountLimitR"s&Pay count limit total!totalBuyCount=%stdailyBuyCountLimitR#s&Pay count limit today!todayBuyCount=%stweekBuyCountLimitR%s$Pay count limit week!weekBuyCount=%stmonthBuyCountLimitR&s&Pay count limit month!monthBuyCount=%sRFRXittotalBuyCountUpdttodayBuyCountUpdtweekBuyCountUpdtmonthBuyCountUpdtactRechargePrize(*RRSR5RvR€R®tPayType_GrowupBuyR@tCheckGrowupBuyStatetGetTotalBuyCountRRR0RntGetDailyBuyCountR1tGetWeekBuyCountR2tGetMonthBuyCountR3RTR.RUtminRRRRtGetCTGGiveItemListt GetMoneyTypet GetGainGoldtGetGainGoldPrizetGetFirstGoldPrizet IPY_GameWorldtTYPE_Price_Gold_MoneyR»R¼tPlayerGoldInvesttGetInvestStatetInvestType_LifetPlayerActRechargePrizet DoAddPlayerActRechargePrizeCountR(R R$R„R<tcanBuyterrInfoRÊR"RËR#RÌR%RÍR&RXRWRFRYRÎRÏRÐRÑR¡tpayTypeRÇR¢t gainGoldPrizetfirstGoldPrizeR t actPrizeGold((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR¶sœ         
     '    
c
CsMd}g}|}tjd||fƒxt|dƒD]\}}|dd}|dkr|d|||f}||fS|t|ƒkr«d|||f}||fS||}tjd|ƒ}    |    síd    ||||f}||fS|j|    jƒ|    jƒ|    j    ƒgƒ|d}tjd
|||||fƒq9W||fS( NR\s$selectItemValue=%s,selectItemInfo=%siidisJSelect item is not complete!selectItemValue=%s,selectNum=%s,selectIndex=%ssMSelect item index out of range!selectItemValue=%s,selectNum=%s,selectIndex=%st CTGSelectItemsPSelectID is not exist!selectItemValue=%s,selectNum=%s,selectIndex=%s,selectID=%ssP    selectNum=%s,selectIndex=%s,selectID=%s,selectItemList=%s,selectItemValue=%s(
RRVt    enumeratetlenRRSRDt    GetItemIDt GetItemCounttGetIsAuctionItem(
RWRFRYRXt selectValuet    selectNumt selectIDListt selectIndextselectIDt selectIpyData((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRUes, 
 
 
 
(
    c Cs|s
gS|jƒ}|jƒ}g}itjt6}|r
|jƒ|kr
||jƒ}tjj|iƒ}|jtj    dƒ}g|j
ƒD]}t |ƒ^q—}    |    j ƒx.|    D]&}
||
krÀ|t |
ƒ}PqÀqÀW|s|t |    dƒ}qn|}|S(Niiÿÿÿÿ(tGetGainItemListtGetActWorldLVGainItemInfoRztOperationActionName_GrowupBuyRÓR®t
PyGameDatatg_operationActionDictRttActKey_WorldLVtkeysRtsortR( R<t gainItemListtactWorldLVGainItemInfoR¡tpayTypeActNameDicttactNametactInfot
actWorldLVt
strWorldLVtactWorldLVListtworldLV((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRÚ}s(  %
  cCsÐ|jtjƒ}|jtjƒ}|jtjƒ}|sgttjƒƒ}tj|tj|ƒnt    ||tj
ƒ}tj|tj|ƒt    ||tj
ƒ}tj|tj|ƒt |gƒdS(N( RRRCtDef_PDict_CTGRealTotaltDef_PDict_CTGRealFirstTimeRRRRRÙRRR(R Rkt ctgRealTodayt ctgRealTotaltctgRealFirstTime((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt __OnCTGRealšs ic #Cs|    rö|    jƒtkrötj}|jddƒ} |jddƒ}|jdtƒ} |jƒ}tj|ƒ}|rÁ|
t    j
krÁi| tj 6| d6| d6}tj ||
|||ƒntj|ƒ}|jdƒråt nt}|rt||ƒn|jtjƒ}|jtjƒ}|jtjƒ}tjƒjt    jƒd}|ji|d6||gd    6|jƒd
6|d 6|d 6|d 6|d6|r®tj|ƒndd6ƒtj||ƒtjd| || ||||f|ƒt S|tjtjtj gkr/tj!|d||ƒdS|}|jdƒrJt nt}|jdtƒ} | t"krztj#}n|jddƒdkr­t }|jddƒ}n|jtjƒ}|jtjƒ}|jtjƒ}|r‚|st$t%j%ƒƒ}tj&|tj|ƒnt'||tj(ƒ}tj&|tj|ƒt'||tj(ƒ}tj&|tj|ƒt)|gƒn|jddƒ} |    r¦|    j*ƒnd}|    r¾|    j+ƒnd}|j,ƒ}tj-|t    j.ƒ}|r tj ||
|||d|ƒn|r5tj ||
|||d|ƒn|r«t/j0||ddtj1t t2j3|ƒgdtƒ|rÐ|dd}tj4d||j5ƒ|dgƒqÐn%|rÐtj4d||j5ƒgƒn|sâ|sâ|r t/j6||tj1di|||
6di| d6|d6ƒn| }t7j8||ƒ|j9ƒ}|j:t'||tj(ƒdƒtj&|tj;dƒt'|jtj<ƒ|tj(ƒ}tj&|tj<|ƒ|j,ƒ} |j9ƒ}!tj-|t    j.ƒ}"|tjtjtj#gkr>t=j>||ƒt?j>||ƒt@jA||ƒtBjC||ƒn|tjkr`tDjE||ƒntFjG|ƒtHjG|ƒtIjJ|ƒtKjL|||ƒtMjN|tjO||ƒtPjQ|||ƒtRjC|||ƒtFjS||ƒtHjT||ƒtUjV|tjW|ƒtXjY|tjZ|ƒ|    rš|    j*ƒ}t[j\||ƒt]j^||ƒtIj_||ƒt`ja||ƒtbjc||ƒtdje||ƒntjƒjt    jƒd}|ji|| gd6||!gd6|d6||"gd6|d6|d6|d6|d6| d 6|d!6|jƒd
6|d 6|d 6|d6|rNtj|ƒndd6ƒtj||ƒtjd"|||f|jƒƒt S(#NRdR\RkiRlRfiRpRqRrRsRmR R R s`³äÖµ´ú±Ò: orderInfo=%s,orderCoin=%s,payOrderType=%s,eventName=%s,befPayCoin=%s,aftPayCoin=%s, %sscoinType error! coinType(%s)!R¨tisGiveBourseMoneyteventt isNotifyAwardt    moneyInfotdataExRÃtgoldtchangeCoinPointttodayCTGCoinTotalt bourseMoneyR¢R R¡Rt    addVIPExps%Billing: coinType=%s,eventName=%s, %s(fR®R¯RtCoinType_PayCoinRtRuR(RRwRzR{RxRyRtFalseRRRCR    R
RR}R~RR€R‚tChangeTimeNumToStrR5RƒR7R›R½tCoinType_ItemSuperRvRhtCoinType_UsePayCoinRRRRÙRRRR-t GetNotifyMarktGetGoldtGetMoneytTYPE_Price_BourseMoneyt ItemControlertGivePlayerItemOrMailt ItemGive_CTGtcopytdeepcopyt WorldNotifytGetNametNotifyGiveAwardInfot    PlayerVipt    AddVIPExptGetChangeCoinPointTotaltSetChangeCoinPointTotaltDef_PDict_FirstGoldTryRBtCrossActCTGBillboardt    AddCTGRMBtCrossActAllRechargetPlayerActManyDayRechargetAddManyDayRechargeValuetPlayerFamilyRedPackettOnPlayerRechargetPlayerActRechargeRebateGoldtAddRechargeRebateGoldRMBtPlayerFairyCeremonyt OnFCRechargetPlayerNewFairyCeremonytPlayerGoldGifttOnPlayerChargeGoldtPlayerActTotalRechargetAddTotalRechargeGoldtPlayerActGarbageSortingtAddActGarbageTaskProgresstDef_GarbageTask_CTGtPlayerActSingleRechargetUpdSingleRechargeValuetPlayerActTurntablet AddFCCTGRMBt AddFCCostGoldtPlayerWeekPartytAddWeekPartyActionCnttDef_WPAct_RechargetPlayerFeastTraveltAddFeastTravelTaskValuetDef_FeastTravel_CTGExptPlayerActFamilyCTGAssistt OnPlayerCTGRát InvestByCTGt OnGiftByCTGIDtPlayerZhanlingtOnActiviteByCTGIDtPlayerMineAreatOnMineTreasureByCTGIDtPlayerTongTianLingtOnActiviteTTTByCTGID(#R RpRkR¢R R¡RŽRmR„RÂRÇRRdRlR9R…R=R†t isRealMoneyR R R R‰trealCoinRÃt
notifyMarkt
goldBeforetbourseMoneyBeforet
mainItemIDRtchangeCoinPointBeforeRt    goldAftertchangeCoinPointAftertbourseMoneyAfter((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRš©sÞ     .        ""4(&  "      *)".#R_cBsPeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z    RS(cCsCd|_d|_d|_d|_d|_d|_t|_dS(NiR\(Rct    prizeCointappendixRdReRfRRŽ(tself((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt__init__Gs                            cCs|jS(N(Rc(Rc((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR©VscCs|jS(N(Ra(Rc((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt GetPrizeCoin^scCs|jS(N(Rb(Rc((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt GetAppendixescCs|jS(N(Rd(Rc((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRªiscCs|jS(N(Re(Rc((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR•lscCs|jS(N(Rf(Rc((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR«nscCs|jS(N(RŽ(Rc((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR¬qs(
t__name__t
__module__RdR©ReRfRªR•R«R¬(((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR_As                            cCsotjƒ}|jƒt|ƒ|_||_||_||_||_t|jƒ|_    t
j ||ƒdS(N( tChPyNetSendPackttagMCCoinToGoldReporttClearRîtOrderLentOrderIDtCoinRLR[t OrderInfoLent NetPackCommont SendFakePack(R RftmoneyR$Rdt openGleeGame((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR¾us 
                cCs—|dkr`g}tjƒ}x?t|jƒƒD](}|j|ƒ}|j|jƒƒq1Wntj    ƒ}|j
ƒ|j t j ƒ|_|j t jƒ|_|j t jƒ|_g|_x°|D]¨}tjƒ}||_|j t j|ƒ|_|j t j|ƒ|_|j t j|ƒ|_|j t j|ƒ|_|j t j|ƒ|_|jj|ƒqÅWt |jƒ|_!t"j#||ƒdS(N($R’RR)R*R+R,RDR-RittagMCCoinToGoldCountInfoRkRRRCt    RealTodayR    t    RealTotalR
t RealFirstTimetCTGCountInfoListttagMCCoinToGoldCountRLR1t TodayPayCountR0t TotalPayCountR2t WeekPayCountR3t MonthPayCountR.RQRît RecordCountRpRq(R RER:R;R<t countInfoPackR$t    countInfo((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR‚s0   
          cCsÜ|jtjƒ}|rdStjddƒ}|s8dSt|ƒ}tj|tj    |ƒ}||kr|t
j |dƒdSt
j |tjdƒt }x3|D]+\}}tj||||tj    gƒqŸWt|ƒdS(s ÁìȡÿÈÕÃâ·ÑÖ±¹ºÀñ°ü
    NtDayFreeGoldGiftitGeRen_chenxin_998371(RRRRR°Rît
ItemCommontGetItemPackSpaceRßtrptItemRt
NotifyCodeRRR"tGivePlayerItemR    (R tisGettrewardItemListt    needSpacet    packSpacet isAuctionItemtitemIDt    itemCount((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnGetDayFreeGoldGift¢s"  #
cCs5tjƒ}|jtjƒ|_tj||ƒdS(N(RittagMCDayFreeGoldGiftStateRRRtDayFreeGoldGiftStateRpRq(R t
clientPack((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR    Às c     Cs|jtjƒ}|rdSt}tjddƒ}x.|D]&}|jtj|ƒr;t}Pq;q;W|sodStjddƒ}tj    ||ƒs—dSt
j |tjdƒxE|D]=\}}}tj ||||t jgddtigƒq´Wt|ƒdS(NtOnlineRechargeTHiiiR(RRR
RRR°R0RR"tCheckPackSpaceEnoughRRR‡RßR…R (    R t
awardStatetcanGett needCtgIDListRÃt awardItemListRRŽRŒ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnGetOnlineRechargeTHÉs( 
cCs5tjƒ}|jtjƒ|_tj||ƒdS(N(RittagMCOnlineRechargeTHRRR
t
AwardStateRpRq(R R’((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR çs i((TRR"RRßR5RRiRpR*RRzR¹R·R8R:R;R=R?R6RMR2RBRäR4R/R1R@tOpenServerCampaignRJRGRáRDRURQRSRƒRûR`RR%trangetPayOrderTypeListtPayOrderType_RMBtPayOrderType_USDtPayOrderType_VNDtPayOrderType_SohatPayOrderType_BuyOrderRhRuR»R¼RÓR¯RR RRR?RGRHRIRPRZRjRnRR‹R¤R¥RgR¶RURÚRR’RàRšR_R¾RRR    R™R (((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt<module>"s”                                       
%                                                    "                  b    a            ˜4