Valhalla Legends Forums Archive | Battle.net Bot Development | Help...

AuthorMessageTime
OuTLawZGoSu
What am I missing?

[code]
Private Const ID_EMOTE = &H17
Private Const ID_WHISPTO = &HA
Private Const ID_WHISPFROM = &H4
Private Const ID_TALK = &H5
Private Const ID_USER = &H1
Private Const ID_JOIN = &H2
Private Const ID_LEAVE = &H3
Private Const ID_FLAGS = &H9
Private Const ID_CHAN = &H7
Private Const ID_ERROR = &H13
Private Const ID_INFO = &H12
Public Const ID_SEND = &HA
Public Const ID_FULL = &HD
Private Const ID_BROADCAST = &H6
[/code]

For some reason, when I log on with my bot, the info won't show.
By info I mean, how many players are online, how many games. All the stuff they send when you log on with sc or any other game.

Also, I'd like to know if there are any more of the IDs other than the ones I have here.

Thx
December 1, 2003, 1:43 AM
OuTLawZGoSu
I was kind of looking for a code since i cant understand anything in that document.
December 1, 2003, 3:15 AM
warz
[code]
0x00000001: Received when you join a channel (users in channel and their information)
0x00000002: Received when someone joins the channel you're currently in
0x00000003: Received when someone leaves the channel you're currently in
0x00000004: Receive whisper message
0x00000005: Received when someone talks in the channel you're currently in
0x00000006: Server broadcast
0x00000007: Received when you join a channel (the channel's name, flags)
0x00000009: User flags
0x0000000a: Send whisper message
0x0000000d: Channel is full
0x0000000e: Channel does not exist
0x0000000f: Channel is restricted
0x00000012: Broadcast/information message
0x00000013: Error message
0x00000014: Emote
[/code]

There's a code.
December 1, 2003, 5:09 AM
DaRk-FeAnOr
[quote]For some reason, when I log on with my bot, the info won't show.
By info I mean, how many players are online, how many games. All the stuff they send when you log on with sc or any other game.[/quote]
If you login directly into your home channel (tweeking 0x0A, 0x0B and 0x0C), instead of entering into the normal channels, by sending the string "L" in the 0x0C packet, you do not get any of the battle.net news/info stuff. Packetlog the battle.net client and compare its 0x0A, 0x0B and 0x0C packets to yours ;)
December 1, 2003, 6:24 AM
MesiaH
[quote author=DaRk-FeAnOr link=board=17;threadid=3979;start=0#msg32850 date=1070259898]
[quote]For some reason, when I log on with my bot, the info won't show.
By info I mean, how many players are online, how many games. All the stuff they send when you log on with sc or any other game.[/quote]
If you login directly into your home channel (tweeking 0x0A, 0x0B and 0x0C), instead of entering into the normal channels, by sending the string "L" in the 0x0C packet, you do not get any of the battle.net news/info stuff. Packetlog the battle.net client and compare its 0x0A, 0x0B and 0x0C packets to yours ;)
[/quote]

I may be a bit rusty, but what in the world would sending "L" have to do with anything?
December 1, 2003, 6:34 AM
Arta
[quote author=OuTLawZGoSu link=board=17;threadid=3979;start=0#msg32794 date=1070243022]
What am I missing?

[code]
Private Const ID_EMOTE = &H17
Private Const ID_WHISPTO = &HA
Private Const ID_WHISPFROM = &H4
Private Const ID_TALK = &H5
Private Const ID_USER = &H1
Private Const ID_JOIN = &H2
Private Const ID_LEAVE = &H3
Private Const ID_FLAGS = &H9
Private Const ID_CHAN = &H7
Private Const ID_ERROR = &H13
Private Const ID_INFO = &H12
Public Const ID_SEND = &HA
Public Const ID_FULL = &HD
Private Const ID_BROADCAST = &H6
[/code]

For some reason, when I log on with my bot, the info won't show.
By info I mean, how many players are online, how many games. All the stuff they send when you log on with sc or any other game.

Also, I'd like to know if there are any more of the IDs other than the ones I have here.

Thx
[/quote]

These constants are available from BnetDocs in a variety of languages :)
December 1, 2003, 1:36 PM

Search