• Welcome to Valhalla Legends Archive.
 

0ms

Started by Camel, May 06, 2003, 09:33 PM

Previous topic - Next topic

Camel

just to clarify on the new way of getting 0ms ping: it has nothing to do with altering the value sent in 0x25--bnet doesnt even check that number

Goal: To make your bnet ping zero

Given: your bnet ping is the ammount of time in milliseconds between when bnet sends 0x25 and when bnet parses your response to 0x25
Given: (your bnet ping) is [the ammount time in milliseconds] between (when bnet sends 0x25) and (when bnet parses your [response to] 0x25)
Given: (your bnet ping) = time between (when bnet sends 0x25) and (when bnet parses your 0x25)

let PING = (your bnet ping)
let BNET_STARTS_COUNTING = (when bnet sends 0x25)
let BNET_STOPS_COUNTING = (when bnet parses your 0x25)

Given: (your bnet ping) = time between (when bnet sends 0x25) and (when bnet parses your 0x25)
Given:             PING = time between  BNET_STARTS_COUNTING  and  BNET_STOPS_COUNTING
Given:             PING = BNET_STOPS_COUNTING - BNET_STARTS_COUNTING

Goal: To make your bnet ping zero
Goal: To make (your bnet ping) zero
Goal: To make PING zero
Goal: PING = 0

Given: PING = BNET_STOPS_COUNTING - BNET_STARTS_COUNTING

Goal:              (Ping) - (Ping) = (BNET_STOPS_COUNTING - BNET_STARTS_COUNTING) - (0)
Goal:                            0 = BNET_STOPS_COUNTING - BNET_STARTS_COUNTING
Goal:         BNET_STARTS_COUNTING = BNET_STOPS_COUNTING
Goal: (when bnet parses your 0x25) = (when bnet sends 0x25)

Goal: To make bnet parse the response to 0x25 at the same time as it sends 0x25

Conclusion: 0ms ping is achieved only when bnet parses 0x25 less than 1ms after sending 0x25 (in response to 0x50)


that looks right in a fixed-width font (terminal, courier new, and a few others)

Yoni

Quote from: Camel on May 06, 2003, 09:33 PM
just to clarify on the new way of getting 0ms ping: it has nothing to do with altering the value sent in 0x25--bnet doesnt even check that number
Did you test this on Battle.net?
If you send a value other than the value that Battle.net sends to you, you get IP-banned.

Quote from: Camel on May 06, 2003, 09:33 PM
Goal: To make your bnet ping zero
Goal: To make (your bnet ping) zero
Goal: To make PING zero
Goal: PING = 0
Err... Most of us can read.

Camel

Quote from: Yoni on May 06, 2003, 09:40 PM
If you send a value other than the value that Battle.net sends to you, you get IP-banned.
not true. i always send zero, and i dont get ipbanned for it.

Quote from: Yoni on May 06, 2003, 09:40 PMErr... Most of us can read.
logic would indicate that if one is reading the forums, they probably are at least somewhat literate

Arta

You do of course realise that you could have condensed that 21-line monster into about 2 sentences?

Camel

Quote from: Arta[vL] on May 06, 2003, 10:04 PM
You do of course realise that you could have condensed that 21-line monster into about 2 sentences?

anybody who thinks about it logically could condense it, but after explaining it to two or three people who knew nothing about it, i find that much more prudent. that's more of a flow chart, showing how to get 0ms without giving away the answer, or even hinting at the answer. it defines the rules, and forces the programmer to think outside the box.

Yoni

You just blew my mind.

+1 to Camel.

Camel

w00t
* Camel blew yoni

Tazo


SubLiminaL_WolF

y dont you just send 0x25 after 0x51 but before 0x36 make sure its a clean dword

Tazo

Quote from: SubLiminaL_WolF on May 07, 2003, 01:56 PM
y dont you just send 0x25 after 0x51 but before 0x36 make sure its a clean dword
I do that and nothing happens, I still get my reg ping...
(part of my parse func. for 0x51)

           PBuffer.InsertDWORD &H0
           PBuffer.SendPacket &H25
           P3A

SubLiminaL_WolF

#10
Quote
packet sent 0x51
packet sent 0x25
packet recieved 0x3a
packet recieved 0x25
packet recived 0xF

Spht

Enjoy the massive amount of people mindlessly spoofing their ping time without realizing that they will be forcefully IP banned once this minor glitch is worked out on Blizzard's side. You should realize that doing such a thing did not work previously and Blizzard is very aware of the situation.

Camel

i didn't intend for it to be a discussion, more of a url to paste when people bug me for how to do it
someone should lock this -_-