Author Topic: [GUIDE] How to Install Promod/Equilibrium/Confogl on a Linux Server  (Read 85151 times)

Sir

  • *
  • Posts: 915
    • View Profile
Introduction:
Seeing as the Promod Guide still hasn't received an update and a lot of people are clueless as to what to do, I've decided that I'll write up a guide for it that I'll actively maintain.
I'd like to note that this would be a guide that doesn't only support Promod, it's meant to provide guidance to everyone that wants to install Mods on their Servers.
If you have a Linux VPS/Dedicated Machine and need help with setting that up first or want to aquire DoS protection for it, please refer to my L4D2 Server Guide first.

This guide will again be for Linux, as it's the main weapon of choice.
Plus, not everything is fixed up yet for Windows, so I'm afraid I will have to leave it out for now.

Most of the downloads in this Guide will have the same folder structure as on your server, which makes it a breeze to install :)

Chapters
- 1. Sourcemod, Metamod and Stripper:Source
- 2. Promod Install
- 3. Loved/Recommended/Requested Server Additions
- Errors.
- FAQ.

1. Sourcemod, Metamod and Stripper:Source:

Seeing as we're very keen on modding our game, we need the tools to be able to do just that.
After Valve's bombarding update, most people have learnt to stay updated on their Sourcemod and Metamod install.
Unfortunately, some versions cause issues with quite a few plugins for L4D2, which is why I've setup a small package that I also use personally.

This Package includes Sourcemod, Metamod, Stripper:Source and SDKHooks, which are all the goodies you'll need.
Keep in mind that this is a full install, if you have configs edited (admin_simple.ini), this will overwrite it.

Download: SourceMetaHookStripper

2. Promod Install:

There we are, I see you're into Promod and wish to install it with possibly even more Matchmodes.
Well let's get started then, shall we?
Feel free to skip right to the Extensions and Gamedata chapter if you're just attempting to recover from Valve's Steampipe Update. (L4DToolz and Tickrate Enabler are seperated)
If this is a first install, you will need both the Promod and Extension Package.

<Promod 3.5.5 Full Install>

I'd like to note that this package is put together with all the public files that I've managed to salvage, seeing as everything is spread out.
This means that your full install will be based on the original Promod Install + Epilimic's 3.3.3 Facelift.
I've added and adjusted a few files myself, but only if they were missing or if I felt like they HAD to be included, I've kept the Install as "Promod-release-like" as possible.

