LAN Party hosting server
LAN Party hosting server
Hey everyone,
there is a lan party tomorrow so this kinda urgent
i have successfully set up a server with ubuntu and have armagetronad on it... and right now I can create a game and go to my other comptuers on my personal home network and join it. pretty snazzy stuff.
how can i mess with armagetronad in-game settings form the terminal? since ubuntu server is all text, i can't really go into the game and play a round and mess with stuff. so how can I be in the terminal and change for example the wall length, or the game's server name (right now it just shows up as UNAMED SERVER)
sorry if this is a little vague, everybody is running really behind so.. thanks for all your help in advance!
Mathieux
there is a lan party tomorrow so this kinda urgent
i have successfully set up a server with ubuntu and have armagetronad on it... and right now I can create a game and go to my other comptuers on my personal home network and join it. pretty snazzy stuff.
how can i mess with armagetronad in-game settings form the terminal? since ubuntu server is all text, i can't really go into the game and play a round and mess with stuff. so how can I be in the terminal and change for example the wall length, or the game's server name (right now it just shows up as UNAMED SERVER)
sorry if this is a little vague, everybody is running really behind so.. thanks for all your help in advance!
Mathieux
Re: LAN Party hosting server
You enter commands directly in the server, such as:
In the wiki you have lots of information about server hosting, here's some examples:
Code: Select all
CYCLE_RUBBER 0.2
Winner of the How Many Pages Before The Lock® competition and a grand total of 18,93 euros in Euromillions.
Re: LAN Party hosting server
Hi,
thanks for the response. I have been trying various things, but it doesn't seem to affect the game at all. For example, i typed CYCLE_RUBBER 20 but on the game it still shows as 1
thanks for the response. I have been trying various things, but it doesn't seem to affect the game at all. For example, i typed CYCLE_RUBBER 20 but on the game it still shows as 1
- Phytotron
- Formerly Oscilloscope
- Posts: 5042
- Joined: Thu Jun 09, 2005 10:06 pm
- Location: A site or situation, especially considered in regard to its surroundings.
- Contact:
Re: LAN Party hosting server
Code: Select all
/admin <command> <value>
Re: LAN Party hosting server
still nothing... i am using ubuntu server, all i have is a terminal to look at... i'm tried just about everything that i can think of (which isn't much
) thanks for the suggestions though

