hxp
2025-05-16 273fbbf3ec69623f4501583614174c7d604a06b5
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
Sð    hc@sodZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z ddlZddlZddlZddlZd„Zd„Zd„Zd„Zd„Zd„Zd    „Zd
„Zd „Zd „Zd „Zd„Zd„Zd„Zd„Z d„Z!d„Z"dS(sVersion = 2015-07-01 18:00iÿÿÿÿNcCsÌ|tjkr"tj|dƒn'|tjkr4ntjd|ƒdS|jdƒtj    |ƒt
j |ƒ|j |ƒ|j |ƒ|j|ƒ|j|ƒt|ƒ|j|ƒtjdƒdS(Nt
BeginDancesStartGameEvent unKnowType = %ssStartGameEvent...(t IPY_GameWorldtgeDancet PlayerControlt
NotifyCodetgeFisht    GameWorldtErrLogt SetActionObjtNonetExitPlayerConfrontingt
PetControltReCallFightPettSetGameEventTicktSetFishEventTicktSetDanceEventTicktSetPlayerGameEventt__PutonFishermanEquipmenttView_StartGameEventtDebugLog(t    curPlayert    eventTypettick((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytStartGameEvent3s"       
  cCs8tj|jƒ}tjdƒ}|j|ddgƒS(Nt FisherClothesi(tChConfigt JOB_TYPE_DICTtGetJobt ReadChConfigtGetEvalChConfigtget(RtjobTypet jobCoatIDDict((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytGetFishermanCoatIDTscCsdS(N((R((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyR\scCs”|jƒjtjƒ}|j|ƒ}|jƒtj|ƒ}|dkrat    j
d|ƒt S|j |ƒ|j ||ddd|jƒƒtS(NsCan not find item, itemID=%si(tGetItemManagertGetPackRtrptEquiptGetAttCleart
ItemCommontCreateSingleItemR    RRtFalset
AssignItemt ChangeEquipt GetUserDatatTrue(RtindextitemIDt
equipePacktdestItemttagItem((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyt __AssignItembs
  "cCsdS(N((R((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytTakeoffFishermanEquipmentvscCsf|jtjƒ|jtjƒ|jƒtjkrKtj|tjƒnt    |ƒt
j dƒdS(NsStopGameEvent...( RRtgeNullRtGetPlayerActiont paGameEventRtChangePlayerActiontpaNullR4RR(RR((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyt StopGameEvent‘s
 cCs-|jƒtjkrtS|jƒr)tStS(N(R6RtDef_Player_StartGameEvent_StateR)tIsMovingR-(RR((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytCheckCanBeginGameEvent¢s
 cCs=|jƒtjkrdSt||ƒr,dSt||ƒdS(N(tGetPlayerGameEventRR5t__ProcessGameEventR:(RR((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytProcessGameEventµs  cCs®|jƒ}|tjkrtS|jƒ}t|||ƒsAtS|tjkrt||tj    |j
ƒtj |j |ƒt St||tj|jƒtj |j|ƒt S(N(R6RR7R)R>tCanProcessGameEventRt__GivePlayerGameEventRewardRtDef_Item_Type_DancetGetDanceEventTicktDef_EventRewardTimeRR-tDef_Item_Type_FishtGetFishEventTickR(RRtcurPlayerActiont gameEventType((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyR?Ês  cCsVtjtj|ƒ}|dkr@tj|tj|ƒs@tSn|tj    krRnt
S(N( tOperControlManagertGetActBitByActionRtDef_ActBit_GameEventR    tIsObjCanDoActiontDef_Obj_ActState_ServerActR)RRR-(Rt    gameEventRt    curActBit((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyRAès              cCsV|jƒjtjƒ}|jtjƒ}|jƒr:tS|j    dƒj
ƒt j kS(Ni( R"R#RR$R%t ShareDefinet    retWeapontIsEmptyR)tGetEffectByIndext GetEffectIDRtDef_Item_Effect_FishTool(RRt playerEquipt    curWeapon((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytCheckPlayerFishWeapons
 cCs•tj|jƒ|jƒ|jƒƒ}t|ƒ}td|jƒtj    ƒ}d}t
j |tj |ƒ}tj|ƒ}|j |tjƒdS(Nii(RtGetAreaTeamMembertGetTeamtGetPosXtGetPosYtlentmaxtGetLVRtDef_GameEventExpLVDiffRt GetFloatUppertDef_TeamMemberExptAddExpRQtDef_ViewExpType_GameEvent(RtteamMemberListt teamMemberCnttgetExpLVtgivePlayerReExptgiveExpt playerControl((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytAddGameEventExp s' c CsQ|jƒ}|j|dƒttjƒ}tj|tjƒsEdStj    |ƒ}t
|ƒdkr{tj d|ƒdSt j |ƒ}|jƒ}d}t}tj}    tj|ƒ}
|
j|    |||ƒsìtj|d|    gƒdStj|ƒ} | dkrtj d|ƒdS|
j|    | ƒsM| jƒtj d|ƒdSdS(Niis0СÓÎϷʼþ, Êý¾Ý¿âÎÞ´ËÀàÐÍÎïÆ· giveItemType = %stGeRen_chenxin_676165s!СÓÎϷʼþ, ´´ÔìÎïÆ·ID = %s, Ê§°Üs'СÓÎϷʼþ,  ·ÅÈëÎïÆ·Òì³£!! itemID = %s(tGetDayProcessGameEventCounttSetDayProcessGameEventCounttevalRt Def_EventRateRt    CanHappentDef_EventMaxRatetGameDataControltGetItemDataListByTypeR^Rtrandomtchoicet GetItemTypeIDR)RtrptItemt ItemControlertPlayerItemControlert CanPutInItemRRR'R(R    t    PutInItemR&( Rt giveItemTypetdayCountt
happenRatet giveItemListt giveItemDatat
giveItemIDt giveItemCntt giveItemBindt    packIndext itemControltgiveItem((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pytAddGameEventItem:s6       
cCs‚|||krdS||ƒ|jtjƒtjkrMtj|dƒdS|j|ƒt|ƒt||ƒt    j
|ƒdS(Nt AvoidSink09( tNomalDictGetPropertyRtDef_Player_Dict_Wallow_LVtDef_GameWallow_LV_FirstRRtSync_GameEventResultRlR‰t
EventShelltEventRespons_OnGameEvent(RRR~t lastTimeTickt limitTimeGapt setTickFuncR((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyRB|s
 
  c    Cs>tjd|ƒt|ƒ}|s'dS||kr7dS||}tj|ƒ}t|ƒdkrfdStj|tjƒst    j
|dƒdSt }t j dƒ}|rG|\}}|dkrG|dkrG|jƒjtjƒ}    tj||    |ƒ\}
} }} |
s(tjd||fƒtStj||    | |t ƒqGn|\} }}}|pb|}| dkr™tj|||dtjtjgƒn<| dkr»tj||t ƒntjd| |jƒƒi|d    6|d
6}tj|d |ƒt||ƒ| |||d gg}tj|ddd|ƒdS( NsµöÓãÊÕ¸Ë: fishType=%sitGeRen_chenxin_998371t FishCostItemis)µöÓãÏûºÄÎïÆ·²»×ã costItemID=%s,costCnt=%sisµöÓã½±ÀøÀàÐͲ»Ö§³ÖitemType=%st CostItemInfot AwardItemInfotFisht(RRt__GetFishAwardTypeDicttGetResultByRandomListR^R'tCheckPackHasSpaceRRyRRR)RRR"R#tGetItem_FromPack_ByID_ExExR-t
ReduceItemRztGivePlayerItemt rptAnyWheretGivePlayerAppointItemRt GetPlayerIDtDataRecordPacktDR_FuncGiveItemtSync_FishResultt    NPCCommontSyncCollectionItemInfo(RtfishTypetfishAwardTypeDicttfishAwardItemListt awardItemInfothasBindt costItemInfot
costItemIDt costItemCnttitemPacktenought    indexListtlackCnttitemTypeR/titemCnttisBindt addDataDicttsyncItemInfoList((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyt DoFishLogicšsP  
         c Cs*tjdƒ}d}|jƒ}xH|jƒD]:\}}|d|koY|dknr.|}Pq.q.W|stjd||jƒƒdSd|}tj|ƒ}|s³dSd}|jƒ}    x*|j    ƒD]}
|    |
krÒ|
}PqÒqÒW||kr"tjd||f|jƒƒdS||S(Nt FishAwardLViis-ÕÒ²»µ½Íæ¼ÒµÈ¼¶¶ÔÓ¦µÄµöÓã½±ÀøÄ£°å£¡playerLV=%ss FishAward_%ss%s.txt can not find key=%s!((
RRR    R`titemsRRR¢Rtkeys( RtFishAwardLVModeDicttmodeIDtplayerLVtlvKeytmIDStrt modeFileNamet fishAwardInfotinfoKeytjobtkey((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyRšÖs0 $
    cCs*tjƒ}|jƒtj||ƒdS(N(tChPyNetSendPackttagMCFishResultR&t NetPackCommont SendFakePack(RR«tfishResultPack((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyR¥ús 
(#t__doc__RQRRRRvRzRRR'RtRJR RR£RÇRÉR¦RR!RR3R4R:R=R@R?RARYRlR‰RBR¹RšR¥(((sS.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerGameEvent.pyt<module>sD                
    !                                    '            B        <    $