hzr
2018-08-09 3346f8aae7f8abbd4b27c4564cbb802e7e717cc9
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
Ó@sddlTddlmZmZddlmZmZddlmZddl    Te
dƒZ ddl Z ddl Z ddlZddlZddlZe jZe jZe jZe jZe jZe jZdZdadad    „Zd
„Z d „Z!d „Z"d „Z#dS(iÿÿÿÿ(t*(tCommFunctmylog(terrortGlobalFunctions(tDataServerPlayerDatasConfig.DBConfigNsPegasusCollector.dllicCstdkrtSytjtƒaWntk
rt}tjdtj    dt
|ƒt j ƒfƒ}t j|ƒtStk
rÂ}tjdtj    dt
|ƒt j ƒfƒ}t j|ƒtSXtjƒtƒ}d|_tƒ}d|_tj||ƒt jdƒtS(NRsLoadDll WindowsError = %s
%ssLoadDll Exception = %s
%stmobiles InitCollectorDll OK-------------(t g_dllInstancetNonetTruetwindllt LoadLibrarytCollector_DLL_Namet WindowsErrorRt    formatMsgt ERROR_NO_158tstrt    tracebackt
format_excRtFalset    ExceptiontEventReportEasyInittc_char_ptvaluetSetEventReportParamAtinfo(tetmsgtpAppIdtpSecret((s.\\PegasusCollectorProxy.pytInitCollectorDll*s( . . 
                 cCsPtjƒ}||_|t}|j|ƒs2dStj||jdƒjƒS(Nt0R(Rt tagDSAccounttACCIDt UCN_DSAccounttadoLoadCtmd5t LastLoginTimet    hexdigest(tdbtaccIDt
accountRect
collection((s.\\PegasusCollectorProxy.pyt GetSessionIDHs      
cCsÖdtkrdStƒ}d|_tƒ}d|_tƒ}d|_tƒ}d|_dtttt|tt    j    j
ƒƒj dƒd|f}t j d|ƒtƒ}||_tj||||d|ƒdS(NtsA%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s&Time=%s&%ss.isEventReport: %s(RRRRt    ReportUrlt    ProductIDt
OperatorIDtZoneNameRtdatetimettodaytsplitRtdebugt EventReportA(t EventActionIDt
EventParamt
pSessionIDt
pProductIDt    pZoneNamet pOperatorIDtgetUrlt pEventParam((s.\\PegasusCollectorProxy.pyt EventReportTs$                                 8        
cCs8tjƒ}dd|d|df}tt|ƒdS(NsDBServer,%d,%s,%siRtfatal(RtgetLogStaticDictR>t ReportEventID(tlogDictR7((s.\\PegasusCollectorProxy.pytErrLogEventNoticeps cCsQdtkrdStjƒ}t|tƒtdkr:dSt|ƒatƒdS(Niè(RRttimetintt
g_laskTicktReportIntervalRC(ttick((s.\\PegasusCollectorProxy.pytProcessEventNoticexs   ($tctypestCommonRRtDBCommonRRt CollectionsRtCollections.CollectionDefinet
__import__tDBConfigRtosRDR1R$R.t PlatformNameR/tServerIDR0R-tErrLogReportEventIDRAtErrLogReportIntervalRGR RRRFRR+R>RCRI(((s.\\PegasusCollectorProxy.pyt<module>s0