Raised This Month: $ Target: $400
 0% 

How to get players on your server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
marvel
BANNED
Join Date: Dec 2009
Old 03-11-2010 , 05:21   How to get players on your server?
Reply With Quote #1

Hi,

I've been running an L4D2 server for a couple of days now. The problem is that as soon as I start it it fills up with people. These people play on the server and more people join in the process. I have a 16 max server and I had it filled up with 15 players.

However, at the end of the campaign most people rage quited and the server was bleeding to dead, going from 15 players to 9, 6, 3 and eventually zero.

Now, after that nobody joins anymore for like 24 hours the server is empty, not even one person until I restart it and then 8 new people almost instantly join.

What am I doing wrong here? The server is member of several steam groups, I have sv_lan 0 on as well as heartbeat.

Here's my config:

Code:
hostname "Amsterdamned 16vs | Double Tank | Hardcore" // Server Name
rcon_password "secret" //Set remote control password
sv_lan 0 // Disable LAN
heartbeat
sm_cvar mp_gamemode versus
sv_gametypes "versus"
sv_gametype "versus"
sv_steamgroup x,x,x,x,x,x
sv_steamgroup_exclusive 0
sv_maxplayers 18
sv_removehumanlimit 1
sv_unlock_sb_add 0
sv_force_unreserved 1

l4d_maxplayers 18
sv_visiblemaxplayers 16
sm_cvar z_max_player_zombies 8
sm_cvar survivor_limit 8
l4d_survivor_limit 8
l4d_infected_limit 8

mp_disable_autokick 1 // Disable Autokick
sv_cheats 0 // Disallow Cheats
sv_clearhinthistory 0 //Clear Server Side Hint History
sv_consistency 1 //Enforce file consistency
sv_pausable 0 //Server not pausable
sv_allow_lobby_connect_only 0 // Disable Lobby Connections
sv_voiceenable 1
sv_alltalk 0
sv_region 3 // set this to your region if required (3 = Europe)

setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011
setmaster add 72.165.61.151:27015

exec custom.cfg
Thanks!
marvel is offline
dungeon
Senior Member
Join Date: Sep 2009
Old 03-12-2010 , 07:40   Re: How to get players on your server?
Reply With Quote #2

First problem i see is you are restricting your server to one gamemode, versus mode. If you want that then thats fine but your server will only ever have players when a lobby with the right amout of players trys to join a game and your server is free. Remove the sv_gametypes "versus" cvar to allow all gametypes. BTW sv_gametype is not a valid cvar so that also needs removing.

Second problem is the sm_cvar tagged cvars, the sm_cvar tag was removed when SM1.3 left beta so you no longer need the tag for the cvar to work, rremove the sm_cvar from all instances where you have it.

The final issue is lobbyconnect, in my experiance the cvar needs to be set to 1 to make the serer fully public (and i know that its meant to be the other way around but when ever i set my server to 0 i can only connect via lobby, if i set it to 1 i can connect by any means)

Here is my server cfg which works fine for me (i missed the top section with server name password etc)
Quote:
// Server Cvars
mp_disable_autokick 1 //Prevents a userid from being auto-kicked

sv_allow_color_correction 1 //Allow or disallow clients to use color correction on this server.
sv_allow_wait_command 1 //Allow or disallow the wait command on clients connected to this server.
sv_alltalk 1 //Players can hear all other players, no team restrictions
sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.
sv_cheats 0 //Allow cheats on server
sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
sv_consistency 1 //Whether the server enforces file consistency for critical files
sv_contact “[email protected]” //Contact email for server sysop
//sv_downloadurl “” //Location from which clients can download missing files

// Lan or internet play, Server region cvars
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 3 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa, 255 - world

// Server Logging
log on
sv_rcon_log "1"
sv_logsdir "logs"
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir “logs” //Folder in the game directory where server logs will be stored.

//Server Rates
sv_maxcmdrate 100 //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxupdaterate 100 // Sets the maximum value for cl_updaterate
sv_minrate 25000
sv_maxrate 50000
sv_unlag 1
sv_maxunlag .5

//Fix to get your server onto the master lists
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011

// Difficulty of the current game (easy, normal, hard, impossible)
z_difficulty expert
//Set to 1 to only allow members of the steam group to make the initial connection to this server
sv_steamgroup_exclusive 0
//Allow connections without creating lobby. Set to 1 to allow lobby connections only
sv_allow_lobby_connect_only 1
//Gametypes sets the gametypes you want your server to run
//----> Versus Only: sv_gametypes "versus"
//----> Survival Only: sv_gametypes "survival"
//----> Coop Only: sv_gametypes "coop"
//----> Realism Only: sv_gametypes "realism"
//----> Team Versus Only: sv_gametypes "teamversus"
//----> Scavenge Only: sv_gametypes "teamscavenge"
//sv_gametypes "coop"

heartbeat

