SRCDS Steam group


L4D2 not showing my server in master server list.
#1
Trying to setup a l4d2 server. I can connect via console from a local unsecure wireless network or on my lan through steam group.




BASIC INFO
Server OS: WinXP pro sp3
Processor: Athlon64 4000+
Ram: 2gb
Game(s): L4D2
Start Up Command: C:\SRCDS\left4dead2\srcds.exe -console -game left4dead2 +hostip 70.119.97.72 +ip 192.168.2.2 -nohltv +map c13m1_alpinecreek versus
Admin Mods: Metamod Sourcemod

INSTALLING INFO
Full Install Command: hldsupdatetool.exe -command update -game left4dead2 -dir .
pause


NETWORK AND BANDWIDTH INFO
Router: Belkin F5D8233-4v3
Local IP of Server: 192.168.2.2
External IP: 70.119.97.72

CONFIG ISSUES
Server.cfg
Code:
//##Server.cfg###########################
//Basic server cfg - loaded on each map #
//#######################################




/////////////////////////
//Server info
////////////
hostname L4D2        //Hostname for server
rcon_password ""    //remote console password
sv_password ""             //Server password for entry into multiplayer games [only needed to make your server private.]
sv_contact ""        //contact email for server sysop




/////////////////////////
//Internet, region, lobby setup
////////////
hostport 27015            //default 27015; Host game server port
sv_lan 0             //Server is a lan server (no heartbeat, no authentication, no non-class C addresses) [enable LAN = 1; disable LAN = 0]
sv_region 0             //The region of the world to report this server in.
sv_allow_lobby_connect_only 0     //default 1; If set players may only join this server from matchmaking lobby, may not connect directly [enable/disable Lobby connections only 1/0]




/////////////////////////
//Game Settings
////////////
mp_disable_autokick 1         //(command)prevents a userid from being auto-kicked (Usage mp_diable_autokick )
sv_allow_wait_command 0        //default 1; Allow or disalow the wait command on clients connected to this server.
sv_alternateticks 0        //defulat 0; (singleplayer)If set, server only simulates entities on even numbered ticks.
sv_clearhinthistory 0        //(command)Clear memory of server side hint displayed to the player.
sv_consistency 0        //default 1; Whether the server enforces file consistency for critical files
sv_pausable 0            //default 0; is the server pausable
sv_forcepreload 1        //default 0; Force server side preloading
sv_pure_kick_clients 0        //default 1; If set to 1, the server will kick clients with mismatchng files. Otherwise, it will issue a warning to the client.
sv_pure 0            //If set to 1, server will force all client files execpt whitelisted ones (in pure_server_whitelist.txt) to match server's files.
                //If set to 2, the server will force all clietn files to come from steam and not load pure_server_whilelist.txt. Set to 0 for disabled.
/////////////////////////
//communication
////////////
sv_voiceenable 1        //default 1; enable/disable voice comm
sv_alltalk 1            //default 0; Players can hear all other players' voice communication, no team restrictions


/////////////////////////
//LOGGING
////////////
log on            //Creates a logfile (on | off)
sv_logecho 0            //default 0; Echo log information to the console.
sv_logfile 1        //default 1; Log server information in the log file.
sv_log_onefile 0    //default 0; Log server information to only one file.
sv_logbans 1        //default 0;Log server bans in the server logs.
sv_logflush 0        //default 0; Flush the log files to disk on each write (slow).
sv_logsdir logs        //Folder in the game directory where server logs will be stored.


/////////////////////////
//Bans
//  execute banned.cfgs at server start. Optimally at launch commandline.
//  Put writeip/wrtieid commands in the bottom of server.cfg AFTER banned.cfgs have loaded.
////////////
exec banned_user.cfg    //loads banned users' ids
exec banned_ip.cfg    //loads banned users' ips
writeip          //Save the ban list to banned_ip.cfg.
writeid          //Wrties a list of permanently-banned user IDs to banned_user.cfg.


/////////////////////////
//Master server - "setmaster" - add/remove/enable/disable master servers
////////////
//Usage: setmaster
setmaster add 188.40.40.201:27011  
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.151:27013


