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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
 wc\c@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    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@ddlAZAddlBZBddlCZCddlDZDddlEZEddlFZFddlGZGd„ZHd„ZId„ZJd„ZKd„ZLd„ZMd„ZNd    „ZOd
„ZPd „ZQd „ZRd „ZSd„ZTd„ZUd„ZVd„ZWd„ZXd„ZYd„ZZd„Z[d„Z\d„Z]d„Z^d„Z_d„Z`d„Zad„Zbd„Zcd„Zdd„Zed „Zfd!„Zgd"„Zhd#„Zid$„Zjd%„Zkd&„Zld'„Zmd(„Znd)„Zod*„Zpd+„Zqd,„Zrd-„Zsd.„Ztd/„ZudS(0iÿÿÿÿNcCs$tjtƒ||ƒt|ƒdS(N(t    GameWorldt GetPsycoFunct__Func_GameServer_OnDaytCheckMachineTick(tindexttick((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnDayzs
cCsKtjƒjƒdkrdS|dddddkrGtdƒ‚ndS(Nieg@@i<iisStart PC > 22 days!!!(RtGetMaptGetMapIDt    Exception(R((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR‚s
cCsÅtjdƒtjƒ}tjƒ}t|jƒƒ|jƒtj    ƒt
j |ƒtj ƒj ƒ}|jƒxLt|jƒƒD]8}|j|ƒ}| s…|jƒr³q…nt|ƒq…WdS(NsMapServer -> OnDay!(RtLogtGetPlayerManagert IPY_GameWorldt
IPY_MOnDaytSetMapServerTimeFromGameServertGetTimetProcessAllPlayerMailOnDayt GameLogInfotClearGameLogInfotFBLogictOnDayt GetGameWorldtGetDBMissionPubManagertCleartxrangetGetPlayerCounttGetPlayerByIndextIsEmptyt PlayerOnDay(RRt playerManagertpacktmissionPubManagertit    curPlayer((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR’s   
 
 
cCsytjdƒtj|ƒtjƒ}xLt|jƒƒD]8}|j|ƒ}| s9|jƒrgq9nt    |ƒq9WdS(NsMapServer -> OnDayEx!(
RR
t PlayerControlt"RemoveTimeoutLeaveServerPlayerInfoR RRRRt PlayerOnDayEx(RRR R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyt__Func_GameServer_OnDayEx²s   cCstjtƒ||ƒdS(N(RRt__Func_GameServer_OnHour(RR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnHourÓscCsžtjdƒtjƒ}|jƒ}t|ƒtj||ƒtjƒ}xLt    |j
ƒƒD]8}|j |ƒ}| s^|j ƒrŒq^nt |ƒq^WdS(NsMapServer -> OnHour!(RR
R t IPY_MOnHourRRRtOnHourR RRRRt PlayerOnHour(RRRttimeRR R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR&Üs   
 cCstjtƒ||ƒdS(N(RRt__Func_GameServer_OnWeek(RR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnWeekscCs•tjdƒtjƒ}t|jƒƒtjƒ}xLt|jƒƒD]8}|j    |ƒ}| sH|j
ƒrvqHnt |ƒqHWt j |ƒdS(NsMapServer -> OnWeek!(RR
R t IPY_MOnWeekRRR RRRRt PlayerOnWeekRtOnWeek(RRRRR R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR,s    cCsltjdƒtjƒ}xLt|jƒƒD]8}|j|ƒ}| s,|jƒrZq,nt|ƒq,WdS(NsMapServer -> OnWeekEx!(RR
R RRRRtPlayerOnWeekEx(RRR R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyt__Func_GameServer_OnWeekEx"s  cCstjtƒ||ƒdS(N(RRt__Func_GameServer_OnMonth(RR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnMonthBscCsˆtjdƒtjƒ}t|jƒƒtjƒ}xLt|jƒƒD]8}|j    |ƒ}| sH|j
ƒrvqHnt |ƒqHWdS(NsMapServer -> OnMonth!( RR
R t IPY_MOnMonthRRR RRRRt PlayerOnMonth(RRRRR R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR3Ks   cCsltjdƒtjƒ}xLt|jƒƒD]8}|j|ƒ}| s,|jƒrZq,nt|ƒq,WdS(NsMapServer -> OnMonthEx!(RR
R RRRRtPlayerOnMonthEx(RRR R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyt__Func_GameServer_OnMonthEx]s  cCstjtƒ||ƒdS(N(RRt__Func_GameServer_OnYear(RR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnYear}scCs‹tjdƒtjƒ}t|jƒƒtjƒ}xOtd|jƒƒD]8}|j    |ƒ}| sK|j
ƒryqKnt |ƒqKWdS(NsMapServer -> OnYeari( RR
R t IPY_MOnYearRRR trangeRRRt PlayerOnYear(RRRRR R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR9†s   cCstjƒj|ƒdS(N(RRtSetGameServerEventTime(R+((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRœscCsŸtjƒj|ƒ}y|jƒtj||ƒWne|jtjƒddl    }tj
d|j ƒƒtj ƒj ƒr›td|j ƒƒ‚q›nXdS(NiÿÿÿÿsÍæ¼ÒÉÏÏßÂß¼­´íÎó~~~~~
%ssÍæ¼ÒÉÏÏßÂß¼­´íÎó~~~~
%s(RR RtSendToBServerServerInitOKtChPlayertOnAllServerInitOKtKickR tdisWaitForPlayerLoinErrort    tracebacktErrLogt
format_excRt GetDebugLevelR    (RRR!RD((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_InitOK¦s
 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 GetPlayerIDRR
t__DoPlayerOnDayt ShareDefinetDef_OnEventType(R!t
ondayValuetplayerID((sb.\ServerPython\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(NisPlayerOnDayEx! ondayValue=%ssPlayerOnDayEx OK!(RIRJt"Set_PlayerGameServerInitOK_OnDayExt__Get_Can_OnDayExR"RMRNtDef_PDict_OnDayExRPRR
RQRRtDef_OnEventTypeEx(R!RTRU((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR$Çs   cCstjƒrdS|tjkrÿtj|ƒ|jdƒtj|ƒt    j
|ƒt j |ƒt j|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒtj|ƒn¡|tj kr t!j"|ƒt#j$|ƒt%j|ƒt&j|ƒt'j(|ƒt)j*|ƒt+j,|ƒt-j|ƒt.j/|ƒt0j1|ƒt2j1|ƒnt3j4||ƒt5j6||ƒt7j||ƒt8j9||ƒt:j;||ƒt<j|ƒdS(Ni(=Rt IsCrossServerRRRStOpenServerCampaigntOnOpenServerCampaignDaytSetDayProcessGameEventCountt    PlayerPettDoLogic_PetInfo_OnDaytPlayerGameWallowtRevertHealthGame_OnDaytPlayerOnlinePrizetResetPrizeInfoOnDayt PlayerSignDayt SignDayOnDaytPlayerLoginDayAwardtNotePlayerLoginDayCntt PlayerHorset
HorseOnDayt    PlayerViptVipOnDayt
PlayerCoinRt PlayerSuccesst    SuccOnDaytPlayerNewGuyCardtNewGuyCardOndaytPlayerGoldInvesttPlayerMagicWeapontPlayerGoldGifttPlayerRefineStovetPlayerBindJadeWheelRYt
EventShelltEventResponse_OnDaytOperate_PlayerBuyZhenQiRt BossHurtMngt PlayerDiceExt PlayerRecovert RecoverOnDayt PlayerFamilytFamilyPlayerOnDaytChItemtResetItemUseCntTodaytPlayerFreeGoodst    NPCCommontCollNPCTimeOnDayt FBHelpBattlet DoPlayerOnDaytPlayerCrossRealmPKt    PlayerTJGtTJGOnDaytFBCommontFBOnDaytPlayerActivitytFunctionNPCCommont ShopItemOnDaytPlayerFamilyRedPackettRedPacketOnDaytPlayerWishingWell(R!t onEventType((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRQÙsN                            cCs$|j|jƒƒ|jdƒdS(Ni(tSetLastWeekOnlineTimetGetWeekOnlineTimetSetWeekOnlineTime(R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytCalcWeekOnlineTimeEs cCsdS(N((R!((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytResetPlayerWeekDataQscCs|jdƒdS(Ni(tSetFamilyActiveValue(R!((sb.\ServerPython\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!(RIRJt!Set_PlayerGameServerInitOK_OnWeekt__Get_Can_OnWeekR"RMRNtDef_PDict_OnWeekRPRR
t__DoPlayerOnWeekRRRS(R!t onWeekValueRU((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR/es   cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(NisPlayerOnWeekEx! onWeekValue=%ssPlayerOnWeekEx OK!(RIRJt#Set_PlayerGameServerInitOK_OnWeekExt__Get_Can_OnWeekExR"RMRNtDef_PDict_OnWeekExRPRR
RœRRRY(R!RRU((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR1ws   cCsÛtjƒrdS|tjkr{|jƒ}|jƒ}t|ƒt|ƒt|ƒt    j
|ƒt j |t jdƒn,|tjkr§tj|ƒtj|ƒntj||ƒtj
||ƒtj||ƒdS(Ni(RRZRRRStGetLastWeekOnlineTimetGetLastWeekFamilyActiveValueR–R•R˜RmR0R"RMRNtDef_Player_Dict_HasVIPClubNoteRYRvtEventResponse_OnWeekR}tOnWeekExR‰tFBOnWeekR‹RŒtShopItemOnWeek(R!R‘tlastWeekOnlineTimetlastWeekFamilyValue((sb.\ServerPython\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!(RIRJt"Set_PlayerGameServerInitOK_OnMontht__Get_Can_OnMonthR"RMRNtDef_PDict_OnMonthRPRR
t__DoPlayerOnMonthRRRS(R!t onMonthValueRU((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR6µs   cCs|jƒs tj|dƒdSt|ƒ}|s6dStj|tj|ƒ|jƒ}t    j
d||ƒt |t j ƒt    j
d|ƒdS(Nis PlayerOnMonthEx! onMonthValue=%ssPlayerOnMonthEx OK!(RIRJt$Set_PlayerGameServerInitOK_OnMonthExt__Get_Can_OnMonthExR"RMRNtDef_PDict_OnMonthExRPRR
R­RRRY(R!R®RU((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR7Çs   cCsHtjƒrdS|tjkr"n|tjkr4ntj||ƒdS(N(RRZRRRSRYRŒtShopItemOnMonth(R!R‘((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR­Ùs cCsu|jƒs tj|dƒdS|jƒ}t|ƒs<dStjd|ƒtjƒ}tj    |t
j |j ƒdS(Nis PlayerOnYear!( RIRJt!Set_PlayerGameServerInitOK_OnYearRPt__Get_Can_OnYearRR
tGetCurrentTimeR"RMRNtDef_PDict_OnYeartyear(R!t curPlayerIDt curDateTime((sb.\ServerPython\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|ƒdS(Nis PlayerOnHour!(RIRJt!Set_PlayerGameServerInitOK_OnHourRPt__Get_Can_OnHourRR
RtGetTickRµthourR"RMRNtDef_PDict_OnHourtDataServer_GetBillboardLVRvtEventResponse_OnHour(R!R¸RR¹tcurHour((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR*s           cCs.tjƒ}t|jƒƒtƒtƒdS(N(R tIPY_MOnAllMapServerInitOKRRt!__DoLogic_OpenMapCheckRebornPointt"__DoLogic_OpenMapCheckMissionCount(RRR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnAllMapServerInitOK9s
 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(
RRRGt ReadChConfigtGetEvalChConfigtlenREt BaseExceptiontvaluesR
(tallMissionDicttmissionCntListttotalAcceptMissionCnttallMapAcceptMissionCntt allMissionCnttallMapMissionCnttvalue((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRÄJs*     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 GetGameDatatGetBornRefreshCountRRR<tGetBornRefreshByIndextGetPosXtGetPosYtGetRoundt
IsValidPosRERËR
( tgameDatatbr_Countt
mapManagertmapIDRtbr_Pointt br_PointPosXt br_PointPosYtbr_Roundt    checkPosXt    checkPosY((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRÃts&       ""&1cCs|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*RLRRWR$RšR/RŸR1R«R6R°R7R´R=(R!tlastLoginTimeStrt
curTimeStr((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytUpdatePlayerLoginTime”s,                   c
Cs¦tjƒ}|j}|j}|j}|j}|jtjƒ}|jtj    ƒ}|jtj
ƒ}|jtj ƒ}    ||kp¥||kp¥||kp¥||    kS(N( RRµR½tdaytmonthR·tNomalDictGetPropertyRNR¾ROR¬R¶(
R!R¹t dateTime_Hourt dateTime_DaytdateTime_Montht dateTime_Yeart player_Hourt
player_Dayt player_Montht player_Year((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR»Ãs                 cCs‰tjƒ}|j}|j}|j}|jtjƒ}|jtjƒ}|jtj    ƒ}||ks||ks||kr…|SdS(Ni(
RRµRïRðR·RñRNROR¬R¶(R!R¹RóRôRõR÷RøRù((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRLØ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µRñRNRXtdatetimeRútsecondsRRtDef_OnEventHourR½t    timedeltaRïRðR·( R!R¹t lastOndayExtlastOndayEx_YeartlastOndayEx_MonthtlastOndayEx_Dayt lastDatetimetpassTimetpassDayst passSecondsRóRôRõ((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRWçs( 
 
 
                     cCsHtjƒ}tjj|ƒd}|jtjƒ}||krD|SdS(Nii(RRµRût isocalendarRñRNR›(R!R¹t dateTime_Weekt player_Week((sb.\ServerPython\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-¿ÉÒÔ, ÇÒ´ú±íµÄÊǹýÖÜÐè¼Ç¼µÄÖµ
    idiiRúi( RRµRûRRñRNR RþR½RRRý(R!R¹Rt dateTime_yeart dateTime_weekt dateTime_dayt lastOnWeekExtlastOnWeekEx_YeartlastOnWeekEx_WeektpreWeekDateTimet preWeek_yeart preWeek_weekt preWeek_daytonWeekDateTime((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRŸ"s* 
 
 cCsbtjƒ}|j}|j}|jtjƒ}|jtjƒ}||ksZ||kr^|SdS(Ni(RRµRðR·RñRNR¬R¶(R!R¹RôRõRøRù((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR«Xs         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µRïRðR·RñRNR±R½RRRý(
R!R¹R tdateTime_monthR
t lastOnMonthExtlastOnMonthEx_YeartlastOnMonthEx_MonthtpreMonth_montht preMonth_year((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR°ds,             
 
 cCs1tjƒ}|j}|jtjƒ}||kS(N(RRµR·RñRNR¶(R!R¹RõRù((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyR´›s     cCs tjƒ}t|jƒƒdS(N(R tIPY_MOnTimeSyncRR(RRR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytGameServer_OnTimeSyncµs cCsàtjƒ}|jƒ}|jtjd ƒsBtjd|ƒn|jtj    ƒ}t
|ƒdkrK|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"j#||ƒndS|tj$krtjƒjƒt j%krt |ƒt _&ndS|jtj'd ƒrötj'd }    |t
|    ƒ}
t |ƒt j(|
<|
tj)krjt*j+ƒnˆ|
tj,kr†t-j.ƒnl|
tj/kr¢t0j1ƒnP|
tj2kr¾t3j4ƒn4|
tj5krÚt6j7ƒn|
tj8kröt9j:ƒnü|
tj;krt<j=ƒnà|
tj>kr.t?j@ƒnÄ|
tjAkrJtBjCƒn¨|
tjDkrftEjFƒnŒ|
tjGkr‚tHjIƒnp|
tjJkržtKjLƒnT|
tjMkrºtNjOƒn8|
tjPkrÖtQjRƒn|
tjSkròtTjUƒndS|tjVkr|t _WdS|jXƒr-tY|ƒ} q~tjZd||fƒdSn3|dkritj[}d} ntjZd    |ƒdStj\ƒ} |tj[kr©t]| | ƒnš|jtj^d ƒrÕt_j`|| |ƒnn|tjakrôtbjc| ƒnO|tjdt j%kr5| je|ƒ| krCtfjg| |ƒqCn|tjdt jhkrv| je|ƒ| krCtijj| |ƒqCnÍ|tjdt jkkr·| je|ƒ| krCtljm| |ƒqCnŒ|tjnkrñ| rC| je|ƒ| krCto|ƒqCnR|tjpkr+| rC| je|ƒ| krCtq|ƒqCn|tjrkre| rC| je|ƒ| krCts|ƒqCnÞ|tjtkr| rC| je|ƒ| krC| ju|| ƒtjvƒ} xQtw| jxƒƒD]:}| jy|ƒ}|jzƒdkrëq¾nt{j||ƒq¾WqCnA|jtj}d ƒrC| rC| je|ƒ| krCt~jƒqCn| ju|| ƒ|jd
ƒrrt~j€|ƒnj|tjkrŽt‚jƒƒnN|tj„j…ƒkr³t†j‡|ƒn)|jtjˆd ƒrÜt‰jŠ||ƒndS( Niýÿÿÿs GameServer_BroadcastMsg msg = %siiiiþÿÿÿs*GameServer_BroadcastMsg unKnowMsg: %s = %st ReloadConfigs+GameServer_BroadcastMsg unKnowMsg, msg = %stGameWorldBossReborn_(‹R tIPY_MBroadcastMsgtGetMsgt
startswithRRt'Def_Notify_WorldKey_GameWorldBossRebornRR
tsplittDef_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_FamilyBossOpenCountRRRNtDef_FBMapID_FamilyBossMaptGameLogic_FamilyBosstGameServerOpenFamilyBosst#Def_Notify_WorldKey_FamilyPartyInfotDef_FBMapID_FamilyPartytg_familyPartyInfot'Def_Notify_WorldKey_OperationActionInfotg_operationActionDicttOperationActionName_ExpRateR"tRefreshOperationAction_ExpRatetOperationActionName_CostRebatetPlayerCostRebatetRefreshCostRebateActionInfot!OperationActionName_TotalRechargetPlayerActTotalRechargetRefreshTotalRechargeActionInfotOperationActionName_SpringSaletPlayerSpringSaletRefreshSpringSaleActionInfotOperationActionName_BossReborntPlayerBossRebornt!RefreshOperationAction_BossRebornt OperationActionName_FlashGiftbagtPlayerFlashGiftbagtRefreshFlashGiftbagActionInfot!OperationActionName_FairyCeremonytPlayerFairyCeremonyt$RefreshOperationAction_FairyCeremonyt$OperationActionName_NewFairyCeremonytPlayerNewFairyCeremonyt'RefreshOperationAction_NewFairyCeremonytOperationActionName_FlashSaletPlayerFlashSaletRefreshflashSaleActionInfotOperationActionName_WishingWellRtRefreshWishingWellActiontOperationActionName_WeekPartytPlayerWeekPartyt RefreshOperationAction_WeekPartytOperationActionName_LoginAwardtPlayerActLogint!RefreshOperationAction_LoginAwardt"OperationActionName_FeastWeekPartytPlayerFeastWeekPartyt%RefreshOperationAction_FeastWeekPartyt"OperationActionName_FeastRedPackettPlayerFeastRedPackett%RefreshOperationAction_FeastRedPackett!OperationActionName_LuckyTreasuretPlayerLuckyTreasuretRefreshLuckyTreasureActiont!Def_Notify_WorldKey_CrossZoneNametg_crossZoneNametisdigittintREt Def_Notify_WorldKey_ReloadConfigRt__DoLogic_OtherReloadDictt'Def_Notify_WorldKey_TimeShopRefreshTimetShopItemManagetOnTimeShopRefresht#Def_Notify_WorldKey_CrossPKSeasonIDR†tOnCrossRealmPKSeasonChangetDef_Notify_WorldKey_FBFuncStatetGetGameWorldDictByKeytGameLogic_FamilyPartytOnFamilyPartyStateChangetDef_FBMapID_FamilyInvadetGameLogic_FamilyInvadetOnFamilyInvadeStateChangetDef_FBMapID_ElderBattlefieldtGameLogic_ElderBattlefieldtOnElderBattlefieldStateChangetDef_Notify_WorldKey_OnDayExR%tDef_Notify_WorldKey_OnWeekExR2tDef_Notify_WorldKey_OnMonthExR8t"Def_Notify_WorldKey_WorldAverageLvtSetGameWorldDictR RRRtGetIDtPlayerWorldAverageLvtUpdatePlayerWorldAverageLvt$Def_Notify_WorldKey_DailyActionStatetNPCCustomRefreshtResetActivityBossRefreshCounttProcessAllNPCRefresht$Def_Notify_WorldKey_ChampionFamilyIDtGameLogic_FamilyWartOnChampionFamilyIDChangetTeHuiTypeKeyDictRÌt PlayerTeHuitChangeTeHuiActionStatet#Def_Notify_WorldKey_ActionBuffStatet PlayerActiontOnActionBuffStateChange(RRRtmsgtmsgListtkeytmsgValuetfamilyIDt    openCounttkeyHeadt
actionNameRÓt gameWorldMgrRR!((sb.\ServerPython\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(R„RRt$Def_Notify_WorldKey_ReloadTexCaptchat%Def_Notify_WorldKey_ReloadJpegCaptchat IpyGameDataPYtIPYDatat IpyDataCleart
GetFuncCfgRRR¼t QuestManagerRŸRvtDoReloadRefresh(RRÓR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyRp³s   cCstj|ƒdS(N(RtOnInit(RR((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pytOnServerVersionSettingÕs (vRÈRNRRvRR R@RRJRRR`RxRdRlR"R†R}RbR‰RhRfR‚RŒRsR‹RRuR“R‰RmRRrRrRRqRoR†R^RyR{RxRŽR{R~R9RR[RCRFRIRLR]RcR`RORRRURfRiRtRXRRjRzR¢R/R„R¦R'R‡RûR+RRRR%R'R&R-R,R2R4R3R8R:R9RRHRR$RQR•R–R˜R/R1RœR6R7R­R=R*RÅRÄRÃRîR»RLRWRšRŸR«R°R´RRžRpR©(((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerEventCounter.pyt<module>sê                                                                                         !            )                                                  
                l         
    
            ,                    1        *         /            0         6         7            ê    "