hch
2025-05-16 5f8f590c4b577b1a81bbfff7aa69b8b01e7ff804
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
‡Ò%hc@s ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    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(ddl)Z)ddl*Z*ddl+Z+ddl,Z,ddl-Z-ddl.Z.ddl/Z/ddl0Z0ddl1Z1ddl2Z2ddl3Z3ddl4Z4ddl5Z5ddl6Z6ddl7Z7ddl8Z8ddl9Z9ddl:Z:ddl;Z;ddl<Z<ddl=Z=ddl>Z>ddl?Z?ddl@Z@ddlAZAddlBZBddlCZCddlDZDddlEZEddlFZFddlGZGddlHZHddlIZIddlJZJddlKZKddlLZLddlMZMddlNZNddlOZOddlPZPddlQZQddlRZRddlSZSddlTZTddlUZUddlVZVddlWZWddlXZXddlYZYddlZZZddl[Z[ddl\Z\ddl]Z]ddl^Z^ddl_Z_ddl`Z`ddlaZaddlbZbddlcZcddldZdddleZeddlfZfddlgZgddlhZhddliZiddljZjddlkZkddllZlddlmZmddlnZnddloZoddlpZpddlqZqddlrZrddlsZsddltZtd„Zud„Zvd„Zwd„Zxd„Zyd„Zzd„Z{d    „Z|d
„Z}d „Z~d „Zd „Z€d„Zd„Z‚d„Zƒd„Z„d„Z…d„Z†d„Z‡d„Zˆd„Z‰d„ZŠd„Z‹d„ZŒd„Zd„ZŽd„Zd„Zd„Z‘d„Z’d „Z“d!„Z”d"„Z•d#„Z–d$„Z—d%„Z˜d&„Z™d'„Zšd(„Z›d)„Zœd*„Zd+„Zžd,„ZŸd-„Z dS(.iÿÿÿÿNcCsdS(N((tindexttick((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnDayŠscCsdS(N((RR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnHour‹scCsdS(N((RR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnWeekŒscCsdS(N((RR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnMonthscCsdS(N((RR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnYearŽscCs¹tjdƒtjƒ}|jƒtjƒtj|ƒtjƒj    ƒ}|j
ƒxRt |j ƒƒD]>}|j |ƒ}tj|ƒs“qint|ƒt|ƒqiWt|ƒdS(NsMapServer -> OnDay!(t    GameWorldtLogtGetPlayerManagertProcessAllPlayerMailOnDayt GameLogInfotClearGameLogInfotFBLogictOnDayt GetGameWorldtGetDBMissionPubManagertCleartxrangetGetPlayerCounttGetPlayerByIndextIsNormalPlayert PlayerOnDayt PlayerOnDayExtDoLogic_OnDayEx(Rt playerManagertmissionPubManagertit    curPlayer((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyt DoLogic_OnDays  
 
 
 
 
cCs(tjdƒtjƒtj|ƒdS(NsMapServer -> OnDayEx!(RRt
PlayerMailtOnDayExt PlayerControlt"RemoveTimeoutLeaveServerPlayerInfo(R((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR«s 
 cCsxtjdƒtjt|ƒtjƒ}xHt|jƒƒD]4}|j|ƒ}tj    |ƒsfq<nt
|ƒq<WdS(NsMapServer -> OnHour!( RRR tOnHourttimeR    RRRRt PlayerOnHour(RRRR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytDoLogic_OnHour²s  cCstjdƒtjƒ}xRt|jƒƒD]>}|j|ƒ}tj|ƒsVq,nt|ƒt|ƒq,Wt    j
|ƒdS(NsMapServer -> OnWeek!( RRR    RRRRt PlayerOnWeektPlayerOnWeekExR tOnWeek(RRRR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytDoLogic_OnWeekÅs  
 cCsrtjdƒtjƒ}xRt|jƒƒD]>}|j|ƒ}tj|ƒsVq,nt|ƒt|ƒq,WdS(NsMapServer -> OnMonth!(    RRR    RRRRt PlayerOnMonthtPlayerOnMonthEx(RRRR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytDoLogic_OnMonthÖs  
cCsktjdƒtjƒ}xKtd|jƒƒD]4}|j|ƒ}tj|ƒsYq/nt|ƒq/WdS(NsMapServer -> OnYeari(RRR    trangeRRRt PlayerOnYear(RRRR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytDoLogic_OnYearås  cCstjƒj|ƒdS(N(RRtSetGameServerEventTime(R#((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytSetMapServerTimeFromGameServer÷scCsdS(N((RR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_InitOKs
cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(NisPlayerOnDay! ondayValue=%ssPlayerOnDay OK!(tGetGameServerInitOKtGameServerRefresht Set_PlayerGameServerInitOK_OnDayt__Get_Can_OnDayR tNomalDictSetPropertytChConfigtDef_PDict_OnDayt GetPlayerIDRRt__DoPlayerOnDayt ShareDefinetDef_OnEventType(Rt
ondayValuetplayerID((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRs   cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(NisPlayerOnDayEx! ondayValue=%ssPlayerOnDayEx OK!(R3R4t"Set_PlayerGameServerInitOK_OnDayExt__Get_Can_OnDayExR R7R8tDef_PDict_OnDayExR:RRR;R<tDef_OnEventTypeEx(RR>R?((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR s   cCs tjƒrdS|tjkr\tj|ƒ|jdƒtj|ƒt    j
|ƒt j |ƒt j|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒt j!|ƒt"j#|ƒt$j!|ƒt%j&|ƒ|j't(j)ƒ}|r„t%j*|t(j)dƒt+j,|t(j-dƒn|j't(j.ƒ}|rËt%j*|t(j.dƒt+j,|t(j/dƒn|j't(j0ƒ}|rt%j*|t(j0dƒt+j,|t(j1dƒn|j't(j2ƒ}|rrt%j*|t(j2dƒt+j,|t(j3dƒqrn|tj4krrt5j6|ƒt7j8|ƒt9j!|ƒt:j|ƒt;j|ƒt<j!|ƒt=j>|ƒt?j|ƒt@j!|ƒtAj#|ƒtBj#|ƒtCj#|ƒtDj#|ƒtEj|ƒtFjG|ƒtHjI|ƒtJj#|ƒtKj!|ƒtLj!|ƒtMjN|ƒntOjP||ƒtQj||ƒtRjS||ƒtTjU||ƒtVj|ƒtWj||ƒtXj!||ƒtYj|ƒtZj|ƒt[j||ƒdS(Ni(\Rt IsCrossServerR<R=tOpenServerCampaigntOnOpenServerCampaignDaytSetDayProcessGameEventCountt    PlayerPettDoLogic_PetInfo_OnDaytPlayerGameWallowtRevertHealthGame_OnDaytPlayerOnlinePrizetResetPrizeInfoOnDayt PlayerSignDayt SignDayOnDaytPlayerLoginDayAwardtNotePlayerLoginDayCntt    PlayerViptVipOnDayt
PlayerCoinRt PlayerSuccesst    SuccOnDaytPlayerNewGuyCardtNewGuyCardOndaytPlayerGoldInvesttPlayerZhanlingtPlayerTreasuretPlayerMagicWeapontPlayerGoldGifttPlayerRefineStovetPlayerBindJadeWheeltPlayerActTurntableRt
PlayerLovet DoPlayerOnDaytPlayerXiangongR t PayCoinOnDaytNomalDictGetPropertyR8tDef_PDict_GameNoticeAwardStateR7tChPlayertSync_RewardGetRecordInfotDef_RewardType_GameNoticetDef_PDict_ShareGameAwardStatetDef_RewardType_ShareGametDef_PDict_OpenSererDailyAwardt#Def_RewardType_OpenServerDailyAwardtDef_PDict_RechargeDayAwardtDef_RewardType_RechargeDayAwardRCt PlayerRecovert RecoverOnDayt
EventShelltEventResponse_OnDaytOperate_PlayerBuyZhenQit PlayerDiceExt BossHurtMngt PlayerFamilytChItemtResetItemUseCntTodaytPlayerFreeGoodst    NPCCommont FBHelpBattletPlayerCrossRealmPKtPlayerCrossChampionshiptPlayerCrossBattlefieldtPlayerFairyDomaintGameLogic_FamilyPartytOnDayFamilyPartyPlayert PlayerArenaRt PlayerAssisttPlayerMineAreat PlayerGuajitCrossPlayerDatatSendMergePlayerDataNowtFBCommontFBOnDaytPlayerActivitytFunctionNPCCommont ShopItemOnDaytPlayerFamilyRedPackettRedPacketOnDaytPlayerWishingWelltPlayerTongTianLingtPlayerActBossTrialt PlayerActTasktPlayerActLoginNewtPlayerActBuyCountGift(Rt onEventTypetgameNoticeAwardStatetshareGameAwardStatet
awardState((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR;2s’                                             cCs$|j|jƒƒ|jdƒdS(Ni(tSetLastWeekOnlineTimetGetWeekOnlineTimetSetWeekOnlineTime(R((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytCalcWeekOnlineTimeÌs cCsdS(N((R((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytResetPlayerWeekDataØscCs|jdƒdS(Ni(tSetFamilyActiveValue(R((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytCalcFamilyActiveValueâs cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(NisPlayerOnWeek! onWeekValue=%ssPlayerOnWeek OK!(R3R4t!Set_PlayerGameServerInitOK_OnWeekt__Get_Can_OnWeekR R7R8tDef_PDict_OnWeekR:RRt__DoPlayerOnWeekR<R=(Rt onWeekValueR?((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR&ìs   cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(NisPlayerOnWeekEx! onWeekValue=%ssPlayerOnWeekEx OK!(R3R4t#Set_PlayerGameServerInitOK_OnWeekExt__Get_Can_OnWeekExR R7R8tDef_PDict_OnWeekExR:RRR¤R<RC(RR¥R?((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR'þs   cCstjƒrdS|tjkrˆ|jƒ}|jƒ}t|ƒtj|ƒt    |ƒt
|ƒt j|ƒt j |tjdƒnF|tjkrÎtj|ƒtj|ƒtj|ƒtj|ƒntj||ƒtj||ƒtj||ƒdS(Ni(RRDR<R=tGetLastWeekOnlineTimetGetLastWeekFamilyActiveValueRžRTR(RR RUR R7R8tDef_Player_Dict_HasVIPClubNoteRCRrtEventResponse_OnWeekRƒtOnWeekExRwRtDoPlayerOnWeekR‰tFBOnWeekR‹RŒtShopItemOnWeek(RR–tlastWeekOnlineTimetlastWeekFamilyValue((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR¤s(   
 
 
    cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(NisPlayerOnMonth! onMonthValue=%ssPlayerOnMonth OK!(R3R4t"Set_PlayerGameServerInitOK_OnMontht__Get_Can_OnMonthR R7R8tDef_PDict_OnMonthR:RRt__DoPlayerOnMonthR<R=(Rt onMonthValueR?((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR*As   cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(Nis PlayerOnMonthEx! onMonthValue=%ssPlayerOnMonthEx OK!(R3R4t$Set_PlayerGameServerInitOK_OnMonthExt__Get_Can_OnMonthExR R7R8tDef_PDict_OnMonthExR:RRR¶R<RC(RR·R?((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR+Ss   cCsUtjƒrdS|tjkr/tj|ƒn|tjkrAntj||ƒdS(N(    RRDR<R=RTtOnMonthRCRŒtShopItemOnMonth(RR–((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR¶es cCsu|jƒs tj|dƒdS|jƒ}t|ƒs<dStjd|ƒtjƒ}tj    |t
j |j ƒdS(Nis PlayerOnYear!( R3R4t!Set_PlayerGameServerInitOK_OnYearR:t__Get_Can_OnYearRRtGetCurrentTimeR R7R8tDef_PDict_OnYeartyear(Rt curPlayerIDt curDateTime((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR.|s    cCsÀ|jƒs tj|dƒdS|jƒ}t|ƒs<dStjd|ƒtjƒjƒ}tj    ƒ}|j
}t j |t j|ƒ|dkr¢|jƒntj|ƒtj|ƒdS(Nis PlayerOnHour!(R3R4t!Set_PlayerGameServerInitOK_OnHourR:t__Get_Can_OnHourRRRtGetTickR¿thourR R7R8tDef_PDict_OnHourtDataServer_GetBillboardLVRrtEventResponse_OnHourR€R"(RRÂRRÃtcurHour((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR$”s             cCs.tjƒ}t|jƒƒtƒtƒdS(N(t IPY_GameWorldtIPY_MOnAllMapServerInitOKR1tGetTimet!__DoLogic_OpenMapCheckRebornPointt"__DoLogic_OpenMapCheckMissionCount(RRtpack((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnAllMapServerInitOKÇs
 cCs tjƒjƒsdStjdƒ}tjdƒ}|\}}t|ƒ}||kr‰tjd||fƒtd||fƒ‚dSd}x0|jƒD]"}d|kr´qœn|d7}qœW||krÿtjd||fƒtd||fƒ‚dStj    d||||fƒdS(    NtMissionAcceptMapIDtMissionMaxCounts&ÈÎÎñ×ÜÊý³¬±ê, maxCnt = %s, curCnt = %siiÿÿÿÿis.È«ÇøÈ«·þÈÎÎñ×ÜÊý³¬±ê, maxCnt = %s, curCnt = %ssHÑéÖ¤ÈÎÎñÊýÍê±Ï, cnt = %s, maxCnt = %s, allMapCnt = %s, maxAllMapCnt = %s(
RRt GetDebugLevelt ReadChConfigtGetEvalChConfigtlentErrLogt BaseExceptiontvaluesR(tallMissionDicttmissionCntListttotalAcceptMissionCnttallMapAcceptMissionCntt allMissionCnttallMapMissionCnttvalue((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRÐØs*     c Cs]tjƒjƒsdStjƒ}|jƒ}tjƒ}|jƒ}xùtd|ƒD]è}|j|ƒ}|j    ƒ}|j
ƒ}|j ƒ}x¬t||||dƒD]}    x†t||||dƒD]i}
|j |    |
ƒrëqÍntj d||||||    |
fƒtd||||||    |
fƒ‚qÍWq«WqVWtjd||fƒdS(Niis~µØÍ¼ID = %s ÖØÉúµã×ø±ê²»ºÏ·¨, index = %s, br_PointPosX = %s, br_PointPosY = %s, br_Round = %s, checkPosX = %s, checkPosY = %s s$ÑéÖ¤ÖØÉúµãÍê±Ï, mapID = %s, cnt = %s(RRt IsTrueDebugt GetGameDatatGetBornRefreshCounttGetMaptGetMapIDR-tGetBornRefreshByIndextGetPosXtGetPosYtGetRoundt
IsValidPosRÙRÚR( tgameDatatbr_Countt
mapManagertmapIDRtbr_Pointt br_PointPosXt br_PointPosYtbr_Roundt    checkPosXt    checkPosY((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRÏs&       ""&1cCsž|dkr&tj|tjdƒdS|dkrbtj|tjdƒtj|tjdƒdS|dkr´tj|tjdƒtj|tjdƒtj|tjdƒdS|dkrtj|tjdƒtj|tjdƒtj|tjdƒtj|tjdƒdS|dkrštj|tjdƒtj|tjdƒtj|tjdƒtj|tjdƒtj|tjdƒdSdS(NtGMOnHouritGMOnDaytGMOnWeekt    GMOnMonthtGMOnYear(R R7R8RÈR9R£RµRÀ(Rt    eventName((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyt
GMDateTimes4     cCs|jƒ}|jƒ}tjƒ}|dks<|dkrL|j|ƒnt|ƒret|ƒnt|ƒr~t|ƒnt    |ƒr—t
|ƒnt |ƒr°t |ƒnt |ƒrÉt|ƒnt|ƒrât|ƒnt|ƒrût|ƒnt|ƒrt|ƒndS(Ntt0(t GetLogoffTimetstripRtGetCurrentDataTimeStrt SetLogoffTimeRÅR$R6RRARR¢R&R§R'R´R*R¹R+R¾R.(RtlastLoginTimeStrt
curTimeStr((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytUpdatePlayerLoginTimeMs,                   c
Cs¦tjƒ}|j}|j}|j}|j}|jtjƒ}|jtj    ƒ}|jtj
ƒ}|jtj ƒ}    ||kp¥||kp¥||kp¥||    kS(N( RR¿RÇtdaytmonthRÁReR8RÈR9RµRÀ(
RRÃt dateTime_Hourt dateTime_DaytdateTime_Montht dateTime_Yeart player_Hourt
player_Dayt player_Montht player_Year((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRÅ|s                 cCs‰tjƒ}|j}|j}|j}|jtjƒ}|jtjƒ}|jtj    ƒ}||ks||ks||kr…|SdS(Ni(
RR¿RRRÁReR8R9RµRÀ(RRÃR
R R RRR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR6‘s             $c Cstjƒ}|jtjƒ}|r¶|d}|dd}|d}tj|||dddƒ}||}|j}|j}    |dkrdS|dkr¶|    tj    dkr¶dSn|j
tj    krá|tj ddƒ}n|j }
|j } |j} | d| d|
S(sPÅжϿɷñÁ賿Xµã¹ýÌì
    @return: 0-²»¿É£» >0-¿ÉÒÔ, ÇÒ´ú±íµÄÊǹýÌìÐè¼Ç¼µÄÖµ
    i'idiiitdays(RR¿ReR8RBtdatetimeRtsecondsR<tDef_OnEventHourRÇt    timedeltaRRRÁ( RRÃt lastOndayExtlastOndayEx_YeartlastOndayEx_MonthtlastOndayEx_Dayt lastDatetimetpassTimetpassDayst passSecondsR
R R ((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRA s( 
 
 
                     cCsHtjƒ}tjj|ƒd}|jtjƒ}||krD|SdS(Nii(RR¿Rt isocalendarReR8R£(RRÃt dateTime_Weekt player_Week((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR¢Ðs   cCsGtjƒ}tjj|ƒ}|\}}}|jtjƒ}|ré|d}|d}||kru||krudS|dkré|tjddƒ}    tjj|    ƒ\}
} } |
|kræ| |kræ|jt    j
krãdSqæqén|dkr;|jt    j
kr;|tjddƒ} tjj| ƒ\}}}n|d|S(sPÅжϿɷñÁ賿Xµã¹ýÖÜ
    @return: 0-²»¿É£» >0-¿ÉÒÔ, ÇÒ´ú±íµÄÊǹýÖÜÐè¼Ç¼µÄÖµ
    idiiRi( RR¿RRReR8R¨RRÇR<R(RRÃRt dateTime_yeart dateTime_weekt dateTime_dayt lastOnWeekExtlastOnWeekEx_YeartlastOnWeekEx_WeektpreWeekDateTimet preWeek_yeart preWeek_weekt preWeek_daytonWeekDateTime((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR§Ûs* 
 
 cCsbtjƒ}|j}|j}|jtjƒ}|jtjƒ}||ksZ||kr^|SdS(Ni(RR¿RRÁReR8RµRÀ(RRÃR R RR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR´s         c
CsOtjƒ}|j}|j}|j}|jtjƒ}|rê|d}|d}||kro||krodS|dkrê|dkrdn|d}|dkr©|n|d}    |    |krç||krç|jt    j
krädSqçqên|dkrC|jt    j
krC|dkrdn|d}|dkr6|n|d}n|d|S(sPÅжϿɷñÁ賿Xµã¹ýÔÂ
    @return: 0-²»¿É£» >0-¿ÉÒÔ, ÇÒ´ú±íµÄÊǹýÔÂÐè¼Ç¼µÄÖµ
    idiii ( RR¿RRRÁReR8RºRÇR<R(
RRÃR#tdateTime_monthR!t lastOnMonthExtlastOnMonthEx_YeartlastOnMonthEx_MonthtpreMonth_montht preMonth_year((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR¹s,             
 
 cCs1tjƒ}|j}|jtjƒ}||kS(N(RR¿RÁReR8RÀ(RRÃR R((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR¾Ts     cCs tjƒ}t|jƒƒdS(N(RÌtIPY_MOnTimeSyncR1RÎ(RRRÑ((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnTimeSyncns cCsØtjƒ}|jƒ}|jtjd ƒsBtjd|ƒn|jtj    ƒ}t
|ƒdkrã |d}|d}|tj krœt |ƒt _dS|tjkr¾t |ƒt _dS|tjkràt |ƒt _dS|tjkrt |ƒt _tj|ƒdS|tjkr1t |ƒt _dS|tjkrSt |ƒt _dS|tjkrut |ƒt _dS|tjkrµtjƒjƒt j!kr±t |ƒt _"ndS|tj#krt |ƒ\}}}    tjƒjƒ|krt$j%||    ƒndS|tj&kr.t'j(t |ƒƒdS|tj)kr}t |ƒ}
tjƒjƒ|
dkryt*j+|
dƒndS|tj,krÊt |ƒ\}} tjƒjƒ|krÆt-j.| ƒndS|tj/krt |ƒ\}} tjƒjƒ|krt-j0| ƒndS|tj1kr]t |ƒ\} }| rPt j2|7_2n    |t _2dS|tj3kr©t |ƒ}x*|j4ƒD]\}}t5j6||ƒq…WdS|jtj7d ƒr    tj7d }|t
|ƒ}t |ƒ}|j8tj9dƒ}|tj:kr`|s-tj;d||fƒdS|t j<krLit j<|<n|t j<||<n |t j<|<|tj=kr‰t5j>ƒn‰|tj?kr¨t@jA|ƒnj|tjBkrÇtCjD|ƒnK|tjEkrætFjG|ƒn,|tjHkrtIjJ|ƒn |tjKkr$tLjM|ƒnî|tjNkrCtOjP|ƒnÏ|tjQkrbtRjS|ƒn°|tjTkrtUjV|ƒn‘|tjWkr tXjY|ƒnr|tjZkr¿t[j\|ƒnS|tj]krÞt^j_|ƒn4|tj`krútajbƒn|tjckrtdje|ƒnù|tjfkr8tgjh|ƒnÚ|tjikrWtjjk|ƒn»|tjlkrstmjnƒnŸ|tjokr’tpjq|ƒn€|tjrkr±tsjt|ƒna|tjukrÍtvjwƒnE|tjxkrétyjzƒn)|tj{krt|j}|ƒn
|tj~kr$tj€ƒnî|tjkrCt‚jƒ|ƒnÏ|tj„kr_t…j†ƒn³|tj‡kr~tˆj‰|ƒn”|tjŠkrt‹jŒ|ƒnu|tjkr¼tŽj|ƒnV|tjkrÛt‘j’|ƒn7|tj“kr÷t”j•ƒn|tj–krt—j˜|ƒnü|tj™kr2tšj›ƒnà|tjœkrNtjžƒnÄ|tjŸkrjt j¡ƒn¨|tj¢kr†t£j¤ƒnŒ|tj¥kr¢t¦j§ƒnp|tj¨kr¾t©jªƒnT|tj«krÚt¬j­ƒn8|tj®kröt¯j°ƒn|tj±kr    t²j³ƒndS|jtj´d ƒr|
tj´d }|t
|ƒ}|t jµkrh    it jµ|<nt jµ|}|j¶t |ƒƒtj·ƒr˜    dS|tj¸kr´    t¹jºƒnÄ|tj»krР   t¼j½ƒn¨|tj¾krì    tdj¿ƒnŒ|tjÀkr
tIjÁƒnp|tjÂkr$
tLjÃnT|tjÄkr@
tOjŃn8|tjÆkr\
tÇjȃn|tjÉkrx
tÊj˃ndS|tjÌkr˜
|t _ÍdS|tjÎkr t |ƒt _ÏtjЃ}xKtÑ|j҃ƒD]7}|jÓ|ƒ}tjÔ|ƒsÿ
ntÕjÖ|ƒqÕ
WdS|tj×kr@ t |ƒt _ØtÙjڃdS|tjÛkrf tÜjÝt |ƒƒdS|tjÞkrˆ t |ƒt _ßdS|tjàkrª t |ƒt _ádS|jâƒrÅ tã|ƒ}q tj;d||fƒdSn3|d    kr tjä}d}ntj;d
|ƒdStjåƒ}|tjäkrA tæ||ƒn|tjçkr` tèjé|ƒnâ|tjêt jëkr¡ |jì|ƒ|krBtíjî||ƒqBn¡|tjêt jïkrâ |jì|ƒ|krBtðjñ||ƒqBn`|tjòtjógkr& |jì|ƒ|krBtôjõ||ƒqBn|tjòtjökrg |jì|ƒ|krBt÷jø||ƒqBnÛ|tjùtjúkr¨ |jì|ƒ|krBtûjü||ƒqBnš|tjýkrB|rB|jì|ƒ|krB|jþ||ƒtjЃ}xNtÑ|j҃ƒD]7}|jÓ|ƒ}tjÔ|ƒs+qntÿj|ƒqWqBn|jì|ƒ}|jþ||ƒ|jd ƒr€tj|ƒnT|tjkrœtjƒn8|tjòtjkrÔ||krÔt$j||ƒqÔndS( Niýÿÿÿs GameServer_BroadcastMsg msg = %siiiiþÿÿÿsAMultiActNumOperation can not found actNum. actionName=%s,msg = %ss*GameServer_BroadcastMsg unKnowMsg: %s = %st ReloadConfigs+GameServer_BroadcastMsg unKnowMsg, msg = %stGameWorldBossReborn_(RÌtIPY_MBroadcastMsgtGetMsgt
startswithR<t'Def_Notify_WorldKey_GameWorldBossRebornRRtsplittDef_Notify_SeparatorRØt*Def_Notify_WorldKey_CommMapLinePlayerCounttevalt
PyGameDatatg_commMapLinePlayerCountDictt#Def_Notify_WorldKey_BossShuntPlayertg_bossShuntPlayerInfot&Def_Notify_WorldKey_BossShuntLineStatetg_bossShuntLineStatet0Def_Notify_WorldKey_FamilyKillHorsePetRobBossCntt"g_familyKillHorsePetRobBossCntDictt FamilyRobBosst$OnFamilyKillHorsePetRobBossCntChanget*Def_Notify_WorldKey_FBEnterTimeLimiitMapIDtFBEnterTimeLimiitMapIDt Def_Notify_WorldKey_FBOpenRecordtFBOpenTimeRecordt Def_Notify_WorldKey_VSFamilyInfot VSFamilyInfot#Def_Notify_WorldKey_FamilyPartyInfoRæRçR8tDef_FBMapID_FamilyPartytg_familyPartyInfot0Def_Notify_WorldKey_FamilyPartyAddFamilyActivityRtDoAddFamilyMemberFamilyActivityt$Def_Notify_WorldKey_FamilyZhenfaInfotPlayerFamilyZhenfatGameServer_FamilyZhenfatDef_Notify_WorldKey_AssistBossR„tGameServer_AssistBossMsgt(Def_Notify_WorldKey_AddFamilyAuctionItemtPlayerAuctionHousetDoAddFamilyAuctionItemt(Def_Notify_WorldKey_AddSystemAuctionItemtDoAddSystemAuctionItemt$Def_Notify_WorldKey_FairyDomainLimittg_fairyDomainLimittDef_Notify_WorldKey_CoupleInfotitemsR t SetCoupleInfot'Def_Notify_WorldKey_OperationActionInfotgett ActKey_ActNumtMultiActNumOperationActNameListRÙtg_operationActionDicttOperationActionName_ExpRatetRefreshOperationAction_ExpRatetOperationActionName_CostRebatetPlayerCostRebatetRefreshCostRebateActionInfot!OperationActionName_TotalRechargetPlayerActTotalRechargetRefreshTotalRechargeActionInfot"OperationActionName_GarbageSortingtPlayerActGarbageSortingtRefreshGarbageSortingActionInfotOperationActionName_XianXiaMJtPlayerActXianXiaMJtRefreshXianXiaMJActionInfotOperationActionName_GubaotPlayerActGubaotRefreshGubaoActionInfot!OperationActionName_HorsePetTraintPlayerActHorsePetTraintRefreshHorsePetTrainActionInfotOperationActionName_GodGifttPlayerActGodGifttRefreshGodGiftActionInfot#OperationActionName_ManyDayRechargetPlayerActManyDayRecharget RefreshManyDayRechargeActionInfot"OperationActionName_SingleRechargetPlayerActSingleRechargetRefreshSingleRechargeActionInfotOperationActionName_TurntableR`tRefreshTurntableActionInfotOperationActionName_SpringSaletPlayerSpringSaletRefreshSpringSaleActionInfotOperationActionName_BossReborntPlayerBossRebornt!RefreshOperationAction_BossReborntOperationActionName_BossTrialR’tRefreshBossTrialActionInfot!OperationActionName_HorsePetFeasttPlayerActHorsePetFeastt$RefreshOperationAction_HorsePetFeastt OperationActionName_FlashGiftbagtPlayerFlashGiftbagtRefreshFlashGiftbagActionInfot OperationActionName_DailyGiftbagtPlayerDailyGiftbagtRefreshDailyGiftbagActionInfotOperationActionName_BuyOnetPlayerActBuyOnetRefreshBuyOneActionInfot#OperationActionName_FamilyCTGAssisttPlayerActFamilyCTGAssistt RefreshFamilyCTGAssistActionInfot!OperationActionName_FairyCeremonytPlayerFairyCeremonyt$RefreshOperationAction_FairyCeremonyt$OperationActionName_NewFairyCeremonytPlayerNewFairyCeremonyt'RefreshOperationAction_NewFairyCeremonytOperationActionName_FlashSaletPlayerFlashSaletRefreshflashSaleActionInfotOperationActionName_WishingWellRtRefreshWishingWellActiont OperationActionName_CollectWordstPlayerActCollectWordstRefreshActCollectWordsInfotOperationActionName_WeekPartytPlayerWeekPartyt RefreshOperationAction_WeekPartyt OperationActionName_BuyCountGiftR•tRefreshBuyCountGiftActionInfotOperationActionName_ActTaskR“tRefreshActTaskActionInfotOperationActionName_YunshitPlayerActYunshitRefreshActYunshiActionInfotOperationActionName_LunhuidiantPlayerActLunhuidiantRefreshActLunhuidianActionInfotOperationActionName_LoginAwardtPlayerActLogint!RefreshOperationAction_LoginAwardtOperationActionName_ActLoginNewR”tRefreshActLoginActionInfotOperationActionName_FeastLogintPlayerFeastLogintRefreshFeastLoginActionInfotOperationActionName_FeastWishtPlayerFeastWishtRefreshFeastWishActionInfotOperationActionName_FeastTraveltPlayerFeastTraveltRefreshFeastTravelActionInfot"OperationActionName_FeastWeekPartytPlayerFeastWeekPartyt%RefreshOperationAction_FeastWeekPartyt"OperationActionName_FeastRedPackettPlayerFeastRedPackett%RefreshOperationAction_FeastRedPackett!OperationActionName_LuckyTreasuretPlayerLuckyTreasuretRefreshLuckyTreasureActiont!OperationActionName_RechargePrizetPlayerActRechargePrizetRefreshRechargePrizeActionInfotOperationActionName_GrowupBuytPlayerActGrowupBuytRefreshGrowupBuyActionInfot&OperationActionName_RechargeRebateGoldtPlayerActRechargeRebateGoldt#RefreshRechargeRebateGoldActionInfot Def_Notify_WorldKey_CrossActInfotg_crossActInfoDicttupdateRDtCrossActName_CTGBillboardtCrossActCTGBillboardtRefreshCrossActCTGBillboardInfotCrossActName_AllRechargetCrossActAllRechargetRefreshCrossActAllRechargeInfotCrossActName_BossTrialtRefreshCrossActBossTrialInfotCrossActName_XianXiaMJtRefreshCrossActXianXiaMJInfotCrossActName_GubaotRefreshCrossActGubaoInfotCrossActName_HorsePetTraint RefreshCrossActHorsePetTrainInfotCrossActName_LianqitPlayerActLianqitRefreshCrossActLianqiInfotCrossActName_FamilyGCZtPlayerActFamilyGCZtRefreshActFamilyGCZInfot!Def_Notify_WorldKey_CrossZoneNametg_crossZoneNamet#Def_Notify_WorldKey_CrossServerTimetg_crossServerTimeInfoR    RRRRRgtSync_PyServerDataTimeToClientt%Def_Notify_WorldKey_LuckyCloudBuyInfotg_luckyCloudBuyInfotPlayerLuckyCloudBuytOnLuckyCloudBuyChanget%Def_Notify_WorldKey_FuncTeamMemIDInfotPlayerFuncTeamtOnFuncTeamMemIDRefresht0Def_Notify_WorldKey_CrossBattlefieldCallTeamInfotg_crossBattlefieldCallTeamInfot2Def_Notify_WorldKey_CrossBattlefieldSysCallBuyInfot g_crossBattlefieldSysCallBuyListtisdigittintt Def_Notify_WorldKey_ReloadConfigRt__DoLogic_OtherReloadDictt#Def_Notify_WorldKey_CrossPKSeasonIDR}tOnCrossRealmPKSeasonChangetDef_Notify_WorldKey_FBFuncStatetDef_FBMapID_FamilyInvadetGetGameWorldDictByKeytGameLogic_FamilyInvadetOnFamilyInvadeStateChangetDef_FBMapID_ElderBattlefieldtGameLogic_ElderBattlefieldtOnElderBattlefieldStateChanget$Def_Notify_WorldKey_DailyActionStatetDailyActionID_FamilyBoss1tGameLogic_AllFamilyBosstOnAllFamilyBossStateChangetDailyActionID_HorsePetBosstGameLogic_HorsePetBosstOnHorsePetBossStateChanget)Def_Notify_WorldKey_CrossDailyActionStatetCrossDailyActionID_YaomoBosstPlayerCrossYaomoBosstOnYaomoBossStateChanget"Def_Notify_WorldKey_WorldAverageLvtSetGameWorldDicttPlayerWorldAverageLvtUpdatePlayerWorldAverageLvtNPCCustomRefreshtProcessAllNPCRefresht$Def_Notify_WorldKey_ChampionFamilyIDtGameLogic_FamilyWartOnChampionFamilyIDChangetDailyActionID_FamilyPartytOnFamilyPartyStateChange(RRRÑtmsgtmsgListtkeytmsgValueRðtfamilyIDtaddFamilyActivityt
assistDatatfamilyAuctionItemDicttsysAuctionItemListtisAddt    limitListtsyncCoupleInfoR?t
coupleInfotkeyHeadt
actionNametactInfotactNumt actInfoDictRRRât gameWorldMgrtbefValue((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_BroadcastMsg‚s
 
 
                                           
                  cCsu|jtj|ƒ|jtj|ƒtjjƒtjddƒrqtj    ƒj
ƒ}t j |ƒt jƒndS(Nt ReloadQuestsi(RR<t$Def_Notify_WorldKey_ReloadTexCaptchat%Def_Notify_WorldKey_ReloadJpegCaptchat IpyGameDataPYtIPYDatat IpyDataCleart
GetFuncCfgRRRÆt QuestManagerR8RrtDoReloadRefresh(R5RâR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRs   cCstj|ƒdS(N(R tOnInit(RR((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytOnServerVersionSetting9s (¡RÖR8RRrR RÌRgR R4R<RJRtRNRTR RRwRTRLRRPR{RŒR]R‹R_R‰RURzR\RxRYRWR}R~RRHRvRpRRŽRR RRRRERjRÜRßR©RmRpRsRvRyRêR|RíR›RÖRR‚RÐRÓR`R’R˜R‡RŠR¬RÇRÄR¾RÁR“R³R¶R•R”R¹R’R•RžR¡RRÊRRöRÍRYR‘R^R¤RR€R‡R[RZRRRaRuR;RFR|R?R„RƒR>t    PlayerTJGR†RcRùR…RRR#RRRRRRRR%R)R,R/R1R2RRR;RRžR R&R'R¤R*R+R¶R.R$RÒRÐRÏRýRRÅR6RAR¢R§R´R¹R¾R3R7RRB(((sV.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyt<module>sB                                                                                                                                                                     
                 š         
    
            1                    3        *        .    /            0         6         7            ÿ–    "