/////////////////////////
//Network Tweaks - Increase network performance
////////////
rate 10000        //default 10000; Max bytes/sec the host can recieve data
sv_minrate 15000       //default "5000"; Min bandwidth rate allowed on server, 0 = unlimited
sv_maxrate 30000    //default "0";  Max bandwidth rate allowed on server, 0 = unlimited
sv_mincmdrate 20    //default 0; This sets the minimum value for cl_cmdrate. 0 = unlimited [cevo=67]
sv_maxcmdrate 33    //default 40; (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate. [cevo=101]


[Image: srvr.png]

Reply
#2
Try removing this from your server.cfg

setmaster add 188.40.40.201:27011
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.151:27013
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
Reply
#3
I removed those. Im getting a server rank # now when I connect to it but it's been about 2hours and nobody has joined and it still doesn't come up in the server browser.
Reply
#4
Been trying to get this to work for a few days now I'm so frustrated. Was gonna try hosting a NS2 server to see if maybe it's just l4d2 not liking me but I can't get the server.exe to not crash. I also changed NICS because I couldn't find an updated driver since 2004 so it was installing winxp default drivers. Tried dmz. Tried computer straight to cable modem and still nothing. Every time I google something about l4d srcds it's always info from 2010 and hasn't helped.

Was playing around some more and noticed this. String table should be rebuilt? If I console connect to my ip:27016 why is my connection address myip:27009. If I connect via steam group its mylanip:27005
[Image: porth.png]


Also trying a diff server.cfg I found.

Code:
// hostname// DO NOT REMOVE OR ALTER
// BRANDING IN FRONT OF YOUR SERVER HOSTNAME WITHOUT AUTHORISATION
//Host Name
hostname "Deltona L4D2"

// Steam group ID number, this is used to broadcast your server to allm members of your steam group
sv_steamgroup


// RCON Password
rcon_password ""

// Server password
//sv_password

//Gametypes
//this is ued to specify which gamemodes your server can run. Specifying a game mode here will lock your server to that game mode, if you want to run multiple modes leave this option alone
//options are
//----> Versus Only: sv_gametypes "versus"
//----> Survival Only: sv_gametypes "survival"
//----> Coop Only: sv_gametypes "coop"
//----> Both: sv_gametypes "versus,coop"

// 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 0 //Whether the server enforces file consistency for critical files
sv_contact //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 0 // 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 0

heartbeat

//-----------------------------------------------------------
//--> Custom Modifications for a competitive hike
//-----------------------------------------------------------
Reply
#5
You're hosting on the same computer as you play on. Just don't do that, it pure randomness wether it works or not.
The client port you're using to connect to the server is randomly chosen when it's already occupied by another socket connection (your server?).

I bet that the server is just not showing to you in the masterlist because you have the same ip as the server. I'm sure the server itself and connecting to it from lobby works fine? Then you don't have a problem with your server.
Reply
#6
(07-28-2011, 05:25 AM)Cyba_Mephisto Wrote:  You're hosting on the same computer as you play on. Just don't do that, it pure randomness wether it works or not.
The client port you're using to connect to the server is randomly chosen when it's already occupied by another socket connection (your server?).

I bet that the server is just not showing to you in the masterlist because you have the same ip as the server. I'm sure the server itself and connecting to it from lobby works fine? Then you don't have a problem with your server.

I'm not hosting from the same computer I play on it's going to be dedicated server 24/7. I'm connecting to a neighbors unsecure wifi signal from my laptop to see if it shows on the ingame browser which it does not. I can connect from steam group\console just fine. I can't vote to go to lobby or change game modes so I installed mm and sm.
Reply
#7
I tried mm_dedicated_force_servers myip then starting a lobby game using best available dedicated. My server wakes up when I launch the game but doesn't show anyone connecting here's what the console shows. In game it fails to connect shows nothing in console and eventually asks if I want to host it locally.

[Image: lobbyu.png]


I removed the unknown commands btw.
Reply
#8
Well I still haven't figured it out... But... I do have some good news. I installed ubuntu and after about 3 hours of googling and figuring out how to setup a dedicated server on it, I finally have a proper dedicated server up and running. It shows up in the game browser and even had people playing on it! Im so freaking excited. Something I noticed is that it's not listed automatically in my steam group like the windows version. Maybe that's where the problem is. Oh well I guess im gonna have to learn how to use linux.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)