debug日志

This commit is contained in:
hahwu 2025-01-23 16:21:45 +08:00
parent bc61b4520e
commit 512a7e977f
3 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import (
randnameCfg "server/conf/randname"
"server/game/mod/msg"
proto "server/msg"
"server/pkg/github.com/name5566/leaf/log"
"sort"
"time"
)
@ -121,6 +122,7 @@ func (c *ChampshipMgr) NotifyAll(m *msg.Msg) (interface{}, error) {
}
func (c *ChampshipMgr) ZeroUpdate(m *msg.Msg) (interface{}, error) {
log.Debug("ChampshipMgr ZeroUpdate")
c.getData().ZeroTime = GoUtil.ZeroTimestamp()
c.getData().PreRank = c.getData().Rank
c.getData().PreRobot = c.getData().Robot

View File

@ -236,7 +236,6 @@ func ReqRewardOrder(args []interface{}) error {
if LimitedTimeEventMod.CheckExist(limitedTimeEvent.EVENT_TYPE_CHEST_RAIN) { //宝箱雨活动
ChestRainItems := LimitedTimeEventMod.GetChestReward(mergeList)
player.args["ResItemPopId"] = 0
err = player.HandleItem(ChestRainItems, msg.ITEM_POP_LABEL_LimitEventChestRain.String())
if err != nil {

View File

@ -57,7 +57,7 @@ func HandleClientReq(args []interface{}) {
// 消息的发送者
a := args[1].(gate.Agent)
buf := m.GetInfo()
// log.Debug("消息Func : %s", m.GetFunc())
log.Debug("消息Func : %s", m.GetFunc())
switch m.GetFunc() {
case "ClientTick":
case "ReqAdminInfo":