Author Topic: UT2004 Max FPS & Connection Settings Guide  (Read 2935 times)

Offline Tw33k@

  • Novice
  • **
  • Posts: 52
  • Country: gb
  • Karma: 9
  • Gender: Male

  • Activity
    0%
UT2004 Max FPS & Connection Settings Guide
« on: Wednesday, July 02 2014, 01:16:43 CEST »
Hi guys.

Ive used this guide before and it may help some to resolve fps and connection issues.:-

There is often some confusion as to what netspeed to use and which frame-rate is better than the other, hopefully this guide will put this to an end. Since this game is almost ten years old a lot of the settings were designed for PC’s and networks of pre-2004, but we can now change some things to make better use of current tech.

What we all want to achieve is lower latency when playing online to give us the best gaming experience. To achieve this we need a high stable frame-rate and to also tweak connection settings to send more packets of data. Why more packets? So that the game doesn’t have to wait as long to send your ‘hit data’ to the server – meaning that your hits will be registered more often and more accurately! Before anyone complains, the weapons fire rates are independent of the games’ tick-rate, frame-rate, or packets sent/s, meaning that firing weapons online should be closer to how they feel offline (The way it’s meant to be played :) ).

By default the online fps is capped to 85fps. This sends about 43 packets/s, which gives you 24ms of latency before you’ve sent that data to the server. When the Netspeed is set above 10000 (also unlocks fps cap) then the game will send 85 packets/s at 85fps, which gives you 12ms of latency.

Now what if you want higher frame-rate?

I’ve found that the engine caps the online frame-rates to these values:

FPS Caps: 85, 93, 102, 113, 127, 145, 169, 202, 252, 335, 502

So, 85fps = (1/0.012 + 2), 93fps = (1/0.011 + 2), 102fps = (1/0.010 + 2), etc.

This can be changed via ut2004.ini,
[Engine.LevelInfo]
MaxClientFrameRate=85.0

Let’s say that you wanted 120fps and you put MaxClientFrameRate=120 in your ut2004.ini, you’ll only get 113fps in-game as that’s the next cap down according to the above fps caps. So, you cannot pick whatever fps cap you like.

OK, so how do you work out which Netspeed to set?

User.ini,
[Engine.Player]
ConfiguredInternetSpeed=

Or, type: ‘Netspeed xxxxx’ in console.
Or, bind to a key: ‘key=Netspeed xxxxx’.

Each packet is 64 bytes. Your Netspeed is the maximum bytes of data you want to allow the game to send. Your netspeed can be calculated by: your FPS x 64.
If your Netspeed is too low then the game will discard some game data before sending it to the server, which will result in a feeling similar to having packet loss.
So for 113fps, you’ll need a Netspeed of 113fps * 64bytes = 7232. But, this will keep your frame-rate at 85 because it is locked. To unlock this, enter a Netspeed of 10001.

So now at 113fps, you’ll only be sending 57 packets/s. I recently found a way to increase this. To send 113 packets/s you’ll need to change the KeepAliveTime value (default=0.2) under:

ut2004.ini,
[IpDrv.TcpNetDriver]
KeepAliveTime=

Set this to 0.009 0.007. You’ll now send 113 packets/s at 113fps.

So far I’ve managed to find stable frame-rates of up to 202fps by changing the KeepAliveTime value. This sends 194 packets/s at 202fps – reducing latency to 5.2ms. This needs a minimum Netspeed of 13120. I’m still not 100% sure on what KeepAliveTime is doing but at some values it does make the frame-rate more stable. At the default KeepAliveTime value with MaxClientRate=202 the fps would often jump to 230+fps and wouldn’t feel smooth. I’ve found that having a KeepAliveTime value of 0.000 made movement feel sluggish and lose frame-rate stability – before anyone thinks they should use that.

Here’s a table with all the (amazing) info I’ve found:

UT2004 FPS, Packets & Latency Table



I’ve not included values for 250fps or higher because I’ve not managed to get it stable. It jumps to 300+fps sometimes, also on some maps such as DM-1on1-Roughinery-FE it drops far below 250fps.

Edit: It seems as though Nvidia users may need to put MaxClientFrameRate=200.0 instead of 202 or 205 to get a stable 200fps in-game. Same method might apply to other frame-rate values.

Edit, 250fps: If you’d like to try for 250fps then I’ve had someone tell me how they’ve managed to get it stable whilst sending 250 packet/s with these values: MaxClientFrameRate=252 (or 250 with Nvidia), Netspeed >16000, KeepAliveTime= 0.003. As netspeed is >15000 then it might be a problem with some servers; you can however still keep the same frame-rate but halve your packets sent to 125 packets/s by using KeepAliveTime= 0.004, which should be fine for 15000 netspeed.

