Author Topic: New Quake 2 Lithium server in Europe  (Read 15620 times)

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: New Quake 2 Lithium server in Europe
« Reply #30 on: July 25, 2015, 05:18:05 AM »
i notice if you play around with the rate, say 100 (which is 100 bytes) game gets yellow bars in the netgraph and plays choppy. changing the FPS however does something similiar which allows players to go through some objects not normally able to. (q2ctf1)

Sure, if you set the rate to anything lower than what the game actually requires to communicate (4000 on a small average server, 8000 on a busy map), then the server will actually skip frames (updates) that it would otherwise send to you, to try to limit your downstream bandwidth to your requested rate. This is possible because the server keeps a buffer of exactly what state has been sent to each and every client. So if you miss one frame, the server can still prepare a delta update for you at the next iteration of its big loop. It's the same mechanism the protocol uses to recover from lost packets.

https://github.com/jdolan/quake2/blob/master/src/server/sv_send.c#L548

Those yellow bars on your netgraph are frames that were dropped due to requested rate limiting on your behalf. Similarly, pegging your framerate to an artificially low number will also limit opportunities for your client to process updates from the server. Rather than never receiving a given update due to rate limiting, multiple updates (packets) pile up, and end up effectively buffered by your operating system. Your client then reads and processes several server updates in a single client frame in order to catch up. It doesn't mind doing this, and reading server frames is hardly the expensive portion of the client's main loop (drawing the world is). But what you end up seeing, of course, is entities flying across your screen or snapping into or out of existence.

https://github.com/jdolan/quake2/blob/master/src/client/cl_main.c#L2464

 

El Box de Shoutamente

Last 10 Shouts:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 22, 2024, 05:08:27 AM

Login with username, password and session length