Forum Servera SRB Mare
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Server Ip Address:84.2.39.206:28960
 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Banner
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Statistics
We have 180 registered users
The newest registered user is gabrijel66

Our users have posted a total of 1807 messages in 284 subjects
Watch
Keywords
cod2 commander
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» very soon!!! VETERANI SERVER
CoD 2: improve your connection EmptyFri Dec 16, 2011 6:30 pm by legia_srb

» D3str0Y3R se ponovo vraca :)
CoD 2: improve your connection EmptyFri Dec 10, 2010 7:34 pm by D3StR0Y3R

» Vojnici vs Veterani
CoD 2: improve your connection EmptyFri Nov 12, 2010 1:30 am by VojnikSnipeR

» VETERANI!!!!!!!!!!!!!!
CoD 2: improve your connection EmptySat Nov 06, 2010 9:59 pm by dingospo.necez

» LOCATOR:))))
CoD 2: improve your connection EmptyThu Jul 22, 2010 5:33 pm by SS-ELITE

» D3StR0Y3R is back :D!!
CoD 2: improve your connection EmptyMon Mar 29, 2010 1:09 pm by D3StR0Y3R

» 1.5 patch?
CoD 2: improve your connection EmptyWed Jan 20, 2010 7:26 pm by Rotkva

» Org cd key CoD2
CoD 2: improve your connection EmptyTue Nov 24, 2009 11:05 pm by *PoP*

» potraga za junakom
CoD 2: improve your connection EmptyThu Nov 19, 2009 6:00 pm by Guest


 

 CoD 2: improve your connection

Go down 
2 posters

Do you use these binds?
Yes Sir!
CoD 2: improve your connection I_vote_lcap60%CoD 2: improve your connection I_vote_rcap
 60% [ 3 ]
Are you crazy?!
CoD 2: improve your connection I_vote_lcap40%CoD 2: improve your connection I_vote_rcap
 40% [ 2 ]
Total Votes : 5
 

AuthorMessage
Morswin
Korisnik
Korisnik
Morswin



CoD 2: improve your connection Empty
PostSubject: CoD 2: improve your connection   CoD 2: improve your connection EmptyThu Nov 13, 2008 11:56 pm

Everyone knows that minimum FPS changes from map to map, so we are going to calculate the best com_maxfps and cl_maxpackets values. With these binds you'll be able to adjust the FPS and transfer values to changing conditions.

Theory:

In CoD2 mulitplayer settings, in mp_config.cfg, there are three cvar variables that directly affect communication efficiency with the server:
- Snaps,
- Cl_MaxPackets,
- Com_MaxFPS.

Snaps


Snaps refers to the number of 'snapshots' of information that are received from the server every second. Each snapshot contains the "game status" and it is the data-transfer equivalent to frame-rate.
Snaps should be set equal to the COD2 server's sv_fps setting (default 20). Regardless of how high you set your snaps setting, you will not be able to receive more than the rate at which the server runs which is defined by its sv_fps setting or by the cap. You can set your sv_fps 40 and play on a sv_fps 30 server without needing to adjust your snaps - it will run at 30. For efficiency, you should match your Snaps with sv_fps setting. If you have a slow connection you might need to set it lower (Snaps = 10 is the lowest value in the range).

Cl_MaxPackets


Cl_MaxPackets is the highest amount of data packets that can be uploaded to the server by your computer every second. The higher this number is, you are telling more often the server where you are and what you are doing, so good for you. In Q3 Cl_MaxPackets 125 is maximum but in CoD2 maximum is 100. I think, that it's only question of scale, so after calculation the values for Q3 scale (Cl_MaxPackets 125) i recommend to change all the values proportionally, for CoD2 scale.
If you set this value too high, your ping - as calculated by the game - will start to rise or you will not able to connect to server. So you have to find an optimal value. With higher Cl_MaxPackets you will shoot exactly what you're aiming at.

Com_MaxFPS


