View Single Post
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 02-23-2015 , 03:58   Re: [L4D(2)] MultiSlots
Reply With Quote #170

sm_cvar sv_maxplayers "16"
sm_cvar sv_visiblemaxplayers "16"
//sm_cvar sv_hibernate_when_empty "0"
//sm_cvar sv_hibernate_postgame_delay "3600"
sm_cvar sv_force_unreserved "1"

These don't require sm_cvar

Check the signature files ../sourcemod/gamedata/ for multislots and afkfix to make sure they use the same signatures as both use the TakeOverBot & SetHumanSpec sigs so these should be the same I inc mine below for reference.

Ditch downtown you don't need it with the plugins your using.

You do have rather a lot of cmds in your server.cfg
When any cmd is used with a default value then that cmd isn't required
example:
sv_cheats "0"
This is the default value and therefore not required, I would only use cmd's where I'm using alternate value ie: sv_cheats "1"
This is just a minor point but can help when trying to diagnose issues, as your not reading through irrelevant data. Keep it as simple as possible

Not sure why the bot comes equipped with hunting rifle always as weapons are randomly given:

Code:
stock GiveWeapon(client) // give client random weapon
{
     
     switch(GetRandomInt(0,6))
     {
          case 0:  BypassAndExecuteCommand(client, "give", "smg")
          case 1:  BypassAndExecuteCommand(client, "give", "smg_silenced")
          case 2:  BypassAndExecuteCommand(client, "give", "smg_mp5")
          case 3:  BypassAndExecuteCommand(client, "give", "rifle")
          case 4:  BypassAndExecuteCommand(client, "give", "rifle_ak47")
          case 5:  BypassAndExecuteCommand(client, "give", "rifle_sg552")
          case 6:  BypassAndExecuteCommand(client, "give", "rifle_desert")
     } 
     
     BypassAndExecuteCommand(client, "give", "ammo")
}
You could always change the order to see if that will give you a more preferred weapon.
Attached Files
File Type: txt l4dafkfix.txt (1.2 KB, 187 views)
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 02-23-2015 at 04:12.
Munch is offline