Tremulous Forum

Community => Servers => Topic started by: gareth1995 on May 03, 2011, 08:45:10 pm

Title: How do i make myself an admin on my own server?
Post 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? ???
Title: Re: How do i make myself an admin on my own server?
Post by: CreatureofHell on May 03, 2011, 10:47:10 pm
Use rcon to setlevel yourself.
Title: Re: How do i make myself an admin on my own server?
Post by: kharnov on May 03, 2011, 10:48:20 pm
I'm using fedora 13, (ubantu Linux)

???
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 04, 2011, 04:01:44 pm
sorry i know virtual nothing about this kind of thing, how do i use rcon?
Title: Re: How do i make myself an admin on my own server?
Post by: CreatureofHell on May 04, 2011, 04:14:55 pm
In your server.cfg there should be a line that says
Code: [Select]
set rconPassword passwordpassword being the password you choose.

When in-game you can type
Code: [Select]
/rcon password setlevel yourname levelFilling in the variables you choose.
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 04, 2011, 06:51:23 pm
great thanks.
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 04, 2011, 07:10:14 pm
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?
Title: Re: How do i make myself an admin on my own server?
Post by: CreatureofHell on May 04, 2011, 10:16:57 pm
If I remember correctly you need the server.cfg to be in your basepath, you can find that through fs_basepath
Title: Re: How do i make myself an admin on my own server?
Post by: Qrntz on May 04, 2011, 10:33:27 pm
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.
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 05, 2011, 03:46:07 pm
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...
Title: Re: How do i make myself an admin on my own server?
Post by: F50 on May 05, 2011, 08:52:52 pm
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.
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 05, 2011, 09:17:01 pm
where do i type this, in tremulous console, or the terminal window on my desktop (outside the game)
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 06, 2011, 03:51:08 pm
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?



Title: Re: How do i make myself an admin on my own server?
Post by: Meisseli on May 06, 2011, 05:54:22 pm
//set rconPassword test1
You have left the line commented. Uncomment it by removing the two back-slashes so something actually happens:

Code: [Select]
set rconPassword test1
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 06, 2011, 07:03:45 pm
still doesn't work :( do i need to re,ove the // on the line above it? (// Remote CONsole password)
Title: Re: How do i make myself an admin on my own server?
Post by: Meisseli on May 10, 2011, 02:06:23 pm
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?
Title: Re: How do i make myself an admin on my own server?
Post by: gareth1995 on May 10, 2011, 03:57:26 pm
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)

Title: Re: How do i make myself an admin on my own server?
Post by: UniqPhoeniX on June 14, 2011, 04:40:20 am
I don't think running the server from the client even uses server.cfg. You should start server from terminal with
Code: [Select]
tremded +set fs_basepath /home/gareth /.tremulousbasepath/ +exec server.cfg +map atcs