Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: TeEhEiMaN on June 17, 2004, 11:16 PM

Title: channel list
Post by: TeEhEiMaN on June 17, 2004, 11:16 PM
my channel lists suck, always some kind of problem, so ima start over.
I need a tutorial on Flags and something to help me set up a new channel list.  i been looking for some tutorials, but havent had any luck, i know there somewhere here.

Please post link

thx
Title: Re:channel list
Post by: Tuberload on June 17, 2004, 11:44 PM
IF flag_variable AND flag_constant EQUALS flag_constant THEN flag is set

So for example:

flag_variable = 0x8200
flag_constant = 0x200

0x8200 AND 0x200 = 0x200, so the flag would be set.

Read up on bitwise operators for more information.
Title: Re:channel list
Post by: TeEhEiMaN on June 18, 2004, 10:07 PM
alright i got my channel list workin pretty good. thx