Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Barabajagal on September 03, 2008, 12:57 PM

Title: Flooding Packets
Post by: Barabajagal on September 03, 2008, 12:57 PM
There doesn't seem to be a public list of which packets will flood you out and which you can send to your heart's content. So far, the only two I've found that will flood you out are CHATCOMMAND and WRITEUSERDATA. Any others?
Title: Re: Flooding Packets
Post by: brew on September 03, 2008, 01:07 PM
The ladder request packets, too
Title: Re: Flooding Packets
Post by: FrOzeN on September 04, 2008, 04:23 AM
IIRC, In StarCraft when clicking the join game button (which brings up the game list) and then hitting exit you'll get disconnected for flooding by repeating this too fast.
Title: Re: Flooding Packets
Post by: aton on September 04, 2008, 12:55 PM
that would be C->S SID_GETADVLISTEX (0x09)

i guess stuff like SID_ENTERCHAT and SID_GETCHANNELLIST or SID_JOINCHANNEL will get you disconnected too if you flood the requests...
Title: Re: Flooding Packets
Post by: aton on September 04, 2008, 01:12 PM
it would be VERY interesting if udp packets can flood you out in any way....
Title: Re: Flooding Packets
Post by: brew on September 04, 2008, 07:32 PM
Did anyone check the other query packets? i.e. 0x0B, 0x65, 0x7D

EDIT* Also, profile requests can flood you out.
Title: Re: Flooding Packets
Post by: Yegg on September 04, 2008, 11:41 PM
Quote from: brew on September 04, 2008, 07:32 PM
Did anyone check the other query packets? i.e. 0x0B, 0x65, 0x7D

EDIT* Also, profile requests can flood you out.

I was going to bring up the profile part as well. However, I don't really remember being flooded out by doing it too fast. I remember at some point the profile just wouldn't show -- it would just contain all blank info on the game client, but not flood you out.
Title: Re: Flooding Packets
Post by: Sixen on September 04, 2008, 11:49 PM
Heh, I remember flooding out by doing "/f l" too quickly, -_-;.

0x65, yes?
Title: Re: Flooding Packets
Post by: Barabajagal on September 05, 2008, 12:56 AM
UDP won't flood. I can join about 10 channels in a second before getting disconnected. Profile requests never flood, nor do friend list requests, from my testing.
Title: Re: Flooding Packets
Post by: Mystical on September 05, 2008, 05:37 AM
What if you send differnt kinds of packets at the same time?

IE;
      SID_NULL
      SID_PING
      SID_GETCHANNELLIST
      SID_NEWS_INFO
      SID_CHATEVENT
      SID_READUSERDATA
      SID_FRIENDSLIST
Title: Re: Flooding Packets
Post by: UserLoser on September 05, 2008, 01:08 PM
Quote from: Sixen on September 04, 2008, 11:49 PM
Heh, I remember flooding out by doing "/f l" too quickly, -_-;.

0x65, yes?

no, that's SID_CHATCOMMAND...same thing as saying "i'm a newb" over and over
Title: Re: Flooding Packets
Post by: Ringo on September 05, 2008, 02:12 PM
iirc, all the tcp/ip packets can flood you out, sent enough times.
Pretty sure you can owe up to about 8 seconds standard, and somthing like 280 seconds late.
Like for example, sending a normal chat message "hi" would cost you about 2200ms -- if chat message lengh > 20 then somthing like 2200+len*20, and double that number for the late counter.
There's a database, chat and packet time lending iirc (packet/chat maybe the same counter)
All packets have a price in time, that get's added to you're counter's.
As for the price of a given packet, I don't know, I just made them up when I wrote my server awhile back -- best way to find out is to idle for awhile to clear you're time debt, then send a que of like 5+ of the same packets at once, untill you (get ip'ed) find out how many of that packet you can send at once, divide it by 8 seconds, and thats the standard price in time.
Title: Re: Flooding Packets
Post by: Sixen on September 05, 2008, 06:01 PM
Quote from: UserLoser on September 05, 2008, 01:08 PM
no, that's SID_CHATCOMMAND...same thing as saying "i'm a newb" over and over

I'm just thinking of Stealth's "Use of the 0x65 internal Friends List".
Title: Re: Flooding Packets
Post by: brew on September 05, 2008, 06:31 PM
To the uninformed *cough sixen: The 0x65 packet is what StarCraft uses to populate the "friends" listview
Title: Re: Flooding Packets
Post by: Sixen on September 06, 2008, 12:44 AM
Quote from: brew on September 05, 2008, 06:31 PM
To the uninformed *cough sixen: The 0x65 packet is what StarCraft uses to populate the "friends" listview

I see. Thought they were similar.. Ohwell!


Perhaps I was right though, =P.
Title: Re: Flooding Packets
Post by: Newby on September 07, 2008, 03:44 AM
Quote from: brew on September 05, 2008, 06:31 PM
To the uninformed *cough sixen: The 0x65 packet is what StarCraft uses to populate the "friends" listview

O MR INFORMED PLZ INFORM ME HOW U KNOW ALL OF THIS AT THE YOUNG RIPE AGE OF 9 Y/O???
Title: Re: Flooding Packets
Post by: Ribose on September 07, 2008, 11:19 PM
Clicking the create game (and it failing because game exists for example) repeatedly floods you out.

edit: StarCraft