• Hi Guest! To get rid of ads on the page, please consider donating through user upgrades or other methods.

How are Ping, IGP, and GCD calculated?

Status
Not open for further replies.

mvrht

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


BnsBuddy displays 3 ping numbers
for an example:
kVRECuO.png


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?
 

Endless

Founder
Staff member
Administrator
This is more of a question than a bug, but...


BnsBuddy displays 3 ping numbers
for an example:
kVRECuO.png


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?
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
 

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?
 

Endless

Founder
Staff member
Administrator
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?



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.
 

mvrht

Cricket
Member
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.

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.
 

Endless

Founder
Staff member
Administrator
Status
Not open for further replies.
Top Bottom