Raised This Month: $ Target: $400
 0% 

Multiple Server Setup - Unknown command "sm_cvar" - Only After Multiple CFG Files


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MonkeyDrone
AlliedModders Donor
Join Date: Jul 2011
Old 07-13-2011 , 13:55   Multiple Server Setup - Unknown command "sm_cvar" - Only After Multiple CFG Files
Reply With Quote #1

I have a server.cfg file full of sm_cvar commands and when I run a server through ./srcds_run , the server starts up and executes all the commands appropriately and the server is working fine.

If I try to keep server.cfg empty and put in the server command line +exec server1.cfg

./srcds_run +exec server1.cfg
The command gives me Unknown command "sm_cvar" when it's executing the commands from server1.cfg

I want to run same two servers for left4dead2 but with adjustments in sm_cvar values. Thus I'm looking at server1.cfg & server2.cfg for server 1 & 2 respectively.

The executable command is working fine but srcds_run is not loading it's own set of commands into memory before executing server1.cfg.
After all, If i keep it server.cfg, The server works fine.

Any idea what's wrong here or how can we counter the dilemma.

Thanks.
MonkeyDrone is offline
 


Thread Tools
Display Modes

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:29.


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