Can't get enough SRCDS.com? Follow us on: Twitter | IRC | Steam


Post Reply 

First Time Source Dedicated server host (L4D2)

Author Message
Crycious Offline
Newbie

Posts: 6
Joined: Nov 2009
Reputation: 0
Post: #1
First Time Source Dedicated server host (L4D2)
so I have been trying to get a dedicated server up and running. I followed some tutorials online. I was able to see others connect yesterday, but i was not. Today I havent seen anyone connect.

here is my server.cfg info

Code:
hostname Viridian City
rcon_password **********
sv_contact your@email.com

mp_disable_autokick 1 //disables autokick=1
sv_allow_wait_command 0
sv_alltalk 0
sv_alternateticks 0
sv_clearhinthistory 0
sv_consistency 1
sv_pausable 1
sv_voiceenable 1
sv_cheats 0
sv_forcepreload 1
sv_pure_kick_clients 0

hostport 27016
sv_lan 0 // enable LAN = 1; disable LAN = 0
sv_region 255
sv_allow_lobby_connect_only 0 //enable/disable Lobby connections 1/0
sv_log_onefile 0
sv_logbans 1
sv_logecho 0
sv_logfile 1
sv_logflush 0
sv_logsdir logs

sv_minrate 5000
sv_maxrate 9999
sv_maxcmdrate 101
cl_updaterate 101
rate 30000


I am accessing it through a shortcut a made, here is that info
Code:
"C:\Program Files\Valve\HLServer\left4dead2\srcds.exe" -console -game left4dead2 +ip 174.44.206.152 +hostport 27015 + "map"c5m1_waterfront.bsp

here is a screenshot of the server, the running server, I removed my Ip addresses

any help would be great


Attached File(s)
.gif  screen.gif (Size: 20.54 KB / Downloads: 37)
(This post was last modified: 11-22-2009 02:47 AM by Mooga.)
11-20-2009 05:59 AM
Find all posts by this user Quote this message in a reply
Crycious Offline
Newbie

Posts: 6
Joined: Nov 2009
Reputation: 0
Post: #2
RE: First Time Source Dedicated server host (L4D2)
also i cant seem to open the developer console in a lobby i can open it in the main menu
11-20-2009 11:50 AM
Find all posts by this user Quote this message in a reply
Ghost Assassin Offline
Regular Member

Posts: 150
Joined: Mar 2008
Reputation: 0
Post: #3
RE: First Time Source Dedicated server host (L4D2)
You forgot to remove your rcon_password when posting your server.cfg

Also in your server.cfg it says:
hostport 27016
Also your startup command line has:
+hostport 27015
So you have two different ports which are conflicting with each other probably. I don't think you need hostport in your server.cfg, but you can still have it there.
Also the map command line should be
+map c5m1_waterfront
And hostport in your startup command line should be -port 27XXX instead.

Change from:
Code:
"C:\Program Files\Valve\HLServer\left4dead2\srcds.exe" -console -game left4dead2 +ip 174.44.206.152 +hostport 27015 + "map"c5m1_waterfront.bsp
to
Code:
"C:\Program Files\Valve\HLServer\left4dead2\srcds.exe" -console -game left4dead2 +ip 174.44.206.152 -port 27015 +map c5m1_waterfront

I'm assuming that your using the actual server, srcds, and not the l4d source dedicated server provided by value in the steam tools.
I would suggest having your server located in:
Code:
C:/l4d2
Instead of that other location since it would be easier to navigate to the server files.

Here's a l4d setup guide btw:
http://forums.steampowered.com/forums/sh...p?t=752866

EDIT: Oh you running l4d2...I'm pretty sure the concept of setting up a l4d server is similar to l4d2.

[Image: b_560x95.png]
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop
(This post was last modified: 11-20-2009 04:15 PM by Ghost Assassin.)
11-20-2009 04:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Crycious Offline
Newbie

Posts: 6
Joined: Nov 2009
Reputation: 0
Post: #4
RE: First Time Source Dedicated server host (L4D2)
thanks for spotting those errors. I am able to access my server now yeah. However, I had to create an autoexec.cfg with my search key. For some reason I cannot get the console to open in a lobby. I can get it to open in the main menu though. I tried adding -console to the L4D2 launch options in steam. That didnt work. Any Ideas so i can get my console in lobbies?
11-21-2009 02:11 AM
Find all posts by this user Quote this message in a reply
Drocona Away
Forum admin

Posts: 5,159
Joined: Mar 2005
Reputation: 20
Post: #5
RE: First Time Source Dedicated server host (L4D2)
The console has been disabled in a lobby for L4D2.

adding -console to the launch options just opens the game with the console open at the same time Smile

Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
11-21-2009 03:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Crycious Offline
Newbie

Posts: 6
Joined: Nov 2009
Reputation: 0
Post: #6
RE: First Time Source Dedicated server host (L4D2)
So If I cant access the console in the lobby, is there any otherway to create a lobby with the settings I want, and enter my search key to connect to my server, without having to create an autoexec?

I am also trying to get source mod in ans working for basic admin stuff. I have got meta mod working. but when I type meta list I am getting:

Listing 1 plugin:
[01] <ERROR>
(This post was last modified: 11-22-2009 09:21 AM by Crycious.)
11-22-2009 03:13 AM
Find all posts by this user Quote this message in a reply
GateKeeper420 Offline
Newbie

Posts: 1
Joined: Nov 2009
Reputation: 0
Post: #7
RE: First Time Source Dedicated server host (L4D2)
Hey Crycious, to do what you want you have to bring up the Dev Console in the Main Menu Area, type in your search key sv_search_key "whateveryouchoose" hit submit and then created your lobby. When the lobby fills up, simply search for server and it will take you right to it. Smile

The only thing with a search key is that random people can't join your server when they search for a server in a lobby now that could be good or bad depending on how you want to run your server.

But, if you don't want to use a search key, I heard that you may be able to use mm_dedicated_force_servers "your ip/port" the same way I described to you with the search key and it might take you to your server. I'll try it out and post a response. Good Luck to you....
11-25-2009 01:51 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump: