• Welcome to Valhalla Legends Archive.
 

Flags

Started by BlazingKnight, September 19, 2003, 11:51 PM

Previous topic - Next topic

BlazingKnight

Does anybody happen to know what the flags are for blizzard represtentatives, guests, ect... I need them so my bot can disconnect if rep or somebody joins.

Soul Taker

You might never see the representitive though!

Yoni

That's pretty interesting. Why would you want to disconnect as soon as a rep joins?

Archonist

That doesnt really make sense... What's the point of disconnecting when you see a rep?

iago

#4
public:
   // Here are the flags used in channels
   static const DWORD OPERATOR_FLAG                = 0x02;
   static const DWORD SPEAKER_FLAG                = 0x04;
   static const DWORD SYSTEMADMIN_FLAG            = 0x08;
   static const DWORD CHAT_FLAG                    = 0x10;
   static const DWORD SQUELCHED_FLAG              = 0x20;
   static const DWORD SPECTATOR_FLAG              = 0x40;


There! gogo give me karma! :-)


This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Adron

#5
Quote from: iago on September 20, 2003, 06:15 AM
There! gogo give me karma! :-)

What for? You didn't include blizzard representative!!1 :P

iago

Quote from: Adron on September 20, 2003, 06:53 AM
Quote from: iago on September 20, 2003, 06:15 AM
There! gogo give me karma! :-)

What for? You didn't include blizzard representative!!1 :P

SYSTEM_ADMIN is just as good :P

It seems like I'm missing Blizzard Staff .. Probably 0x80, then :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Adron

Quote from: iago on September 20, 2003, 07:51 AM
SYSTEM_ADMIN is just as good :P

It seems like I'm missing Blizzard Staff .. Probably 0x80, then :)

That would seem Unlikely ! 1 !

Kp

Quote from: iago on September 20, 2003, 06:15 AM
  static const DWORD CHAT_FLAG                    = 0x10;
This name is a bit misleading.  While it does indicate the user is confined to chatting, it could be interpreted that the user is on a chatgate client (another correct, but incomplete interpretation).  0x10 technically specifies that the user did not indicate UDP support, which is true for all chatgate bots; it can also be true for game clients (or emulations thereof) which are connected to the network in such a way as to be unable to pass the test.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Grok

Memory might fail me, but didn't we use to name that constant NO_UDP_SUPPORT or something equally descriptive?  Shows what happens people people change things they don't understand.

BlazingKnight

I would like to know the flags, so if somebody who has the power to lock an account or mute/void keys joins the channel, then they can disconnect before the admin/whoever finds out that it's a bot.

UserLoser

#11
Quote from: BlazingKnight on September 20, 2003, 12:25 PM
I would like to know the flags, so if somebody who has the power to lock an account or mute/void keys joins the channel, then they can disconnect before the admin/whoever finds out that it's a bot.
Quote from: iago on September 20, 2003, 06:15 AM

  static const DWORD SYSTEMADMIN_FLAG            = 0x08;


Spht

Quote from: BlazingKnight on September 20, 2003, 12:25 PM
I would like to know the flags, so if somebody who has the power to lock an account or mute/void keys joins the channel, then they can disconnect before the admin/whoever finds out that it's a bot.

Why not just avoid doing things that give away that you're a bot?

BlazingKnight

Why disable a bunch of functions when I can just disconnect?

Spht

Quote from: BlazingKnight on September 20, 2003, 01:13 PM
Why disable a bunch of functions when I can just disconnect?


That really seems like a last-resort stupid thing to do, and I think many people would agree with me.

Disable a bunch of functions? If you have that many features which someone can pick up on and recongize you're a bot, I suggest that you remove it all, because your bot obviously must be a one-man wrecking crew.