Add some logging
This commit is contained in:
parent
f33bb7b9c4
commit
7f17d1b280
@ -104,6 +104,8 @@ namespace auth
|
|||||||
|
|
||||||
buffer.write_string(data, static_cast<size_t>(length));
|
buffer.write_string(data, static_cast<size_t>(length));
|
||||||
|
|
||||||
|
printf("Serialized with size: %llX\n", buffer.get_buffer().size());
|
||||||
|
|
||||||
return buffer.move_buffer();
|
return buffer.move_buffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -141,6 +143,9 @@ namespace auth
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
printf("Deserialized with size: %llX\n", data.size());
|
||||||
|
|
||||||
utils::byte_buffer buffer(data);
|
utils::byte_buffer buffer(data);
|
||||||
const profile_infos::profile_info info(buffer);
|
const profile_infos::profile_info info(buffer);
|
||||||
|
|
||||||
|
@ -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)
|
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)
|
if (to->type != game::NA_RAWIP)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user