srcds.exe -console -game left4dead +ip xxx.xxx.xxx.xxx -port 27015 +map
l4d_vs_hospital01_apartment +sv_lan 0

///////////////////////////////////////////////////////////
// Left 4 Dead Server Config for cleared //
//////////////////////////////////////////////////////////

// LAN/Internet and Region
// 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 Info
hostname "cleared"

// Matchmaking
sv_allow_lobby_connect_only "0"
// sv_reservation_timeout "15"
sv_search_key cleared
sv_steamgroup "cleared"
sv_steamgroup_exclusive "1"
// sv_tags ""

// Game Difficulty
// z_difficulty "Impossible"
// sv_cheats "0"

// Rates
sv_maxrate "20000"
sv_minrate "10000"
// rate 10000
// sv_maxcmdrate 40 // (If sv_mincmdrate is > 0), this sets the maximum
value for cl_cmdrate.
// sv_mincmdrate 30

// Server Logging
log on
sv_log_onefile 1 // 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.

// Pure
// sv_pure "2"

// Miscellaneous
sv_contact "cleared" // Contact email for server sysop
// sv_downloadurl "" // Location from which clients can download missing
files

// Execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

// SourceMod
    // Voting Manager
       l4d_vote_kick_immunity "1"
       l4d_vote_lobby_access ""
       l4d_vote_difficulty_access ""
       l4d_vote_level_access ""
       l4d_vote_restart_access ""
       l4d_vote_kick_access ""

// Heartbeat
heartbeat

----------------------------------------------------------------------------------------------

sv_steamgroup_exclusive isn't turned on all the time on my server.  I set it
to 0 when I'm done playing.  I don't run a community, so my server is free
for anyone to use, but when I, myself, want to play on it, I set it to 1 so
that Matchmaking can't beat me to it.  When I fire up Left 4 Dead, I open my
console and set my search_key, create a Lobby, wait for it to fill, then
start a server search, which always finds my own server.  I've heard that
setting a search_key also "makes your server invisible to Matchmaking"
unless the Lobby Leader also has a search_key set, but that is also not true
for my server.  As you can see, I set a search_key in my config, but
Matchmaking throws people in it all day.

I know that not everyone experiences what I do, but I have been nothing
short of satisfied with my Left 4 Dead server.  Everything that I expect to
work a certain way does(aside from being able to be kicked from my own
server, but that's what the Sourcemod section of my config is for).  I hope
you can figure this out on your own server, but my config is a fairly
standard one and there is no other trickery involved in getting it to
perform as desired.

Also, I'm hosting this server from home and am connected through my LAN.
Prior to the last big update, I had had some difficulty using search_key.
I'd be the Lobby Leader and would try to connect to my server using the
method I detailed above.  Everyone in the lobby would be thrown into the
server but me.  I'd hang at the loading screen and would have to fire up the
Server Browser and connect that way(or connect xxx.xxx.xxx.xxx:xxxxx through
the console).  One of the line items of that update was:

-Fixed NAT traversal issues

That alone is what solved the only problem I was having.

I suggested removing the quotes because I had initially had some troubles
connecting with sv_search_key and had done some fidgeting to see what was
what.  Another thing that slipped my mind was the use of capital letters in
the search_key. Once I went all lowercase and removed the quotes, my
problems were gone.  Come to think of it, I'll have to test it out with
quotes and see if it was just the capital letters that were holding me back
from connecting.

Anyway, I hope this information is useful to you.

                                                    -Richard Eid


On Sat, Jan 31, 2009 at 4:16 PM, Morgan Humes <[email protected]> wrote:

> Thank you everyone for your suggestions, here are the results of my tests.
> We were unable to get sv_search_key to work yet, but the
> ms_force_dedicated_server options worked well. However it seems as though
> the sv_search_key should be working.  If anyone has any input regarding
> what
> else I could do, I would love to hear it!
>
> > Try setting sv_search_key in your client as soon as you load Left 4 Dead,
> > before you do anything else. I found that if I enter the search key after
> > I've already started the lobby, it doesn't work.
>
> This did not work :(
>
>
> > I'am not 100% sure, but i thought you cant use sv_search_key with a
> > steamgroup...
>
> This did not work -- I commented out both sv_steamgroup and
> sv_steamgroup_exclusive and still could not connect.
>
>
> > sv_cheats 1
> > ms_force_dedicated_server
>
> Using seperate commands again we tried...
> sv_cheats 1
> ms_force_dedicated_server 173.45.224.233:27015
>
> This worked for us -- was the first we had been able to get to work.  We
> did
> net sv_search_key on the client and on the server it was set to
> sv_search_key ninjaturtles
>
>
> > sv_cheats 1;ms_force_dedicated_server x.x.x.x:27030
>
> On the client, we tried using this...
> sv_cheats 1;ms_force_dedicated_server x.x.x.x:27015
>
> This also worked for us!
>
>
> > Try the search_key without quotes:
> > sv_search_key ninjaturtles
>
> This also did not work.
>
>
> > You CANNOT use the sv_search_key on a steamgroup exclusive server, you
> can
> > however assign a steamgroup to the server and still use it.  Don't worry,
> > you won't have a bunch of unknown people joining your server.... soon as
> you
> > set sv_search_key NinjaTurtles, only those clients with the search key
> > NinjaTurtles will find your server.  And yes, should be done on both the
> > client on server without quotes.  (I was able to use it yesterday so I'm
> > guessing it still works :-P)
> > Walton
>
> I tried sv_search_key ninjaturtles & having sv_steamgroup_exclusive 0 in
> our
> config and still no luck.
>
>
> > Set:
> > sv_steamgroup_exlusive 1 to 0
> >
> > Having it as 1 breaks the search key.
>
> Either 0 or 1 makes no difference in my experience - however its pretty
> hard
> to say for sure since nothing seems to be working :(
>
>
> > sv_steamgroup_exclusive 1 + sv_search_key works fine on my server.  It
> was
> > the quotes I always had trouble with.  Has anyone else gotten
> > sv_steamgroup_exclusive 1 to work with the sv_search_key?  I can't
> remember
> > ever having trouble with this.
>
> We haven't been able to get it to work, would you mind posting your entire
> command line & server.cfg (minus your password & etc)?  I would LOVE to see
> someone's config that is working.
>
>
> Thanks,
>
> Morgan Humes
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to