Unable to make temparary alterations to my server via consol

Post here if you need help setting up your server, etc.
Post Reply
maverik
Posts: 6
Joined: Mon Mar 21, 2005 12:24 pm

Unable to make temparary alterations to my server via consol

Post by maverik »

I have recently set up a server running on windows, i have figured out how to use the admin facility but i am unable to use the consol input to alter the server, e.g cycle_rubber.
As it stands, to make any alterations i have to go and alter the files then restart the server which is a pain in the u know wot.
Also i dont appear to have a user.cfg or everytime.cfg file and im not quite sure how to create them.
Please help, cheers :(
I didn't do it officer and i'll never do it again :-D
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

The user.cfg file is created by the client; it contains the part of the configuration accessible in the various menus. you don't need it on the server.
To create the config files, just, umm, create them. They should reside inside the var subfolder of the installation folder. Create them with a right-click as a text file and rename them to a .cfg file, or choose the save-as option of your favorite editor. Known files are
-autoexec.cfg: loaded once on startup
-everytime.cfg: loaded between rounds
You can copy over the settings you want to change from config/settings.cfg and config/settings-dedicated.cfg.

I'm curious: what does the server process say in the console when you try to alter settings?
maverik
Posts: 6
Joined: Mon Mar 21, 2005 12:24 pm

Post by maverik »

It doesnt say anything, its exactly the same as it would be when you try to alter settings on someone elses server.
I can do the usual things like center_message or color_r_1 16 etc., i just cant alter any of the game settings.
I didn't do it officer and i'll never do it again :-D
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

So you're trying to control your server from your client? (This sounds like what is happening.)
Image
maverik
Posts: 6
Joined: Mon Mar 21, 2005 12:24 pm

Post by maverik »

I dunno im new to this, its not a big problem its just i cant alter anything while playing and i have to restart the server thus cutting every body who is playing off. Which is annoying. :?
I didn't do it officer and i'll never do it again :-D
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

The server has no way of knowing that the client you're playing on should be authorized to change settings. You have to enter your commands in the text window of the server. It's a bit of a cumbersome interface (backspace does not work :oops: ), but should work.
ALT-TAB should work with AA and let you switch from the game to the server; alternatively, you can temporarily enter windowed mode by pressing "f".
For some commands, there is an ingame admin interface usable through chat commands. I'm sure Tank will be happy to explain it to you. AFAIK, you can't change settings through it, though.
maverik
Posts: 6
Joined: Mon Mar 21, 2005 12:24 pm

Post by maverik »

Ive tried that and this is wot it says:
cycle_speed 20
[0] Command CYCLE_SPEED unknown

I see wot u mean about the back space not working, thats awkward (<-- I cant spell)
Ok so the server doesnt recognise my client as one that should be able to alter it, but whats really bugging me is that i have to restart the server once ive updated the text files in order for the changes to be applied. :|
I didn't do it officer and i'll never do it again :-D
maverik
Posts: 6
Joined: Mon Mar 21, 2005 12:24 pm

Post by maverik »

Interesting, i just tried this again and it worked but it took several attempts but i did this without anyone on the game and when there are people in the game the server wondow is constantly updating making typing in it awkward.
Anyway we'll see what happens when there are people in the game. Thanks for your help up to now :)
I didn't do it officer and i'll never do it again :-D
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

You don't have to restart the server: just type
include autoexec.cfg
if that's where all your changed setting are.

About the editing: Yes, sorry, the server is mainly maintained to run on the Unix side, and it's not very comfortable there either. The thing you have to know is that you absolutely MUST NOT hit backspace. If you make a mistake, hit return and start over. Ignore the server messages that seem to push you back, because they don't actually push you back, they just mess up the display. Just type on as if nothing happened.
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

sounds like he is missing a language file to me
maverik
Posts: 6
Joined: Mon Mar 21, 2005 12:24 pm

Post by maverik »

Thanks Z man i figured it out anyway, and i think nemo might be right but i'll survive, most people seem to like my server anyway.
So thanks a lot for all your help cheers :D
I didn't do it officer and i'll never do it again :-D
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

You're welcome, and happy administering!
User avatar
Lucifer
Project Developer
Posts: 8751
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Hmmm, you make everytime.cfg in the same location as settings.cfg and the others using a regular text editor like notepad or something.

I use everytime.cfg to make server changes on a running server because none of my servers have an open console. It works out better anyway, as long as I don't decide I want to jack the players by increasing speed or something mid-round. Heh.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
Post Reply