From a104bafc585a337249e23edf0fbfc0910d6cccec Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 26 五月 2025 18:50:07 +0800
Subject: [PATCH] 15 卡牌服务端搭建 1. 正常开关服工具 2. 加载静态表地图导致数据库连接问题使用自重启方式规避 3. 未分配服务器ID的地图会自动关闭 4. 支持ServersRoute热重启,RouteServer自动重连接 RouteServer界面显示玩家信息

---
 运维文档.doc                                                                 |    0 
 ZoneServerGroup/rungate/GateServer/48bd9423562930a4b88642da3fdb784d      |    0 
 ZoneServerGroup/rungate/GateServer/ChinGateServer.exe                    |    0 
 ServersRoute/CmdShell/ReloadModule.pyc                                   |    0 
 ZoneServerGroup/map1_8G/MapServer/MapServerShareData.dll                 |    0 
 正常关服.bat                                                                 |   14 ++++++++++++++
 ZoneServerGroup/map1_8G/MapServer/ChinMapServerManager.exe               |    0 
 ServersRoute/LogicProcess/UserCtrlDB.pyc                                 |    0 
 ServersRoute/DBCommon/CommonDefine.pyc                                   |    0 
 正常开服.bat                                                                 |   27 +++++++++++++++++++++++++++
 ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServer.exe        |    0 
 ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerGameProcess.dll |    0 
 ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServerDM.exe      |    0 
 ZoneServerGroup/RouteServer/ChinRouteServer.exe                          |    0 
 ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerShareData.dll   |    0 
 ZoneServerGroup/map1_8G/MapServer/MapServerData/Map/MapID.txt            |    8 ++++----
 16 files changed, 45 insertions(+), 4 deletions(-)

