From 6a9883b425e53e714b9a930ec70b7544999611a6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 08 五月 2025 12:01:45 +0800
Subject: [PATCH] 16 卡牌服务端(db数据备档、加载;仙盟基础转到MapServer;)
---
PySysDB/生成IpyGameDataPY/IpyGameDataPYTemp.py | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git "a/PySysDB/\347\224\237\346\210\220IpyGameDataPY/IpyGameDataPYTemp.py" "b/PySysDB/\347\224\237\346\210\220IpyGameDataPY/IpyGameDataPYTemp.py"
index 0a0bb50..185d462 100644
--- "a/PySysDB/\347\224\237\346\210\220IpyGameDataPY/IpyGameDataPYTemp.py"
+++ "b/PySysDB/\347\224\237\346\210\220IpyGameDataPY/IpyGameDataPYTemp.py"
@@ -11,6 +11,8 @@
#
# 详细描述: 读取PY表
#
+# @note: 本脚本由 \PySysDB\生成IpyGameDataPY 生成
+#
#-------------------------------------------------------------------------------
#"""Version = 2018-05-10 12:00"""
#-------------------------------------------------------------------------------
@@ -106,10 +108,12 @@
def __LoadFileData(self, tableName, onlyCheck=False):
# @param onlyCheck: 是否仅检查格式,一般启动时用
- curPath = "<%LoadStructPath%>" + "\\PySysDB\\tag" + tableName + ".txt"
+ curPath = "<%LoadStructPath%>" + "\\PySysDB\\" + tableName + ".txt"
if not os.path.isfile(curPath):
- ErrLog("can not find file = %s,%s" % (tableName, curPath))
- raise Exception("can not find file = %s,%s" % (tableName, curPath))
+ curPath = "<%LoadStructPath%>" + "\\PySysDB\\tag" + tableName + ".txt"
+ if not os.path.isfile(curPath):
+ ErrLog("can not find file = %s,%s" % (tableName, curPath))
+ raise Exception("can not find file = %s,%s" % (tableName, curPath))
if not onlyCheck:
if not hasattr(self, "ipy%sLen" % tableName):
--
Gitblit v1.8.0