Changes I've made personally:
- Confogl_rates.cfg is ready for 60 and 100 Tick usage, simply open and adjust the file in notepad. Default is optimized for 30 Tick.
- Updated Match_Vote to prevent quick loaders from unloading a Matchmode (File was missing from Promod 3.2 - 3.3.3 Facelift)
- Added a Cfg file that will execute certain plugins for every Matchmode included in this package. (Configure the file in notepad (cfg/sharedplugins.cfg)
> It currently loads a fully setup Sourcemod Anti-Cheat (Only the reliable plugins), a small plugin that will prevent "!ready", "!match", etc from printing to chat and a Plugin that deals with 40+ Tickrate Issues such as superfast pistols and other wacky stuff.
> SMAC will not print the welcome message by default, feel free to change/check out the SMAC Configuration file in cfg/sourcemod.
> ReadyUp will not teleport the entire Team back when a Survivor attempts to leave the saferoom, it will teleport just that client back.
> "!" Chattriggers are silenced and not printed to chat.

Download: PromodFull

<Extensions and Gamedata>

This Package includes all the Extensions and Gamedata you'll need to get everything setup.
> This Package has the "non-player slots" version of Left4DownTown, as this should be handled by L4DToolz instead.
> This Package has Builtinvotes compiled against Sourcemod 1.6, so I suggest downloading the Sourcemod package above if you've gotten 1.5 instead.
> These files are the ones that were broken by Valve's Steampipe update, which is why they're seperated from the ones in the Promod Package.

Download: Extensions&Gamedata

3. Loved/Recommended/Requested Server Additions:

<Increasing Slots>

A lot of people wish to increase slots on their servers to allow Spectators or to allow more than 8 players.
Spectators won't be a problem, just keep in mind that if you plan to use the extra slots for gamemodes you'll need additional mods like SuperVersus.

To make more than 8 slots possible, you will need to install L4DToolz (Maximum fully supported slots is 31)
Install it by extracting the files into the addons folder.
After that you'll have to set "sv_maxplayers <value>" in a place that gets executed on every config launch.
Most people will place this in their server.cfg or confogl_personalize, but this will reset the slots on map change, which can be a pain if you're trying to limit slots.

I personally use a modified match_vote, which will set the maxplayers on config launch as well as make sure that your prefered maxplayers is set back to that value on unload.
If you decide to use the modified match vote, the cvar controlling your prefered amount of slots is "mv_maxplayers", you're safe to place this in your server.cfg or confogl_personalize.cfg

Downloads:
- L4DToolz
- Modified match_vote

<Tickrate Enabler>

Quote from: Valve
During each tick, the server processes incoming user commands, runs a physical simulation step, checks the game rules, and updates all object states. After simulating a tick, the server decides if any client needs a world update and takes a snapshot of the current world state if necessary. A higher tickrate increases the simulation precision, but also requires more CPU power and available bandwidth on both server and client.

You might want to read up on it here.
From what I understand it seems that EU + RU players absolutely love this, but US players seem to be against it for the most part.

Most issues caused by increased Tickrate are already dealt with, the full package loads "Tickrate Fixes" for every included Matchmode config.
If you do decide to use this, please adjust your confogl_rates file (The one in the full package has everything ready, just needs little editing)

Download: Tickrate Enabler 1.4

<Confogl Autoloader>

The confogl autoloader is nothing new, but people still seem to struggle with its setup, so I've decided to add this into the guide.
Simply download the confogl autoloader below, place it in addons/sourcemod/plugins and add+manage these lines in your server.cfg
Code: [Select]
sm_cvar confogl_autoloader_config "" // Config/Matchmode to launch with the autoloader
sm_cvar confogl_autoloader_execcfg "" // Config to exec before starting confogl, leave empty if none.

Download: Confogl Autoloader


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

< Errors/Issues >
Please make sure you've read the guide fully (including the FAQ below) to get a full understanding of what you're trying to install/achieve with your setup

If you run into issues and this section can't help you out either, the first thing you should do is check your logs, which can be found at addons/sourcemod/logs.
Check the latest error files and copy paste (or link to pastebin if too big) when reporting an issue.
Please be as descriptive as possible.


Q: !match, !forcematch, nothing works!?
A: If you're 100% sure you've installed everything here, then it's likely that the latest Left4DownTown2 is not working on your system. If you're renting a GameServer host, there's nothing much you can do for now.
The latest working version can be downloaded Here

This version will support Promod 3.5.5, but configs that rely on an updated Left4DownTown such as EQ will not work fully.
Infected will also be able to spawn during ready-up and you will be forced to disable the l4d2-logger plugin to prevent crashes.
Simply replace the existing file in addons/sourcemod/extensions and you're on your way.

For people on Dedicated Machines/VPS Servers with root access, you can resolve this by updating to the latest glibc.

------------------------------------------------------------------------------------------------------------------------------

< FAQ >
Q: Why aren't you including the Anti-DDoS Plugin?
A: Simply because there is no Anti-DDoS Plugin, the Plugin you're talking about only blocks a simple 0 Packet UDP Exploit. (It's also broken)
Most "DoS-ers" have already learnt to send different packets. The Difference between DoS and DDoS

Q: Should I ban everyone that gets detected by SMAC?
A: Definitely not, the only detection that is 99.5% Accurate and Banworthy is the SMAC Eyetest Module.

The only eyetest log you should ignore is the "Is suspected of cheating with their eye angles" logs as it's not fully reliable.

The following eyetest reports are what make up the 99.5% Accuracy in terms of cheat detection and should be taken very seriously.

"is suspected of tampering with an old movement command"
"is suspected of reusing old movement commands"

False positives do occur, which is why it's safer to ban people spamming the logs rather than ban them for one detection.
The eye module part of SMAC checks to see if a players field of view has been altered. The field of view normally gets altered in anti-recoil and nospread hacks.
The majority of the time you can see the shaky screen which normally indicates this.

Q: If we wish to Install other Matchmodes, what do we need to change?
A: You'd want to make sure that the sharedplugins.cfg is loaded for those Matchmodes as well (Edit the new Matchmode's confogl_plugins and add "exec sharedplugins.cfg" to somewhere in the middle.
Adjust the matchmodes.txt (found in addons/sourcemod/configs) accordingly, everything is explained in the file itself.
Most configs nowadays have excellent installation guides, which should get you on your way.

Feel free to use Epilimic's Matchmode.txt generator to speed things up: http://buttsecs.org/mmgen