- Phytotron
- Formerly Oscilloscope
- Posts: 5042
- Joined: Thu Jun 09, 2005 10:06 pm
- Location: A site or situation, especially considered in regard to its surroundings.
- Contact:
Re: LAN Party hosting server
Oh, my post referred to issuing commands while in-game. I don't recall exactly how to do it through a terminal, though I seem to recall it working the same way.
But, more importantly, if you want those settings to be permanent you need to enter them into the actual configuration files (e.g., server_custom.cfg). If you know what you want, you can just enter those and restart the server.
Any chance you put configuration settings in everytime.cfg? If so, any changes you make will reset each round.
But, more importantly, if you want those settings to be permanent you need to enter them into the actual configuration files (e.g., server_custom.cfg). If you know what you want, you can just enter those and restart the server.
Any chance you put configuration settings in everytime.cfg? If so, any changes you make will reset each round.
Re: LAN Party hosting server
Does the server output anything when you enter that? It should say something like:Mathieux wrote:Hi,
thanks for the response. I have been trying various things, but it doesn't seem to affect the game at all. For example, i typed CYCLE_RUBBER 20 but on the game it still shows as 1
Code: Select all
CYCLE_RUBBER 2
CYCLE_RUBBER changed from 0.2 to 2
Winner of the How Many Pages Before The Lock® competition and a grand total of 18,93 euros in Euromillions.
Re: LAN Party hosting server
actually no, but i also have a nexuiz server going, and i can enter commands right in and it only gives output when i entered the command wrong and it complains that it doesn't exist.madmax wrote:Does the server output anything when you enter that? It should say something like:Mathieux wrote:Hi,
thanks for the response. I have been trying various things, but it doesn't seem to affect the game at all. For example, i typed CYCLE_RUBBER 20 but on the game it still shows as 1You are typing those commands in the same place you started the server right?Code: Select all
CYCLE_RUBBER 2 CYCLE_RUBBER changed from 0.2 to 2
I will try to edit the configure file, thanks for the suggestion.
EDIT: I do get output from actualy match-related things, like, it will say "new round (4 of 10) beginning" "3" "2" "1" "go!" "mathieux lost 2 points blah blah AI wins" type stuff, and if someone says something in-game I can see it on the terminal, but that's it. Oh, and i'm running 0.2.8 by the way
Re: LAN Party hosting server
How are you running the server? If you're just looking at a tail of the server output, that would explain it not taking any commands. Try running it directly from the command line ('armagetronad-dedicated', it's possible it requires root rights on ubuntu due to silly script wrapping).
But yes, finding settings_dedicated.cfg, creating a new file called settings_custom.cfg in the same directory and entering your configuration there may be a good idea, too.
But yes, finding settings_dedicated.cfg, creating a new file called settings_custom.cfg in the same directory and entering your configuration there may be a good idea, too.
Re: LAN Party hosting server
I am running as root, hmm.. odd...
and, (sorry for being a nag) where exactly are the configure.cfg files? I can't find them anywhere
EDIT: I found the configure file, for future reference, it's etc/default/armagetronad-dedicated
also, i've figured out that within the configure file you can give yourself admin powers for your game (so, if I started playing it myself I can change all the settings in game) so I've done pretty much everything I want to do. Thanks everyone so much for your help!
EDIT AGAIN: Okay, last thing, i promise. I set an admin password, now, if I were just a regular user, and went into the chat and said "/admin" how can I give myself elevated rights? I want to be able to say "/admin" "password?" "*enter password" then do as i please. It doesn't prompt for a password, just says i'm not good enough to be admin
and, (sorry for being a nag) where exactly are the configure.cfg files? I can't find them anywhere
EDIT: I found the configure file, for future reference, it's etc/default/armagetronad-dedicated
also, i've figured out that within the configure file you can give yourself admin powers for your game (so, if I started playing it myself I can change all the settings in game) so I've done pretty much everything I want to do. Thanks everyone so much for your help!
EDIT AGAIN: Okay, last thing, i promise. I set an admin password, now, if I were just a regular user, and went into the chat and said "/admin" how can I give myself elevated rights? I want to be able to say "/admin" "password?" "*enter password" then do as i please. It doesn't prompt for a password, just says i'm not good enough to be admin

Re: LAN Party hosting server
Humm, really? Isn't that just the configuration file for the init script, determining whether a server should be started at bootup and under what username? I'm not really familiar with the way the .deb sets things up, but usually, the configuration should be in the directory /etc/armagetronad-dedicated.Mathieux wrote: EDIT: I found the configure file, for future reference, it's etc/default/armagetronad-dedicated
If you set an admin password with the ADMIN_PASS command (which, I think, should be the way the .deb setup handles things, be sure to check the server's output for error messages), you first login by sayingMathieux wrote: EDIT AGAIN: Okay, last thing, i promise. I set an admin password, now, if I were just a regular user, and went into the chat and said "/admin" how can I give myself elevated rights?
"/login <password>"
and then execute commands by saying
"/admin <command>"
Without the /login, /admin usage should be denied.
- Phytotron
- Formerly Oscilloscope
- Posts: 5042
- Joined: Thu Jun 09, 2005 10:06 pm
- Location: A site or situation, especially considered in regard to its surroundings.
- Contact:
Re: LAN Party hosting server
Ah, sorry—I had assumed you had already given yourself admin status (via ADMIN_PASS or authentication level).
Yes, of course you must log in as an Owner or Admin in order to enter commands to the server with "/admin."
