cehua_lyf
2019-03-06 3c8ee0a8a524a6251d7d5aae2372e76fd8a99b9c
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
vÜ"\c@skddlZddlZddlZddlZddlZddlZddlZddlZddlZdZ    da
da da dZd„Zd„Zddd„Zd    „Zd
„Zd „Zd „Zd efd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZd„Zd„Zddd„Zd„ZdS(iÿÿÿÿNs%D:\EventServer\PythonScribe\EventLog\tiicCswy\tdkrdStjƒtdtdkr5dStdkrEdStjƒdadaWntjdƒnXdS(Nii<iRsOnTimeCloseScribeTxt ³ö´í(    t g_whStartTimettimet Def_WriteTimet g_writeHandletNonetcloset g_wFileNamet    GameWorldtErrLog(((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytOnTimeCloseScribeTxt2s  
 
cCs=d}d}tjƒj||ƒtjd||fƒdS(Ntmobiles#³õʼ»¯Ê¼þ±¨¸æ: appID=%s,key=%s OK!(Rt GetGameWorldtEventReport_SetEventReportParamtLog(tappIDtkey((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt InitDllAppIDIs
c    
Cs| r| rdStjddƒ}tjddƒ}d}|rˆdtj|jƒƒ|jƒf}tj|ƒ}tj|ƒ}ndtj|ƒ}d||||||t    t
j
j ƒƒj dƒd    |f}tj d
|ƒtjƒjddddd    |ƒdS( Nt EventReportt    ProductIDt    ReportUrlRs&AccountID=%s&IP=%sss%ssC%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s%s&Time=%s&%ss.isEventReport: %s(t ReadChConfigtGetPyMongoConfigRtGetPlatformAccIDtGetAccIDtGetIPtGetPlayerPlatformtGetPlayerServerSIDtGetPlayerMainServerIDtstrtdatetimettodaytsplittDebugLogR tEventReport_EventReport(    t eventActionIDt
eventParamt    curPlayert
OperatorIDRRt
playerInfot
RegionNametgetUrl((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRWs")"cCs¦tjƒrdS|jƒtjdƒkr/dSy\tjjtƒsTtj    tƒnt
ƒ}|j d|jƒ|j ƒfƒ|j ƒWntjdƒnXdS(Nt EventReportIDs%s    %s
sscribeʼþдÈë³ö´í¡£(Rt IsCrossServertGetScribeEventNameRtGetEvalChConfigtostpathtisdirt EventFilepathtmakedirst
GetWriteIOtwritetGetCurEventStrtflushR    (t
eventClasstfp_w((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt
WriteEvents     #cCsitjjƒ}|tjdt|jtƒ}t|ƒjdƒdd jddƒ}|jddƒS(    Ntminutess.iiýÿÿÿs:s-s t_(RRt    timedeltaRtminuteRR treplace(tcurTimettmp((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytFixTime•s!)cCsAtjttjƒƒttjƒƒƒjƒ}t||dS(Ns.log(tmd5RtrandomRt    hexdigestR1(tfileStrt    sessionid((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytGetLogFileName›s1cCsitƒ}tr|tkrtSt|ƒ}tdkrDtjƒn|attdƒatjƒatS(Nsa+(    RARRRGRRtopenRR(tfileTimet curFileName((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR3Ÿs        t ScribeEventcBs#eZd„Zd„Zd„ZRS(cCsDd|_tjddƒ|_tjddƒd|_d|_dS(Ntyhlztplatformt PlatformNametServerIDiR(t product_slugRRt
agent_namet gameserver_noR(tself((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt__init__¸s    cCs2|s
dS||_ttj|jƒƒ|_dS(N(RQRRRRR(RSt accIDPlatform((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytSetEventAgentInfo¿s
    cCsddj|ƒS(Ns"%s"s","(tjoin(RSttmpList((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt GetEventStrÊs(t__name__t
__module__RTRVRY(((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRK·s         t concurrencycBs#eZd„Zd„Zd„ZRS(cCs tt|ƒjƒd|_dS(Ni(tsuperR\RT(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRTÏscCs[|jstjƒ|_n|j|j|j|jt|jƒg}tt|ƒj    |ƒS(N(
RRtGetCurrentDataTimeStrRPRQRRRR\R]RY(RSRX((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR5×s
     cCstjS(N(t ShareDefinetDef_UserAction_KeepOnline(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR,ßs(RZR[RTR5R,(((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR\Îs        tcustom_concurrencycBs#eZd„Zd„Zd„ZRS(cCs)tt|ƒjƒd|_d|_dS(NiR(R]RaRTR\t    type_name(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRTås        cCsa|jstjƒ|_n|j|j|j|jt|jƒ|jg}t    t
|ƒj |ƒS(N( RRR^RPRQRRRR\RbR]RaRY(RSRX((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR5ðs    0cCstjS(N(R_t Def_UserAction_CustomConcurrency(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR,÷s(RZR[RTR5R,(((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRaäs         t custom_eventscBs#eZd„Zd„Zd„ZRS(cCshtt|ƒjƒd|_d|_d|_d|_d|_d|_d|_    d|_
d|_ dS(NRi( R]RdRTt
account_idt
event_namet
session_idtipt account_namet account_typetchr_namet    chr_leveltcomments(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRTüs                                    c Cs‘|jstjƒ|_n|j|j|j|j|j|jt    |j
ƒ|j|j t    |j ƒ|j |j|jg }tt|ƒj|ƒS(N(RRR^RPRQRhRRReRiRRjRkRlRfRmRgR]RdRY(RSRX((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR5s     $*cCstjS(N(R_tDef_UserAction_CustomEvents(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR,s(RZR[RTR5R,(((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRdûs            tchat_logcBs#eZd„Zd„Zd„ZRS(cCsqtt|ƒjƒd|_d|_d|_d|_d|_d|_d|_    d|_
d|_ d|_ dS(NRi( R]RoRTReRktcontenttcmc_nameRhRiRjRltobjecttaddinfo(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRTs                                        cCs—|jstjƒ|_n|j|j|j|j|j|jt    |j
ƒ|j|j t    |j ƒ|j |j|j|jg}tt|ƒj|ƒS(N(RRR^RPRQRhRRReRiRRjRkRlRrRpRsRqR]RoRY(RSRX((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR50s     $0cCstjS(N(R_tDef_UserAction_ChatLog(RS((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR,9s(RZR[RTR5R,(((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRos            cCs.||}ttjd||fd|ƒdS(Ns"PlayerCount=%s&TotalPlayerCount=%s(RR_R`R(tactivePlayerCountt tjgOnlineCntR&t
realPlayer((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_concurrency>s
    cCs6tƒ}|j|ƒ||_||_t|ƒdS(N(RaRVR\RbR9(RMR\RbtcustomConcurrency((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_custom_concurrencyGs              
cCsdS(N((R%RpRqttagNameRs((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_chat_logOscCsòtjd|ƒ}|re|jƒ}|jdƒd}|||jd|ƒ!}|j||ƒ}ntjd|ƒ}|rÊ|jƒ}|jdƒd}|||jd|ƒ!}|j||ƒ}n|jddƒ}|jddƒ}|S(    s‚
    <a color="255,255,0" href="GOTO 10000,74,60">[µØÍ¼:ĺ¹âÖ®³Ç(74,60)]</a>
    <A color="205,0,0" onmouseover="ShowInfo ITEM,55986" DATA="07 04 01 00 B2 DA 00 00 00 01 00 01 
        28 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
        00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 3C 00 00 00 7B 27 32 38 27 3A 5B 
        27 31 30 32 33 34 27 5D 2C 27 31 39 27 3A 5B 27 33 35 34 27 2C 27 38 35 36 27 2C 27 33 35 
        34 27 2C 27 37 35 38 27 2C 27 39 35 31 27 2C 27 31 30 35 32 27 5D 7D 04 00 00 00 00 00 00 
        00 00 00 00 00 00 00 00 00 00 ">[ÉñÊ¥µÄ°ÁÊÀÖ®¹­ +40]</a>
    s<a color=.*?>.*?</a>s>is<s<A color=.*?>.*?</a>s Rs
(tretsearchtgrouptindexR>(Rpt    tempMatchttempStrt    markIndextrepStr((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt__GetEventChatContentjs
  ( RR_RRRCRRBR.R}R1RRRRRR
RRR9RARGR3RrRKR\RaRdRoRxRzR|R…(((sOE:\SnxxServerCode\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt<module>s:                 *                !"