hxp
2018-08-25 c3f001417a8ca59a1286d71c1cbbab0109bba319
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
x{[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    
Cs| r| rdStjddƒ}tjddƒ}tjƒ}d}|r‹dtj|jƒƒ|jƒf}tj|jƒƒ}nd||||||tt    j    j
ƒƒj dƒd|f}tj d    |ƒtj ƒjddddd|ƒdS(
Nt EventReportt    ProductIDt    ReportUrlRs&AccountID=%s&IP=%ssC%s?ProductID=%s&OperatorID=%s&RegionName=%s&EventID=%s%s&Time=%s&%ss.isEventReport: %s(t ReadChConfigtGetPyMongoConfigRt GetServerSIDtGetPlatformAccIDtGetAccIDtGetIPtGetPlayerPlatformtstrtdatetimettodaytsplittDebugLogR tEventReport_EventReport(    t eventActionIDt
eventParamt    curPlayert
OperatorIDRRt
RegionNamet
playerInfotgetUrl((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 IsMergeServertGetScribeEventNameRtGetEvalChConfigtostpathtisdirt 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    timedeltaRtminuteRRtreplace(tcurTimettmp((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytFixTime‘s!)cCsAtjttjƒƒttjƒƒƒjƒ}t||dS(Ns.log(tmd5RtrandomRt    hexdigestR0(tfileStrt    sessionid((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytGetLogFileName—s1cCsitƒ}tr|tkrtSt|ƒ}tdkrDtjƒn|attdƒatjƒatS(Nsa+(    R@RRRFRRtopenRR(tfileTimet curFileName((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR2›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(RPRRtGetPlayerMainServerIDRQ(RRt accIDPlatform((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytSetEventAgentInfo»s
    cCsddj|ƒS(Ns"%s"s","(tjoin(RRttmpList((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt GetEventStrÆs(t__name__t
__module__RSRVRY(((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRJ³s         t concurrencycBs#eZd„Zd„Zd„ZRS(cCs tt|ƒjƒd|_dS(Ni(tsuperR\RS(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRSËscCs[|jstjƒ|_n|j|j|j|jt|jƒg}tt|ƒj    |ƒS(N(
RRtGetCurrentDataTimeStrRORPRQRR\R]RY(RRRX((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR4Ós
     cCstjS(N(t ShareDefinetDef_UserAction_KeepOnline(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR+Ûs(RZR[RSR4R+(((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR\Ês        tcustom_concurrencycBs#eZd„Zd„Zd„ZRS(cCs)tt|ƒjƒd|_d|_dS(NiR(R]RaRSR\t    type_name(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRSás        cCsa|jstjƒ|_n|j|j|j|jt|jƒ|jg}t    t
|ƒj |ƒS(N( RRR^RORPRQRR\RbR]RaRY(RRRX((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR4ìs    0cCstjS(N(R_t Def_UserAction_CustomConcurrency(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR+ós(RZR[RSR4R+(((s?.\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]RdRSt
account_idt
event_namet
session_idtipt account_namet account_typetchr_namet    chr_leveltcomments(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRSøs                                    c Cs‘|jstjƒ|_n|j|j|j|j|j|jt    |j
ƒ|j|j t    |j ƒ|j |j|jg }tt|ƒj|ƒS(N(RRR^RORPRhRQReRiRRjRkRlRfRmRgR]RdRY(RRRX((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR4
s     $*cCstjS(N(R_tDef_UserAction_CustomEvents(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR+s(RZR[RSR4R+(((s?.\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]RoRSReRktcontenttcmc_nameRhRiRjRltobjecttaddinfo(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRSs                                        cCs—|jstjƒ|_n|j|j|j|j|j|jt    |j
ƒ|j|j t    |j ƒ|j |j|j|jg}tt|ƒj|ƒS(N(RRR^RORPRhRQReRiRRjRkRlRrRpRsRqR]RoRY(RRRX((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR4,s     $0cCstjS(N(R_tDef_UserAction_ChatLog(RR((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR+5s(RZR[RSR4R+(((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyRos            cCs.||}ttjd||fd|ƒdS(Ns"PlayerCount=%s&TotalPlayerCount=%s(RR_R`R(tactivePlayerCountt tjgOnlineCntR%t
realPlayer((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_concurrency:s
    cCs6tƒ}|j|ƒ||_||_t|ƒdS(N(RaRVR\RbR8(RLR\RbtcustomConcurrency((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_custom_concurrencyCs              
cCsµdStƒ}|jtj|jƒƒƒtj|jƒƒ|_|jƒ|_t    |ƒ|_
||_ |j ƒ|_ |j|_d|_d|_||_||_t|ƒdS(Ni(RoRVRRRRRetGetNameRkt__GetEventChatContentRpRqRRhRiRjRlRrRsR8(R$RpRqttagNameRst chatlogEvent((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pytWriteEvent_chat_logKs                             
cCsò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((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyR|ds
  ( RR_RRRBRRAR-R€R0RRRRRR
RRR8R@RFR2RrRJR\RaRdRoRxRzRR|(((s?.\ServerPython\CoreServerGroup\GameServer\Script\EventReport.pyt<module>s:                 &                !"