From 649df2884ed2be4aafbf404ebdca8f091f4aac28 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 14 四月 2025 15:06:36 +0800
Subject: [PATCH] 10367 【越南】【英语】【BT】【砍树】仙盟攻城战-服务端(增加查看其他指定仙盟/跨服仙盟支持;增加领取点赞奖励;修改仙盟轮次伤害计算规则受当前城池剩余生命影响;)

---
 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