CoD2 is based on Q3 engine, so to see how FPS impacts on your jump length visit: http://ucguides.savagehelp.com/Quake3/FAQFPSJumps.html
The only valid values of Com_MaxFPS are those which are equal to (1000/N) where N is an integer. Here are valid Com_MaxFPS:

1000/1 = 1000
1000/2 = 500
1000/3 = 333
1000/4 = 250
1000/5 = 200
1000/6 = 166
1000/7 = 142
1000/8 = 125
1000/9 = 111
1000/10 = 100
1000/11 = 90
1000/12 = 83
1000/13 = 76
1000/14 = 71
1000/15 = 66
1000/16 = 62
1000/17 = 58
1000/18 = 55
etc...

Cl_MaxPackets and Com_MaxFPS

To maximize the efficiency of your connection, Cl_maxpackets and Com_maxfps have to be chosen in such a way as to respect the relationship between data upload rate and framerate. Cl_MaxPackets should be equal to (Com_maxfps/N). For example (in Q3 scale): 125/1=125, 125/2 = 63, 125/3 = 42, 125/4 = 32, 125/5 = 25, but in CoD2 scale we've got: 100, 50, 33, 25, 20. Try to choose the largest values of Cl_MaxPackets and Com_MaxFPS that your connection will allow.

In practice:

1) Do a backup of your config_mp.cfg file.

2) During a game, try to change com_maxfps and find a constant value of your FPS. If you've set com_maxfps 125 and your FPS changes (fluctuates), it means that your system cannot keep up with that frame rate. Try a lower setting e.g. com_maxfps 111.

3) With known com_maxfps values, calculate cl_maxpackets values. Calculator: http://www.funender.com/quake/articles/fps.html

4) Type the following binds into your config_mp.cfg file using Notepad:

For example:

bind KP_SLASH seta com_maxfps "250" // First value of MaxFPS (key on numeric pad: /)
bind KP_STAR seta com_maxfps "125" // Second value of MaxFPS (key on numeric pad: *)
bind KP_PGUP seta cl_maxpackets "100" // First value of MaxPackets (key on numeric pad: 9)
bind KP_UPARROW seta cl_maxpackets "75" // Second value of MaxPackets (key on numeric pad: 8)
bind KP_HOME seta cl_maxpackets "66" // Third value of MaxPackets (key on numeric pad: 7)
bind KP_LEFTARROW seta cl_maxpackets "50" // Fourth value of MaxPackets (key on numeric pad: 6)
bind KP_5 seta cl_maxpackets "33" // Fifth value of MaxPackets (key on numeric pad: 5)
bind KP_RIGHTARROW seta cl_maxpackets "25" // Sixth value of MaxPackets (key on numeric pad: 4)


5) Turn on your "lagometer" in the game. This way you can tell if your connection can handle the extra flow due to increases in data rates. In your mp_config.cfg file find following settings:

seta cg_drawFPS "Simple"
seta cg_drawLagometer "1"


Lagometer explanation: http://www.eft-clan.net/printview.php?t=2101&start=0

6) Move around in the game and try out your 8 new binds. Try to change com_maxfps and cl_maxpackets and find the bind that keeps your ping and lag the smallest.
Back to top Go down
Svarog
ClanPlayer
ClanPlayer
Svarog



CoD 2: improve your connection Empty
PostSubject: Re: CoD 2: improve your connection   CoD 2: improve your connection EmptyTue Dec 16, 2008 3:46 pm

Great post Morswin, thank you. I will try this when I get so frustrated for missing your head on my scope CoD 2: improve your connection 20445
Back to top Go down
 
CoD 2: improve your connection
Back to top 
Page 1 of 1
 Similar topics
-
» VASILIMETKOBJEG?!

Permissions in this forum:You cannot reply to topics in this forum
Forum Servera SRB Mare :: Mare Server :: Cod2 Diskusija-
Jump to:  
Forum
Banner
Social bookmarking
Social bookmarking reddit      

Bookmark and share the address of Forum Servera SRB Mare on your social bookmarking website

Bookmark and share the address of Forum Servera SRB Mare on your social bookmarking website
Affiliates
free forum