Filter UnlockTrophy reply

This commit is contained in:
RipleyTom
2026-08-21 07:35:12 +02:00
committed by Megamouse
parent 243d7db5b5
commit 8fd2ae954d
+11 -1
View File
@@ -659,6 +659,16 @@ namespace rpcn
break;
}
if (command == CommandType::UnlockTrophy)
{
const ErrorType err = static_cast<ErrorType>(data[0]);
if (err != ErrorType::NoError)
rpcn_log.error("UnlockTrophy failed with %s", err);
break;
}
// Those commands are handled synchronously and won't be forwarded to NP Handler
if (command == CommandType::Login || command == CommandType::GetServerList || command == CommandType::Create || command == CommandType::Delete ||
command == CommandType::AddFriend || command == CommandType::RemoveFriend ||
@@ -680,7 +690,7 @@ namespace rpcn
}
else
{
rpcn_log.error("Tried to forward a reply whose packet_id marks it as internal to RPCN");
rpcn_log.error("Tried to forward a reply whose packet_id marks it as internal to RPCN: %s:0x%x", command, packet_id);
}
}