Tremulous Forum
Community => Servers => Topic started by: gareth1995 on May 03, 2011, 08:45:10 pm
-
I'm using fedora 13, (ubantu Linux) and when i start a server i am not set-up as an admin by default. I have found the server.cfc file but have no idea what part of it to change to make myself an admin. Anyone know what i need to do? ???
-
Use rcon to setlevel yourself.
-
I'm using fedora 13, (ubantu Linux)
???
-
sorry i know virtual nothing about this kind of thing, how do i use rcon?
-
In your server.cfg there should be a line that says
set rconPassword password
password being the password you choose.
When in-game you can type
/rcon password setlevel yourname level
Filling in the variables you choose.
-
great thanks.
-
when i try that in the console it sais that there is no rcon password set on the server? At the moment i have the server.cfg in the base directory in my home documents, would that be a problem, or will i have to modify the original server.cfg?
-
If I remember correctly you need the server.cfg to be in your basepath, you can find that through fs_basepath
-
inb4 what is a basepath
Execute /fs_basepath in your Trem console, it'll give out the path where your server.cfg needs to reside.
-
ok it is set to the default, how can i change that to the base file in my documents because im not allowed to edit the original...
-
fs_basepath is generally wherever the executable is, however, if you need another fs_basepath, run the game with the option: "+set fs_basepath [INSERT_YOUR_DIRECTORY_HERE]". In windows this usually amounts to creating a shortcut to the executable and then adding the options to the end of the shortcut's target.
-
where do i type this, in tremulous console, or the terminal window on my desktop (outside the game)
-
Ok i start up tremulous using this command in console,
"tremulous +set fs_basepath /home/gareth/.tremulousbasepath/"
In .tremulousbasepath there is the base folder. In the base folder there are some maps and the "server.cfg". In server.cfg there is a line that sais
// Remote CONsole password
//set rconPassword test1
when i start a server from within the game i enter
"/rcon test1 setlevel gareth 5" (gareth being my name and 5 being the admin level)
when i run this, i get this in console:
"Bad rcon from loopback: setlevel gareth 5
No rconpassword set on the server."
help?
-
//set rconPassword test1
You have left the line commented. Uncomment it by removing the two back-slashes so something actually happens:
set rconPassword test1
-
still doesn't work :( do i need to re,ove the // on the line above it? (// Remote CONsole password)
-
No. You're probably not either putting the line correctly to the file or not putting it in the correct file. In which folder did you install Tremulous?
-
my default base directory is:
/usr/share/tremulous/
i have a folder in my home directory called
/home/gareth/.tremulousbasepath/
The BASE folder is in here, and the server.cfg is in the base folder.
When i start the game i type
tremulous +set fs_basepath /home/gareth/.tremulousbasepath/
when the game is running i start a server from within the game.
(i didn't mention this previously but im running tremulous 1.2 if that makes any difference)
-
I don't think running the server from the client even uses server.cfg. You should start server from terminal with
tremded +set fs_basepath /home/gareth /.tremulousbasepath/ +exec server.cfg +map atcs