Add some logging

This commit is contained in:
momo5502 2023-04-10 17:14:16 +02:00
parent f33bb7b9c4
commit 7f17d1b280
2 changed files with 6 additions and 1 deletions

View File

@ -104,6 +104,8 @@ namespace auth
buffer.write_string(data, static_cast<size_t>(length));
printf("Serialized with size: %llX\n", buffer.get_buffer().size());
return buffer.move_buffer();
}
@ -141,6 +143,9 @@ namespace auth
return;
}
printf("Deserialized with size: %llX\n", data.size());
utils::byte_buffer buffer(data);
const profile_infos::profile_info info(buffer);

View File

@ -258,7 +258,7 @@ namespace network
int net_sendpacket_stub(const game::netsrc_t sock, const int length, const char* data, const game::netadr_t* to)
{
printf("Sending packet of size: %X\n", length);
//printf("Sending packet of size: %X\n", length);
if (to->type != game::NA_RAWIP)
{