diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 1ece73a..1ee5b31 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -1972,6 +1972,14 @@ void Human::InternalSendGameOver() cs::SMGameOver msg; hum->FillSMGameOver(msg); hum->SendNotifyMsg(msg); + if (hum->socket_handle == 0) { + a8::UdpLog::Instance()->Error("battleReport socket_handle error room_uuid:%s account_id:%s nickname:%s ", + { + room_uuid, + hum->account_id, + hum->name + }); + } if (!hum->sent_game_end_ && hum->entity_subtype == EST_Player) { GameLog::Instance()->GameEnd((Player*)hum); hum->sent_game_end_ = true; @@ -1981,7 +1989,7 @@ void Human::InternalSendGameOver() }; auto on_error = [] (a8::XParams& param, const std::string& response) { - a8::UdpLog::Instance()->Error("battleReport params: %s response: %s", + a8::UdpLog::Instance()->Error("battleReport http error params: %s response: %s", { param.param2, response