1

Topic: too weak connection (not acked for 10 seconds)

This error message popped up recently on a couple of people on a custom version of tw I run.

It occured, ofcourse, on much larger non-official gametype maps, however I don't think it hurts to double the 10 second ack, and 1 second packet resend timeout - or even have this as a server cvar.

I've altered

if(now-resend->first_send_time > time_freq()*10)

to

if(now-resend->first_send_time > time_freq()*20)

and

if(now-resend->last_send_time > time_freq())

to

if(now-resend->last_send_time > time_freq()*2)

in e_network_conn.c

And the error no longer pops up (as it gives more time to process for lower ping' users)
Being able to dynamically set this value would be ideal - but I have no use. Just a little fix I ran into and thought i'de share, incase anyone runs into the same problem. Posted for reference.