To clarify, the latency in the table refers to the time between packets sent. Your ping to the server is another matter. The more packets you send per second the less time your weapon fire or movement change needs to wait before your input is registered to the server. This may in-fact give you the feeling of a more stable ping. As the table shows, the gains in reduced latency become smaller as you go higher in frame-rate and packets/s sent. So, there isn’t much point in trying to use 335fps or higher for example. It’s best to stick to a frame-rate and packet/s that your machine and connection can handle stably.
Another reason not to use 335fps or higher is that this would need a Netspeed value greater than 20,000. Servers by default allow a maximum Netspeed of 15,000, or 20,000 if changed by the admin; this could be changed to any value if the admin is willing.
Also, the Netspeed values shown in the table are only the minimum values required to achieve said frame-rates and packets/s. It would be safer to use a higher value; 20,000 or higher if you’d like as long as it is within your connections’ upload speed. Remember – Netspeed 20,000 is 20kb/s upload.

So, there you have it. You will need to check if you can achieve these frame-rates offline before you try online. You may need to reduce your graphics settings. Look out for packet-loss and adjust settings according to the table above if needed.

Thanks to "unrealist" over on unreal north for this guide :)
One of the oldest and still possibly the worst UT player of all time. :).

Offline =F.F.M=ForeverHappy

  • Gameserver Manager
  • Extraordinaire
  • *****
  • Posts: 1380
  • Country: se
  • Karma: 35

  • Activity
    2.13%
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #1 on: Wednesday, July 02 2014, 22:45:18 CEST »
Thanks mate, will look into it

Offline =F.F.M=Extreme

  • Clanmember
  • Extraordinaire
  • *****
  • Posts: 2289
  • Country: nl
  • Karma: 23
  • Gender: Male

  • Activity
    0%
    • Fun Fragging Maniacs
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #2 on: Thursday, July 03 2014, 00:12:02 CEST »
On our first FFM server I could set my netspeed and I adjusted it per map.
On our current server I can do same but my fps stays the same.

Your info makes it clear to me why. Hope our server admins can fix it.

I would like to play with 250 fps again. I loved to play with it some maps.
Was a grwat combo with low ping :)

Offline Höllenhund

  • Newbie
  • *
  • Posts: 12
  • Karma: 0

  • Activity
    0%
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #3 on: Saturday, July 05 2014, 16:53:04 CEST »
well, i tried one of those settings, but when i changed the keep alive time servers started to become unavaillable at a map change. but i felt an improvement with the changed settings. pretty sad thing with the servers becoming unavailable bug :/

any suggestions to that?

thx, anyway.

Offline =F.F.M=Witchcraft

  • Clanmember
  • Enthusiast
  • *****
  • Posts: 99
  • Country: fr
  • Karma: 3
  • Gender: Male

  • Activity
    2.13%
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #4 on: Wednesday, May 11 2016, 23:41:05 CEST »
Hello, i've just reinstalled windows on my new SSD but...I just lost my ut2004 folders + .ini (and all my steam bk)....Like an idiot...Well, I'm just reading again this topic but Did I forgot to install a thing or have a bad set up , coz I can't read the table ? : got a  /!\ instead and no informations. Any clues ? I'd like to set it up to 125 fps at least. When i'll get my new rig I'd like to up to 250Fps, on some map when it held it, that was some amazing feeling, slight difference from 125 but I did like it !

Thanks
« Last Edit: Wednesday, May 18 2016, 17:08:12 CEST by =F.F.M=Witchcraft »

Offline =F.F.M=Kirtap

  • General Manager
  • Extraordinaire
  • *****
  • Posts: 3319
  • Country: fr
  • Karma: 60
  • Gender: Male

  • Activity
    6.38%
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #5 on: Thursday, May 12 2016, 21:20:35 CEST »
You should send a PM to Tweeka and ask him to upload his jpg on a stable location ;)

Offline =F.F.M=Witchcraft

  • Clanmember
  • Enthusiast
  • *****
  • Posts: 99
  • Country: fr
  • Karma: 3
  • Gender: Male

  • Activity
    2.13%
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #6 on: Wednesday, May 18 2016, 17:09:48 CEST »
Thanks for your answer, I've found it on internet, I'm going to find it back and upload it myself then, I was waiting to know if the problem was coming from me (missing java stuff for example) or from the host. Anyways I've found  a good set up, im no more in 250 fps than before , coz that was awful in onslaught (maybe poor cpu with harsh drops of fps)

Offline =F.F.M=Witchcraft

  • Clanmember
  • Enthusiast
  • *****
  • Posts: 99
  • Country: fr
  • Karma: 3
  • Gender: Male

  • Activity
    2.13%
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #7 on: Wednesday, May 18 2016, 17:11:41 CEST »
I even have found a full guide, say if that's a problem for Tweeka coz it's not from him ^^'

So i post the full link to the table, if you just want it just say so and i'll upload it instead of redirecting to the guide.

Offline =F.F.M=Kirtap

  • General Manager
  • Extraordinaire
  • *****
  • Posts: 3319
  • Country: fr
  • Karma: 60
  • Gender: Male

  • Activity
    6.38%
Re: UT2004 Max FPS & Connection Settings Guide
« Reply #8 on: Wednesday, May 18 2016, 20:59:05 CEST »
Share link ! Nobody cares who wrote it ! :)