• Welcome to Valhalla Legends Archive.
 

Ladder Packets

Started by ChR0NiC, January 26, 2004, 09:45 AM

Previous topic - Next topic

ChR0NiC

Does anyone know how to grab the ladder for D2 and parse it ?
Maybe this would be a good candidate for BNETDOCS?

Networks

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.

Eric

#2
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

Networks

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

Eric

#4
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.

Networks

I beileve i did request help not a source. Forget anyway lets get into this newb shit.

Kp

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.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

R.a.B.B.i.T

BnetDocs needs a few updates.  Like the one(s) I posted somewhere and the Ladder Character/Ladder HC Char Idenditifiers.

ChR0NiC

Thx Lord, that helped alot. If only more people provided help like you :D

ChR0NiC

Right now it's requesting ladder with.....current statistics.....do you know how to make it so it's not viewing current statistics.

Eric

#10
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.

hismajesty

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.

R.a.B.B.i.T

GRR.

That's why I want higher access...

Kp

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.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!