Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupt packet/packet loss #3

Open
Xulua1499 opened this issue May 10, 2020 · 2 comments
Open

Corrupt packet/packet loss #3

Xulua1499 opened this issue May 10, 2020 · 2 comments

Comments

@Xulua1499
Copy link

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
Copy link
Author

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?

@Leystryku
Copy link
Owner

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants