Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Navigation

2025/8/14 updated


Stripper

  • Installation
    1. Go to Stripper:Source and click SNAPSHOTS
      image

    2. Search the latest version and download files depending on your system
      image

    3. Unzip all files to your server same folder, press yes if ask override. You will have stripper folder in addons folder
      image

    4. Restart Server, type stripper_version in serve console

      ] stripper_version
      "stripper_version" = "1.2.2"
      notify singleplayer replicated
      - Stripper Version

l4dtoolz

  • L4D2 Installation
    1. Go to l4dtoolz and download files
      image

    2. Unzip all files to your server addons folder, press yes if ask override. You will have l4dtoolz files in addons folder
      image

    3. Write down the following cvars

      • (Dedicated server) in cfg/server.cfg (🟥if file doesn't exist, create it🟥)
         // This cvar from l4dtoolz extension: github.com/lakwsh/l4dtoolz
         // Max. clients/players, how many real players + bots allowed in server
         // Do not modify value (max: 31)
         // Also write in server launch parameter
         sv_setmax 31
        
         // How many real players can join server (Not including AI Bots)
         // Free to modify value (1~31)
         sv_maxplayers 18
        
         // "maximum players" number that's visible to people in the server browser and server queries
         // Suggest to set the same number as sv_maxplayers
         sv_visiblemaxplayers 18
        
         // If 0, Allow to join server via matchmaking lobby, connect, or server list
         // If 0, server has reserve match system when from lobby only
         // If 0, Allow to change sv_cheats to 1 anytime
         // If 1, Allow to join this server only when server is reserved
         // If 1, server has reserve match system no matter how players join server 
         // If 1, Not allow to change sv_cheats to 1
         sv_allow_lobby_connect_only 1
        
         // This cvar from l4dtoolz extension: github.com/lakwsh/l4dtoolz
         // If 1, force sv_allow_lobby_connect_only to be 0
         // If 1, no reserved cookie + don't reply reservation request form lobby
         sv_force_unreserved 0
        
         // This cvar from l4dtoolz extension: github.com/lakwsh/l4dtoolz
         // 1=bypass SteamID verification, 0=Off
         // This feature can alleviate the No Steam logon (code 6) issue (only for players who enter while the feature is enabled).
         // Enabling this feature will weaken server security, and Family Sharing functionality will be disabled.
         // Note: Enabling this feature will cause abnormal A2S_INFO results, which can be fixed with this plugin: github.com/lakwsh/l4d2_vomit_fix/blob/master/l4d2_a2s_fix.sp
         // Note: Enabling this feature will cause SteamWorks extension not working
         sv_steam_bypass 1
        
         // This cvar from l4dtoolz extension: github.com/lakwsh/l4dtoolz
         // 1=Activating this function can completely prohibit family shared accounts (alt accounts) from entering the server, 0=Off
         sv_anti_sharing 0
      • (Listen Server) In cfg/listenserver.cfg if (🟥if file doesn't exist, create it🟥)
         // How many real players can join server (Not including AI Bots)
         // Free to modify value (1~8)
         // Local server only allows 8 real players
         sv_maxplayers 8
        
         // Maximum players" number that's visible to people in the server browser and server queries
         // Suggest to set the same number as sv_maxplayers
         sv_visiblemaxplayers 8
        
         // This cvar from l4dtoolz extension: github.com/lakwsh/l4dtoolz
         // 1=bypass SteamID verification, 0=Off
         // This feature can alleviate the No Steam logon (code 6) issue (only for players who enter while the feature is enabled).
         // Enabling this feature will weaken server security, and Family Sharing functionality will be disabled.
         // Note: Enabling this feature will cause abnormal A2S_INFO results, which can be fixed with this plugin: github.com/lakwsh/l4d2_vomit_fix/blob/master/l4d2_a2s_fix.sp
         // Note: Enabling this feature will cause SteamWorks extension not working
         sv_steam_bypass 1
        
         // This cvar from l4dtoolz extension: github.com/lakwsh/l4dtoolz
         // 1=Activating this function can completely prohibit family shared accounts (alt accounts) from entering the server, 0=Off
         sv_anti_sharing 0
    4. By default, the game engine only allow 18 max players. To change max clients

      • (Dedicated server) If using launch panel/software tool/linux system, please input launch parameter +sv_setmax 31
        image
        image
      • (Listen Server) Launch options +sv_setmax 31
        image
      • 🟥 sv_setmax and sv_maxplayers are different
        • sv_setmax = Max Real players + AI Bots allowed in server
        • sv_maxplayers = How many real players can join server (Not including AI Bots)
      • 🟥 Server would crash if set over 31 Max. players
    5. Restart Server

      • Type plugin_print in server console. If it doesn't show, that means not install correctly
         ] plugin_print
         Loaded plugins:
         0:      "L4DToolZ v2.4.0, https://github.com/lakwsh/l4dtoolz"
      • Type maxplayers in server console. If "maxplayers" number is not 31, that means not install correctly or l4dtoolz version is old
         ] maxplayers
         "maxplayers" is "31"
    6. Install plugin

      • (Dedicated server) l4d_unreservelobby: Removes lobby reservation when server is full, allow 9+ players to join server
      • (Dedicated server) l4d2_a2s_fix: Patches A2S_INFO issue (Only when sv_steam_bypass is 1)
      • l4d2_vomit_fix: Patches Boomer Vomit behavior to fix an issue where vomit range scaled inversely with tickrate.
  • L4D1 Installation
    1. Go to l4dtoolz and download files depending on your game and system

      • win: windows system
      • linux: linux system newer version
      • oldlinux: linux system older version
        image
    2. Unzip all files to your server same folder, press yes if ask override. You will have l4dtoolz folder in addons folder
      image

    3. Write down the following cvars

      • (Dedicated server) in cfg/server.cfg (🟥if file doesn't exist, create it🟥)
         // How many real players can join server (Not including AI Bots)
         // Free to modify value (1~31)
         sv_maxplayers 18
        
         // Maximum players" number that's visible to people in the server browser and server queries
         // Suggest to set the same number as sv_maxplayers
         sv_visiblemaxplayers 18
        
         //If 0, Allow to join server via matchmaking lobby, connect, or server list
         //If 0, server has reserve match system when from lobby only
         //If 0, Allow to change sv_cheats to 1 anytime
         //If 1, Allow to join this server from matchmaking lobby only
         //If 1, server has reserve match system no matter how players join server 
         //If 1, Not allow to change sv_cheats to 1
         sv_allow_lobby_connect_only 1
        
         //This cvar from l4dtoolz extension
         //If 1, force sv_allow_lobby_connect_only to be 0
         //If 1, no reserved cookie + don't reply reservation request form lobby
         sv_force_unreserved 0
      • (Listen Server) In cfg/listenserver.cfg if (🟥if file doesn't exist, create it🟥)
         // How many real players can join server (Not including AI Bots)
         // Free to modify value (1~8)
         sv_maxplayers 8
        
         // Maximum players" number that's visible to people in the server browser and server queries
         // Suggest to set the same number as sv_maxplayers
         sv_visiblemaxplayers 8
    4. By default, the game engine only allow 18 max players. To change max clients

      • (Dedicated server) If using launch panel/software tool/linux system, please input launch parameter -maxplayers 31
        image
        image
      • (Listen Server) Launch options -maxplayers 31
        image
      • 🟥 maxplayers and sv_maxplayers are different
        • maxplayers = Max Real players + AI Bots allowed in server
        • sv_maxplayers = How many real players can join server (Not including AI Bots)
      • 🟥 Server would crash if set over 31 Max. players
    5. Restart Server

      • Type meta list in server console. If it doesn't show, that means not install correctly
         ] meta list
         Listing 11 plugins:
         [04] L4DToolZ (2.0.1) by Accelerator, Ivailosp
      • Type maxplayers in server console. If "maxplayers" number is not 31, that means not install correctly or l4dtoolz version is old
         ] maxplayers
         "maxplayers" is "31"
    6. Install plugin

      • (Dedicated server) l4d_unreservelobby: Removes lobby reservation when server is full, allow 9+ players to join server
  • Q&A 1: What is the differece between sv_maxplayers and maxplayers
    • l4dtoolz cvarsv_maxplayers: How many real players can join server (Not including AI Bots)
    • l4dtoolz request server launch option-maxplayers or +sv_setmax: Max. clients/players, how many real players + ai bots allowed in server
    • For example:
       cvar: sv_maxplayers 16
       server launch option: -maxplayers 31
      • Only 16 real players can join server, any 17th real player will be blocked (unable to join server)
      • There can be 31 AI + real players(infecteds + surviviors + specatotors) in the server, any 32th AI infected or survivor will be blocked (unable to spawn)

