Page 1 of 1
What does the histogram represent?
Posted: Wed Dec 14, 2011 1:20 am
by AcneVulgaris
I am working on a multiplayer game, and am building a little UI to display the quality of the network connection on the client. I remembered that BZ2 had a histogram you could enable from the console, and I was wondering what exactly it represented.
Re: What does the histogram represent?
Posted: Wed Dec 14, 2011 2:45 pm
by Zero Angel
One of the histogram bars represents your framerate, the other one has to do with your network connection (ie: packets recieved/transmitted), and then there's a bunch of technical stuff about the lockstep, local turn, etc.
Re: What does the histogram represent?
Posted: Wed Dec 14, 2011 11:14 pm
by appel
Lockstep is the network strategy to synchronize multiplayer game state. In every step, which is a period of few milliseconds (dependent on latency), a client receives from server a set of commands to execute in 2nd next step. The client uses this to simulate the world, and extrapolate animations, physics etc. All clients are supposed to execute the same turn at the same time. Lag is pain

You can see in that histogram information about the steps (or turns).
It's a very popular way of doing networking in games, and I've done it once.
I'm sure GSH can provide a more useful insight.
Re: What does the histogram represent?
Posted: Fri Dec 16, 2011 10:56 pm
by Nielk1
BZ2 uses the RTS style of networking which is why it has many niggles with the FPS aspects in multiplayer. This information might help you understand BZ2's histogram.
The game sends a game state that is basicly a save of the entire mission to remove players on join or resync, both sides only transmit a minimal amount of data between each other otherwise such as orders or user inputs. As a result, all sides attempt to simulate the exact same actions and if they go out of sync, resync. These worlds must exist at the same time, doing the same things, moving on in lockstep, hence the term. Nice thing with BZ2 is the resync, many RTS games would just eject the other player.
You can sort of think of RTS MP logic sort of like playing chess my mail sending all your movements back and forth.
FPS games handle this differently.
Re: What does the histogram represent?
Posted: Sun Dec 18, 2011 5:43 pm
by AcneVulgaris
Thanks for the info, everybody.
Re: What does the histogram represent?
Posted: Sun Dec 18, 2011 8:20 pm
by Red Devil
it actually reflects the status of the wormhole between Core and Elysium
Re: What does the histogram represent?
Posted: Sun Dec 18, 2011 8:51 pm
by Ded10c
Red Devil wrote:it actually reflects the status of the wormhole between Core and Elysium
I wasn't aware there was one.
Re: What does the histogram represent?
Posted: Fri Dec 23, 2011 8:00 pm
by Zax
AHadley wrote:Red Devil wrote:it actually reflects the status of the wormhole between Core and Elysium
I wasn't aware there was one.
Neither was anyone else,
thanks RD.