1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hi Guest! To get rid of ads on the page, please consider donating through user upgrades or other methods.
    Dismiss Notice

Solved How are Ping, IGP, and GCD calculated?

Discussion in 'Support' started by mvrht, Jan 15, 2018.

Thread Status:
Not open for further replies.
  1. mvrht
    10%

    mvrht Cricket Member

    This is more of a question than a bug, but...


    BnsBuddy displays 3 ping numbers
    for an example:
    [​IMG]

    How are these numbers obtained?
    What is the IP addressed used to ping?

    IGP and GCD are estimations, correct? What is the formula for these estimations?
     
  2. Endless
    20%

    Endless Founder Staff Member Administrator

    provided from my github
    as shown below
    you take the ping from server, do the math 50 * 2.8333333333... = ingame ms / 50 * 1.666666666...7 = gcd ms


    upload_2018-1-16_7-5-23.png
     
  3. mvrht
    10%

    mvrht Cricket Member

    Thank you for the follow up.

    (1)
    >new Ping().Send(IP).RoundtripTime

    Is IP a static variable here? What is it?


    (2)
    >do the math 50 * 2.8333333333... = ingame ms / 50 * 1.666666666...7 = gcd ms

    Can you explain why you are multiplying by 50*2.8333 and then multiplying by 1.66666?
     
  4. Endless
    20%

    Endless Founder Staff Member Administrator



    1: dynamic, it calculates the time it takes to send a packet to it's destination.

    2: the 50 is the current ping as shown in the image(taken for the example), 2.833... is an calculation based from my ingame ping. divided by my actual ping. So i used that to get the estimation. As for GCD, 250 was optimal for 150 ingame ms so i divided 250 by 150~ and got a number from that one to calculate the estimation.
     
  5. mvrht
    10%

    mvrht Cricket Member

    1. I was under the impression that the server always had the same IP: 64.25.35.100, because various guides always refer to it:
    reddit.com/r/bladeandsoul/comments/43mrwn/ping_check_for_bns/
    https://forums.bladeandsoul.com/topic/157148-guide-how-to-check-your-ping/

    Is this not the case for BnsBuddy?

    2. Ah, I understand. You're using your own ping as a reference. That makes sense.
     
  6. Endless
    20%

    Endless Founder Staff Member Administrator

  7. mvrht
    10%

    mvrht Cricket Member

    right, of course...
     
  8. Endless
    20%

    Endless Founder Staff Member Administrator

    got all the info you needed? :)
     
  9. mvrht
    10%

    mvrht Cricket Member

Thread Status:
Not open for further replies.