diff --git a/server/gameserver/hero.cc b/server/gameserver/hero.cc index 2f178cec..1ffcddcd 100644 --- a/server/gameserver/hero.cc +++ b/server/gameserver/hero.cc @@ -292,7 +292,18 @@ void Hero::BeKill(int killer_id, const std::string& killer_name, int weapon_id) void Hero::OnAddToTargetPartObject(Entity* target) { if (delete_frameno > 0) { + #if 1 + a8::UdpLog::Instance()->Warning + ("Hero::OnAddToTargetPartObject " + "delete_frameno:%d " + "room.frameno:%d", + { + delete_frameno, + room->GetFrameNo() + }); + #else A8_ABORT(); + #endif } } diff --git a/server/gameserver/matchteam.cc b/server/gameserver/matchteam.cc index fb9fdcff..0d116daf 100644 --- a/server/gameserver/matchteam.cc +++ b/server/gameserver/matchteam.cc @@ -123,6 +123,7 @@ void MatchTeam::_CMMatchChoose(f8::MsgHdr& hdr, const cs::CMMatchChoose& msg) auto member = GetMemberBySocket(hdr.socket_handle); if (member && master_team_->phase_ == kMatchChoose) { member->msg->set_hero_id(msg.hero_id()); + member->msg->set_hero_uniid(msg.hero_uniid()); *member->msg->mutable_weapons() = msg.weapons(); *member->msg->mutable_skins() = msg.skins(); *member->msg->mutable_skill_list() = msg.skill_list(); diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index 068703e1..67ab9ae6 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -1151,6 +1151,7 @@ message CMMatchChoose repeated MFPair skill_list = 4; //技能列表 key:技能id value:预留给之后扩展,目前传0就行 repeated int32 baseskin = 5; //皮肤id optional int32 hero_skin = 6; //头像框 + optional string hero_uniid = 7; //英雄唯一id } //组队匹配-出击 diff --git a/server/tools/protobuild/out/cs_proto.proto b/server/tools/protobuild/out/cs_proto.proto index 123f18ba..58326b22 100644 --- a/server/tools/protobuild/out/cs_proto.proto +++ b/server/tools/protobuild/out/cs_proto.proto @@ -916,6 +916,7 @@ message CMMatchChoose repeated MFPair skill_list = 4; repeated int32 baseskin = 5; optional int32 hero_skin = 6; + optional string hero_uniid = 7; } message CMMatchStartGame diff --git a/server/tools/protobuild/out/metatable.proto b/server/tools/protobuild/out/metatable.proto index 881b0eeb..04dd1313 100644 --- a/server/tools/protobuild/out/metatable.proto +++ b/server/tools/protobuild/out/metatable.proto @@ -126,6 +126,7 @@ message Item optional int32 skinid = 6; optional int32 isdefaultskin = 7; optional int32 playerid = 8; + optional int32 relationship = 9; } message Equip @@ -428,6 +429,20 @@ message GunTalentGrow optional string addattr = 5; } +message HeroQuality +{ + optional int32 id = 1; + optional int32 quality = 2; + optional int32 gold_limit = 3; +} + +message GunQuality +{ + optional int32 id = 1; + optional int32 quality = 2; + optional int32 gold_limit = 3; +} + message DoorObjJson {