//-----------------------------------------------------------
//--> Custom Modifications for a competitive hike
//-----------------------------------------------------------
director_adrenaline_density 3.56
//--> How much Adrenaline should there be for every
//--> 100 sq ft in each level.
//director_convert_pills 0
//--> Convert all pills to medpacks in non-versus games.
//--> "1" to Enable, "0" to Disable. Default: "0".
//--> server error? If set to 0, disabled medpacks & pills.
//director_defibrillator_density 0.0
//--> Reference director_adrenaline_density.
director_pain_pill_density 5
//--> Reference director_adrenaline_density.
//director_super_weapon_density 0.0
//--> How much super weapons (Grenade Launcher, etc.)
//--> should there be for every 100 sq ft in each level.
director_tank_force_offer 1
//--> Force the director to spawn a tank on each level.
//--> Remember, the director can only force a tank spawn
//--> On levels that have "possible" spawn locations already.
//--> There are some levels that do not have tank spawn
//--> Locations, and as a result, this does not work on all levels.
director_upgradepack_density 3.56
//--> Reference director_adrenaline_density.
//--> Upgradepack refers to fire rounds, etc.
//director_vomitjar_density 3.56
//--> Reference director_adrenaline_density.
versus_tank_chance 1.0000
//--> Percentile chance of tank spawn per team.
//--> Refers to levels excluding first and last per campaign.
//--> "1.0" = 100%, "0.95" = 95%, "0.9" = 90%, etc.
versus_tank_chance_finale 1.0
//--> Percentile chance of tank spawn per team.
//--> Refers to finale level in each campaign.
//--> "1.0" = 100%, "0.95" = 95%, "0.9" = 90%, etc.
versus_tank_chance_intro 1.0
//--> Percentile chance of tank spawn per team.
//--> Refers to only first level of the campaign.
//--> "1.0" = 100%, "0.95" = 95%, "0.9" = 90%, etc.
versus_tank_flow_team_variation 0.0
//--> Refers to the variable chance of tank spawning
//--> in a different spot for each team.
//--> "0.0" = same spawn spot per team.
//--> "5.0" = 5% map distance variation CHANCE.
versus_witch_chance 1.0000
//--> See versus_tank_chance Above.
versus_witch_chance_finale 1.0
//--> See versus_tank_chance_finale Above.
versus_witch_chance_intro 1.0
//--> See versus_tank_chance_intro Above.
versus_witch_flow_team_variation 0.0
//--> See versus_tank_flow_team_variation Above.
//tank_stuck_time_suicide 9999999999
//--> Prevents tank suicide when stuck.
versus_boss_flow_max_intro 0.9
//--> Tank can spawn up to 90% of map distance in first level.
versus_boss_flow_max 0.9
//--> Tank can spawn up to 90% of map distance in levels
//--> Excluding the first level.
//vs_max_team_switches 9999
//--> Removes the limit of team switches per map.
//director_vs_convert_pills 0
//--> Convert all pills to medpacks in versus games.
//--> "1" to Enable, "0" to Disable. Default: "0".
//director_tank_lottery_selection_time "2"
//--> How many seconds the tank waits to give an infected
//--> Player control of the Tank. During this interval
//--> The AI controls the Tank.
//--> Default "4". Set to "0" to remove AI control completely.
z_ghost_delay_max 15
z_ghost_delay_min 5
//--> Maximum/Minimum amount of time (in seconds) for players to
//--> Wait to respawn as the Infected.
//--> Ex: Min/Max both = "22", Infected will ALWAYS have a 22
//--> second spawn timer. If Max = "22" and Min = "15", the
//--> Spawn timer will be random, between 15 and 22 seconds.

//-----------------------------------------------------------
//--> Tougher Witch
//-----------------------------------------------------------
z_witch_damage "100"
z_witch_damage_per_kill_hit "60"
z_witch_flashlight_range "1000"
z_witch_health "2000"
z_witch_personal_space "400"
z_witch_speed "800"
z_witch_threat_hostile_range "1000"
z_witch_threat_normal_range "800"

//----> End of editable settings

Last edited by dungeon; 03-12-2010 at 07:54.
dungeon is offline
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 03-12-2010 , 07:49   Re: How to get players on your server?
Reply With Quote #3

See you used a part from the CEVO config :p

Anyway, have something similar on mine, it's fully public too.
Just c/p and adjust the points you have been given and it would work

Also, a 24/7 full server doesnt help to join with friends when you want to ;p
__________________
Cerise is offline
marvel
BANNED
Join Date: Dec 2009
Old 03-12-2010 , 13:13   Re: How to get players on your server?
Reply With Quote #4

Thanks dungeon! Your advice works wonders. Since I've set sv_lobby... to 1 there are always 8 players on my server now. Above 8 can connect through the steam group if they want to.

Thanks again! Didnt think it was that simple!
marvel 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 21:56.


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