Q: Could you possibly install my Server for me or help me through Teamviewer?
A: No.
I've had way too many people ask me to do this for them, it even seems like there are more server hosters than players.
This would also be one of the reasons why I decided to write up this clear guide.

Q: Does this mean we can't ask you for further help?
A: Not at all, you're free to ask me any questions here or through Steam
Just please don't ask me to Install your server for you. :)

< Changelog >

September 2nd, Monday, 6:51PM GMT:
- Published

September 2nd, Monday, 8:53PM GMT:
- Packed up Tickrate Enabler from own local files
- Fixed Infected Clips not being removed properly as well as Mapinfo issues
- Fixed a collision with logger-plugin
- Fixed SMRcon and Connect Extension Errors (SMAC Related)

September 5th, Thursday, 4:49PM GMT:
- Updated Promod's Full Package with the updated 3.3.3 Stripper Changes for Promod

October 15th, Tuesday, 10:09PM GMT:
- Added Missing Plugin (Basebans) to SourceMetaHookStripper Package.
- Added 2 Missing Plugins (l4d2_ai_damage_fix & l4d2_deathspit_fix) to PromodFull Package
- Updated Left4Downtown2 to Visor's latest version in the Extensions&Gamedata Package.

October 16th, Wednesday, 2:27AM GMT:
- Fixed Mapinfo Stuff (PromodFull Package)

October 17th, Thursday, 6:08PM GMT:
- Updated ReadyUp (PromodFull Package)

October 28th, Thursday, 1:07PM GMT:
- Added Confogl Autoloader to the Guide
- Added an Error section to the Guide

Promod Full Package Updates
- Updated SMAC to the latest Version
- Updated ReadyUp & Pause to the latest Versions
+ Removed Chattriggers printing to chat during Pause
+ Only the Survivor leaving the Saferoom during ready-up will be teleported back now

- Changed the default behaviour of Boss Percentage to only print to the client requesting it

November 9th, Saturday, 6:01PM GMT:

- Updated Sourcemod & Metamod to the latest of the latest (Tested)
> This also resolves issues with a few SMAC Modules not loading.

November 17th, Sunday, 11:35PM GMT:

- Added Missing Socket Extension in the SourceMetaHookStripper Package
- Updated Info on Error Section

December 6th, Friday, 12:49PM GMT:

- Updated PromodFullPackage download to full 3.4 status
> Apologies for the severe delay, won't happen again~

January 23rd, Thursday, 1:39PM GMT:

- Updated outdated pause plugin (PromodFullPackage)
- Updated thread description to Promod 3.4, totally forgot! :D

January 31st, Friday, 2:24PM GMT:

- Updated Promod Package to 3.5 (PromodFullPackage)

March 1st, Saturday, 5:39PM GMT:

- Updated Promod Package to 3.5.5 (PromodFullPackage)

< Contribution/Testing/Credits >

The cool people in the L4D2 Community
« Last Edit: October 15, 2015, 02:49:25 pm by Visor »
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

Sir

  • *
  • Posts: 915
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #1 on: September 02, 2013, 03:55:18 pm »
Just a slight update, as seen in the Change log.
I'd like to remind you guys that I've built this from several sources which unfortunately had to include a bit of tampering on my own side as well, I'll do my best to try and resolve possible issues as soon as possible, reporting them would help immensely :)
« Last Edit: September 02, 2013, 04:06:11 pm by Sir »
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

S-Server

  • *
  • Posts: 49
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #2 on: September 03, 2013, 03:10:03 pm »
wow thanks so much for doing this Sir  :o its super helpful thanks again ;)

estoopi

  • *
  • Posts: 710
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #3 on: September 08, 2013, 08:01:47 pm »
thanks for making this :D worked perfectly

ElusivΣ

  • *****
  • Posts: 799
  • mi vida r0ta
    • View Profile
    • Steam Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #4 on: September 17, 2013, 10:07:34 am »
Linux is a great way to setup a server.  Debatably, it might be the best server-oriented OS due to it being free and optimized for server utilizations.  I support Ubuntu greatly. Nice thread man. Clear and concise.

sethrow

  • ***
  • Posts: 183
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #5 on: September 17, 2013, 11:27:00 am »
Hello I have a problem where match_vote.smx isn't detecting configs. Sometimes it does sometimes it doesn't.
I have seperate cfgs for compmod cvars, load plugin, cvar plugins (these three in cfg), config's setting of plugin cvars in the config. I have compared the not working ones to the ones that match vote detects and there is nothing different except the config's setting. Instead of confogl_addcvar I'm using sm_cvar.  At config's plugin cvar

