lt 1 долоо хоног өмнө
parent
commit
e8dae9f7c1

+ 1 - 1
RO_Server_Trunk-branch_0.1.39/roserver/game/model/role.go

@@ -1221,7 +1221,7 @@ func (this *Role) isDailyReset() bool {
 
 func (this *Role) DailyReset(notify bool) {
 	//加载完成后做重置操作
-	util.DebugF("uid=%v daily reset nickname=%s", this.GetUUid(), this.GetNickName())
+	util.ErrorF("uid=%v daily reset nickname=%s", this.GetUUid(), this.GetNickName())
 	oldDailyResetTimeStamp := this.GetRoleBase().roleBase.DailyResetTimeStamp
 	this.roleArena.DailyReset(notify)
 

+ 4 - 1
RO_Server_Trunk-branch_0.1.39/roserver/game/model/role_activity.go

@@ -851,8 +851,9 @@ func (this *RoleActivity) DailyReset(notify bool) {
 		if len(addActivityNtfMsg.ActivityList) > 0 {
 			this.role.ReplayGate(addActivityNtfMsg, true)
 		}
-		this.SuperChargeUnlockCheck(serverproto.UnlockChargeType_UChargeType_DailyGift, &SuperChargeUnlockST{oldValue: 0})
 	}
+	util.ErrorF("reset activity notify=%v")
+	this.SuperChargeUnlockCheck(serverproto.UnlockChargeType_UChargeType_DailyGift, &SuperChargeUnlockST{oldValue: 0})
 }
 
 func (this *RoleActivity) StartupNtf() {
@@ -2096,8 +2097,10 @@ func (this *RoleActivity) SuperChargeUnlockCheck(unlockType serverproto.UnlockCh
 	bAdd := false
 	typeSuperList, ok := model.ConvertActDiscountsRechargeList[int32(unlockType)]
 	if !ok {
+		//util.ErrorF("list:%v", model.ConvertActDiscountsRechargeList)
 		return
 	}
+	//util.ErrorF("list2:%v", model.ConvertActDiscountsRechargeList)
 	for idx := 0; idx < len(typeSuperList); idx++ {
 		cfgData := typeSuperList[idx]
 		//for _, cfgData := range typeSuperList {