Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Lenny on February 04, 2004, 02:29 PM

Title: CHATEVENT ID_CHANNEL
Post by: Lenny on February 04, 2004, 02:29 PM
Does anyone have the values for the different channel types.

Such as public, global, admin, silent, prod specific etc...I believe mine are outdated.
Title: Re:CHATEVENT ID_CHANNEL
Post by: botmaster on February 04, 2004, 02:51 PM
Quote from: Lenny on February 04, 2004, 02:29 PM
Does anyone have the values for the different channel types.

Such as public, global, admin, silent, prod specific etc...I believe mine are outdated.

taken from bnetdocs


0x01: Public Channel
0x02: Moderated
0x04: Restricted
0x08: Silent
0x10: System
0x20: Product-Specific
0x1000: Globally Accessible
Title: Re:CHATEVENT ID_CHANNEL
Post by: Lenny on February 04, 2004, 03:13 PM
For some reason bnet docs isnt giving me any information on the packets when i click on them.  Im not sure if this is a site problem or Ive lost alot of access...

Also using those values, only Public Channel seems to be correct, perhaps theyve changed
Title: Re:CHATEVENT ID_CHANNEL
Post by: UserLoser. on February 04, 2004, 03:40 PM
Quote from: Lenny on February 04, 2004, 03:13 PM
For some reason bnet docs isnt giving me any information on the packets when i click on them.  Im not sure if this is a site problem or Ive lost alot of access...

Also using those values, only Public Channel seems to be correct, perhaps theyve changed

No, those values are correct.  However one is missing, 0x4000 - redirecting channel
Title: Re:CHATEVENT ID_CHANNEL
Post by: Lenny on February 04, 2004, 03:46 PM
Yes I found this out once I had realized I need to do bitwise comparisons for multiple attributes of a channel...
Title: Re:CHATEVENT ID_CHANNEL
Post by: R.a.B.B.i.T on February 04, 2004, 06:39 PM
Quote from: UserLoser. on February 04, 2004, 03:40 PM
No, those values are correct.  However one is missing, 0x4000 - redirecting channel
I've never heard of a redirecting channel...mind filling me in?
Title: Re:CHATEVENT ID_CHANNEL
Post by: UserLoser. on February 04, 2004, 07:00 PM
Quote from: R.a.B.B.i.T on February 04, 2004, 06:39 PM
Quote from: UserLoser. on February 04, 2004, 03:40 PM
No, those values are correct.  However one is missing, 0x4000 - redirecting channel
I've never heard of a redirecting channel...mind filling me in?

Send 0x0C (SID_JOINCHANNEL) with flag type 0x02:

Quote
[18:59:35] /join brood war
[18:59:35] Joining private channel brood war-22.

Server redirected me to brood war-22, even though I wanted to join brood war

Where as doing /channel (my bot doesn't send 0x0c on /channel, only /join):

Quote
[19:00:34] /channel brood war
[19:00:34] Joining redirected globally accessible product-specific public channel Brood War.

:P

Edit: hmm, wtf.. can't join channel "blizzard tech support""op userloser" - get ipbanned :P