mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
make showpackets a little more usable and informative
This commit is contained in:
parent
66a29c3945
commit
9482a7c0b7
1 changed files with 5 additions and 4 deletions
|
@ -315,10 +315,11 @@ Netchan_Transmit (netchan_t *chan, int length, byte *data)
|
|||
if (net_nochoke)
|
||||
chan->cleartime = *net_realtime;
|
||||
|
||||
if (showpackets->int_val)
|
||||
Con_Printf ("--> s=%i(%i) a=%i(%i) %i\n", chan->outgoing_sequence,
|
||||
if (showpackets->int_val & 1)
|
||||
Con_Printf ("--> s=%i(%i) a=%i(%i) %-4i %i\n", chan->outgoing_sequence,
|
||||
send_reliable, chan->incoming_sequence,
|
||||
chan->incoming_reliable_sequence, send.cursize);
|
||||
chan->incoming_reliable_sequence, send.cursize,
|
||||
chan->outgoing_sequence - chan->incoming_sequence);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -352,7 +353,7 @@ Netchan_Process (netchan_t *chan)
|
|||
sequence &= ~(1 << 31);
|
||||
sequence_ack &= ~(1 << 31);
|
||||
|
||||
if (showpackets->int_val)
|
||||
if (showpackets->int_val & 2)
|
||||
Con_Printf ("<-- s=%i(%i) a=%i(%i) %i\n", sequence, reliable_message,
|
||||
sequence_ack, reliable_ack, net_message->message->cursize);
|
||||
|
||||
|
|
Loading…
Reference in a new issue