Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Announcements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 03-24-2016, 05:26 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Crono View Post
bro i only speak english
Packet loss: the amount of data being sent between the game server and the game client the fails to reach its destination. This is high when you see something like someone on one side of the spar ring suddenly appear on the other side of the spar ring. I don't know if Graal provides a means of measuring packet loss.

Latency: the time it takes for data to be sent between the game server and the client. This is high when you see things like a player having to swing where the other person is going rather than where they are.

Running Random Sample of Packet Loss and Latency: making random measures of packet loss and latency (e.g. check lag of one randomly selected player, the lag of another randomly selected player, and so on) over time to create an unbiased data set, using the sum of the data to account for natural variation in lag.

From that random data sample, you can create variable thresholds for ping and packet loss, which you can then set to a value such that a player exceeding that threshold and being unable to spar (or kicked from spar) would occur 5% of the time if the threshold were to be applied to the players in the random sample (the 5% spec can be raised or lowered). I have a weighted reservoir sampling algorithm that I posted to Graalians that could be used for the sampling.

So you have that threshold that's calculated from the sampling, call it A. You also have a threshold where it stops being a major issue (e.g. average 350ms ping), call it B. When A < B (e.g. A=20ms; B=350ms), then threshold B applies. Otherwise if A > B (e.g. A=450ms; B=350ms) threshold A applies.

Does that make more sense?

Here's a screenshot of a spreadsheet I made to help illustrate the logic.

Click image for larger version

Name:	lag-sampling-example.png
Views:	7654
Size:	67.1 KB
ID:	55890

Last edited by jake13jake; 03-24-2016 at 06:23 PM.. Reason: Adding attachment example
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:34 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.