diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index b9b499f..5a48f1d 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -88,13 +88,16 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg, int& game_times) } time_t register_time = f8::ExtractRegisterTimeFromSessionId(msg.session_id()); - #if 1 - if (a8::BetweenDays(Global::g_nowtime, register_time) <= 0) { - return RT_OldBrid1; +#if 1 + if (!msg.team_uuid().empty()) { } else { - return RT_OldBrid2; + if (a8::BetweenDays(Global::g_nowtime, register_time) <= 0) { + return RT_OldBrid1; + } else { + return RT_OldBrid2; + } } - #else +#else if (rank >= 0 && rank <= 10) { return RT_OldBrid1; } else if (rank >= 11 && rank <= 17) { @@ -104,7 +107,7 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg, int& game_times) } else { return RT_OldBrid1; } - #endif +#endif } void RoomMgr::Init() diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index f223dff..2167084 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -671,6 +671,7 @@ message MFTeamMember optional int32 game_times = 4; //游戏次数 optional int32 win_times = 5; //吃鸡次数 optional int32 kill_times = 6; //击杀数 + optional int32 create_time = 7; //账号创建时间 } //end mfmsg