TickrateEnabler

  • What is TickrateEnabler?
    • To unlock server tickrate limit, up to 100 tickrate
      • If you don't know tickrate, please google it
      • Tickrate = Server fps
    • High Tickrate costs more cpu performance
  • L4D2 Installation
    1. Go to l4dtoolz and download files

      • This version of l4dtoolz includes the functions to unlock server max players and tickrates
        image
    2. Unzip all files to your server addons folder, press yes if ask override. You will have l4dtoolz files in addons folder
      image

    3. Write down the following cvars in cfg/server.cfg

      • If you don't have server.cfg, then create it
         // 100 Tickrate, free to modify value
         sm_cvar sv_minrate 				"100000" 	// tickrate * 1000
         sm_cvar sv_maxrate 				"100000" 	// tickrate * 1000
         sm_cvar sv_minupdaterate 		"101"	 	// tickrate +1
         sm_cvar sv_maxupdaterate 		"101"		// tickrate +1
         sm_cvar sv_mincmdrate 			"101"		// tickrate +1
         sm_cvar sv_maxcmdrate 			"101"		// tickrate +1
         sm_cvar rate					"100000" 	// tickrate * 1000
         sm_cvar net_splitpacket_maxrate "50000" 	// (tickrate÷2) * 1000
         sm_cvar fps_max					"0"
    4. Input the Launch Parameters

      • (Dedicated server) Launch Parameters -tickrate 100
        image
      • (Listen Server) Launch options-tickrate 100
        image
    5. Restart Server, type plugin_print in serve console

      • This version of l4dtoolz includes the functions to unlock server max players and tickrates
         ] plugin_print
         Loaded plugins:
         0:      "L4DToolZ v2.4.0, https://github.com/lakwsh/l4dtoolz"
    6. Join server, open game console and type net_graph 4, you will see the network usage graph on your screen, make sure tickrate is 100
      image

    7. Install plugin

      • l4d2_vomit_fix: Patches Boomer Vomit behavior to fix an issue where vomit range scaled inversely with tickrate.
  • L4D1 Installation
    1. Go to Tickrate-Enabler and download files depending on your game and system

      • win: windows system
      • linux: linux system newer version
      • oldlinux: linux system older version
        image
    2. Unzip all files to your server same folder, press yes if ask override. You will have tickrate_enabler folder in addons folder
      image

    3. Write down the following cvars in cfg/server.cfg

      • If you don't have server.cfg, then create it
      // 100 Tickrate, free to modify value
      sm_cvar sv_minrate 				"100000" 	// tickrate * 1000
      sm_cvar sv_maxrate 				"100000" 	// tickrate * 1000
      sm_cvar sv_minupdaterate 		"101"	 	// tickrate +1
      sm_cvar sv_maxupdaterate 		"101"		// tickrate +1
      sm_cvar sv_mincmdrate 			"101"		// tickrate +1
      sm_cvar sv_maxcmdrate 			"101"		// tickrate +1
      sm_cvar rate					"100000" 	// tickrate * 1000
      sm_cvar net_splitpacket_maxrate "50000" 	// (tickrate÷2) * 1000
      sm_cvar fps_max					"0"
    4. Input the Launch Parameters

      • (Dedicated server) Launch Parameters -tickrate 100
        image
      • (Listen Server) Launch options-tickrate 100
        image
    5. Restart Server, type plugin_print in serve console

      ] plugin_print
      1:  "Tickrate_Enabler 1.5, ProdigySim"
    6. Join server, open game console and type net_graph 4, you will see the network usage graph on your screen, make sure tickrate is 100
      image