exec confogl_personalize.cfg
confogl_setcvars
confogl_resetclientcvars

How does match_vote detect configs?
g_bIsConfoglAvailable = LibraryExists("confogl");

through confoglcompmod???


I'll see what changing sm_cvar back to confogl_addcvar does.
« Last Edit: September 17, 2013, 11:31:28 am by sethrow »

Sir

  • *
  • Posts: 915
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #6 on: September 17, 2013, 11:40:27 am »
Hello I have a problem where match_vote.smx isn't detecting configs. Sometimes it does sometimes it doesn't.
I have seperate cfgs for compmod cvars, load plugin, cvar plugins (these three in cfg), config's setting of plugin cvars in the config. I have compared the not working ones to the ones that match vote detects and there is nothing different except the config's setting. Instead of confogl_addcvar I'm using sm_cvar.  At config's plugin cvar

exec confogl_personalize.cfg
confogl_setcvars
confogl_resetclientcvars

How does match_vote detect configs?
g_bIsConfoglAvailable = LibraryExists("confogl");

through confoglcompmod???


I'll see what changing sm_cvar back to confogl_addcvar does.

It only adds the ones in your sourcemod/configs/matchmodes.txt
match_vote is not to blame on this.

Also, why would you use sm_cvar rather than confogl_addcvar?
The whole purpose of confogl_addcvar is to change cvars for the time a config is loaded and to simply revert them back with the reset, sm_cvar makes changes permanent until changed by something else.
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

sethrow

  • ***
  • Posts: 183
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #7 on: September 17, 2013, 08:59:33 pm »
Ok everything is fine now after i changed it to addcvar.

ksx

  • *
  • Posts: 5
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #8 on: October 01, 2013, 12:33:44 pm »
hi, how fix this pls:

Code: [Select]
L 10/01/2013 - 19:31:51: SourceMod error session started
L 10/01/2013 - 19:31:51: Info (map "c1m1_hotel") (file "errors_20131001.log")
L 10/01/2013 - 19:31:51: [SM] Unable to load extension "builtinvotes.ext": /lib32/libm.so.6: version `GLIBC_2.15' not found (required by bin/libvstdlib.so)
L 10/01/2013 - 19:31:51: [SM] Unable to load plugin "match_vote.smx": Required extension "BuiltinVotes" file("builtinvotes.ext") not running

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #9 on: October 15, 2013, 05:26:48 pm »
can you post a example server.cfg like what should be setup and loaded in any case etc?

Sir

  • *
  • Posts: 915
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #10 on: October 15, 2013, 05:58:12 pm »
Mucho thanks to Fenix for pointing out a few things that were missing, they were corrected in today's update.
Changelog adjusted. :)

hi, how fix this pls:

Code: [Select]
L 10/01/2013 - 19:31:51: SourceMod error session started
L 10/01/2013 - 19:31:51: Info (map "c1m1_hotel") (file "errors_20131001.log")
L 10/01/2013 - 19:31:51: [SM] Unable to load extension "builtinvotes.ext": /lib32/libm.so.6: version `GLIBC_2.15' not found (required by bin/libvstdlib.so)
L 10/01/2013 - 19:31:51: [SM] Unable to load plugin "match_vote.smx": Required extension "BuiltinVotes" file("builtinvotes.ext") not running


If you're using the one in the package, you should be fine.
Delete any other variants o:

