lt hai 5 meses
pai
achega
1e80bca801

+ 26 - 0
RO_Server_Trunk-branch_0.1.39/roserver/db/model/role_msg.go

@@ -62,6 +62,11 @@ func init() {
 			}
 			util.InfoF("SSAccountGetRoleListReq openid=%v zone=%v account data not empty need create", msg.OpenId, msg.ZoneId)
 			//数据不存在
+			////东南亚审核使用账号覆盖
+			//_ = GetRoleListFromRedis("h2z8udyf8ga741708", msg.ZoneId, ack)
+			//ack.Roles[0].OpenId = msg.OpenId
+			//
+			//err = SetRoleListToRedis(msg.OpenId, msg.ZoneId, ack)
 			model.ServiceReplay(ev, ack)
 		} else {
 			model.ServiceReplay(ev, ack)
@@ -115,6 +120,27 @@ func init() {
 				ack.Err = int32(serverproto.ErrorCode_ERROR_ROLE_HAS_CREATE)
 				ack.CreateRoleUid = tmpAck.Roles[0].Uid
 			} else {
+				//东南亚审核使用账号覆盖
+				//ack2 := &serverproto.SSAccountGetRoleListAck{}
+				//_ = GetRoleListFromRedis("h2z8udyf8ga741708", msg.Zone, ack2)
+				//uidd := ack2.Roles[0].Uid
+				////获取copy玩家的基本数据
+				//tmpRoleBase2 := &serverproto.RoleBase{}
+				//GetRoleBaseFromRedis(uidd, tmpRoleBase2)
+				//tmpRoleBase2.Id = cliId.SessID
+				//tmpRoleBase2.NickName = ""
+				//tmpRoleHero2 := &serverproto.RoleHero{}
+				//GetRoleHeroDataFromRedis(uidd, tmpRoleHero2)
+				//tmpRoleBattle2 := &serverproto.RoleBattle{}
+				//GetSystemDataFromRedis(RoleBattleDataPrefix, uidd, tmpRoleBattle2)
+				//tmpRoleEquip2 := &serverproto.RoleEquip{}
+				//GetSystemDataFromRedis(RoleEquipDataPrefix, uidd, tmpRoleEquip2)
+				////复制到新号上
+				//err := SetRoleToRedis(cliId.SessID, tmpRoleBase2)
+				//SetRoleHeroDataToRedis(cliId.SessID, tmpRoleHero2)
+				//SetSystemDataToRedis(RoleBattleDataPrefix, cliId.SessID, tmpRoleBattle2)
+				//SetSystemDataToRedis(RoleEquipDataPrefix, cliId.SessID, tmpRoleEquip2)
+				//以上
 				err := SetRoleToRedis(cliId.SessID, msg.Base)
 				if err != nil {
 					util.InfoF("uuid=%v SSAddRoleBaseReq user base data set redis failed=%v", cliId.SessID, err)

+ 1 - 1
RO_Server_Trunk-branch_0.1.39/roserver/game/msg/login_msg.go

@@ -365,7 +365,7 @@ func init() {
 		}
 		if !msg.IsTrue {
 			role.(*model2.Role).GetRoleMail().AddMail(0, serverproto.MailType_MailType_System,
-				map[int32]int32{}, []int32{}, "Exciting Events", "Dear players, thank you for your support and passion for our game. For more exciting events and recharge discounts, please check our official community! Event link:")
+				map[int32]int32{}, []int32{}, "Exciting Events", "Dear players, thank you for your support and passion for our game. For more exciting events and recharge discounts, please check our official community! \nEvent link:https://i.dze-game.com/recharge_center")
 		}
 	})