![]() |
mohaa game server console and the network
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/ |
Nope,
just the amount you can allocate to each client uses, based on your overall bandwidth. |
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! |
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] |
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 |
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 |
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 |
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. |
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 |
No problem, the more MOH game servers that are up the better the community is.
|
All times are GMT -6. The time now is 02:10 AM. |
Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.