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

Load Config on Server Tag


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UeberDaniel
AlliedModders Donor
Join Date: Dec 2009
Location: Germany
Old 12-23-2015 , 12:53   Load Config on Server Tag
Reply With Quote #1

Hi,
I have a Problem: I have multiple Servers running on the same Directory with multiple Batch files so i have to load a certain config on every Server.
I tried to load the certain config with the Batch (+exec xyz.cfg) file but some plugins cvars arent avaliable at the Moment of loading the file. so i Need a plugin to load the config later.

i thougt to try it with the "Map and Maps Prefixs Configs" Plugin by graczu but ive some Servers with the same map.
My idea is to give every single Server a certain Server tag in the Batch file and after loading the Servers plugins, filter the tags and if there is the given Server tag, then load the config xyz.cfg

im not a pro in programming so some help would be nice

*I picket the Server tags cause i dont know any other cvar which can be completely edited on a Server Startup without influence at the gameplay but if there is any "reserve" cvar in Source to use, it would be nice to know.

Greetings,

Dany666
__________________


Last edited by UeberDaniel; 12-23-2015 at 13:30.
UeberDaniel is offline
Send a message via MSN to UeberDaniel
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 12-24-2015 , 07:56   Re: Load Config on Server Tag
Reply With Quote #2

Quote:
+exec xyz.cfg
Not «+servercfgfile xyz.cfg»?
__________________
Grey83 is offline
UeberDaniel
AlliedModders Donor
Join Date: Dec 2009
Location: Germany
Old 12-26-2015 , 17:45   Re: Load Config on Server Tag
Reply With Quote #3

They are Contagion Servers and this is the only working cmd that works i think. The hostname Cvar is working and included in the "xyz.cfg" so thats not the Problem..
__________________

UeberDaniel is offline
Send a message via MSN to UeberDaniel
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:28.


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