From 83ea442cfaceaf76648c6ec948e4494a10e228db Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 九月 2024 17:01:40 +0800
Subject: [PATCH] 10261 【越南】【砍树】仙盟徽章,头像框,头像(动态),聊天气泡,聊天表情(增加仙盟徽章)

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

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/SetOpenServerWeekday.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/SetOpenServerWeekday.py
index 789bdf2..e077d5f 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/SetOpenServerWeekday.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/SetOpenServerWeekday.py
@@ -46,11 +46,9 @@
     openDateTime = curDateTime + datetime.timedelta(days = -diffDays)
     openServerTime = int(time.mktime(openDateTime.timetuple()))
     
-    PlayerDBGSEvent.SetDBGSTrig_ByKey(PlayerDBGSEvent.Def_InitOpenServerTime, openServerTime)
-    PlayerDBGSEvent.SetDBGSTrig_ByKey(PlayerDBGSEvent.Def_SetOpenServerTime, openServerTime)
-    GameWorld.DebugAnswer(curPlayer, "开服时间:%s,星期%s,开服天%s" 
-                          % (GameWorld.ChangeTimeNumToStr(openServerTime), 
-                             GameWorldProcess.GetOpenServerWeekday(), 
+    PlayerDBGSEvent.SetInitOpenServerTime(openServerTime)
+    GameWorld.DebugAnswer(curPlayer, "开服星期%s,开服天%s" 
+                          % (GameWorldProcess.GetOpenServerWeekday(), 
                              PlayerDBGSEvent.GetDBGSTrig_ByKey(PlayerDBGSEvent.Def_ServerDay) + 1))
     PlayerEventCounter.Sync_OpenServerDay(curPlayer)
     return

--
Gitblit v1.8.0