BNETDocs
C>S 0x25 SID_PING
Message Id:0x25
Message Name:SID_PING
Direction:Client to Server
Used By:Diablo II, Diablo II Lord of Destruction
Diablo Retail, Diablo Shareware
Starcraft Japanese, Starcraft Broodwar
Starcraft Shareware, Starcraft Original
Warcraft II BNE, Warcraft III The Frozen Throne
Warcraft III Reign of Chaos
Format:

(UINT32) Ping Value

Remarks

Ping response. Ping Value is the UINT32 received in the server's initial ping message.

The ping displayed when in chat can be artificially inflated by delaying before sending this packet, or deflated by responding before requested. Ping can be set to -1 (Strictly speaking, 0xFFFFFFFF, since ping is unsigned) by not responding to this packet at all.

The UINT32 received from the server is not what determines your ping, but it is actually a cookie for the Battle.net server. You should never change the UINT32.

Comments

no one has commented yet.