L4D/L4D2 Tickrate Enabler
2 Attachment(s)
Tickrate Enabler 1.4 by ProdigySim
Description Enables the "-tickrate" switch to be used from the command line to set the game's tickrate. Patches Boomer Vomit behavior to fix an issue where vomit range scaled inversely with tickrate. Supports both Windows and Linux installs. Removes global upper-limits on the max client data rate (was 30000), and removes the (30k) limits on rate control cvars: Code:
- sv_maxrate HTML Code:
- Place tickrate_enabler folder in your server's addons folder. Changelog / TODO HTML Code:
1.4: No revision, just a recompile. - Investigate other bugs - Remove 30K rate limit from HLTV clients. Credits / License tickrate_enabler is copyright Michael "ProdigySim" Busby 2012 Parts of this project contain GPLv3 code adapted from SourceMod (Allied Modders L.L.C.) and Left4Downtown2 (Igor Smirnov et. al.). This entire project is released under the AlliedModders modified GPLv3. Note: The Hardcode 60 zip contains the hardcoded 60 tickrate. This can be used on servers where direct command line access is not possible. By default this will run the servers at 60. Note: This is not my plugin, I've just fixed the Windows offset for it. I'm going by V1SoR's previous reply on the topic. If anyone has any problems with it, then feel free to take it down. Quote:
Original Source: https://bitbucket.org/ProdigySim/l4d2_tickrate_enabler |
Re: L4D/L4D2 Tickrate Enabler
Update: (Thanks to epzminion.)
- Fixed l4d Linux offsets. - Fixed linux builds. |
Re: L4D/L4D2 Tickrate Enabler
I'm currently having some difficulty getting this plugin to work on a Windows server. The command line has the -tickrate command set, and I added the rate settings to the server.cfg. I have also tested executing them as sm_cvar's. I tried restarting the server with them set to sm_cvar commands as well. The tickrate_enabler.dll is confirmed to be installed on the server. Everything appears to be correct on the server side of things, however the rates remain locked at 30.2. Any idea on what could have went wrong?
|
Re: L4D/L4D2 Tickrate Enabler
Does plugins_print show it to be loaded in? Also, what is the output of sm_cvar sv_maxupdaterate and sm_cvar sv_maxcmdrate ?
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
Code:
Loaded plugins: |
Re: L4D/L4D2 Tickrate Enabler
Quote:
For reference, I tried the exact settings listed in the post. and also with sm_cvar in front of them. also tried -tickrate 60 in the command line with matching cfg settings. The vdf and dll are in the addons folder like stated. I could have missed a crucial step, but I don't see it. |
Re: L4D/L4D2 Tickrate Enabler
Quote:
Make sure you have tickrate_enabler_l4d1.vdf in your addons folder. If you placed it inside your metamod folder, move it out of there and put it back into the base addons folder where the metamod.vdf file is. The way the vdf is set up, the tickrate_enabler.dll file must be in a subdirectory of addons named tickrate_enabler. Double-check both of those files and see if it fixes the problem. |
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
In L4D2 you will need the tickrate_enabler.vdf from the "Package-l4d2" folder in the archive in your addons folder and the corresponding tickrate_enabler.dll in the addons/tickrate_enabler/ folder. |
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
I use the following settings on my 60-tick L4D1/L4D2 servers. These settings may not be ideal for you, but I've been using them for quite some time without any issues. These settings force a minimum of 60 updates/sec from server-to-client and a minimum of 30 updates/sec from client-to-server. If you want clients to send updates at a rate of 60/sec then change sv_mincmdrate to 60 instead. Code:
sm_cvar net_splitrate 2 |
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
I have some difficulty getting this plugin to work on a Linux server
I install Tickrate Enabler 1.4 in my L4D1 server I put every file on the right location where you say. However it doesn't show up when using plugin_print -------------------------- : 0: "Metamod:Source 1.10.7-dev" -------------------------- my computer system is Linux ubuntu 17.04 and I have installed the following successfully sourcemod v1.8.0.6024 metamod:source v1.10.7-dev I don't know what's going on , can you help me please? |
Re: L4D/L4D2 Tickrate Enabler
What VDF file are you using? Post the contents of your VDF file.
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
left4dead\addons\metamod.vdf "Plugin" { "file" "../left4dead/addons/metamod/bin/server" } left4dead\addons\tickrate_enabler_l4d1.vdf "Plugin" { "file" "../left4dead/addons/tickrate_enabler" } l4d1 linux v1034,by the way |
Re: L4D/L4D2 Tickrate Enabler
I just tested it on my debian based setup. This is a game plugin, so I shouldn't be affected by the Metamod or Sourcemod versions.
status PHP Code:
Version PHP Code:
PHP Code:
PHP Code:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
only this error "srcds.run" says PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
ok, that was my fault, I tried to modify .vdf file path.
Now I delete everything in addons folder and only put your "Package-l4d" put "tickrate_enabler" folder in addons folder put "tickrate_enabler_l4d1.vdf" in addons folder now I launch the server and it shows the following lines PHP Code:
|
Re: L4D/L4D2 Tickrate Enabler
Check the left4dead/logs folder. Also, try enabling debug with -debug parameter.
Wait a minute! Are you running a listen server as opposed to a dedicated one? |
Re: L4D/L4D2 Tickrate Enabler
Quote:
left4dead\addons\sourcemod\logs folder no any errors mention about tickrate. left4dead\logs folder no any files. Actually, I use VMware Workstation to create a linux platform and launch a dedicated server on the virtual machine. my computer original system is window 64-bit and tickrate works fine in windows I heard most of people said linux server is much better then windows, so ... I use virtual machine and want to test a linux l4d1 dedicated server. Does tickrate not work because of virtual machine?? :cry: |
Re: L4D/L4D2 Tickrate Enabler
Something is off. Your server seems to be not up to date. Check the last piece of information on Exe build statement. Yours say 215, where mine said 500. Try to update your server. I can't think of anything else.
I just tested it again and it still works on my Linux platform. No reason for it to not work on Ubuntu. |
Re: L4D/L4D2 Tickrate Enabler
Well, I change ubuntu to 14.04 and version is (6312) (500) , still can not load.
I guess it's virtual machine problem, it does not allow computer to distribute more then half of CPU cores on VM. I will test server and tickrate in real linux system computer. thanks for helping me anyway. |
Re: L4D/L4D2 Tickrate Enabler
I don't think virtual or real machine has anything to do with it. Do you have ambuild2 installed? Try to compile it on your end and see if that works.
|
Re: L4D/L4D2 Tickrate Enabler
uhhh, I'm sry, what is ambuild2 ? :/
|
Re: L4D/L4D2 Tickrate Enabler
Ambuild2 is the preferred framework for compiling extensions. I was just gonna recommend you to compile it on your system and see if it works that way. You probably are missing one of the required packages on the system.
|
Re: L4D/L4D2 Tickrate Enabler
I already downloaded from https://github.com/alliedmodders/ambuild
and install ambuild $ cd ambuild $ sudo python setup.py install anything else should I do? :/ |
Re: L4D/L4D2 Tickrate Enabler
Quote:
You should have Sourcemod, Metamod and hl2sdk-l4d in the same directory as you download Tickrate source. You also have the option to provide your own paths with --sm-path and --mms-path. |
Re: L4D/L4D2 Tickrate Enabler
so....
I download 4 source from github 1.https://github.com/Satanic-Spirit/Tickrate-Enabler 2.https://github.com/alliedmodders/hl2sdk/tree/l4d 3.https://github.com/alliedmodders/met...08a3c0e3a2c37f (mm Build 959) 4.https://github.com/alliedmodders/sou...7d184cb7f0f863 (sm build 6027) and put these four folders "hl2sdk-l4d", "metamod-source","sourcemod", "Tickrate-Enabler-master" in the same directory "/home/linux/l4d". Then enter $ cd build /home/linux/l4d/Tickrate-Enabler-master/build $ python ../configure.py --symbol-files --enable-optimize --sdks l4d2 (l4d or l4d2 ? I'm still confused) $ ambuild Am I right? well, I'm deeply sry for my many idiot questions. :( I never do this before, any my English is bad. Can't find any Tutorials about this on the Internet. |
Re: L4D/L4D2 Tickrate Enabler
That should work and if it says build successful then you can find the package inside the build folder.
|
Re: L4D/L4D2 Tickrate Enabler
1 Attachment(s)
i don't what to do anything with this tool,i just want to throw it in the right place,but when i did that,i found the errors of it.so i've to build my own tickrate enabler version to see if it can help me with the errors.the errors is:
failed to dlopen /home/geipoe/serverfiles/left4dead2/addons/tickrate_enabler/tickrate_enabler.so error=bin/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/geipoe/serverfiles/left4dead2/addons/tickrate_enabler/tickrate_enabler.so) Unable to load plugin "addons/tickrate_enabler/tickrate_enabler" so i just do as fbef0102 do(because i've no idea of anything about the core,thanks for he/she post that i can have try on it),only change the hl2sdk/tree/l4d to hl2sdk/tree/l4d2. but i got some errors.i have uploaded a screen shot of it.can anyone help me with that? sorry for my poor english,thanks. |
Re: L4D/L4D2 Tickrate Enabler
Your operating system seems to be really old. What Linux districts are you using?
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
You might be missing the required library. Try installing it with the following command.
PHP Code:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
Quote:
|
Re: L4D/L4D2 Tickrate Enabler
As far as my knowledge, libstdc++6 is backwards compatible. Can you provide the output from the following command? (You need to be in same dir as the file or provide full path.)
PHP Code:
|
All times are GMT -4. The time now is 10:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.