Raised This Month: $51 Target: $400
 12% 

Using Multiple Server with +exec Server_n.cfg and deploy Sourcemod Commands later on


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TandelK
Member
Join Date: Jun 2015
Location: Surat, India
Old 06-27-2017 , 09:01   Using Multiple Server with +exec Server_n.cfg and deploy Sourcemod Commands later on
Reply With Quote #1

I have been using Multiple CSGO Server using same folders for Competitive Server and also Retake Server. I have added different Retake configuration in their respective files and what i see that as soon as server start , it executes server_n.cfg file and says command as not available.

For Example

Server_1.cfg

Hostname "Server1"
sm_cvar "sv_enablebunnyhopping 1"
sm_cvar "sv_autobunnyhopping 1"

Server_2.cfg

Hostname "server2"
sm_cvar "sv_enablebunnyhopping 1"
sm_cvar "sv_autobunnyhopping 0"

Here as soon as the both the server starts they both execute with +exec server_1.cfg and +exec server_2.cfg but they give me error of sm_cvar is not a command as Sourcemod is not yet loaded. Can you guys help me out with loading the files properly after the Sourcemod has been loaded . I dont want to use Multiple Server Location for hosting 2 same game mode server with just cvars changed.
__________________
TandelK is offline
e54385991
AlliedModders Donor
Join Date: Aug 2013
Old 06-27-2017 , 11:27   Re: Using Multiple Server with +exec Server_n.cfg and deploy Sourcemod Commands later
Reply With Quote #2

+servercfgfile your.cfg
__________________
e54385991 is offline
Send a message via ICQ to e54385991
Reply



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 02:09.


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