[CSGO/ANY?] ForceRate
1 Attachment(s)
This is not my plugin, I have simply compiled it for Windows and created a Visual Studio solution to make it easier for others, I don't know how to compile it on Linux yet, sorry guys.
This is basically a choke fix for 128 tick servers, its apparently a better solution than changing net_splitrate or net_maxcleartime. In this compiled version, I have also default the cvar net_forcerate to 2147483647 which is basically unlimited, You might want to decrease this if your server host has a bandwidth limit although this value appears to be fine on my servers. This is the reddit post which explains more: https://www.reddit.com/r/GlobalOffen...28tick_servers. |
Re: [CSGO/ANY?] ForceRate
1 Attachment(s)
Here's an updated version that should stop the crashing, it removes the use of a hook on GetDataRate (which was more of a holdover from trying to use a different method). I'm still not sure exactly why it crashed, but this should be far more stable.
|
Re: [CSGO/ANY?] ForceRate
It would be great if you could give a little install tutorial for noobs like me :)
|
Re: [CSGO/ANY?] ForceRate
Quote:
Quote:
|
Re: [CSGO/ANY?] ForceRate
Updated again with latest commit, can confirm crashes are fixed, Thanks!
|
Re: [CSGO/ANY?] ForceRate
Could the SM developers confirm if this is safe to use, please?
|
Re: [CSGO/ANY?] ForceRate
Looks fine at a glance.
|
Re: [CSGO/ANY?] ForceRate
Thank you :)
|
Re: [CSGO/ANY?] ForceRate
its safe to use guys since we were testing it on my servers. Great guy and thank you for doing this. Love you so much bro no homo!! 128 tick!!
|
Re: [CSGO/ANY?] ForceRate
3 Attachment(s)
Here's this MM:S plugin as a sourcemod plugin.
Thanks to Drifter's example for getting an engine interface. This adds the same convar "net_forcerate" which defaults to "0" - disabled. Edit: Added a check to verify the CNetChan::m_Rate offset is correct before trying to change it. |
Re: [CSGO/ANY?] ForceRate
Thanks to both of you for the solutions.
I'm trying to use the Sourcemod plugin by Peace-Maker on a Linux server, but this leads to a crash on player disconnect. Using latest Linux sourcemod build 5929. A self-compiled version of the Plugin on Linux leads to the same error. Would be nice to hear if someone else got the same problem on a Linux server. Quote:
Crinis |
Re: [CSGO/ANY?] ForceRate
Unfortunately, Peace-Maker's plugin leads to a crash on Windows as well.
|
Re: [CSGO/ANY?] ForceRate
It does exactly the same thing as Tobba's plugin, so it will have the same flaws. Though the linux offset for m_Rate was changed to 280 as well in the latest gist, so you might want to try changing it in the gamedata on linux.
I've added a check to compare the value at the offset with the output from GetDataRate, to verify the offset is correct. This should at least prevent crashes due to a bad offset. |
Re: [CSGO/ANY?] ForceRate
Actually it doesn't seem like crashing due to a wrong offset - the server was working for a few minutes, players were connecting and disconnecting, but then it hang up and had to be manually restarted.
|
Re: [CSGO/ANY?] ForceRate
Thanks. Hasn't crashed on Linux for me yet. Will continue testing tomorrow.
Edit after one day of testing: Used the Sourcemod Plugin for a day on a full 20 slot DM server without choke or crashes. |
Re: [CSGO/ANY?] ForceRate
can anyone give me a linux binary?
would be pretty awesome :D |
Re: [CSGO/ANY?] ForceRate
You don't need it, yesterday CSGO patch allowed to push rate up to 786432.
|
Re: [CSGO/ANY?] ForceRate
so this is useless now? or should I still install this on the servers?
|
Re: [CSGO/ANY?] ForceRate
Quote:
Use server cvars sv_minrate 200000 sv_maxrate 0 |
Re: [CSGO/ANY?] ForceRate
Quote:
|
Re: [CSGO/ANY?] ForceRate
just tried a compiled version on l4d2 and it dosen't work.
max rate on client is still 30000, hardcoded max value too. used net_forcerate 2147483647 |
Re: [CSGO/ANY?] ForceRate
Quote:
|
Re: [CSGO/ANY?] ForceRate
Quote:
Many thanks. :bacon!: PHP Code:
|
All times are GMT -4. The time now is 14:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.