MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault |
 mohaa game server console and the network |
|
|
Junior Member
Posts: 22
Join Date: Oct 2002
Location: Florida
|
mohaa game server console and the network -
10-07-2002, 04:12 PM
hey all -
is there a console command you can set in the server config file to set the amount of network bandwith the game server can use? just curious.
thanks a bunch!
Feanor
http://www.samnjoe.net/mohaasite/
|
|
|
 |
|
|
Site Owner
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
|

10-07-2002, 05:31 PM
Nope,
just the amount you can allocate to each client uses, based on your overall bandwidth.
|
|
|
 |
|
|
Junior Member
Posts: 22
Join Date: Oct 2002
Location: Florida
|

10-07-2002, 08:01 PM
thanks - then another question - i'm using a dsl line so how can i maximize the amount of bandwith that each client uses? is there a command parameter i can set in the config file?
again, thanks!
|
|
|
 |
 |
|
|
Site Owner
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
|

10-07-2002, 08:05 PM
Here is a document I wrote with the help of leadslinger a while back.
You need to know what your upload speed is.
[quote:5ea61]The sv_maxrate determines the amount of bandwidth your server uses for each client. To determine the sv_maxrate, use this formula:
# of clients * sv_maxrate * 8(for 8bits) = upload speed
or
Upload speed / ( # of clients * 8 ) = sv_maxrate
For example, my cable modem downloads at 2mbit/sec. However, it uploads at 270kbps/sec. So, if I want to run a server that will host 16 clients I need to set my sv_maxrate to 2100 and my formula will look like this:
16 * 2100 * 8 = 268kbps
I would then open the console and type in the following command:
set sv_maxrate "2100"
In the end, you're trying to get the formula to equal your upload capabilities. This can be done by altering either the max clients or the sv_maxrate values.
Follow this formula and your server should run a little better.[/quote:5ea61]
|
|
|
 |
|
|
Junior Member
Posts: 22
Join Date: Oct 2002
Location: Florida
|

10-07-2002, 09:09 PM
rude,
thanks for the insight - however i can't decide what to set the sv_maxrate at. i checked my upload speed - its 139-145kbs so where would i set the sv_maxrate at? i can't seem to figure it out with the parameters you sent. right now its set with the default from the script i'm using which is sv_maxrate=9000, so now i know that can't be right. any ideas?
thanks,
feanor
|
|
|
 |
 |
|
|
Site Owner
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
|

10-07-2002, 09:37 PM
You want to use this formula
Upload speed / ( # of clients * 8 ) = sv_maxrate
I will go with your lower upload speed of 139K or 139,000
To be honest you need to experiment with the number of clients. some people say you can host 4-5 some say 6- 8
we will calculate for 5 and 7. Once you see what your connection can handle you can redo the equation
Let's recap
upload speed 139,000
number of clients 5 and 7
so far our formula looks like this
[code:7ad6a]139,000/(5 *8)= sv_maxrate
13900/40= sv_maxrate
3,475 =sv_maxrate for 5 clients[/code:7ad6a]
or
[code:7ad6a]139,000/(7*8)=sv_maxrate
139.000/(56)=sv_maxrate
2,482 = sv_maxrate for 7 clients[/code:7ad6a]
Remember to always perform the calculations with in your parenthesis first
If you need more help or want to calculate a maxrate for an different number of clients let me know.
the big thing is finding the right combination for your upload speed.
good luck
|
|
|
 |
|
|
Junior Member
Posts: 22
Join Date: Oct 2002
Location: Florida
|

10-07-2002, 10:14 PM
rude -
thanks for the tutorial! after seeing the latest equations, i think that i can figure it out from here on out. i see the way you are figuring the sv_maxrate parameter, and now it makes sense.
one more question: can you tell me what the following parameters do:
sv_floodProtect 1
sv_flood_wait_delay 10
sv_flood_persecond 4
sv_flood_msg 4
are these related to the amount of chat messages/team commands/taunts come across the display?
i have all but the sv_floodProtect commented out because i'm not sure what they do.
again thanks for all your help rude,
feanor
|
|
|
 |
|
|
Site Owner
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
|

10-08-2002, 05:48 AM
sv_floodProtect 1
sv_flood_wait_delay 10
sv_flood_persecond 4
sv_flood_msg 4
Yes, they are all message related, but I have never seen them work. It could be another one of those "does not work in MOH" cvars
Check out my server.cfg's at
mohaa.xgshosting.com
Also my new RCON guide is up in web form, there as well. It should be announced here and TMT soon.
|
|
|
 |
|
|
Junior Member
Posts: 22
Join Date: Oct 2002
Location: Florida
|

10-08-2002, 03:23 PM
rude -
thanks again for taking the time to help me out. hopefully with your help i'll be able to get my gaming server (small though it may be) up and running.
again, thanks a ton!
feanor
|
|
|
 |
|
|
Site Owner
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
|

10-08-2002, 03:32 PM
No problem, the more MOH game servers that are up the better the community is.
|
|
|
 |
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
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.
|