Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Joe[x86] on November 19, 2005, 07:54 PM

Title: UDP Pings?
Post by: Joe[x86] on November 19, 2005, 07:54 PM
I've bound a UDP socket to port 6112, but when I log on, I don't receive a UDP ping packet. Does anyone know why this could happen?
Title: Re: UDP Pings?
Post by: Hdx on November 19, 2005, 08:35 PM
Because you didnt request it duaa joe.
C->S 0x08 (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=146)
C->S 0x09 (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=133)
~-~(HDX)~-~
Title: Re: UDP Pings?
Post by: Joe[x86] on November 19, 2005, 09:18 PM
Thanks!

EDIT -
When are these supposed to be sent? With what header?
Title: Re: UDP Pings?
Post by: Hdx on November 19, 2005, 09:41 PM
0x08
QuoteThis message should be sent in response to SID_LOGONCHALLENGE.
0x09
QuoteThis message should be sent in response to either SID_LOGONCHALLENGEEX or SID_AUTH_INFO.
Header:
BYTE PacketID
BYTE NULL
WORD NULL
VOID Data

~-~(HDX)~-~
Title: Re: UDP Pings?
Post by: Joe[x86] on November 19, 2005, 10:07 PM
Thanks.