OpenArena Message Boards

OpenArena => Multiplayer => Topic started by: MilanFIN on January 17, 2011, 07:23:24 AM



Title: More server questions
Post by: MilanFIN on January 17, 2011, 07:23:24 AM
So I have two questions:
1. I have an ctf-server and it have sometimes only bots on it, and bots are sometimes quite bad ctf-players.
When my 15min. timelimit comes up, and each team has 0 captures the game continues, sometimes as long as 30 hours in same map.
Could it be possible to make this kind of thing to config:
When the timelimit hits, players are not respawning anymore, they have only 1 life to play in map.
And if all players from other team die, the other team wins, this should be only after a timelimit hit when is still in tie.

2. I would like to make few things to serverconfig that are not real settings, but that should be seen from server settings, like admins and website.

Thanks for all who will help.


Title: Re: More server questions
Post by: Gig on January 17, 2011, 07:40:58 AM
1. I don't know (I'm not a dev). Anyway, I wouldn't care too much of what happens when there are only bots in a map...
2. Not sure I understood your question... maybe the answer is using "sets" command? But anyone would read them, not only admins. (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Command_console#Set_variables


Title: Re: More server questions
Post by: WaspKiller on January 18, 2011, 09:21:34 AM
...1. I have an ctf-server and it have sometimes only bots on it, and bots are sometimes quite bad ctf-players.
When my 15min. timelimit comes up, and each team has 0 captures the game continues, sometimes as long as 30 hours in same map.
Could it be possible to make this kind of thing to config:
When the timelimit hits, players are not respawning anymore, they have only 1 life to play in map.
And if all players from other team die, the other team wins, this should be only after a timelimit hit when is still in tie.


Are you using both timelimit and capturelimit?

I'm not very familiar with baseoa (Regular OA) but in Excessive Plus (E+) the server simply rotates to the next map when using a Rotation File if you use the following:

    timelimit: 10
    capturelimit: 0

or use the set command if you enabled these from server.cfg

set timelimit "10"
set capturelimit "0"


I'm not sure if baseoa (Regular OA) has a SuddenDeath server variable like E+ but if it does you must set it to 0 or the map will ignore the timelimit until the next flag capture.


--------------------------------------------------------------------------


...2. I would like to make few things to serverconfig that are not real settings, but that should be seen from server settings, like admins and website.


Instead of the q3config_server.cfg file you can enable information like the following on any OA Server in its server.cfg file regardless of the Mod:

// Custom Server Flags
 sets Owner "MilanFIN"
 sets E-mail "MilanFIN@gmail.com"
 sets Location "Miami, FL, USA"
 sets CPU_&_RAM "Quad 2.0 Ghz & 4.0 GB RAM"
 sets web_site "http://your-server.com"
 sets Download_Maps@ "http://your-server.com/maps"


Title: Re: More server questions
Post by: MilanFIN on January 19, 2011, 06:46:35 AM
Thanks Waspkiller, now i can put few things to server info.


Title: Re: More server questions
Post by: MilanFIN on January 21, 2011, 02:01:24 PM
I have some new "problems", how can i setup a working votingsystem for maps in 0.8.5


Title: Re: More server questions
Post by: Cacatoes on January 21, 2011, 03:19:57 PM
Selecting maps is also a standard in vote menu when you press Esc, call a vote, the server will list its available maps.
Search for "CustomVotes" on this forum, or maybe on the wiki, if you need more specific stuff with votes.


Title: Re: More server questions
Post by: Gig on January 21, 2011, 03:32:21 PM
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers#Server_config_example

In OA 0.8.5, to select the maps for callvote, create a "votemaps.cfg" file.
For the next releases of the game, I suggested a more flexible solution (http://openarena.ws/board/index.php?topic=3909.msg35972), but Sago has a little different view, using separate files.

For custom votes, you can take a look here (http://openarena.ws/board/index.php?topic=1908.msg22589) (there isn't yet a page about them in the wiki).


Title: Re: More server questions
Post by: MilanFIN on February 02, 2011, 11:29:04 AM
Still one question left ;D

What kind of lines do  have to add to config to make the server private, must be done cause of clan matches.


Title: Re: More server questions
Post by: Gig on February 02, 2011, 11:37:25 AM
I'm not completely sure, but I suppose they could be these two lines:
sv_privateClients "2" // slots substracted from sv_maxclients
sv_privatePassword "<privpass for privclients>"

(Taken from the server configuration example linked above)


Title: Re: More server questions
Post by: MilanFIN on February 02, 2011, 01:16:49 PM
Not that I meant.

I mean how I can make the whole server as private, password needed from all who want to connect


Title: Re: More server questions
Post by: sago007 on February 02, 2011, 01:30:47 PM
g_password = yourpassword


Title: Re: More server questions
Post by: Gig on February 02, 2011, 03:42:10 PM
Oh, I thought to set sv_maxclients equal to sv_privateclients... would that have worked anyway?

Sago, do you want to write about g_password in the wiki (a whole section of the page about password-protected servers would be better, but at least a line in the server config example!)?
Does it work the same way as rconpassword (meaning that you have to set the same variable both when acting as server and when acting as client)?


Title: Re: More server questions
Post by: sago007 on February 02, 2011, 04:26:58 PM
Oh, I thought to set sv_maxclients equal to sv_privateclients... would that have worked anyway?

Sago, do you want to write about g_password in the wiki (a whole section of the page about password-protected servers would be better, but at least a line in the server config example!)?
Does it work the same way as rconpassword (meaning that you have to set the same variable both when acting as server and when acting as client)?

g_password will set g_needpass that will (at least for 0.8.5 clients) result in a "Enter password"-screen while connecting others need to set "password". g_needpass also works as a filter in the ingame browser hiding the server from people who are looking for a public server.
the server uses "g_password", the client uses "password"


Title: Re: More server questions
Post by: MilanFIN on February 02, 2011, 11:43:57 PM
thx


Title: Re: More server questions
Post by: Gig on February 07, 2011, 04:43:37 PM
Okay, I've updated the Wiki, DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/index.php?title=Servers&action=historysubmit&diff=8138&oldid=8089]here (http://([b) and DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/index.php?title=Servers&action=historysubmit&diff=8138&oldid=8089]here (http://([b), starting from your info.

Sago (or anyone else), could you please take a look and fix if I did mistakes? Thank you!  :)


Title: Re: More server questions
Post by: sago007 on February 07, 2011, 04:49:03 PM
I added that setting the password to "none" also removes the password.


Title: Re: More server questions
Post by: Gig on February 07, 2011, 05:07:07 PM
Ok, thank you!  :)