It's a fault in the run script (which valve have a fix for iirc) ... If you
haven't specified a map, it adds +map (whatever the first hospital one is)
to your command line (just like if you don't specify a game it adds that as
well)  It doesn't do it right if the server's forked.  To the best of my
knowledge, no other source games will load a map for you if you forget, so
it's l4d no-fork that's the odd one out ;)

To expand on what the last poster said:

-commands are options to the server binary (like port, forking, netconport
etc.)
+commands are commands fed into the server after its started up, like rcon
(stuff like +map, +exec, +hostname  +rcon_password etc)

As an alternative to specifying the map on the command line, you could
specify it in an autoexec.cfg file

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of J T
> Sent: 26 November 2008 17:01
> To: Half-Life dedicated Linux server mailing list
> Subject: Re: [hlds_linux] Fork not working while single server is fine
> 
> It's a bug, and valve has even said so on this mailing list. 
> You should be specifying +map not -map. By default if you 
> start a single server, the mapcycle.txt is read and whatever 
> is first is loaded (I think). But with -fork it doesn't do 
> this, for some reason it expects the first map to be taken 
> from the command line arguments.
> 
> Cheers,
> 
> On Wed, Nov 26, 2008 at 8:42 AM, Sami Halonen 
> <[EMAIL PROTECTED]>wrote:
> 
> > Hi
> >
> > Im having some problems getting forked servers to work. If 
> I fire up a 
> > single server without any forks with the very same configs 
> and command 
> > line, everything works just fine. Here are the details.
> >
> > This is where it gets stuck.
> >
> > Auto detecting CPU
> > Using AMD-Opteron (64 bit) Optimised binary.
> > Server will auto-restart if there is a crash.
> > #
> > #Console initialized.
> > #Game.dll loaded for "L4D - Normal"
> > Server is hibernating
> > ConVarRef test_progression_loop doesn't point to an existing ConVar 
> > Game supporting (2) split screen players maxplayers set to 
> 14 setparm 
> > 8 27016 setparm 10 8001 #01:Unknown command "r_decal_cullsize"
> >
> > setparm 8 27017
> > setparm 10 8002
> > #01:Unknown command "mat_bloom_scalefactor_scalar"
> >
> > #02:Unknown command "r_decal_cullsize"
> >
> > Nothing happens after this. I can't connect to the servers 
> with telnet 
> > and I have to kill the processes.
> >
> > Command line here.
> >
> > /home/**/hlds/l4d/srcds_run \
> > -game left4dead \
> > -fork 2 \
> > -map l4d_hospital01_apartment \
> > -port 27015+## \
> > -netconport 8000+## \
> > -netconpassword ** \
> > -nohltv
> >
> > And finally server.cfg
> >
> > hostname "FinNexus dedicated L4D server"
> >
> > // rcon password
> > rcon_password **
> >
> > // cvars
> > sv_alltalk 0
> > sv_pausable 0
> > sv_cheats 0
> > sv_consistency 1
> > sv_voiceenable 1
> > sv_pure 1
> > sv_allow_lobby_connect_only 0
> > sv_steamgroup "167364"
> > sv_steamgroup_exclusive 1
> >
> > // Difficulty
> > // z_difficulty normal
> >
> > // logging
> > log off
> > sv_log_onefile 0
> > sv_logfile 1
> > sv_logsdir /home/**/hlds/l4d/left4dead/logs sv_logbans 1 
> sv_logecho 1
> >
> > // operation
> > sv_lan 0
> > sv_region 3
> >
> > // bans
> > // exec banned.cfg
> >
> > Im kinda clueless. Im also new to running a Valve server 
> and to linux 
> > in general (Running Debian/Lenny btw) so Im out of ideas. Libc6 
> > package is version 2.7-15, so glibc is only version 2.7-1, 
> could this be the problem?
> >
> > Thanks for help in advance!
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the 
> list archives, 
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
> 
> 
> 
> --
> ---------
> [EMAIL PROTECTED]
> _______________________________________________
> 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