From d57475ffe460133d146d377e66ed19ccb77b11a7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 20 十月 2025 17:22:00 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(寻宝支持定制第x次x抽必出)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py | 90 +-------------------------------------------
1 files changed, 3 insertions(+), 87 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
index ef70556..9468da1 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
@@ -39,8 +39,6 @@
import GameWorld
import ChConfig
import PlayerControl
-import FamilyRobBoss
-import NPCCustomRefresh
import FBLogic
import FBCommon
import EventReport
@@ -108,10 +106,8 @@
return
if fbType == IPY_GameWorld.fbtSingle:
- ownerID = gameFBMgr.GetGameFBDictByKey(ChConfig.Def_FB_SingleFBPlayerID)
- if ownerID in PyGameData.g_fbHelpBattlePlayerDict:
- PyGameData.g_fbHelpBattlePlayerDict.pop(ownerID)
- GameWorld.DebugLog("清除单人副本镜像助战信息: ownerID=%s" % ownerID)
+ pass
+
elif fbType == IPY_GameWorld.fbtTeam:
teamID = gameWorld.GetPropertyID()
if teamID in PyGameData.g_teamFBMemRelationDict:
@@ -160,7 +156,7 @@
GameWorld.Log("发送未拾取的物品给玩家: %s" % mailItemList, ownerID)
if isCrossServer:
serverGroupID = playerServerGroupIDDict.get(ownerID, 0)
- PlayerControl.SendCrossMail(serverGroupID, "ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
+ # 删除旧版发送邮件,如果功能还有需要,可使用新版本发送邮件 PlayerMail
else:
PlayerControl.SendMailByKey("ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
@@ -547,11 +543,7 @@
#定时检测关闭超时文件
EventReport.OnTimeCloseScribeTxt()
- #仙盟归属boss定时处理
- FamilyRobBoss.OnFamilyOwnerBossProcess(tick)
-
#地图自定义随机刷怪
- NPCCustomRefresh.ProcessMapRandomRefreshNPC(gameWorld, tick)
NPCRealmRefresh.ProcessRealmNPCRefresh(gameWorld, tick)
return
@@ -740,94 +732,18 @@
os.path.join(GlobalFunctions.getServerConfigPath(),
CommonDefine.SYSDB_PATH,
'tagChinNPC.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagNPCRefresh,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagNPCRefresh.txt'))
sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagChinSkill,
os.path.join(GlobalFunctions.getServerConfigPath(),
CommonDefine.SYSDB_PATH,
'tagChinSkill.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagChinExp,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagChinExp.txt'))
sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagChinItem,
os.path.join(GlobalFunctions.getServerConfigPath(),
CommonDefine.SYSDB_PATH,
'tagChinItem.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagTransportRefresh,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagTransportRefresh.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagChinShopItem,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagChinShopItem.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagBornRefresh,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagBornRefresh.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagChinMixItem,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagChinMixItem.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagBuildEquip,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagBuildEquip.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagSuiteActivation,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagSuiteActivation.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagSuiteEffect,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagSuiteEffect.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagRepeatEvent,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagRepeatEvent.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagEffectRefresh,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagEffectRefresh.txt'))
sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagChinMap,
os.path.join(GlobalFunctions.getServerConfigPath(),
CommonDefine.SYSDB_PATH,
'tagChinMap.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagDBStoreItem,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagDBStoreItem.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagOnMissionDelete,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagOnMissionDelete.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagPet,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagPet.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagPetGrade,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagPetGrade.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagPetFriendliness,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagPetFriendliness.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagPetExp,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagPetExp.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagNPC_Item_Pet,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagNPC_Item_Pet.txt'))
- sysData += DataServerGameData.sysDBLoadFromFile(DataServerGameData.tagFlyObjBaseInfo,
- os.path.join(GlobalFunctions.getServerConfigPath(),
- CommonDefine.SYSDB_PATH,
- 'tagFlyObjBaseInfo.txt'))
#压缩
--
Gitblit v1.8.0