Jump to content

  • Log in with Facebook Log in with Twitter Log In with Steam Log In with Google Sign In
  • Create Account
Photo

command line ping vs ingame ping difference

- - - - -

  • Please log in to reply
10 replies to this topic

#1
mAtEm

mAtEm

    Newbie

  • User
  • 7 posts
0
Unknown at this point
Hi!
I have an average in-game ping of around 93ms with a jitter of 10ms, but when i ping the server at 178.63.72.133 either by cmd line or winmtr, I get an average of 53ms (pretty stable), even when the game is running.
Is this difference normal?

Lagometer looks fine btw

Game feels fine and smooth. Just asking because someone complained about my highish ping.

Edited by mAtEm, 20 November 2011 - 06:55 AM.



Click here to login or here to register to remove this ad, it's free!

#2
Chuckun

Chuckun

    The Chuckunator

  • Co-Leader
  • 5,935 posts
1,658
Name known to all
  • Admin:19
  • Server:Hardcore ET
  • Alias:=F|A=TeaAndScones
Contributor

Hi!
I have an average in-game ping of around 93ms with a jitter of 10ms, but when i ping the server at 178.63.72.133 either by cmd line or winmtr, I get an average of 53ms (pretty stable), even when the game is running.
Is this difference normal?

Lagometer looks fine btw

Game feels fine and smooth. Just asking because someone complained about my highish ping.


No idea what they were talking about.. I monitored your ping for a minute or so after they said that, it was never below 90 or above 95. They obviously saw it wrong or something.. Probably butthurt because they failed to hit you so blamed your ping or something lol.

#3
mAtEm

mAtEm

    Newbie

  • User
  • 7 posts
0
Unknown at this point

No idea what they were talking about.. I monitored your ping for a minute or so after they said that, it was never below 90 or above 95. They obviously saw it wrong or something.. Probably butthurt because they failed to hit you so blamed your ping or something lol.


Ok, thanks for the reply.
Anyway, I just noticed that the high ping is shown only in the teams table. If enable the nq hud ping display, it shows a ping around 66.

#4
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,090 posts
3,225
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor
It's normal to have a higher ping in the scoreboard, because the server sends you snapshots every 20th of a second (50ms), and you send commands to the server with a timing based on your fps and maxpackets. afaik your ping is the time passed from when you send a command to the server, to the moment when you receive a snapshot saying that the server has executed that (aforementioned) command.

That's why it changes according to your fps and maxpackets, to have the lowest ping possible you need to have 100fps + 100maxpackets.

Timenudge fakes your servertime so the game thinks you have a lower ping, but it's not useful at all, or rather it has advantages and disadvantages.
Another thing to consider is that your ping on the scoreboard is less precise than the ping you can see with cl_shownet 3 or those mods that show your ping.

 
Players who complain about opponents having high pings are just ignorants who parrot things heard from other ignorants,
(explanation follows)
Spoiler


#5
**MrDeaTh.

**MrDeaTh.

    Huge Moron

  • Regular User
  • 446 posts
27
A step in the right direction
  • Admin:0
  • Server:Silent #1
Contributor

Hi!
I have an average in-game ping of around 93ms with a jitter of 10ms, but when i ping the server at 178.63.72.133 either by cmd line or winmtr, I get an average of 53ms (pretty stable), even when the game is running.
Is this difference normal?

Lagometer looks fine btw

Game feels fine and smooth. Just asking because someone complained about my highish ping.


I got the same , I don't know why ....

before 1 month ago , It was same ping , but now Its not the same.

Thanks,

#6
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,090 posts
3,225
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor

I got the same , I don't know why ....

before 1 month ago , It was same ping , but now Its not the same.

Thanks,

If you read my post, I have explained why. I see people tend not to read long posts :D
It can never be the same ping, in game it's always higher (unless you have some particular combination of ping, fps, and maxpackets that makes the difference minimum).
His difference is very high, so I guess it's because he doesn't play with 100 maxpackets

#7
mAtEm

mAtEm

    Newbie

  • User
  • 7 posts
0
Unknown at this point

If you read my post, I have explained why. I see people tend not to read long posts :D
It can never be the same ping, in game it's always higher (unless you have some particular combination of ping, fps, and maxpackets that makes the difference minimum).
His difference is very high, so I guess it's because he doesn't play with 100 maxpackets


Great post BTW. At the time I couldn't find anything on this subject using google.
My initial thoughts were, that maybe this is some kind of a UDP vs TCP or port thing with my ISP throttling them differently :D
Actually my maxpackets is 100 and my fps is over 100, usually. Anyway I don't consider it a problem.

#8
tdkxeon

tdkxeon

    L3: Novice

  • Regular User
  • 222 posts
13
A step in the right direction
  • Server:None

Donator

there is certainly a huge difference between command line ping and in game ping

First ingame doesnt use Windows cmd prompt.
When you use windows command prompt, it directly connects to the server,
when u use ingame console, there is one more layer between which is the game itself.

so when you check your ingame ping, the game itself takes some time to translate your actual ping. hence you get higher ingame ping.

think of it as running a virtual machine with in an operating system. when you are in a virtual machine, it feels like you are using you hardware resources,. but actually the main operating system is allocation virtual hardware for the virtual operating system,
if you check device manager within an operating system, you will see that your hardware resources are totally different from your actual hardware.

#9
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,090 posts
3,225
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor

when u use ingame console, there is one more layer between which is the game itself.

That's true, but the game ping is a totally different thing, maybe you have noticed that some pings (48,98,148 etc.) are quite common, I guess it's because a server frame is 1 20th of a second, that is 50ms. The slowdown is due to the fact that you count the ping only when the server sends you a new frame, the server doesn't answer you at once like in real ping. And your commands can be hold because of cl_maxpackets and sent with a delay as well.
That is obviously going to be slower than an icmp packet sent straight away, and a server response which is sent at once.

There is a ping command in the game, but it just sends a getinfo to the server via udp, so you can't ping an ip that is not a server with that.

#10
gaoesa

gaoesa

    L3: Novice

  • Clan Friend
  • 96 posts
21
A step in the right direction
  • Server:None
A little correction to the ping. The ping is the average between the time server sent a snapshot and the server receives the client acknowledgement for that snapshot. The average is calculated from all the received acknowledgements server has received during one server frame from that client. This is usually 50 ms.

The g_truePing which is can be enabled in ETPub, NQ, Nitmod and silEnT, is calculated as averaged difference between the previous server frame time and the time which the client informs was the server time of the snapshot plus the time difference the client engine thinks is between the client and the server times (this is never exact but always filtered anyway) minus timenudge if enabled. The ping is always 0 or over because the snapshot time of the server received by the client is behind one frame at least from the server previous frame time. This is actually the average difference between the latest snapshot server has sent and the latest snapshot client has received. But it is adjusted by the timedelta client engine attempts to estimate. Or something like that, the code for g_truePing is all around the engine source and the mod source.

#11
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,090 posts
3,225
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor

A little correction to the ping. The ping is the average between the time server sent a snapshot and the server receives the client acknowledgement for that snapshot.

Ah, lol I focused more on the ping shown by /cl_shownet instead of the scoreboard one...
And that ping (in the snapshot) is calculated by the engine when the client parses a new snapshot coming from the server, right?
So it must be that time (when the snap arrived), minus the time when the command inside that snapshot was sent, that's why I said so.

But the ping in the scoreboard is actually as you said, thanks for pointing it out




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users