Raised This Month: $51 Target: $400
 12% 

[L4D2] Tickrate Enabler


Post New Thread Reply   
 
Thread Tools Display Modes
Voevoda
Senior Member
Join Date: Aug 2016
Old 07-12-2021 , 14:17   Re: [L4D2] Tickrate Enabler
Reply With Quote #21

Quote:
Originally Posted by Crasher_3637 View Post
I already stated above what you need...

Description
Enables the tickrate on the server.
This is the same as the extension but only in the form of a plugin
To change the tickrate, open the plugin and change the 10th line to the desired tickrate and compile the plugin

Required
SourceScrambler
SourceMod version > 10
Voevoda is offline
Uncle Jessie
Member
Join Date: May 2016
Location: Mind Prison
Old 07-12-2021 , 16:05   Re: [L4D2] Tickrate Enabler
Reply With Quote #22

Quote:
Originally Posted by Voevoda View Post
SourceMod version > 10
this means that you need sm 11 at least

Last edited by Uncle Jessie; 07-12-2021 at 16:06.
Uncle Jessie is offline
rtokuda
Senior Member
Join Date: Dec 2019
Old 07-13-2021 , 18:05   Re: [L4D2] Tickrate Enabler
Reply With Quote #23

//SourceMod Batch Compiler
// by the SourceMod Dev Team


PHP Code:
//// l4d2_tickrate_enabler.sp
//
// \\Desktop-ekta7io\l4d2\left4dead2\addons\sourcemod\scripting\l4d2_tickrate_enabler.sp(64) : error 105: cannot find method or property GameData.GetMemSig
// \\Desktop-ekta7io\l4d2\left4dead2\addons\sourcemod\scripting\l4d2_tickrate_enabler.sp(64) : warning 213: tag mismatch
// \\Desktop-ekta7io\l4d2\left4dead2\addons\sourcemod\scripting\l4d2_tickrate_enabler.sp(70) : warning 213: tag mismatch
//
// 1 Error.
//
// Compilation Time: 0,69 sec
// ---------------------------------------- 
rtokuda is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-13-2021 , 18:09   Re: [L4D2] Tickrate Enabler
Reply With Quote #24

Already mentioned in posts above, see them for fix.
__________________
Silvers is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 07-14-2021 , 01:02   Re: [L4D2] Tickrate Enabler
Reply With Quote #25

Updated
PHP Code:
Added 2 convars (thanks to Martt)
Implemented UpdateRates
Reverted back to SourceMod 1.10 

Last edited by BHaType; 07-14-2021 at 01:02.
BHaType is offline
Send a message via AIM to BHaType
Uncle Jessie
Member
Join Date: May 2016
Location: Mind Prison
Old 07-14-2021 , 13:28   Re: [L4D2] Tickrate Enabler
Reply With Quote #26

nicely done
Uncle Jessie is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 07-15-2021 , 13:21   Re: [L4D2] Tickrate Enabler
Reply With Quote #27

With this complement it is also possible to lower the lerps to 0?
Attached Thumbnails
Click image for larger version

Name:	tickrate.png
Views:	339
Size:	19.3 KB
ID:	190373  
VladimirTk is offline
Earendil
Senior Member
Join Date: Jan 2020
Location: Spain
Old 07-19-2021 , 20:11   Re: [L4D2] Tickrate Enabler
Reply With Quote #28

Please, could you add the compiled file in the attachments? Because it fails to compile because it requires SourceScrambler.

A suggestion: Add another CVar to scale sv_maxrate and sv_minrate instead of being 1000 times the tickrate, if the server is full of mods it would require more rates.
Earendil is offline
rtokuda
Senior Member
Join Date: Dec 2019
Old 07-21-2021 , 19:22   Re: [L4D2] Tickrate Enabler
Reply With Quote #29

Do I need to put some cvar in server.cfg ?I'm using this setting when using the Spirits extension to open the Ticket Rate.

PHP Code:
sv_minrate sm_cvar 100000
sm_cvar sv_maxrate 100000
sm_cvar sv_minupdaterate 100
sm_cvar sv_maxupdaterate 100
sm_cvar sv_mincmdrate 100
sm_cvar sv_maxcmdrate 100
sm_cvar net_splitpacket_maxrate 100000
sm_cvar fps_max 0
sm_cvar nb_update_frequency 0
,024
// Boomer vomit range fix (default value * server tickrate/default tickrate - Dunno if it's the same for 100)
sm_cvar z_vomit_velocity 3700.0 
And I always put this parameter in the launcher

-tickrate 100

Quote:
Originally Posted by BHaType View Post
Description
Enables the tickrate on the server.
This is the same as the extension but only in the form of a plugin

ConVars
PHP Code:
l4d2_tickrate_enabler_auto_rates <- Automatically sets rates
l4d2_tickrate_enabler_tick 
<- Desired server tickrate 
Required
  1. SourceScrambler

Credits
  • Satanic Spirit - for his Tickrate Enabler
  • ProdigySim & V1SoR- for creating original extension
rtokuda is offline
Uncle Jessie
Member
Join Date: May 2016
Location: Mind Prison
Old 07-22-2021 , 05:10   Re: [L4D2] Tickrate Enabler
Reply With Quote #30

Quote:
Originally Posted by rtokuda View Post
Do I need to put some cvar in server.cfg ?I'm using this setting when using the Spirits extension to open the Ticket Rate.

-tickrate 100
If you are too lazy to set only this values in server.cfg

PHP Code:
sm_cvar sv_minrate 100000
sm_cvar sv_maxrate 100000
sm_cvar sv_minupdaterate 100
sm_cvar sv_maxupdaterate 100
sm_cvar sv_mincmdrate 100
sm_cvar sv_maxcmdrate 100
sm_cvar net_splitpacket_maxrate 150000 
Then leave it by default 1 or if you want values from your server.cfg set it to 0
PHP Code:
l4d2_tickrate_enabler_auto_rates", "1", "Enable auto rates updater

Last edited by Uncle Jessie; 07-22-2021 at 05:22.
Uncle Jessie is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode