News:

Come Chat with us live! Learn how HERE!

Main Menu

Some options in server.cfg do not get executed

Started by jngdwe, December 31, 2007, 01:39:45 AM

jngdwe

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

#1
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

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
Quote from: dolby on February 19, 2003, 06:44:44 PM
spam spam spam, waste waste waste!

jngdwe

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

personaly i would go with mercinary guilds one not einstiens
Half Life head crab by the way
Quote from: Annihilation on November 26, 2008, 03:21:48 AM
On Topic:
My favorite type of metal has to be whatever type Demons and Wizards fall into.

your face

its eintein's*.... xD

and einstein is a genius too...
Quote from: dolby on February 19, 2003, 06:44:44 PM
spam spam spam, waste waste waste!

Bullislander05

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

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

#7
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
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.

Pete

I did what you said but I get a "couldn't exec mapcfg/atcs.cfg"

kevlarman

Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok 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

So wait, so it works now?

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

next_ghost

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


Paradox

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

Yes thanks Para, but gynterk already explained all that  :)