From ec519cae8e5136fa593918628499f969b2bde334 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 16 四月 2021 10:33:06 +0800
Subject: [PATCH] 8873 【BT2】【主干】【后端】新增在线特惠(同步A109封包 主干)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 2 +-
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index c5215ab..c95d280 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -486,7 +486,7 @@
#---刷新了玩家属性, 登陆只刷新一次,其他地方不用刷
DoPlayerLoginInMap(curPlayer, tick)
- #PlayerControl.SyncOnLineTimeTotal(curPlayer)
+ PlayerControl.SyncOnLineTimeTotal(curPlayer)
#PlayerControl.SyncOnLineTimeLastOpenPack(curPlayer, IPY_GameWorld.rptItem)
PlayerGodWeapon.OnLogin(curPlayer)
PlayerPrestigeSys.OnLogin(curPlayer)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 94a8b74..fc7d5e5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -1348,7 +1348,7 @@
if diffSec > 0:
curPlayer.SetWeekOnlineTime(curPlayer.GetWeekOnlineTime() + diffSec)
curPlayer.SetOnlineTime(curPlayer.GetOnlineTime() + diffSec)
- #SyncOnLineTimeTotal(curPlayer)
+ SyncOnLineTimeTotal(curPlayer)
return
@@ -1356,7 +1356,6 @@
# @param curPlayer 玩家实例
# @return
def SyncOnLineTimeTotal(curPlayer):
- return
sendPack = ChPyNetSendPack.tagMCOnLineTimeTotal()
sendPack.Clear()
sendPack.OnLineTimeTotal = curPlayer.GetOnlineTime()
--
Gitblit v1.8.0