Author Topic: How do i make myself an admin on my own server?  (Read 8393 times)

gareth1995

  • Posts: 14
  • Turrets: +0/-0
How do i make myself an admin on my own server?
« 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? ???

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Re: How do i make myself an admin on my own server?
« Reply #1 on: May 03, 2011, 10:47:10 pm »
Use rcon to setlevel yourself.
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

kharnov

  • Spam Killer
  • *
  • Posts: 626
  • Turrets: +47/-791
    • Unvanquished
Re: How do i make myself an admin on my own server?
« Reply #2 on: May 03, 2011, 10:48:20 pm »
I'm using fedora 13, (ubantu Linux)

???

gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #3 on: May 04, 2011, 04:01:44 pm »
sorry i know virtual nothing about this kind of thing, how do i use rcon?

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Re: How do i make myself an admin on my own server?
« Reply #4 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.
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #5 on: May 04, 2011, 06:51:23 pm »
great thanks.
« Last Edit: May 04, 2011, 07:08:40 pm by gareth1995 »

gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #6 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?

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Re: How do i make myself an admin on my own server?
« Reply #7 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
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

Qrntz

  • Posts: 847
  • Turrets: +204/-12
Re: How do i make myself an admin on my own server?
« Reply #8 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.

You make up Qrntz, u always angry, just calmdown. :police:
I am stupid idiot who dares to open mouth and start debating

gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #9 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...
« Last Edit: May 05, 2011, 03:57:21 pm by gareth1995 »

F50

  • Posts: 740
  • Turrets: +16/-26
Re: How do i make myself an admin on my own server?
« Reply #10 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.
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #11 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)

gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #12 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?




Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: How do i make myself an admin on my own server?
« Reply #13 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

gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #14 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)
« Last Edit: May 07, 2011, 09:46:46 am by gareth1995 »

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: How do i make myself an admin on my own server?
« Reply #15 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?

gareth1995

  • Posts: 14
  • Turrets: +0/-0
Re: How do i make myself an admin on my own server?
« Reply #16 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)


UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: How do i make myself an admin on my own server?
« Reply #17 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