View previous topic :: View next topic |
Author |
Message |
Czar God like!
Joined: 02 Dec 2006 Location: Bitchez, they come and go; But Zdaemon is forever
|
Posted: Wed Aug 01, 2007 10:50 am Post subject: some help needed with rcon commands |
|
|
id like to know if u can add wads to a server using rcon? if this is possible, then what is the command? also how do u change the player limit on a server with rcon, if indeed it is possible
for example i want to change a servers max spots to 8 players, and max players to 2..
please do help |
|
Back to top |
|
|
Krille has entered the game!
Joined: 30 Mar 2005
|
Posted: Wed Aug 01, 2007 11:29 am Post subject: Re: some help needed with rcon commands |
|
|
Czar wrote: |
for example i want to change a servers max spots to 8 players, and max players to 2..
|
rcon maxclients 8
rcon maxplayers 2
i dont know if adding wads through rcon is possible, sorry... |
|
Back to top |
|
|
Da_maniaC Now with new lemon fresh scent!
Joined: 03 Jan 2004 Location: Netherlands Posts: 1337
|
Posted: Wed Aug 01, 2007 11:55 am Post subject: Re: some help needed with rcon commands |
|
|
Czar wrote: | id like to know if u can add wads to a server using rcon? |
This is not possible, but has been taken into consideration if i am correct.
I do not think we will see it in 1.09 already though.
It will need some modification of how things are going now because of several new problems occuring.
Ie. you choose to load a wad which someone in the server does not have.
This person should be made aware by a message or get automatically redirected to Getwad maybe.
And if you change the wad it will need a hell of an adaptaion in the server code. I think the best way to do it, is to apply settings for the next 'game'.
Meaning when the server changes to the next map, the new wad is loaded. |
|
Back to top |
|
|
Czar God like!
Joined: 02 Dec 2006 Location: Bitchez, they come and go; But Zdaemon is forever
|
Posted: Wed Aug 01, 2007 11:57 am Post subject: |
|
|
maniac: can we restart servers then? if so then whats teh command for it
thanks for the help guys |
|
Back to top |
|
|
Doomination God like!
Joined: 23 Oct 2006 Location: It's NOT lupus. Posts: 6.022 x 10^23
|
Posted: Wed Aug 01, 2007 12:34 pm Post subject: |
|
|
http://www.zdaemon.org/doc
from there go to command list.. there is a pretty useful list of console commands. |
|
Back to top |
|
|
Da_maniaC Now with new lemon fresh scent!
Joined: 03 Jan 2004 Location: Netherlands Posts: 1337
|
Posted: Wed Aug 01, 2007 1:36 pm Post subject: |
|
|
Czar wrote: | maniac: can we restart servers then? if so then whats teh command for it
thanks for the help guys |
Rcon doesnt allow a restart either, only through the server which you then administrate. (Ie. shutdown zserv and restart it with other settings).
If you notifiy ppl of this, they can just try reconnecting after 20 seconds or so and be in the server with different settings again, they wont even have to shutdown ZDaemon.
(Assuming you keep using the same server port). |
|
Back to top |
|
|
[n00b]Adereth Spamming!
Joined: 16 Jul 2005 Location: Oh god, what year is this?!
|
Posted: Wed Aug 01, 2007 5:02 pm Post subject: |
|
|
csDoom's server actually had functionality that let it be restarted from the console, with command line parameters specified as an argument to the actual restart command. It never caught on, obviously, since it gives people a wee bit more control than most hosts who use rcon would encourage. |
|
Back to top |
|
|
Mindwipe has entered the game!
Joined: 19 Jul 2007
|
Posted: Wed Aug 01, 2007 11:54 pm Post subject: |
|
|
Is there a way to change the maplist and the frag limit through rcon? |
|
Back to top |
|
|
[n00b]Adereth Spamming!
Joined: 16 Jul 2005 Location: Oh god, what year is this?!
|
Posted: Thu Aug 02, 2007 6:23 am Post subject: |
|
|
Why yes, yes there is.
Code: | clearmaplist
addmap map01
addmap map02
addmap map03
addmap map04
...
|
And:
|
|
Back to top |
|
|
Cybershark Spamming!
Joined: 05 Jan 2005 Location: off the grid, but still fighting for the users!
|
Posted: Thu Aug 02, 2007 1:10 pm Post subject: |
|
|
i'd have suggested plucking the relevant commands from the page that Doomination linked to but i find it to be appallingly laid out. it just goes on and on and is bound to a tiny little window. i don't think animated GIFs are necessary but maybe someone could do something to make it a little more visually appealling? |
|
Back to top |
|
|
Czar God like!
Joined: 02 Dec 2006 Location: Bitchez, they come and go; But Zdaemon is forever
|
Posted: Thu Aug 02, 2007 2:49 pm Post subject: |
|
|
ok so i tried to change the maxclients while the server was running, but no one was in it, but it said:
Quote: | RCON for [eV]Czar is granted!
[eV]Czar RCON (maxclients 8 )
maxclients cannot be modified at runtime |
what does that mean, and how can change the max clients without using zserv?
and again, thanks for the response guys |
|
Back to top |
|
|
Czar God like!
Joined: 02 Dec 2006 Location: Bitchez, they come and go; But Zdaemon is forever
|
Posted: Thu Aug 02, 2007 3:14 pm Post subject: |
|
|
oh yeh..suppose i wanna add optional wads..i tried to do it via the command:
rcon_password ggg
rcon optional_wads "zvox2.wad"
but it doesnt seem to do anything..how do i add it as an OPTIONAL wad? |
|
Back to top |
|
|
enVision A.K.A. Rat-Arsed
Joined: 13 Dec 2002 Location: Lagland
|
Posted: Thu Aug 02, 2007 4:12 pm Post subject: |
|
|
You can't change maxclients while the server is running - do it beforehand. Same applies to wads - they need to be loaded before the server is started (even optional ones). |
|
Back to top |
|
|
Czar God like!
Joined: 02 Dec 2006 Location: Bitchez, they come and go; But Zdaemon is forever
|
Posted: Thu Aug 02, 2007 4:16 pm Post subject: |
|
|
bah thats bull, if i were able to do it, i wouldnt be asking lol...damn well ill have to figure out the mysteries of remote admin |
|
Back to top |
|
|
Doomination God like!
Joined: 23 Oct 2006 Location: It's NOT lupus. Posts: 6.022 x 10^23
|
Posted: Thu Aug 02, 2007 4:23 pm Post subject: |
|
|
Cybershark wrote: | i'd have suggested plucking the relevant commands from the page that Doomination linked to but i find it to be appallingly laid out. it just goes on and on and is bound to a tiny little window. i don't think animated GIFs are necessary but maybe someone could do something to make it a little more visually appealling? |
haha I didnt think anyone had noticed my post, thanks cyber |
|
Back to top |
|
|
Czar God like!
Joined: 02 Dec 2006 Location: Bitchez, they come and go; But Zdaemon is forever
|
Posted: Thu Aug 02, 2007 4:31 pm Post subject: |
|
|
i did |
|
Back to top |
|
|
revstar Dominating!
Joined: 16 Jan 2007
|
Posted: Fri Aug 03, 2007 8:32 am Post subject: |
|
|
just to make things clearer for the disenlightened (right word??) folks out there.
aus has long had GA servers. for a while the admin of those servers was playing so he was able to change the settings of the servers,
recently, rob and czar have been given access to rcon for the gamearena servers. as GameArena are rather lazy (taking 5 months to process our request for new servers :/ ), we want to be able to change the servers ourselves using rcon
this includes adding wads/changing the type of server and number of players etc.
so anyone that could help us with that, it would be great.
ta |
|
Back to top |
|
|
Merk has entered the game!
Joined: 07 Oct 2006 Location: Dayton, OHIO
|
Posted: Fri Aug 03, 2007 2:29 pm Post subject: |
|
|
Cybershark wrote: | i'd have suggested plucking the relevant commands from the page that Doomination linked to but i find it to be appallingly laid out. it just goes on and on and is bound to a tiny little window. i don't think animated GIFs are necessary but maybe someone could do something to make it a little more visually appealling? |
WORD! Im glad I am not the only one who thought of that stupid little window of insanely boring text being a just a bit frustrating. Need some kind of a menu option to be able to search for what kind of help or command you are looking for. you know, these modern day things called type/search? |
|
Back to top |
|
|
[n00b]Adereth Spamming!
Joined: 16 Jul 2005 Location: Oh god, what year is this?!
|
Posted: Fri Aug 03, 2007 7:58 pm Post subject: |
|
|
revstar wrote: | just to make things clearer for the disenlightened (right word??) folks out there.
aus has long had GA servers. for a while the admin of those servers was playing so he was able to change the settings of the servers,
recently, rob and czar have been given access to rcon for the gamearena servers. as GameArena are rather lazy (taking 5 months to process our request for new servers :/ ), we want to be able to change the servers ourselves using rcon
this includes adding wads/changing the type of server and number of players etc.
so anyone that could help us with that, it would be great.
ta |
This is quite wonderful news; I've always been saddened over the utter absence of any reasonable administrative force for GA. Here's what I can give you:
1. You can't change the WADs loaded, since those are special things that the server takes in at bootup. I expect GameArena has a script in place that restarts a server with its original configuration if you type "rcon quit" to kill it, but that's useless since you have no access to autoexec.cfg or anything like it.
2. You can change the game mode. Your options are manipulated through the cvars deathmatch, teamplay, and ctf.
For coop, these should all be zero. For DM, they should be 1, 0, 0. For Team DM, they should be 1, 1, 0. CTF should be 1, 1, 1. (Although if you accidentally run it as 1, 0, 1, teamplay will be assumed.)
3. To set the number of players, use the cvar maxplayers. To change the number of people who can connect to the server, you want maxclients, but that can't be changed once the server is started. |
|
Back to top |
|
|
Konar6 Prepare your eyes!
Joined: 11 Apr 2005 Location: Czech Republic
|
Posted: Fri Aug 03, 2007 9:15 pm Post subject: |
|
|
[n00b]Adereth wrote: | To change the number of people who can connect to the server, you want maxclients, but that can't be changed once the server is started. |
... unless you use server version 1.08 or 1.08.01. |
|
Back to top |
|
|
|