remote admin and other help

Post here if you need help setting up your server, etc.
Post Reply
Xeon
On Lightcycle Grid
Posts: 10
Joined: Sun Jun 19, 2005 11:10 pm

remote admin and other help

Post by Xeon »

what is a better way to remotely manage a server? also, when we try to do the command in say it doesn't work. It normally gives us this message:

"nothing to do with <COMMAND> to bad so sad" :evil:

I have read over the commands you gave in another posting and tried to use the <PASS> com <COMMAND> and all it does is echo what I have typed and doesn't change anything.

One other thing, the walls seem to be very touchy for some people and not for others, happen to know why it's like this? and how do I reset the ladder :!:
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: remote admin and other help

Post by dlh »

Xeon wrote:what is a better way to remotely manage a server? also, when we try to do the command in say it doesn't work. It normally gives us this message:

"nothing to do with <COMMAND> to bad so sad" :evil:

I have read over the commands you gave in another posting and tried to use the <PASS> com <COMMAND> and all it does is echo what I have typed and doesn't change anything.

One other thing, the walls seem to be very touchy for some people and not for others, happen to know why it's like this? and how do I reset the ladder :!:
The correect syntax for remote admin is this

Type in the normal chat area, not in the console:
your_password command options

You must set the password on the server. In the server console, admin_pass your_password.

Lets say my password is 123-easy. The available commands for remote admin are say, cm, kick, com, and ul.

say prints a message for all to see with this style: Admin: your text
cm: prints a center message for all to see
kick: kicks a player with a given id
ul: user-list, lists the ids
com: prints a console message for all to see

ex: 123-easy say I am the admin
ex: 123-easy cm Annoying center message
ex: 123-easy ul <-- this lists all the player id numbers
ex: 123-easy kick 3 <-- would kick the player with id number 3

The remote admin for the next version is totally changed, it allows access to all the commands on the server. For now this is what 'ya get. Maybe the next version will be documented :D

edit: to reset the ladder, delete ladder.txt.
Xantonin
Posts: 2
Joined: Mon Jun 20, 2005 12:11 am

Post by Xantonin »

Where is this ladder.txt file?

The server both me and Xeon are talking about is Linux version 2.6.11-gentoo-r9.

I compiled 'tron myself without SDL as a dedicated server.


So, if those are the only commands, how does one remotely change settings like CYCLE_SPEED? Is the only way by typing them into the "armagetronad-dedicated" output screen?
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Xantonin wrote:Where is this ladder.txt file?

The server both me and Xeon are talking about is Linux version 2.6.11-gentoo-r9.

I compiled 'tron myself without SDL as a dedicated server.


So, if those are the only commands, how does one remotely change settings like CYCLE_SPEED? Is the only way by typing them into the "armagetronad-dedicated" output screen?
My ladder.txt is in ~/.armagetronad/var.

If you run a server using the startup scripts, i.e. no dedicated console, you can create a file called everytime.cfg, and put changes in there. This file gets loaded before the start of every round.

The next version of armagetronad will have a new remote admin that will allow you access to *all* the commands on the server. Its already in CVS, but has a few bugs and quirks.

To use the new remote admin: /login your_password. You should get a you have logged in message.
/radmin any-command option
/logout will log you out.
Xantonin
Posts: 2
Joined: Mon Jun 20, 2005 12:11 am

Post by Xantonin »

Hmm, maybe I shouldn't run it as root. That's where my stuff is. Oh well I'll just murder it all. I'll make use of that everytime.cfg too, it'll be very handy. Thanks for the help.

The new admin thing sounds awesome. Is there an estimated release date? Or where is the best place I can check for it?

Edit: Oh and how does rc.config work? How must the program be run for the settings in there to apply?
Xeon
On Lightcycle Grid
Posts: 10
Joined: Sun Jun 19, 2005 11:10 pm

Post by Xeon »

I know that you have to type all the commands into say not consol, but when we type it into say, but we can't get the "com" command to work.
User avatar
Self_Destructo
Round Winner
Posts: 317
Joined: Tue Jun 07, 2005 1:24 am
Location: HillBilly Country
Contact:

Post by Self_Destructo »

I got a question. Why can't I do this from Spectator view? I often time luck behind in spectator view so I can see what really is going on. But I cannot kick someone from it. That would be nice if I could.
User avatar
Z-Man
God & Project Admin
Posts: 11767
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

The reason is that spectator mode is in really just an exploit; you know you can have 1,2,3 or 4 players on a computer, and in spectator mode, you just have 0 players. Since the ingame admin works with chat and only players can chat, well, spectators can't use it. The chat message isn't even sent to the server.
Of course, that logic may change in the future, for example by making the spectators real players with a flag set. However, there would probably be side effects on the game logic, so I won't do that just now.
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

Post by iceman »

in the future could you also include an extra config command to disable spectators completely

thanks
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
User avatar
Z-Man
God & Project Admin
Posts: 11767
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

That's difficult for the same reason: the client never says "I'm a spectator" to the server, it just never says "I'm a player". I added a reminder to the many-players exploit bug entry anyway, maybe there's a shortcut.
It may be possible to treat spectators as second class citizens, only send them updates when bandwidth is available and don't use their ping in any game-relevant code. You only want to disable them because you can start five clients, connect them as spectators to a server and start downloading stuff to annoy people with lag fluctuations, right?
Post Reply