Warning

  • High Tickrate costs more cpu performance, you can adjust tickrate to 60 or 45
  • Need to modify server.cfg and Launch Parameters together to change tickrate
  • Q&A 1: Why the windows server Tickrate stuck at 64?

    image

    • Reason: Windows system problem
    • To Solve:
      • Method 1:Go complain Microsoft
      • Method 2:Using windows 7 instead
      • Method 3:Using linux server instead
      • Method 4:Connect Server from lobby with mm_dedicated_force_servers command, it will fix 64 tick issue in windows server
      • Method 5: Windows Unlock Tool, force to unlock sv
  • Q&A 2: Why player's tickrate is not 100?

    image

    • Reason: Limited by your fps, Your in-game fps must be above 100 to enjoy 100 tickrate
      image
    • To Solve:
      • Method 1:Options->Video->Advanved Settings->WAIT FOR VERTICAL SYNC "Disabled", Unlock fps limit
        image
      • Method 2:Better upgrade Graphics Card (GPU)

Country and City Database

  • When to install?
    • Plugins that need to retrieve data from client, such as IP, country, region, city.
    • If you have Please geoipcity.ext and geoip2.ext. please REMOVE. They are now included with SourceMod v1.11 or above
  • Installation
    1. Register on maxmind.com to be able to download databases

    2. My Account -> MY ACCOUNT -> GeoIP2/GeoLite2 -> Download Files
      image

    3. Seach "GeoLite2 Country" and "GeoLite2 City" -> download databases.
      GeoLite2_Country
      GeoLite2_City

    4. Put GeoLite2-City.mmdb and GeoLite2-Country.mmdb files to path addons/sourcemod/configs/geoip/ folder
      image


