From 046461d4acd8f61f2cb73fe803a5ac25c81b7240 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Mon, 21 Oct 2024 10:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E7=A4=BC=E7=9B=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/programs.txt | 3 +-- worldsrv/action_bag.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/shell/programs.txt b/shell/programs.txt index f49d1bc..2155807 100644 --- a/shell/programs.txt +++ b/shell/programs.txt @@ -4,5 +4,4 @@ gatesrv worldsrv gamesrv robot -ranksrv -machine \ No newline at end of file +ranksrv \ No newline at end of file diff --git a/worldsrv/action_bag.go b/worldsrv/action_bag.go index 76a4dab..95b2249 100644 --- a/worldsrv/action_bag.go +++ b/worldsrv/action_bag.go @@ -195,7 +195,6 @@ func CSUpBagInfo(s *netlib.Session, packetid int, data interface{}, sid int64) e } if !p.IsRob && tp1 >= 0 { mq.Write(model.GenerateSystemFreeGive(p.SnId, p.Name, p.Platform, p.Channel, model.SystemFreeGive_CollectBox, tp1, v.ItemNum)) - mq.Write(model.GenerateActivityLog(p.SnId, p.Platform, model.ActivityLog_CollectBox, 1)) } } } @@ -270,6 +269,7 @@ func CSUpBagInfo(s *netlib.Session, packetid int, data interface{}, sid int64) e } } gainFunc(common.GainWay_Collect, "player", "集卡活动") + mq.Write(model.GenerateActivityLog(p.SnId, p.Platform, model.ActivityLog_CollectBox, 1)) default: logger.Logger.Warnf("道具使用未定义", msg.ItemId)