Page 1 of 1

PXO's Ping functionality

Posted: Fri Jun 25, 2004 2:08 pm
by Testiculese
I was wondering if PXO used some proprietary ping system. I'm thinking it does because some servers do not allow ICMP, and blackhole the request. Does PXO send a certain character sequence to the server on the port that the server is using in order to get a reply? If so, may I have this character sequence for use in my application?

(I'm pretty much asking WildWolf about this, but wanted it to be a public question...)

Posted: Fri Jun 25, 2004 3:44 pm
by CDN_Merlin
It might piggyback the ping within another packet to save time/size.

Posted: Fri Jun 25, 2004 8:09 pm
by Testiculese
Blah! I hope not.

Posted: Fri Jun 25, 2004 8:47 pm
by CDN_Merlin
If Marek was around you could ask him. I know he did some packet sniffing with PXO.

Posted: Sun Jun 27, 2004 8:02 am
by esa
It simply times the game status query.

The client first requests the list of active games (ones sending heartbeats) from PXO, then queries each one to get player counts.

Posted: Sun Jun 27, 2004 8:57 am
by Krom
And you might also notice that in D3 pings are always at or near some multiple of 50 MS because all of D3s menus are capped to 20 FPS. The accuracy of the timer is limited to 50 MS.

Posted: Mon Jun 28, 2004 9:15 am
by Testiculese
Oh, well that's easy. I'll have to install my sniffer again to get the syntax to query the game for player count/player names, etc. (Unless someone already has it documented)

Posted: Tue Sep 21, 2004 1:06 pm
by Suncho
Btw I have a feature request for D3 Alias.

It would be sweet if you could automatically pause and unpause certain windows services when you launch d3!

Right now I'm using a batch file.