I'm trying to create a server name and frankly I'm a little confused.. Console Commands are they supposed to be entered in to your settings_custom.cfg file to make them permanent or are they supposed to be entered every round? Because I know you can enter all the console command codes while playing by typing /console and then the code.
Anyway back to the server name.. I tried entering it by putting SERVER_NAME in my settings_custom.cgf and then putting my name after it and that failed.. Please help!
Creating a server name and console commands
Creating a server name and console commands
Last edited by nh97103 on Sat Aug 07, 2010 10:25 pm, edited 1 time in total.
Re: Creating a server name and console commands
The settings_custom.cfg is loaded each time you start up the program; so yes it makes them stay permanently, however entering them manually ingame should make them permanent until you close the program or change the values of the settings. As for the each round thing, some settings work for only the round (like CYCLE_WALLS_LENGTH) while another similar setting will make it last until its changed (WALLS_LENGTH).nh97103 wrote:...Console Commands are they supposed to be entered in to your settings_custom.cfg file to make them permanant or are they supposed to be entered every round?
This makes me guess: Since you are able to change the game settings like that, it must be hosted from your client.nh97103 wrote:Because I know you can enter all the console command codes while playing by typing /console and then the code
Since I'm guessing your hosting this from a client instead of a dedicated server, I'm not sure if clients use the settings_custom.cfg or if settings directly related to hosting a server are ignored while including it.nh97103 wrote: Anyway back to the server name.. I tried entering it by putting SERVER_NAME in my settings_custom.cgf and then putting my name after it and that failed..
I'm sure someone will answer this for us though.
EDIT: And you can always use the command "/console INCLUDE <filename.cfg>" (and in your case "/console INCLUDE settings_custom.cfg").
And this should be moved to support.
<-- Proud co-leader of Rogue Tronners
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
Re: Creating a server name and console commands
Maybe part of the problem? As Tobe said, commands in settings_custom.cfg are run only once on server start. SERVER_NAME should go there. Commands can be manually entered at every time, but are not persistent. Settings to be reloaded every round should be put in everytime.cfg. That's generally useful only in conjunction with scripts to change the contents.nh97103 wrote:settings_custom.cgf
Re: Creating a server name and console commands
Actually I'm hosting a dedicated server.. I only tried entering a few console commands while in the game. but they reset at the end of the round.. I could change the name while in the game, but by putting it in settings_custom.cgf.. Which is why I ask where to put that.
- INW
- Reverse Outside Corner Grinder
- Posts: 1950
- Joined: Tue Jul 07, 2009 4:10 pm
- Location: Charlotte, NC, USA
Re: Creating a server name and console commands
To simplify things...put SERVER_NAME 'blah' in ur settings_custom.cfg file, save it, then restart your server. If it doesn't work then something is saved incorrectly.
Re: Creating a server name and console commands
Have a read through the SETTINGS.cfg and the SETTINGS_DEDICATED.cfg files.
The server reads those first, and then because there is a line in SETTINGS_DEDICATED.cfg that says
The command SERVER_NAME is located in settings_dedicated, so you can edit it there.
And as my peers have said, certain things stick when you enter them in console commands, others don't. The reason AFAIK is because if they are in any of the three files I have mentioned, then they will be over-read when you leave/reenter.
The server reads those first, and then because there is a line in SETTINGS_DEDICATED.cfg that says
(or because it does it anyway), then it also reads that.SINCLUDE settings_custom.cfg
The command SERVER_NAME is located in settings_dedicated, so you can edit it there.
And as my peers have said, certain things stick when you enter them in console commands, others don't. The reason AFAIK is because if they are in any of the three files I have mentioned, then they will be over-read when you leave/reenter.
The Halley's comet of Armagetron.
ps I'm not tokoyami
ps I'm not tokoyami
- Phytotron
- Formerly Oscilloscope
- Posts: 5041
- Joined: Thu Jun 09, 2005 10:06 pm
- Location: A site or situation, especially considered in regard to its surroundings.
- Contact:
Re: Creating a server name and console commands
Server name should usually go in server_info.cfg, to be /include[d] in settings_custom.cfg.
You don't enter server commands in-game with the console prompt. You change them by bringing up your chat prompt, then typing "/admin <command>."
Commands changed with /admin will revert to whatever is in settings_custom.cfg when the server is restarted (e.g., by DEDICATED_IDLE).
You don't enter server commands in-game with the console prompt. You change them by bringing up your chat prompt, then typing "/admin <command>."
Commands changed with /admin will revert to whatever is in settings_custom.cfg when the server is restarted (e.g., by DEDICATED_IDLE).
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
Re: Creating a server name and console commands
Actually DEDICATED_IDLE does not restart the Server , but shut it down
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln