From f2aeecf0a02b97418b762bd6ee518c33d3ae2685 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 12 九月 2025 10:22:35 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(新增演武场;支持机器人;支持PVP战斗;每场战斗结束后支持查看战斗回放;榜单优化存储玩家形象Value5;主线关卡榜支持;支持查看玩家;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py index de04dd9..3e2c3ba 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/DBCommon/CommonDefine.py @@ -237,7 +237,9 @@ gstSendDBMergeClientMsg = 127 # 通过groupID向DB发送消息,DB以gstBroadcastMergeClient广播 gstSendDBMergeClientListMsg = 128 # 通过group组向DB发送消息,DB以gstBroadcastMergeClient广播 gstMergePlayerData = 129 #// 向跨服汇报玩家(子服)数据 -gstMax = 130 #下面的数值 需要保持为 gstMax + 1 +gstDBLogic = 130 # GameServer 向db请求逻辑处理并返回,请求ID,类型,附加数据 +gstMax = 131 #下面的数值 需要保持为 gstMax + 1 + ########################### ELoginServerToDataServer define ############################# #LoginServer发送到DataServer的封包类型 @@ -337,7 +339,8 @@ dgBroadcastMergeClient = 0x60 + 23 dgMergerChildToCenter = 0x60 + 24 dgLoginMergeServer = 0x60 + 25 -dgKick = 0x60 + 26 +dgDBGameServerToDBLogicResult = 0x60 + 26 #GameServer向DB请求的回复信息tagDGGameServerToDBLogicResult + ########################### TBalanceServerToMapServer define ############################# #数据库回应封包类型#TBalanceServerToMapServer gmMapInitOk = 1 -- Gitblit v1.8.0