diff --git a/ServersRoute/CmdShell/ReloadModule.pyc b/ServersRoute/CmdShell/ReloadModule.pyc
index b4adc14..7e22726 100644
--- a/ServersRoute/CmdShell/ReloadModule.pyc
+++ b/ServersRoute/CmdShell/ReloadModule.pyc
Binary files differ
diff --git a/ServersRoute/DBCommon/CommonDefine.pyc b/ServersRoute/DBCommon/CommonDefine.pyc
index e1aac2c..8bdafbf 100644
--- a/ServersRoute/DBCommon/CommonDefine.pyc
+++ b/ServersRoute/DBCommon/CommonDefine.pyc
Binary files differ
diff --git a/ServersRoute/LogicProcess/UserCtrlDB.pyc b/ServersRoute/LogicProcess/UserCtrlDB.pyc
index 407d4a6..a050981 100644
--- a/ServersRoute/LogicProcess/UserCtrlDB.pyc
+++ b/ServersRoute/LogicProcess/UserCtrlDB.pyc
Binary files differ
diff --git a/ZoneServerGroup/RouteServer/ChinRouteServer.exe b/ZoneServerGroup/RouteServer/ChinRouteServer.exe
index 9cc723c..8a8fcee 100644
--- a/ZoneServerGroup/RouteServer/ChinRouteServer.exe
+++ b/ZoneServerGroup/RouteServer/ChinRouteServer.exe
Binary files differ
diff --git a/ZoneServerGroup/map1_8G/MapServer/ChinMapServerManager.exe b/ZoneServerGroup/map1_8G/MapServer/ChinMapServerManager.exe
index a1b70a9..47068ba 100644
--- a/ZoneServerGroup/map1_8G/MapServer/ChinMapServerManager.exe
+++ b/ZoneServerGroup/map1_8G/MapServer/ChinMapServerManager.exe
Binary files differ
diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServer.exe b/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServer.exe
index dffb38a..a590848 100644
--- a/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServer.exe
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServer.exe
Binary files differ
diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServerDM.exe b/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServerDM.exe
index fee0460..9720d8a 100644
--- a/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServerDM.exe
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerData/ChinMapServerDM.exe
Binary files differ
diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerData/Map/MapID.txt b/ZoneServerGroup/map1_8G/MapServer/MapServerData/Map/MapID.txt
index 404322f..91a0d4b 100644
--- a/ZoneServerGroup/map1_8G/MapServer/MapServerData/Map/MapID.txt
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerData/Map/MapID.txt
@@ -1,4 +1,4 @@
-Map001_Sjz	10010	地图1	10010	0	0	0	5	1
-Map002_Yg	10020	地图2	10020	0	0	0	5	1
-Map003_Yjsz	10030	地图3	10030	0	0	0	5	1
-Map009_Lysj	10090	地图4	10090	0	0	0	5	1
+Map001_Sjz	10010	地图1	10010	0	0	0	1	1
+Map002_Yg	10020	地图2	10020	0	0	0	1	1
+Map003_Yjsz	10030	地图3	10030	0	0	0	1	1
+Map009_Lysj	10090	地图4	10090	0	0	0	1	1
diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerGameProcess.dll b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerGameProcess.dll
index 144afdc..2e6aaa1 100644
--- a/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerGameProcess.dll
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerGameProcess.dll
Binary files differ
diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerShareData.dll b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerShareData.dll
index 301d00b..95b3a45 100644
--- a/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerShareData.dll
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerShareData.dll
Binary files differ
diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerShareData.dll b/ZoneServerGroup/map1_8G/MapServer/MapServerShareData.dll
index 301d00b..95b3a45 100644
--- a/ZoneServerGroup/map1_8G/MapServer/MapServerShareData.dll
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerShareData.dll
Binary files differ
diff --git a/ZoneServerGroup/rungate/GateServer/48bd9423562930a4b88642da3fdb784d b/ZoneServerGroup/rungate/GateServer/48bd9423562930a4b88642da3fdb784d
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ZoneServerGroup/rungate/GateServer/48bd9423562930a4b88642da3fdb784d
diff --git a/ZoneServerGroup/rungate/GateServer/ChinGateServer.exe b/ZoneServerGroup/rungate/GateServer/ChinGateServer.exe
index 1e7ad5f..e5b8507 100644
--- a/ZoneServerGroup/rungate/GateServer/ChinGateServer.exe
+++ b/ZoneServerGroup/rungate/GateServer/ChinGateServer.exe
Binary files differ
diff --git "a/\346\255\243\345\270\270\345\205\263\346\234\215.bat" "b/\346\255\243\345\270\270\345\205\263\346\234\215.bat"
new file mode 100644
index 0000000..f0b252b
--- /dev/null
+++ "b/\346\255\243\345\270\270\345\205\263\346\234\215.bat"
@@ -0,0 +1,14 @@
+#设置set serverpath=当前服务器所在路径 (不能有空格)
+set serverpath=D:\Project_SG_Server
+cd /d %serverpath%\ZoneServerGroup\rungate\GateServer
+start .\ChinGateServer.exe -AutoClose
+
+cd /d %serverpath%\ZoneServerGroup\map1_8G\MapServer
+start .\ChinMapServerManager.exe -AutoClose
+
+cd /d %serverpath%\ZoneServerGroup\RouteServer
+start .\ChinRouteServer.exe -AutoClose
+
+::taskkill /f /t  /FI "IMAGENAME eq python*"
+timeout /t 2 /nobreak
+taskkill /f /t  /FI "IMAGENAME eq EventServer*"
diff --git "a/\346\255\243\345\270\270\345\274\200\346\234\215.bat" "b/\346\255\243\345\270\270\345\274\200\346\234\215.bat"
new file mode 100644
index 0000000..0edadfd
--- /dev/null
+++ "b/\346\255\243\345\270\270\345\274\200\346\234\215.bat"
@@ -0,0 +1,27 @@
+#设置set serverpath=当前服务器所在路径 (不能有空格)
+set serverpath=D:\Project_SG_Server
+cd /d %serverpath%\EventServer
+start .\EventServer.exe -AutoLaunch
+
+timeout /t 1 /nobreak
+cd /d %serverpath%\ServersRoute
+start .\main.pyc
+
+timeout /t 2 /nobreak
+cd /d %serverpath%\ZoneServerGroup\RouteServer
+start .\ChinRouteServer.exe -AutoLaunch
+
+timeout /t 1 /nobreak
+cd /d %serverpath%\ZoneServerGroup\map1_8G\MapServer
+start .\ChinMapServerManager.exe
+::地图全开 外网慎用
+::start .\ChinMapServerManager.exe -AutoLaunch
+
+timeout /t 1 /nobreak
+cd /d %serverpath%\ZoneServerGroup\rungate\GateServer
+start .\ChinGateServer.exe -AutoLaunch
+
+::指定开地图 外网慎用,关地图用 -closemap 地图ID可以多个
+timeout /t 1 /nobreak
+cd /d %serverpath%\ZoneServerGroup\map1_8G\MapServer
+start .\ChinMapServerManager.exe -startmap 10010
\ No newline at end of file
diff --git "a/\350\277\220\347\273\264\346\226\207\346\241\243.doc" "b/\350\277\220\347\273\264\346\226\207\346\241\243.doc"
new file mode 100644
index 0000000..0eb774f
--- /dev/null
+++ "b/\350\277\220\347\273\264\346\226\207\346\241\243.doc"
Binary files differ

--
Gitblit v1.8.0