Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ChR0NiC on January 26, 2004, 09:45 AM

Title: Ladder Packets
Post by: ChR0NiC on January 26, 2004, 09:45 AM
Does anyone know how to grab the ladder for D2 and parse it ?
Maybe this would be a good candidate for BNETDOCS?
Title: Re:Ladder Packets
Post by: Networks on January 26, 2004, 12:32 PM
Can anyone provide some source for SC/SC:BW ladder packets and show them on a list bots using columns and whatnot please? I am not sure how to do it.
Title: Re:Ladder Packets
Post by: Eric on January 26, 2004, 01:58 PM
This is what i've discovered:

C -> S: SID_GETLADDERDATA (0x2E)
  STAR/SEXP, W2BN, D2DV/D2XP (Open Character):
   (DWORD) Product
   (DWORD) Ladder Type
   (DWORD) Listing Style
   (DWORD) Starting Position
   (DWORD) Number of Users to View
 
   Listing Type:
    STAR/SEXP:
     Normal: 0x01
     Unknown: 0x02
    W2BN:
     Normal: 0x01
     Unknown: 0x02
     IronMan: 0x03

   Listing Style
    STAR/SEXP, W2BN
     Highest Rated: 0x00
     Most Wins: 0x02
     Most Games Played: 0x03

C -> S: (0x11)
(DWORD) Character type?
(BYTE) Unknown

Character types:
 0x09: Standard
 0x00: Standard-Hardcore
 0x1B: Expansion
 0x13: Expansion-Hardcore

S -> C: (0x11)
Refer to: http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=display;threadid=4883
Fill in the blanks :p
Title: Re:Ladder Packets
Post by: Networks on January 27, 2004, 07:59 AM
see lord you couldn't have given that to me on AIM
Title: Re:Ladder Packets
Post by: Eric on January 27, 2004, 11:52 AM
QuoteCan anyone provide some source for SC/SC:BW ladder packets and show them on a list bots using columns and whatnot please?

see lord you couldn't have given that to me on AIM

I provide help, not sources.
Title: Re:Ladder Packets
Post by: Networks on January 27, 2004, 12:08 PM
I beileve i did request help not a source. Forget anyway lets get into this newb shit.
Title: Re:Ladder Packets
Post by: Kp on January 27, 2004, 12:13 PM
Quote from: LoRd[nK] on January 27, 2004, 11:52 AMI provide help, not sources.

We need more people like you around here. :P  Not only is it better practice to make people think through the code generation themselves, it's much more portable since the data isn't expressed in a language dependent construct which the reader must parse before the information is available.
Title: Re:Ladder Packets
Post by: R.a.B.B.i.T on January 27, 2004, 04:31 PM
BnetDocs needs a few updates.  Like the one(s) I posted somewhere and the Ladder Character/Ladder HC Char Idenditifiers.
Title: Re:Ladder Packets
Post by: ChR0NiC on January 27, 2004, 07:38 PM
Thx Lord, that helped alot. If only more people provided help like you :D
Title: Re:Ladder Packets
Post by: ChR0NiC on January 27, 2004, 08:08 PM
Right now it's requesting ladder with.....current statistics.....do you know how to make it so it's not viewing current statistics.
Title: Re:Ladder Packets
Post by: Eric on January 28, 2004, 02:46 AM
QuoteRight now it's requesting ladder with.....current statistics.....do you know how to make it so it's not viewing current statistics.
It's all in the same packet.

I have to do some homework right now, then i'm going to sleep, but I'll try to write a document for parsing it tommorow, if I have enough time.
Title: Re:Ladder Packets
Post by: hismajesty on January 28, 2004, 06:45 PM
Quote from: R.a.B.B.i.T on January 27, 2004, 04:31 PM
BnetDocs needs a few updates.  Like the one(s) I posted somewhere and the Ladder Character/Ladder HC Char Idenditifiers.

BnetDocs has more than what you see; however, it requires higher access than what you have.
Title: Re:Ladder Packets
Post by: R.a.B.B.i.T on January 30, 2004, 06:13 PM
GRR.

That's why I want higher access...
Title: Re:Ladder Packets
Post by: Kp on January 31, 2004, 11:19 AM
Quote from: R.a.B.B.i.T on May 23, 1972, 05:26 PMGRR.

That's why I want higher access...

Talk to Arta about that.  If BnetDocs is actually up, he might modify it.