Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: UnderCover on October 10, 2004, 07:48 PM

Title: Line of data
Post by: UnderCover on October 10, 2004, 07:48 PM
hey,

I was just wondering what a piece of data was from this line:

Battle.net sends

1001 USER username 0010 user_client

sometimes its

1001 USER username 0000 user_client

wut is the 0000 and 0010 mean

it is also on

JOIN username 0000 user_client

and leave and whisper

anyone have any ideas i tohught it was the ping but that may not be right since those were the only 2 values i found.....
Title: Re: Line of data
Post by: Tuberload on October 10, 2004, 08:08 PM
User flags
Title: Re: Line of data
Post by: UnderCover on October 10, 2004, 09:26 PM
anyone know wut the user flags are and wut they meaning


what does 0000 mean

0010 and so on and wut are the other ones?

thanks
Title: Re: Line of data
Post by: iago on October 11, 2004, 12:49 AM
You know when you're playing a game and you see that unplugged image at the right?  0010 means they have that unplugged image.
Title: Re: Line of data
Post by: Grok on October 11, 2004, 11:57 AM
Someone could paste him the flags masks and he'd be happy.
Title: Re: Line of data
Post by: iago on October 11, 2004, 01:37 PM
Sure.  Here are the flags that exist:

public class BNetUserFlags
{
    public static final int USER_BLIZZREP = 0x01; 
    public static final int USER_CHANNELOP = 0x02;
    public static final int USER_SPEAKER = 0x04;
    public static final int USER_ADMIN = 0x08; 
    public static final int USER_NOUDP = 0x10; 
    public static final int USER_SQUELCHED = 0x20; 
    public static final int USER_GUEST = 0x40; 
    public static final int USER_BEEPENABLED = 0x100; 
    public static final int USER_PGLPLAYER = 0x200; 
    public static final int USER_PGLOFFICIAL = 0x400; 
    public static final int USER_KBKPLAYER = 0x800;
    public static final int USER_KBKOFFICIAL = 0x1000; 
    public static final int USER_JAILED = 0x100000; 
    public static final int USER_GFPLAYER = 0x200000; 
}
Title: Re: Line of data
Post by: UserLoser. on October 11, 2004, 06:37 PM
USER_JAILED?  Isn't that supposed to be some GameFixx sort of thing?  I do know that users who are on so-called jailed cdkeys do not receive any special flags while being in The Void
Title: Re: Line of data
Post by: iago on October 11, 2004, 06:47 PM
Quote from: UserLoser on October 11, 2004, 06:37 PM
USER_JAILED? Isn't that supposed to be some GameFixx sort of thing? I do know that users who are on so-called jailed cdkeys do not receive any special flags while being in The Void

Those flags are straight from BNetDocs, converted to Java.