Author Topic: Some options in server.cfg do not get executed  (Read 6072 times)

jngdwe

  • Posts: 3
  • Turrets: +0/-0
Some options in server.cfg do not get executed
« 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?

your face

  • Community Moderators
  • *
  • Posts: 3843
  • Turrets: +116/-420
Re: Some options in server.cfg do not get executed
« Reply #1 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
« Last Edit: December 31, 2007, 01:57:35 am by your face »
spam spam spam, waste waste waste!

jngdwe

  • Posts: 3
  • Turrets: +0/-0
Re: Some options in server.cfg do not get executed
« Reply #2 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?

snb

  • Posts: 422
  • Turrets: +15/-265
Re: Some options in server.cfg do not get executed
« Reply #3 on: December 31, 2007, 07:31:13 pm »
personaly i would go with mercinary guilds one not einstiens
Half Life head crab by the way
On Topic:
My favorite type of metal has to be whatever type Demons and Wizards fall into.

your face

  • Community Moderators
  • *
  • Posts: 3843
  • Turrets: +116/-420
Re: Some options in server.cfg do not get executed
« Reply #4 on: January 01, 2008, 04:33:57 am »
its eintein's*.... xD

and einstein is a genius too...
spam spam spam, waste waste waste!

Bullislander05

  • Posts: 156
  • Turrets: +18/-23
Re: Some options in server.cfg do not get executed
« Reply #5 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.

Pete

  • Posts: 112
  • Turrets: +9/-6
    • Cheese Media
Re: Some options in server.cfg do not get executed
« Reply #6 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.

gynterk

  • Posts: 33
  • Turrets: +1/-1
Re: Some options in server.cfg do not get executed
« Reply #7 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.
« Last Edit: January 09, 2008, 05:24:31 pm by gynterk »

Pete

  • Posts: 112
  • Turrets: +9/-6
    • Cheese Media
Re: Some options in server.cfg do not get executed
« Reply #8 on: January 10, 2008, 07:55:12 pm »
I did what you said but I get a "couldn't exec mapcfg/atcs.cfg"

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Some options in server.cfg do not get executed
« Reply #9 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
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Pete

  • Posts: 112
  • Turrets: +9/-6
    • Cheese Media
Re: Some options in server.cfg do not get executed
« Reply #10 on: January 11, 2008, 06:14:00 am »
So wait, so it works now?

Ok, gonna check the server later when I have time.

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Re: Some options in server.cfg do not get executed
« Reply #11 on: January 11, 2008, 09:17:19 am »
Some cvars work only in maprotation.cfg or map config, not in server.cfg
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

Pete

  • Posts: 112
  • Turrets: +9/-6
    • Cheese Media
Re: Some options in server.cfg do not get executed
« Reply #12 on: January 11, 2008, 01:38:04 pm »
Yes, it works! Thanks for the help.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: Some options in server.cfg do not get executed
« Reply #13 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

∧OMG ENTROPY∧

Pete

  • Posts: 112
  • Turrets: +9/-6
    • Cheese Media
Re: Some options in server.cfg do not get executed
« Reply #14 on: January 18, 2008, 08:08:01 pm »
Yes thanks Para, but gynterk already explained all that  :)