Raised This Month: $ Target: $400
 0% 

Sourcemod not hiding reserved slots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-02-2014 , 20:11   Sourcemod not hiding reserved slots
Reply With Quote #1

CSGO linux server

Code:
sm version
 SourceMod Version Information:
    SourceMod Version: 1.6.2
    SourcePawn Engine: SourcePawn 1.2, jit-x86 (build 1.6.2)
    SourcePawn API: v1 = 4, v2 = 6
    Compiled on: Sep 20 2014 09:56:10
    Built from: https://github.com/alliedmodders/sourcemod/commit/3e63e61
    Build ID: 4576:3e63e61
    http://www.sourcemod.net/
meta version
Metamod:Source version 1.10.3
Built from: https://github.com/alliedmodders/metamod-source/commit/ff4adba
Build ID: 920:ff4adba
Loaded As: Valve Server Plugin
Compiled on: Jun 24 2014
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
40 slots want to hide 20

gamemodes_server.txt
Code:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"casual"
				{
					"maxplayers"		"40"
				}
			}	
		}
	}
}
Code:
// Specifies how the reserved slots plugin operates. Valid values are:
// 0 : Public slots are used in preference to reserved slots. Reserved slots are freed before public slots.
// 1 : If someone with reserve access joins into a reserved slot, the player with the highest latency and 
// no reserved slot access (spectator players are selected first) is kicked to make room. Thus, the reserved
// slots always remains free. The only situation where the reserved slot(s) can become properly occupied is 
// if the server is full with reserve slot access clients.
// --
// Requires: reservedslots.smx
// Default: 0
sm_reserve_type 0

// Specifies the number of reserved player slots.  Users with the reservation
// admin flag set will be able to join the server when there are no public slots
// remaining. If someone does not have this flag, they will be kicked.
// (Public slots are defined as: maxplayers - number of reserved slots)
// --
// Requires: reservedslots.smx
// Default: 0
sm_reserved_slots 20

// Specifies whether or not reserved slots will be hidden (subtracted from max
// slot count). Valid values are 0 (Visible) or 1 (Hidden).
// --
// Requires: reservedslots.smx
// Default: 0
sm_hide_slots 1
tried
Code:
sv_visiblemaxplayers 20
as well but still at community server screen shows the server having 40 slots

but at the console if i type status i get
Code:
players : 0 humans, 0 bots (20/0 max) (not hibernating)

Last edited by 8guawong; 10-02-2014 at 20:12.
8guawong 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 19:49.


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