News:

Come Chat with us live! Learn how HERE!

Main Menu

How do i make myself an admin on my own server?

Started by gareth1995, May 03, 2011, 08:45:10 PM

gareth1995

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? ???

CreatureofHell

{NoS}StalKer
Quote<Timbo> posting on the trem forums rarely results in anything good

kharnov


gareth1995

sorry i know virtual nothing about this kind of thing, how do i use rcon?

CreatureofHell

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.
{NoS}StalKer
Quote<Timbo> posting on the trem forums rarely results in anything good

gareth1995

#5
great thanks.

gareth1995

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?

CreatureofHell

If I remember correctly you need the server.cfg to be in your basepath, you can find that through fs_basepath
{NoS}StalKer
Quote<Timbo> posting on the trem forums rarely results in anything good

Qrntz

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.

Quote from: {FoT|PeDrO} on December 14, 2011, 02:07:41 PMYou make up Qrntz, u always angry, just calmdown. :police:
Quote from: Loki on March 13, 2013, 10:27:57 AMI am stupid idiot who dares to open mouth and start debating

gareth1995

#9
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...

F50

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.
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


gareth1995

where do i type this, in tremulous console, or the terminal window on my desktop (outside the game)

gareth1995

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?




Meisseli

Quote from: gareth1995 on May 06, 2011, 03:51:08 PM
//set rconPassword test1
You have left the line commented. Uncomment it by removing the two back-slashes so something actually happens:

set rconPassword test1

gareth1995

#14
still doesn't work :( do i need to re,ove the // on the line above it? (// Remote CONsole password)

Meisseli

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?

gareth1995

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)


UniqPhoeniX

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