Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Tech Questions & Problems
Reload this Page Setting up private slots on server
Tech Questions & Problems Ask our resident experts about any military shooter game server administration and other technical issues.

Reply
 
Thread Tools Display Modes
Setting up private slots on server
Old
  (#1)
Bowman is Offline
Junior Member
 
Posts: 26
Join Date: May 2002
 Send a message via ICQ to Bowman  
Default Setting up private slots on server - 09-10-2002, 09:29 AM

We are going to be setting up privvate slots in a new serve that we are getting..I tried to do it before on a smaller one but is didnt work
heres the lines in the cfg file that Im going to use

seta sv_privateClients "4"
ui_maxclients "16"

it will be a 20 man server but I want 16 regular ppl and the 4 remaining slots to be private

It will be a server we are renting through the internet so every thing will have to be done by the script

Thanks
  
Reply With Quote
Old
  (#2)
[DWC]_Master Error is Offline
Member
 
Posts: 85
Join Date: Apr 2002
  Send a message via MSN to [DWC]_Master Error  
Default 09-10-2002, 10:50 AM

I dont know if you are asking a question but...

you just need seta sv_privateclients "4"
and then set a password for the private slots
  
Reply With Quote
Old
  (#3)
jennyfur is Offline
Senior Member
 
Posts: 165
Join Date: Mar 2002
Location: USA
 Send a message via ICQ to jennyfur Send a message via AIM to jennyfur  
Default 09-10-2002, 03:22 PM

master error is correct, you'd need:

sv_privateclients 4
sv_privatepassword whatever

in your server config (and by the way, the maxclients command is sv_maxclients, not ui_maxclients. it's meant to be the maximum total number of clients you want the server to have....which you mentioned was 20). to connect to those reserved spots from a client, you'd just need to type password whatever in the console before you connect, or make a config to do it automatically (much like the rcon config explained in bull's dedicated server and rcon setup guide here on allied assault).
  
Reply With Quote
Old
  (#4)
rudedog is Offline
Site Owner
 
rudedog's Avatar
 
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
 Send a message via ICQ to rudedog Send a message via AIM to rudedog  
Default 09-12-2002, 09:17 AM

Just an FYI guys. This info is in the MOH FAQ's in general discussion. I should add one here as well

[quote:63b99]-Can I password-protect my server, so only people with the correct password can join the game? – Yes. You must add the following lines to your server.cfg file. (If you do not know how to do this, please see "Bull's dedicated server and Rcon guide". The link can be found on the main page of this site.)


code:
--------------------------------------------------------------------------------
set sv_privateClients "x"
set sv_privatePassword "password"
--------------------------------------------------------------------------------




Substitute the x in privateClients with the amount of player spaces you want to password protect. (If you have 10 spaces, and want to protect 2 with a password, type set sv_privateClients "2"
Substitute the password in privatePassword with the password you want to use for your private slots. Passwords in MOH:AA ARE CASE SENSATIVE!

To remove the password from your server, use the following command:

code:
--------------------------------------------------------------------------------
set sv_privatepassword
--------------------------------------------------------------------------------





Notice there is one space after sv_privatepassword and no spaces between the quotes. This command can also be used through RCON. Just remember; if the password is part of your server.cfg file, it will be reset upon restarting your mohaa.exe.

-I want to join a server that has a password protected slot on it. I have the password, now what? – Good question. If you are using ASE, highlight your server you wish to play on, that requires a password. Press the f4 key. Enter your password in the text box labeled password. That's it, your password will stay with that server until you change it to a different password. Double click on the server to play.

If you are using Gamespy or the Built-in browser V1.11 , boot up MOH:AA. Enter the multiplayer room (the brown closed door to the right), and press the tilde key (~) to bring down the console. (You will need to enable consol first if you have not done so already!)
Type password x, where x is the server’s password, and press enter. Press ~ again to close the console, click join room, click on Join Internet game. You can now either launch gamespy and connect that way, or you can connect via the IP address of the server. [/quote:63b99]


Not so Rude
- Rudedog
Follow me via Twitter @THErealRUDEDOG
  
Reply With Quote
Old
  (#5)
BulletHead is Offline
Junior Member
 
Posts: 7
Join Date: Apr 2002
Location: Cincinnati, OH
   
Default 01-10-2003, 09:22 AM

I think the other fellas are missing something in what you said. If you want a total of 20, set the max clients to 20 and the privatecleints to 4. This will allow 16 plublic connections and 4 private.
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.