• Welcome to Valhalla Legends Archive.
 

Help...

Started by OuTLawZGoSu, November 30, 2003, 07:43 PM

Previous topic - Next topic

OuTLawZGoSu

What am I missing?


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


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

OuTLawZGoSu

I was kind of looking for a code since i cant understand anything in that document.

warz


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


There's a code.

Dark-Feanor

QuoteFor 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.
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  ;)
- Feanor[xL]
clan exile
Firebot
iago: "caps lock is like cruise control for cool"

Mesiah / haiseM

Quote from: DaRk-FeAnOr on December 01, 2003, 12:24 AM
QuoteFor 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.
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  ;)

I may be a bit rusty, but what in the world would sending "L" have to do with anything?
]HighBrow Innovations
Coming soon...

AIM Online Status: 

Arta

Quote from: OuTLawZGoSu on November 30, 2003, 07:43 PM
What am I missing?


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


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

These constants are available from BnetDocs in a variety of languages :)