Tremulous Forum

Community => Servers => Topic started by: jngdwe on December 31, 2007, 01:39:45 am

Title: Some options in server.cfg do not get executed
Post by: jngdwe on December 31, 2007, 01:39:45 am
Please help, my BP options and FF options in the server.cfg are not being executed, but the MOTD and server name and player count work. Any idea why this would happen?
Title: Re: Some options in server.cfg do not get executed
Post by: your face on December 31, 2007, 01:44:12 am
Code: [Select]
set g_humanBuildPoints 300 // Number of buildpoints for human team, default 100
set g_humanMaxStage 2 // Maximum human stage (s1=0, s2=1, s3=2)
set g_humanStage2Threshold 1 // threshold for humans to reach stage 2, default 20
set g_humanStage3Threshold 2 // threshold for humans to reach stage 3, default 40

set g_alienBuildPoints 300 // Number of buildpoints for alien team, default 100
set g_alienMaxStage 2 // Maximum alien stage (s1=0, s2=1, s3=2)
set g_alienStage2Threshold 1 // threshold for aliens to reach stage 2, default 20
set g_alienStage3Threshold 2 // threshold for aliens to reach stage 3, default 40

do u have it set like that?

also, if you dont have autodownload already, add this on the end of the other codes in the server.cfg

Code: [Select]
set sv_wwwDownload 1
set sv_wwwBaseURL "http://imn2rc.einsteinbennyboy.com"
set sv_dlURL "http://imn2rc.einsteinbennyboy.com"

its awesome.... ;D xD

http://imn2rc.einsteinbennyboy.com (http://imn2rc.einsteinbennyboy.com)
Title: Re: Some options in server.cfg do not get executed
Post by: jngdwe on December 31, 2007, 02:58:44 am
Yes, it's set up like that. Could someone possibly send me or link me too a working (for sure, tested please) server.cfg with password and any info that yu want to keep a secret removed from the file?
Title: Re: Some options in server.cfg do not get executed
Post by: snb on December 31, 2007, 07:31:13 pm
personaly i would go with mercinary guilds one not einstiens
Title: Re: Some options in server.cfg do not get executed
Post by: your face on January 01, 2008, 04:33:57 am
its eintein's*.... xD

and einstein is a genius too...
Title: Re: Some options in server.cfg do not get executed
Post by: Bullislander05 on January 04, 2008, 03:59:14 am
how do you have webspace on bens site?  As far as I know ben hasn't touched his site in nearly a year.  He hasn't even been able to.

By the way, I have a good server.Cfg if you are interested.  I'll get rid of the name and motd parts and post it here tomorrow.  I believe your problem lies within the fact that if you set bps in your server.cfg it sets them for the first game and ensuing games have default values.  I forgot how to change defaults in trem though.
Title: Re: Some options in server.cfg do not get executed
Post by: Pete on January 06, 2008, 09:41:59 am
I'm having this problem, too, I've set the buildpoints both in server.cfg and maprotation.cfg, but it doesn't work.
If I set the buildpoints manually every game with rcon or just through console it works, but only for that map. I can go through every map in rotation and set the buildpoints to 250 and it's fine for a while, but when I restart my server (which I have to do quite often) it resets.
Title: Re: Some options in server.cfg do not get executed
Post by: gynterk on January 09, 2008, 05:12:12 pm
Searc button is your friend.

1) Make a directory into trem/base/ called mapcfg
2) Edit your server.cfg and add/change line seta g_mapConfigs "mapcfg"
3) Make a plain text file into trem/base/mapcfg/ called default.cfg
4) Add this to default.cfg
Code: [Select]
set g_humanBuildPoints 300 // Number of buildpoints for human team, default 100
set g_humanMaxStage 2 // Maximum human stage (s1=0, s2=1, s3=2)
set g_humanStage2Threshold 1 // threshold for humans to reach stage 2, default 20
set g_humanStage3Threshold 2 // threshold for humans to reach stage 3, default 40

set g_alienBuildPoints 300 // Number of buildpoints for alien team, default 100
set g_alienMaxStage 2 // Maximum alien stage (s1=0, s2=1, s3=2)
set g_alienStage2Threshold 1 // threshold for aliens to reach stage 2, default 20
set g_alienStage3Threshold 2 // threshold for aliens to reach stage 3, default 40


GL & HF
G.
Title: Re: Some options in server.cfg do not get executed
Post by: Pete on January 10, 2008, 07:55:12 pm
I did what you said but I get a "couldn't exec mapcfg/atcs.cfg"
Title: Re: Some options in server.cfg do not get executed
Post by: kevlarman on January 10, 2008, 09:30:00 pm
I did what you said but I get a "couldn't exec mapcfg/atcs.cfg"
that is normal
Title: Re: Some options in server.cfg do not get executed
Post by: Pete on January 11, 2008, 06:14:00 am
So wait, so it works now?

Ok, gonna check the server later when I have time.
Title: Re: Some options in server.cfg do not get executed
Post by: next_ghost on January 11, 2008, 09:17:19 am
Some cvars work only in maprotation.cfg or map config, not in server.cfg
Title: Re: Some options in server.cfg do not get executed
Post by: Pete on January 11, 2008, 01:38:04 pm
Yes, it works! Thanks for the help.
Title: Re: Some options in server.cfg do not get executed
Post by: Paradox on January 17, 2008, 06:16:20 am
Eew, using maprotations for server configurations. I got out of that waay long ago, and it has proven to be for the better.

On your server, create a folder in the admin base (the one that is different from the exe), and call it mapconfigs or something. Then in your server.cfg, add set g_mapConfigs "mapconfigs" or whatever you named the folder.

Now, create a text file in the map configs called default.cfg, and put into it the values you want applied to EVERY map (not just rotation maps. vote maps too. easy way to keep consistant settings). Then you can create text files labeled after each individual map, ie atcs.cfg would only execute when atcs loaded. The cascade is maprotation settings, then default.cfg, then map specific settings. (correct me if i am wrong)



----------------
Listening to: Martin O'Donnell & Michael Salvatori - No More Dead Hereos (http://www.foxytunes.com/artist/martin+odonnell+%26+michael+salvatori/track/no+more+dead+hereos)
Title: Re: Some options in server.cfg do not get executed
Post by: Pete on January 18, 2008, 08:08:01 pm
Yes thanks Para, but gynterk already explained all that  :)