LeySourceEngineProxyServ icon indicating copy to clipboard operation
LeySourceEngineProxyServ copied to clipboard

Corrupt packet/packet loss

Open Xulua1499 opened this issue 4 years ago • 2 comments

When running in shared port mode (both a2s and proxy using 27015) I've noticed quite a bit increased latency and packet loss, I'm also seeing ip:27015:corrupted packet 12462 at 12461 in console, but I don't think that's related.

When running the A2S Port on another port, the packet loss is much less but then it's not joinable due to the masterlist showing the new a2s port. I'm guessing I'd have to do something in IPTables for this to work

So far it's gone pretty good tho, it's helped fix a player join attack we have been seeing for a while

Xulua1499 avatar May 10 '20 16:05 Xulua1499

After some playing around, I noticed every node gets packetloss regardless of how many players connected. This is only happening when other nodes are busy with players, so I don't think it's the nodes themselves (they use <3% of a core).

I'm guessing this is something in the module itself that's causing the drops?

Xulua1499 avatar May 11 '20 13:05 Xulua1499

You can offset this by using proper convars try these,

LocalPlayer():ConCommand("cl_interp 0.1") LocalPlayer():ConCommand("rate 60000") LocalPlayer():ConCommand("cl_updaterate 22") LocalPlayer():ConCommand("cl_cmdrate 22") LocalPlayer():ConCommand("cl_resend 10") LocalPlayer():ConCommand("net_maxroutable 1000") LocalPlayer():ConCommand("net_maxfragments 1000") LocalPlayer():ConCommand("net_compresspackets_minsize 800") LocalPlayer():ConCommand("net_maxcleartime 2") LocalPlayer():ConCommand("net_splitrate 2")

Leystryku avatar May 15 '20 10:05 Leystryku