Accelerator Crash Report

  • What is this?
    • When server crash, it uploads the crash reports to a community-accessible processing backend
      • Helpful notices with clear information help server owners quickly resolve crash causes
      • Check the crash reports and try to fix or share with others who can fix
  • Installation
    1. Go to Accelerator - Crash Reporting That Doesn't Suck and click Download, download files depending on your system
      image
      image

    2. Unzip all files to your server same folder
      image

    3. Copy the folloing and paste into sourcemod/configs/core.cfg

      • Configuration
         /**
         * SteamID64 (Community ID) that will have ownership of uploaded crash reports.
         * You can share your crash reports with additional users from the website.
         *
         * If unset, your crash reports will be uploaded anonymously and you will not be
         * able to see all of the information.
         */
         "MinidumpAccount"	"xxxxxxxxxxxxx"
        
         /**
         * Controls which binaries will be eligible to be processed for symbols and uploaded.
         * Only modules loaded by the server at the time of the crash can be considered.
         *
         * 0 = Disabled: No binaries will be processed or uploaded.
         * 1 = System Only: Only binaries outside of the game directory (where the srcds binary is).
         * 2 = System + Game: Loaded modules outside of the addons/ directory.
         * 3 = System + Game + Addons: All loaded modules.
         */
         "MinidumpSymbolUpload"	"3"
        
         /**
         * Controls whether Accelerator can upload complete module binaries when explicitly requested
         * by the processing server. This also respects the value of the MinidumpSymbolUpload setting.
         */
         "MinidumpBinaryUpload"	"yes"
        
         /**
         * Controls whether Accelerator does local processing of crash reports before upload.
         * This should only be changed if local processing causes issues such as crashes,
         * the processing server may reject crash reports that have not been presubmitted.
         */
         "MinidumpPresubmit"	"yes"
        
         /**
         * URL to upload crash dumps to. Should not be changed.
         */
         "MinidumpUrl"	"http://crash.limetech.org/submit"
        
         /**
         * URL to upload processed symbols to. Should not be changed.
         */
         "MinidumpSymbolUrl"	"http://crash.limetech.org/symbols/submit"
        
         /**
         * URL to upload binaries to. Should not be changed.
         */
         "MinidumpBinaryUrl"	"http://crash.limetech.org/binary/submit"
      • Note that must be inside the "Core"{}, as the image shows
        image
    4. Change "xxxxxxxxxxxxxxxxx" and write your own steamid 64 in core.cfg

    5. (Linux requires extra step, Winodws skips this step)

      1. Navigate to where your server is installed and run the following command, run the following command

        find ./bin -type f -name "libstdc++*" 2>/dev/null
        find ./bin -type f -name "libgcc*" 2>/dev/null

        You should get an output similar to this image, delete all files that are found. (Remember to back up your files. If haven't printed any files, then there's no need to delete them)
        image

      2. Check srcds

        • If server is running 32 bits version, name is srcds_run, run

           sudo dpkg --add-architecture i386
           sudo apt update
           sudo apt install libstdc++6:i386 libstdc++6:i386
        • If server is running 64 bits version, name is srcds64_run, run

           sudo apt update
           sudo apt install libstdc++6 libstdc++6
      3. Let's locate the system's lib files by running the following command :

        find /usr/lib /usr/lib64 /lib /lib64 -type f -name "libc.so*" 2>/dev/null
        find /usr/lib /usr/lib64 /lib /lib64 -type f -name "libgcc*" 2>/dev/null
        find /usr/lib /usr/lib64 /lib /lib64 -type f -name "libstdc++*" 2>/dev/null


        image

        • If running 64 bits version, copy the path with the '64'
        • If running 32 bits version then copy the other path
      4. Navigate to where your server is installed

        • If running 32 bits version

          • Rename srcds_linux to srcds_linux_original
          • Create a script called srcds_linux with the following contents:
             #!/bin/bash
             export LD_PRELOAD="/usr/lib/i386-linux-gnu/libc.so.6:/usr/lib/i386-linux-gnu/libgcc_s.so.1:/usr/lib/i386-linux-gnu/libstdc++.so.6"
             exec ./srcds_linux_original "$@"
          • Copy and past the path of lib files after 'LD_PRELOAD=', multi paths separate by :
            image
        • If running 64 bits version

          • Rename srcds_linux64 to srcds_linux64_original
          • Create a script called srcds_linux64 with the following contents:
             #!/bin/bash
             export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libc.so.6:/usr/lib/x86_64-linux-gnu/libgcc_s.so.1:/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30"
             exec ./srcds_linux64_original "$@"
          • Copy and past the path of lib files after 'LD_PRELOAD=', multi path separate by :
    6. Restart Server

      • (Windows) Launch server as usual
      • (Liunx) Launch server with ./srcds_run -game... or ./srcds64_run -game... as usual
      • Type sm exts list in server console. If it doesn't show, that means not install correctly
         ] sm exts list
         Loaded plugins:
         [01] Accelerator (2.x.x-xxxxx): SRCDS Crash Handler
      • There should be a file named accelerator.log in addons\sourcemod\logs folder. If it doesn't appear, that means not install correctly (The file is empty)
        image
  • Next, wait for server crash
    1. When server crash, it would start to generate crash report and notify Crash ID

      • You will have the Crash ID in file addons\sourcemod\logs\accelerator.log
      • You will have the Crash ID in file addons\sourcemod\logs\errors_xxxx.log
         [CRASH] Accelerator uploaded crash dump: Crash ID: WWWWW-YYYY-ZZZZ
    2. Uploads the crash reports to crash.limetech.org, the processing backend analyses crash reports to extract useful information

      • Type Crash ID
        image
        image
    3. If you want to know more details about crash report

      • Login with steam account
        image
      • View Dashboard. If there are no any crash reports on the list, that means the steamid 64 is wrong in sourcemod/configs/core.cfg
        image
        image
  • How to analyze crash report?
    1. Please loign with steam account, you can see more details about crash report
      image

    2. It's normal that unable to understand the crash report. If understand it, you should be hired by Valve company

    3. You can share the crash log with experienced sourcemod programmer or ask for help

      • (Method 1) Share Crash ID
      • (Method 2) Share dashboard with other players, type their steam id 64
        image
        image
        image
  • Troubleshooting Crashes

    Try the following steps to reduce the probability of server crash

    1. If you are local server (listen server), please get a dedicated server

    2. Update Sourcemod Stable Version
      image

    3. Update Metamod Stable Version
      image

    4. Type sm plugins list to view all plugins

      • Find the original author or the link where you downloaded one by one, and update the plugin if newer version.
      • 🟥 Suggest not using plugins without source code, because if they are broken, there is no way to repair.
      • 🟥 More than ten years old plugins without any update and fix, please remove.
    5. Type sm exts list to view all extensions

      • Find the original author or the link where you downloaded one by one, and update the plugin if newer version.
    6. Check if any error_xxx.log in addons/sourcemod/logs folder

      • Please check the file and try to fix the errors it says.
      • Report the errors to the plugin author
      • 🟥 Must fix until no errors
    7. Try to remove plugins until figure out the reason

      • Remove half plugins -> test -> remove half plugins if crash -> test -> remove half plugins if crash -> repeatedly
    8. Try to remove mods or custom maps until figure out the reason

      • I don't recommend using .vpk mods in server.
      • Some weird mods or maps have custom vscript that could interfere the server.
      • Just as bad plugins cause poor performance and crashes, so do bad mods and bad maps.
    9. Let AI help analyze

      • Using ChatGPT Pro
      • AI may not be correct, but better than nothing
        image

Others