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
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?
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 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.
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 ), 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.
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.
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
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.
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
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.