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

KAC CVAR in start commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DKLeader
New Member
Join Date: Feb 2007
Old 06-02-2010 , 09:55   KAC CVAR in start commands
Reply With Quote #1

Hi,

I have installed KAC and am very impressed, but wanted to have kac_rcon_crashprevent enabled all the time. Did from console with kac_rcon_crashprevent 1 and it came on as it should.
But if I put in the commandline +kac_rcon_crashprevent 1 it does not work. Tried with +kac_eyes_antiwall 1 and that worked well.

Any ideas to why crashprevent cant be used from start commandline.

Servers running linux debian lenny.
Game is CSS
KAC installed : 1.2.0

//DKLeader
__________________
CZGames.dk - A Danish Hosting Company

Company :
www.CZGames.dk
www.CZGames.eu
www.CZGames.com
www.CZG.dk

Online shop
www.CZGames.dk/shop
DKLeader is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 06-02-2010 , 11:55   Re: KAC CVAR in start commands
Reply With Quote #2

You shouldn't really need to put it in the command line. Put the KAC cvars you want to load in a file called kac_config.cfg and then place this cfg file in your /cstrike/cfg folder. You can +exec kac_config.cfg in your command line if you wish, or simply add it to server.cfg. This will ensure it's executed every map.
__________________
thetwistedpanda is offline
Kigen
BANNED
Join Date: Feb 2008
Old 06-02-2010 , 12:23   Re: KAC CVAR in start commands
Reply With Quote #3

The reason crash prevention CVars cannot be used from the start line is that KAC hasn't loaded when the start command line is executed. KAC loads after along with SourceMod. I suggest adding your CVar commands to server.cfg.
Kigen is offline
DKLeader
New Member
Join Date: Feb 2007
Old 06-02-2010 , 14:39   Re: KAC CVAR in start commands
Reply With Quote #4

I am not sure if then understand the "way" things work in the command line. When I use +exec server.cfg it executes the cfg file and go through that. But isnt anything in the command line after that executed after that. See my ex below. Because what is wierd is that +kac_eyes_antiwall does work in the command.

Quote:
-console +ip $IP +port $PORT -game $GAMETYPE +map $STARTMAP +maxplayers $MAXPLAYERS +exec $SERVERCONFIG +bot_add +bot_quota $bot_quota -tickrate $tickrate +kac_eyes_antiwall $kac_eyes_antiwall
__________________
CZGames.dk - A Danish Hosting Company

Company :
www.CZGames.dk
www.CZGames.eu
www.CZGames.com
www.CZG.dk

Online shop
www.CZGames.dk/shop
DKLeader is offline
Kigen
BANNED
Join Date: Feb 2008
Old 06-02-2010 , 15:12   Re: KAC CVAR in start commands
Reply With Quote #5

As I said, KAC isn't loaded yet! KAC loads AFTER the server is started, not while.

This means that adding KAC CVars to the command line is useless. You should add KAC CVars to server.cfg because server.cfg gets executed on the map start (which is after the server loads).
Kigen is offline
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 15:20.


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