cehua-HWJ35
2019-03-07 cd6fbfa9dce9c101fe7a819c811036cfbbefab8d
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
Ev\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(((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytOnTimeCloseScribeTxt2s  
 
cCs=d}d}tjƒj||ƒtjd||fƒdS(Ntmobiles#³õʼ»¯Ê¼þ±¨¸æ: appID=%s,key=%s OK!(Rt GetGameWorldtEventReport_SetEventReportParamtLog(tappIDtkey((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt InitDllAppIDIs
c
 
Cs7| r| rdStjddƒ}tjddƒ}d}|rˆdtj|jƒƒ|jƒf}tj|ƒ}tj|ƒ}n:tj|ƒ}|s¸tj    d||fƒdSd|}d||||||t
t j j ƒƒj d    ƒd
|f}    tjd |    ƒtjƒjddddd
|    ƒdS( Nt EventReportt    ProductIDt    ReportUrlRs&AccountID=%s&IP=%ssGetPlayerMainServerID: %s-%sss%ssC%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s%s&Time=%s&%ss.isEventReport: %s(t ReadChConfigtGetPyMongoConfigRtGetPlatformAccIDtGetAccIDtGetIPtGetPlayerPlatformtGetPlayerServerSIDtGetPlayerMainServerIDR    tstrtdatetimettodaytsplittDebugLogR tEventReport_EventReport(
t eventActionIDt
eventParamt    curPlayert
OperatorIDRRt
playerInfot
RegionNametsidtgetUrl((s@.\\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((s@.\\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((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytFixTime™s!)cCsAtjttjƒƒttjƒƒƒjƒ}t||dS(Ns.log(tmd5RtrandomRt    hexdigestR2(tfileStrt    sessionid((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytGetLogFileNameŸs1cCsitƒ}tr|tkrtSt|ƒ}tdkrDtjƒn|attdƒatjƒatS(Nsa+(    RBRRRHRRtopenRR(tfileTimet curFileName((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR4£s        t ScribeEventcBs#eZd„Zd„Zd„ZRS(cCsDd|_tjddƒ|_tjddƒd|_d|_dS(Ntyhlztplatformt PlatformNametServerIDiR(t product_slugRRt
agent_namet gameserver_noR(tself((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt__init__¼s    cCs2|s
dS||_ttj|jƒƒ|_dS(N(RRRRRRS(RTt accIDPlatform((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytSetEventAgentInfoÃs
    cCsddj|ƒS(Ns"%s"s","(tjoin(RTttmpList((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt GetEventStrÎs(t__name__t
__module__RURWRZ(((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRL»s         t concurrencycBs#eZd„Zd„Zd„ZRS(cCs tt|ƒjƒd|_dS(Ni(tsuperR]RU(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRUÓscCs[|jstjƒ|_n|j|j|j|jt|jƒg}tt|ƒj    |ƒS(N(
RRtGetCurrentDataTimeStrRQRRRSRR]R^RZ(RTRY((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR6Ûs
     cCstjS(N(t ShareDefinetDef_UserAction_KeepOnline(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR-ãs(R[R\RUR6R-(((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR]Òs        tcustom_concurrencycBs#eZd„Zd„Zd„ZRS(cCs)tt|ƒjƒd|_d|_dS(NiR(R^RbRUR]t    type_name(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRUés        cCsa|jstjƒ|_n|j|j|j|jt|jƒ|jg}t    t
|ƒj |ƒS(N( RRR_RQRRRSRR]RcR^RbRZ(RTRY((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR6ôs    0cCstjS(N(R`t Def_UserAction_CustomConcurrency(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR-ûs(R[R\RUR6R-(((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRbès         t custom_eventscBs#eZd„Zd„Zd„ZRS(cCshtt|ƒjƒd|_d|_d|_d|_d|_d|_d|_    d|_
d|_ dS(NRi( R^ReRUt
account_idt
event_namet
session_idtipt account_namet account_typetchr_namet    chr_leveltcomments(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRUs                                    c Cs‘|jstjƒ|_n|j|j|j|j|j|jt    |j
ƒ|j|j t    |j ƒ|j |j|jg }tt|ƒj|ƒS(N(RRR_RQRRRiRSRfRjRRkRlRmRgRnRhR^ReRZ(RTRY((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR6s     $*cCstjS(N(R`tDef_UserAction_CustomEvents(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR-s(R[R\RUR6R-(((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyReÿs            tchat_logcBs#eZd„Zd„Zd„ZRS(cCsqtt|ƒjƒd|_d|_d|_d|_d|_d|_d|_    d|_
d|_ d|_ dS(NRi( R^RpRURfRltcontenttcmc_nameRiRjRkRmtobjecttaddinfo(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRU!s                                        cCs—|jstjƒ|_n|j|j|j|j|j|jt    |j
ƒ|j|j t    |j ƒ|j |j|j|jg}tt|ƒj|ƒS(N(RRR_RQRRRiRSRfRjRRkRlRmRsRqRtRrR^RpRZ(RTRY((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR64s     $0cCstjS(N(R`tDef_UserAction_ChatLog(RT((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR-=s(R[R\RUR6R-(((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRp s            cCs.||}ttjd||fd|ƒdS(Ns"PlayerCount=%s&TotalPlayerCount=%s(RR`RaR(tactivePlayerCountt tjgOnlineCntR&t
realPlayer((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_concurrencyBs
    cCs6tƒ}|j|ƒ||_||_t|ƒdS(N(RbRWR]RcR:(RNR]RctcustomConcurrency((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_custom_concurrencyKs              
cCsdS(N((R%RqRrttagNameRt((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_chat_logSscCsò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?(Rqt    tempMatchttempStrt    markIndextrepStr((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt__GetEventChatContentns
  ( RR`RRRDRRCR/R~R2RRRRRR
RRR:RBRHR4RsRLR]RbReRpRyR{R}R†(((s@.\\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt<module>s:                 .                !"