My apologies for the super slow reply, I did not notice this post. :(

can you post a example server.cfg like what should be setup and loaded in any case etc?


Can be found in the Server Guide, located here
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

THyroXIN´-

  • *****
  • Posts: 519
    • View Profile
    • InnerSphere - we are not a clan we are a syndicate
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #11 on: October 16, 2013, 12:22:45 pm »
HI,

I already asked Sir but he could not help me.
So I just ask everyone here maybe someone knows and can help me out.

before I used this guide which is pretty nice and fixed a lot for me I was able to see in HLSW in the gameserverrules, where you can see all set cvars of the server, the current loaded cfg.
More precise the current value of l4d_ready_cfg_name which is Pro Mod 3.3.3 for promod for example. SO I was able to see from outside(via HLSW), with a quick view IF a cfg and which cfg is loaded.

Now this is gone from the list.
but when I type l4d_ready_cfg_name to the console it shows me the value.

Why is it not in the list and how can I get it back there? And connected to that question, the other way around how can I hide something for purpose?

+ a question to Sir: SMAC 0.8.5.0 is the latest version, in the package there is 0.8.4.0. will you update that? (there is something about it in the alliedmodders thread that say its only supported for sourcemod 1.5.x not the 1.6.x version, is this why its not updated or can you compilate it against your files?)
+ I set mv_maxplayers to 14 in server.cfg but it shows me 0/16

20:31:00 "mv_maxplayers" = "14" ( def. "16" )
          - How many slots would you like the Server to be at Config Load/Unload?
« Last Edit: October 16, 2013, 01:33:07 pm by THyroXIN´- »

Fenix

  • *
  • Posts: 26
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #12 on: October 16, 2013, 01:54:27 pm »
before I used this guide which is pretty nice and fixed a lot for me I was able to see in HLSW in the gameserverrules, where you can see all set cvars of the server, the current loaded cfg.
More precise the current value of l4d_ready_cfg_name which is Pro Mod 3.3.3 for promod for example. SO I was able to see from outside(via HLSW), with a quick view IF a cfg and which cfg is loaded.

The server rules are the cvars that the plugins notify, por eso tendrás que hacer uso del (my brain goes spanish mode) you sholud use FCVAR_NOTIFY (FCVAR_NOTIFY = shows in rules, ~FCVAR_NOTIFY = not shows).
What i do it's a quick test with that cvar, so i go to the sp file , and change it this way:
Before:
Code: [Select]
l4d_ready_cfg_name = CreateConVar("l4d_ready_cfg_name", "", "Configname to display on the ready-up panel", FCVAR_PLUGIN|FCVAR_PRINTABLEONLY);After:
Code: [Select]
l4d_ready_cfg_name = CreateConVar("l4d_ready_cfg_name", "", "Configname to display on the ready-up panel", FCVAR_PLUGIN|FCVAR_PRINTABLEONLY|FCVAR_NOTIFY);
And the test:


I recommend you to recompile all the l4d_ready plugins and overwrite the older ones (don't teleport you when the readyup ends).

* Source


Why is it not in the list and how can I get it back there? And connected to that question, the other way around how can I hide something for purpose?

To hide him you should do the same, find the plugin, delete the FCVAR_PLUGIN and recompile it, i test to create a separate plugin to don't notify the cvars but don't work (probably i don't code it well).

If you have a hard time with the compile i can give you the version with the FCVAR_NOTIFY active (i think it's a good idea to have it)

Hope it helps you.
« Last Edit: October 16, 2013, 04:50:54 pm by Fenix »

Sir

  • *
  • Posts: 915
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #13 on: October 16, 2013, 01:55:12 pm »
HI,

I already asked Sir but he could not help me.
So I just ask everyone here maybe someone knows and can help me out.

before I used this guide which is pretty nice and fixed a lot for me I was able to see in HLSW in the gameserverrules, where you can see all set cvars of the server, the current loaded cfg.
More precise the current value of l4d_ready_cfg_name which is Pro Mod 3.3.3 for promod for example. SO I was able to see from outside(via HLSW), with a quick view IF a cfg and which cfg is loaded.

Now this is gone from the list.
but when I type l4d_ready_cfg_name to the console it shows me the value.

Why is it not in the list and how can I get it back there? And connected to that question, the other way around how can I hide something for purpose?


I guess this has to do with the cvar being protected.
You can hide stuff being seen through HLSW by setting protected flags on CVars.

Edit: Fenix sniped me, I never actually bothered to look into this stuff. :)

Quote from: THyroXIN
+ a question to Sir: SMAC 0.8.5.0 is the latest version, in the package there is 0.8.4.0. will you update that? (there is something about it in the alliedmodders thread that say its only supported for sourcemod 1.5.x not the 1.6.x version, is this why its not updated or can you compilate it against your files?)

I actually missed the update, it however doesn't have anything flashy in it.
I'll add it for a next update.

Quote from: THyroXIN
+ I set mv_maxplayers to 14 in server.cfg but it shows me 0/16

Make sure your sv_visiblemaxplayers is set to -1.
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

Fenix

  • *
  • Posts: 26
    • View Profile
Re: How to Install Promod/Confogl [Linux Guide]
« Reply #14 on: October 16, 2013, 02:19:08 pm »
Anyway I think that commenting the line hostname "Confogl Server" (if it's active) from cfg/confogl_personalize.cfg and adding hostname "Confogl Server | *" on each cfg/cfgogl/*/confogl.cfg of the configs it's more easy to see wich is loaded, for admins or users.

 

A dedicated community website to competitive L4D and L4D2, ran by the community, for the community. L4DNation supports all continents of play and focuses on bringing together the community as a whole to a central hub of information.