From d37ff1be4e18dee345942f1cac676c616636cb61 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 18 一月 2024 15:57:41 +0800
Subject: [PATCH] 10019 【砍树】回合战斗(每次攻击触发精怪技能支持)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py
index b463b58..2f49c82 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py
@@ -31,6 +31,10 @@
     if not EncodingToUnicode(inputText):
         return True
     
+    if "\xe3\x85\xa4" in inputText:
+        GameWorld.Log("存在非法空白填充符!")
+        return True
+    
     #屏蔽转义字符
     for char in ShareDefine.Def_List_EscapeSequence:
         if char in inputText:

--
Gitblit v1.8.0