From ba951da9a5916d6250ea2fdf0a8f9028740ade34 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 12 三月 2024 19:59:10 +0800
Subject: [PATCH] 10033 【后端】仙树升级系统及砍树产出规则(增加装备评分参数支持: 攻速、击晕、连击、抗连击、反击、抗反击、吸血、抗吸血)

---
 ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_CrossActServerIDChange.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_CrossActServerIDChange.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_CrossActServerIDChange.py
index 7cb503f..a29659b 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_CrossActServerIDChange.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_CrossActServerIDChange.py
@@ -45,7 +45,7 @@
     crossActInfoDict = CrossActionControl.GetCrossActInfoDict()
     backMsg = {"crossActInfoDict":crossActInfoDict}
     if errInfo:
-        backMsg["ErrorInfo"] = errInfo
+        backMsg["ErrorInfo"] = errInfo.decode(ShareDefine.Def_Game_Character_Encoding).encode(GameWorld.GetCharacterEncoding())
         GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr, backMsg)
         return
     
@@ -66,6 +66,9 @@
         if len(kspList) != 3:
             continue
         actName, cfgID, _ = kspList
+        if actName not in ShareDefine.CrossActLockServerGroupIDList:
+            errInfo = "%s 不允许修改,可以直接修改活动配置表进行热更!" % actName
+            return errInfo
         try:
             cfgID = int(cfgID)
             changeServerIDList = eval(v)

--
Gitblit v1.8.0