hwj35
3 天以前 6b4be0aefa119cfa2a370944596a50b712cf04f9
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
î_bhc@sNddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    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'ddl(Z(e)dd&ƒZ*\Z+Z,Z-Z.Z/Z0e,Z1dZ2dZ3dZ4dZ5d„Z6d    „Z7d
„Z8d „Z9d „Z:d „Z;d„Z<d„Z=d„Z>d„Z?d„Z@d„ZAd„ZBd„ZCid„ZDd„ZEe1d„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 GetCoinRatedscCs[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.pytOnLoginfs    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.pyRos     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.pytOnQueryCoinToGoldCounts    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.pytOnSelectCTGItems&          c
CsÃtjƒj|ƒ}|j}|j}tjd||ƒ}|sFdStj|ƒ}|rg|j    ƒn    |j
ƒ}t ƒ}    t j |dƒ|    _||    _||    _d|    _t||    dtƒdS(Nt    OrderInfoidttCoinBuyOrderInfo(RRJRKtAppIDR[RRStPlayerSuperDiscounttGetSuperDiscountStatet GetUsdMoneyt GetPayRMBNumtCPY_PlayerCoinToGoldtCommFunct    RMBToCointuseCoint    orderInfotappIDtorderIDtPlayerCoinToGoldtPayOrderType_PayCoin(
RMRNROR RhRgR<t discountStatetusdMoneyt 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Æ ³äÖµ¶Ò»»³É´ú±Ò
                Ò»°ã¿ÉÓÃÓÚһЩ³äÖµ¶©µ¥¶Ò»»ÓÎÏ·¹¦ÄÜʱ£¬ÓÎÏ·¹¦ÄÜÓÐÏÞÖÆÈçÏÞ¹º£¬
                ¸Ã³äÖµÊÓΪ³É¹¦£¬²¢×ª»¯Îª¶ÔÓ¦´ú±Ò£¬¿ÉÒÔÀí½âΪÀàËÆ³äÖµµãȯ£¬´ú±Ò¿ÉÓÃÓÚÏ´γäֵʱ֧¸¶£»
    RgR\tpayCoinit payOrderTypeNt    eventNametExchangePayCoinsm³äֵת»¯Îª´ú±Ò: orderInfo=%s,payCoin=%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 SendMailByKeyRkt GetGameWorldtGetGameWorldDictByKeytDef_Notify_WorldKey_ServerDaytupdatetCoinType_ExchangePayCointGetVIPLvtDR_CTGOK(R RYt    addDRDictRgRpRqRrR9t
befPayCoinR=t
aftPayCoint addItemListt    paramListt    serverDay((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRs?s.         cCsHtjddƒ}|sdStjddƒ}t||tj|ƒdS(NtCornerPresentedMoneyii(RRtPlayerCoinToGoldExRt Def_GiveMoney_SuperAccountCreate(R tgiveCoinByCreatetisAddBourseMoney((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytGiveGoldByCreateas 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=%sit    orderCoinR“RrtcoinExp(RtGetPlayerPlatformtNoneRR)R*tGetOrderInfoCounttGetOrderInfoByIndextGetAppIDRbtGetCTGIDt GetGiftbagIDRR(t
GetCoinExpRdReRt
DoCTGLogicRt CoinType_GoldR(R torderRMBRrR“Rht    payRMBNumt oneRMBIpyDataR:R;R<t oneRMBCoinExpt    prizeGoldt giveItemListR•R–taddGoldR‰((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRjs* >  +cCsdS(N((R R¡RrR“t addDataDict((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt PlayerItemCTG†s
c    Cs•tjd||ƒ}|sdStj|ƒ}|r@|jƒn    |jƒ}tƒ}tj|dƒ|_    ||_
||_ ||_ t |||ƒS(NR[id(RRSR_R`RaRbRcRdReRfRgRhR“Rj(    R RgRhR“RrR<RlRmRn((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytDoGMCTG’s                cCst|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
|    ƒdSt j |ƒ} tjd |||f|jƒƒ|} |} | r?|
jƒn    |
jƒ}tjd ||| | f|jƒƒ||    d<| |    d <| |    d<tjd| || f|jƒƒ| tj|dƒkrëtj    |d|| f|    ƒdS|tkrÂ|
jƒr]t
j d|
jƒƒ}|r]|jƒtkrZtjd||f|jƒƒdSq]ntj|tj| |i|tj6|d6ƒsÂtjd||| tj|ƒf|jƒƒdSn||    d<dddgdf\}}}}}|
jƒr6t!||
jƒ|    ƒ}|sdS|\}}}}}nŒ|
j"ƒr«|
j"ƒ}d|koedknr†t#j$|||    ƒs¨dSqÂt%j&||
j"ƒg|    ƒsÂdSntj    |d|    ƒdS|
j'ƒ}|rõ|jƒt(t)gkrõtj*ntj+}t,|||||||||    |||ƒ s/dS|r8n|rJ|j-ƒnd}t.|||||ƒ|j/ƒt0S(NR•RgRiR“RrRhisThe orderCoin is zero!R[sCan not found the orderInfo.s;Ó¢ÎÄ1ÕÛ³äÖµÑéÖ¤ÖÁ×ð¿¨: orderInfo=%s,orderCoin=%s,orderID=%ss@    ×ª»¯ºó: orderInfo=%s,orderCoin=%s,orderCoinUsd=%s,payCoin=%st orderCoinUsdRps:    ³äÖµÑéÖ¤: orderCoinUsd=%s,usdMoney=%s,discountState=%sidsMThe orderCoinUsd is not equal to the ipyData's UsdMoney(%s)! discountState=%sRs.´ú±Ò¿É²»ÓÃÓÚÖ§¸¶´ú±Ò³äÖµ!appID=%s,orderInfo=%ss=´ú±Ò²»×ã! appID=%s,orderInfo=%s,payCoin=%s,curPayCoinTotal=%sRqiÇsThe orderInfo is useless!(1tGetCoint GetOrderInfot
GetOrderIDtGetIsAddBourseMoneytSendDBFinishRechargeR›RR—R5R{RRSR_R`R7R(RaRbRdReRkRœt
GetPayTypetPayType_PayCoinRRtPayMoneyRR€RtDef_Cost_Reason_SonKeytGetPayCoinTotalR˜t__GetCTGInfoByIDRtPlayerDailyGiftbagtOnPlayerOrderDailyGiftbagtPlayerFlashGiftbagtOnPlayerOrderGiftbagRžt PayType_GoldtPayType_GoldPlusR t CoinType_BuyRŸR-tSync_CoinToGoldReporttSendDBQueryRechargeR(R t
chargeInfoRrRqR•RgRiR“RhR‰R<RlR«RpRmt
ctgIpyDatat    moneyTypeR§R¥R¦t ctgResultInfot    giftbagIDR–RuR$((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRj§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ƒ}| r0|r0|n|}|t j!krt"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(%RRSR5R{R…R±tPayType_GrowupBuyR@tCheckGrowupBuyStatetGetTotalBuyCountRRR0RstGetDailyBuyCountR1tGetWeekBuyCountR2tGetMonthBuyCountR3RTR.RUtminRRRRtGetCTGGiveItemListt GetMoneyTypet GetGainGoldtGetGainGoldPrizetGetFirstGoldPrizet IPY_GameWorldtTYPE_Price_Gold_MoneytPlayerActRechargePrizet DoAddPlayerActRechargePrizeCountR(R R$R‰R<tcanBuyterrInfoRÅR"RÆR#RÇR%RÈR&RXRWRFRYRÉRÊRËRÌR¦RÂ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.pyRUbs, 
 
 
 
(
    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ÿÿÿÿ(tGetGainItemListtGetActWorldLVGainItemInfoRtOperationActionName_GrowupBuyRÎR±t
PyGameDatatg_operationActionDictRytActKey_WorldLVtkeysRtsortR( R<t gainItemListtactWorldLVGainItemInfoR¦tpayTypeActNameDicttactNametactInfot
actWorldLVt
strWorldLVtactWorldLVListtworldLV((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRÕzs(  %
  ic "Cs½|    rb|    jƒtkrbtj}|jddƒ} |jddƒ}|jdtƒ} |jƒ}tj|ƒ}|rÁ|
t    j
krÁi| tj 6| d6| d6}tj ||
|||ƒntj|ƒ}t jd| || |||f|ƒt jƒjt    jƒd}|ji|d6||gd    6|jƒd
6|d 6|d 6ƒtj||ƒtS|tjtjtjgkr›tj|d ||ƒdS|jdƒr°tnt}|jdtƒ} | tkrÝt}n|jtjƒ}|jtjƒ}|jtj ƒ}|r¥|sJt!t"j"ƒƒ}tj#|tj |ƒnt$||tj%ƒ}tj#|tj|ƒt$||tj%ƒ}tj#|tj|ƒn|jddƒ} |    rÉ|    j&ƒnd}|    rá|    j'ƒnd}|j(ƒ}tj)|t    j*ƒ}|r0tj ||
|||d|ƒn|rXtj ||
|||d|ƒn|rÎt+j,||ddtj-tt.j/|ƒgdtƒ|ró|dd}tj0d||j1ƒ|dgƒqón%|rótj0d||j1ƒgƒn|s|s|rCt+j2||tj-di|||
6di| d6|d6ƒn| }t3j4||ƒ|j5ƒ}|j6t$||tj%ƒdƒtj#|tj7dƒt$|jtj8ƒ|tj%ƒ}tj#|tj8|ƒ|j(ƒ}|j5ƒ} tj)|t    j*ƒ}!|tjtjgkr[t9j:||ƒt;j:||ƒt<j=||ƒt>j?||ƒn|tjkr}t@jA||ƒntBjC|ƒtDjC|ƒtEjF|ƒtGjH|||ƒtIjJ|tjK||ƒtLjM|||ƒtNj?|||ƒtBjO||ƒtDjP||ƒtQjR|tjS|ƒtTjU|tjV|ƒ|    rÇ|    j&ƒ}tWjX||ƒtYjZ||ƒt[j\||ƒtEj]||ƒt^j_||ƒt`ja||ƒtbjc||ƒnt jƒjt    jƒd}|ji||gd6|| gd6|d6||!gd6|d6|d6|d6|d6| d6|d6|jƒd
6|d 6|d6|d6|r{t jd|ƒndd 6ƒtj||ƒt jd!|||f|jƒƒtS("NRgR\R•iRqs\³äÖµ´ú±Ò: orderInfo=%s,orderCoin=%s,payOrderType=%s,eventName=%s,befPayCoin=%s,aftPayCoin=%siRuRvRwRxRrscoinType error! coinType(%s)!RitisGiveBourseMoneyteventt isNotifyAwardt    moneyInfotdataExtctgIDtgoldtchangeCoinPointttodayCTGCoinTotalt bourseMoneyR§R¥R¦R–t    addVIPExpt ctgRealTodayt ctgRealTotaltctgRealFirstTimes%Billing: coinType=%s,eventName=%s, %s(eR±R²RtCoinType_PayCoinRyRzR(RR|RR€R}R~RR7R‚RƒR„R…R‡R5RˆRR R½tCoinType_ItemSuperR{tFalseRkRRCtDef_PDict_CTGRealTotaltDef_PDict_CTGRealFirstTimeRRRRÔRRR-t GetNotifyMarktGetGoldtGetMoneytTYPE_Price_BourseMoneyt ItemControlertGivePlayerItemOrMailt ItemGive_CTGtcopytdeepcopyt WorldNotifytGetNametNotifyGiveAwardInfot    PlayerVipt    AddVIPExptGetChangeCoinPointTotaltSetChangeCoinPointTotaltDef_PDict_FirstGoldTryRBtCrossActCTGBillboardt    AddCTGRMBtCrossActAllRechargetPlayerActManyDayRechargetAddManyDayRechargeValuetPlayerFamilyRedPackettOnPlayerRechargetPlayerActRechargeRebateGoldtAddRechargeRebateGoldRMBtPlayerFairyCeremonyt OnFCRechargetPlayerNewFairyCeremonytPlayerGoldGifttOnPlayerChargeGoldtPlayerActTotalRechargetAddTotalRechargeGoldtPlayerActGarbageSortingtAddActGarbageTaskProgresstDef_GarbageTask_CTGtPlayerActSingleRechargetUpdSingleRechargeValuetPlayerActTurntablet AddFCCTGRMBt AddFCCostGoldtPlayerWeekPartytAddWeekPartyActionCnttDef_WPAct_RechargetPlayerFeastTraveltAddFeastTravelTaskValuetDef_FeastTravel_CTGExptPlayerActFamilyCTGAssistt OnPlayerCTGR_tActSuperDiscountByCTGtPlayerGoldInvestt InvestByCTGt OnGiftByCTGIDtPlayerZhanlingtOnActiviteByCTGIDtPlayerMineAreatOnMineTreasureByCTGIDtPlayerTongTianLingtOnActiviteTTTByCTGIDtChangeTimeNumToStr("R RuR•R§R¥R¦R“RrR‰RÁRÂR–RgRqR9RŠR=R‹RŽt isRealMoneyR R R Rt
notifyMarkt
goldBeforetbourseMoneyBeforet
mainItemIDR
tchangeCoinPointBeforeRt    goldAftertchangeCoinPointAftertbourseMoneyAfter((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRŸ—sÈ               ""4(&  "      *)".#RccBsPeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z    RS(cCsCd|_d|_d|_d|_d|_d|_t|_dS(NiR\(Rft    prizeCointappendixRgRhRiRR“(tself((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt__init__'s                            cCs|jS(N(Rf(RZ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR¬6scCs|jS(N(RX(RZ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt GetPrizeCoin>scCs|jS(N(RY(RZ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt GetAppendixEscCs|jS(N(Rg(RZ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR­IscCs|jS(N(Rh(RZ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR›LscCs|jS(N(Ri(RZ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR®NscCs|jS(N(R“(RZ((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR¯Qs(
t__name__t
__module__R[R¬R\R]R­R›R®R¯(((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRc!s                            cCsotjƒ}|jƒt|ƒ|_||_||_||_||_t|jƒ|_    t
j ||ƒdS(N( tChPyNetSendPackttagMCCoinToGoldReporttClearRåtOrderLentOrderIDtCoinRLR[t OrderInfoLent NetPackCommont SendFakePack(R RitmoneyR$Rgt openGleeGame((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR¾Us 
                cCsb|dkr`g}tjƒ}x?t|jƒƒD](}|j|ƒ}|j|jƒƒq1Wn|sjdStj    ƒ}|j
ƒg|_ x°|D]¨}tj ƒ}||_ |jtj|ƒ|_|jtj|ƒ|_|jtj|ƒ|_|jtj|ƒ|_|jtj|ƒ|_|j j|ƒqWt|j ƒ|_tj||ƒdS(N(R˜RR)R*R+R,RDR-R`ttagMCCoinToGoldCountInfoRbtCTGCountInfoListttagMCCoinToGoldCountRLRRR1t TodayPayCountR0t TotalPayCountR2t WeekPayCountR3t MonthPayCountR.RQRåt RecordCountRgRh(R RER:R;R<t countInfoPackR$t    countInfo((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyRbs.   
          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(RRRRtGetFuncEvalCfgRåt
ItemCommontGetItemPackSpaceRÚtrptItemRt
NotifyCodeRRRtGivePlayerItemR    (R tisGettrewardItemListt    needSpacet    packSpacet isAuctionItemtitemIDt    itemCount((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnGetDayFreeGoldGifts"  #
cCs5tjƒ}|jtjƒ|_tj||ƒdS(N(R`ttagMCDayFreeGoldGiftStateRRRtDayFreeGoldGiftStateRgRh(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
RRRwR0RRtCheckPackSpaceEnoughRRR|RÚRzR (    R t
awardStatetcanGett needCtgIDListRt awardItemListR‚RƒR((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pytOnGetOnlineRechargeTH¦s( 
cCs5tjƒ}|jtjƒ|_tj||ƒdS(N(R`ttagMCOnlineRechargeTHRRR
t
AwardStateRgRh(R R‡((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyR Äs i((TRRRRÚR5RR`RgRRRR¹R·R-R/R0R2R4R+RBR'R7RÜR)R$R&R@tOpenServerCampaignR?R<RER_R9RLRHRJRxRòRdRRtrangetPayOrderTypeListtPayOrderType_RMBtPayOrderType_USDtPayOrderType_VNDtPayOrderType_SohatPayOrderType_BuyOrderRkRzR»R¼RÎR²RR RRR?RGRHRIRPRZRoRsR”RR©RªRjR¶RURÕR˜RÛRŸRcR¾RR„R    RŽR (((sjD:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCoin.pyt<module>"s”                                        
%                                                    "                  ]    ^        Š4