mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed a few debug messages that spammed a bit too much
This commit is contained in:
parent
c79402d075
commit
39370635cc
|
@ -1008,7 +1008,7 @@ static void client_process_packet(NETCHUNK *packet)
|
||||||
|
|
||||||
graph_add(&input_late_graph, time_left/100.0f+0.5f);
|
graph_add(&input_late_graph, time_left/100.0f+0.5f);
|
||||||
|
|
||||||
if(time_left < 0)
|
if(time_left < 0 && config.debug)
|
||||||
dbg_msg("client", "input was late with %d ms", time_left);
|
dbg_msg("client", "input was late with %d ms", time_left);
|
||||||
last_input_timeleft = time_left;
|
last_input_timeleft = time_left;
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,7 @@ int recvinfo_fetch_chunk(NETRECVINFO *info, NETCHUNK *chunk)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* out of sequence, request resend */
|
/* out of sequence, request resend */
|
||||||
|
if(config.debug)
|
||||||
dbg_msg("conn", "asking for resend %d %d", header.sequence, (info->conn->ack+1)%NET_MAX_SEQUENCE);
|
dbg_msg("conn", "asking for resend %d %d", header.sequence, (info->conn->ack+1)%NET_MAX_SEQUENCE);
|
||||||
conn_want_resend(info->conn);
|
conn_want_resend(info->conn);
|
||||||
continue; /* take the next chunk in the packet */
|
continue; /* take the next chunk in the packet */
|
||||||
|
|
|
@ -20,10 +20,10 @@ static PACKET *last = (PACKET *)0;
|
||||||
static int current_latency = 0;
|
static int current_latency = 0;
|
||||||
|
|
||||||
static int config_log = 0;
|
static int config_log = 0;
|
||||||
static int config_ping = 50;
|
static int config_ping = 150;
|
||||||
static int config_pingflux = 15;
|
static int config_pingflux = 50;
|
||||||
static int config_pingspike = 0;
|
static int config_pingspike = 0;
|
||||||
static int config_packetloss = 1; // in percent
|
static int config_packetloss = 10; // in percent
|
||||||
static int config_reorder = 1;
|
static int config_reorder = 1;
|
||||||
|
|
||||||
int run(int port, NETADDR dest)
|
int run(int port, NETADDR dest)
|
||||||
|
|
Loading…
Reference in a new issue