• Welcome to Valhalla Legends Archive.
 

Does Any One Have 0x9

Started by ChR0NiC, March 13, 2004, 06:52 PM

Previous topic - Next topic

ChR0NiC

I noticed 0x9 (Get BW Game List) is not on BNET Docs
And UL told me 0x9 is the correct packet for this.

So does anyone have a detailed documentation on 0x9?

In the form that BNET Docs might have it???

UserLoser.

#1
BnetDocs doesn't have *everything*

You can easily figure out that it's 0x09 and it's format, by using a great utility called a packet logger.  It's also used to retrieve the game list for any product, not just Starcraft Brood War.

If you're looking for a packet logger, try using WPE Pro.

To use WPE Pro, follow these easy steps:

1) After opening WPE Pro, click the "Target Program" button.
2) When the "Select Target Program" window comes up, find the program that you want to packet log.
3) When you found the program on the list, select it, and hit "Open", the dialog will now disappear.
4) To start logging, hit the button that's an arrow pointing to the right
5) The packet logger is now enabled, to stop it, press the red square.  If any packets were logged, they would be displayed in a new output window.

ChR0NiC

Quote from: UserLoser. on March 13, 2004, 06:57 PM
BnetDocs doesn't have *everything*

You can easily figure out that it's 0x09 and it's format, by using a great utility called a packet logger.  It's also used to retrieve the game list for any product, not just Starcraft Brood War.

If you're looking for a packet logger, try using WPE Pro.

To use WPE Pro, follow these easy steps:

1) After opening WPE Pro, click the "Target Program" button.
2) When the "Select Target Program" window comes up, find the program that you want to packet log.
3) When you found the program on the list, select it, and hit "Open", the dialog will now disappear.
4) To start logging, hit the button that's an arrow pointing to the right
5) The packet logger is now enabled, to stop it, press the red square.  If any packets were logged, they would be displayed in a new output window.

WPE Pro requires Windows 2000 or Windows XP which I do not have.

Kp

Quote from: ChR0NiC on March 13, 2004, 07:10 PMWPE Pro requires Windows 2000 or Windows XP which I do not have.

That statement would imply you still use a Windows 9x kernel.  If so, you should upgrade immediately as that product line is a horrible mistake that should have never been released to the public.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Banana fanna fo fanna


Eli_1

Quote from: ChR0NiC on March 13, 2004, 06:52 PM
I noticed 0x9 (Get BW Game List) is not on BNET Docs
And UL told me 0x9 is the correct packet for this.

So does anyone have a detailed documentation on 0x9?

In the form that BNET Docs might have it???

LIES.
http://botdev.valhallalegends.com/documents/gamelist.txt

UserLoser.

Quote from: Eli_1 on March 13, 2004, 09:46 PM
Quote from: ChR0NiC on March 13, 2004, 06:52 PM
I noticed 0x9 (Get BW Game List) is not on BNET Docs
And UL told me 0x9 is the correct packet for this.

So does anyone have a detailed documentation on 0x9?

In the form that BNET Docs might have it???

LIES.
http://botdev.valhallalegends.com/documents/gamelist.txt

Doesn't display the format for requesting it

Eli_1

Quote from: UserLoser. on March 13, 2004, 09:47 PM
Quote from: Eli_1 on March 13, 2004, 09:46 PM
Quote from: ChR0NiC on March 13, 2004, 06:52 PM
I noticed 0x9 (Get BW Game List) is not on BNET Docs
And UL told me 0x9 is the correct packet for this.

So does anyone have a detailed documentation on 0x9?

In the form that BNET Docs might have it???

LIES.
http://botdev.valhallalegends.com/documents/gamelist.txt

Doesn't display the format for requesting it

oops, sorry bout that chr0nic  :P

ChR0NiC

#8
Regardless of not being able to request it, thanks alot for that URL, it will help me alot once I am able to request it :)

Edit: Now My Search Shall Continue  :P

Eli_1

#9
C -> S
0000  ff 09 2c 00 0a 00 00 00 1f 00 00 00 00 00 00 00   ..,.............
0010  01 00 00 00 43 61 74 20 4d 69 63 65 20 43 72 79   ....Cat Mice Cry
0020  73 74 61 6c 20 77 61 72 7a 00 00 00               stal warz...

The last NTString I'm assuming is the last game name you joined.
Not sure on the info before it, nor the last 2 null characters...

[Edit]
Just packet logged again with the name of the game changed
0000  ff 09 1b 00 0a 00 00 00 1f 00 00 00 00 00 00 00   ................
0010  01 00 00 00 73 77 61 74 00 00 00                  ....swat...


From the information there I can guess the format is something like this:

   (DWORD) &H0A (unknown)
**(DWORD) 31?   (unknown)
   (DWORD) &H0   (unknown)
   (DWORD) &H01 (unknown)
   (STRING ) Last game joined
   (WORD) &H0     (unknown)

**    not exactly sure what to put here, the hex dump was 1F 00 00 00 and when I did the Val of &H0000001F I got 31 both times...
all the values besides the NonNTString seem to be non changing on this comp...
(when I typed this all the first time I read the packet wrong, so I guess you could just do (DWORD) &H1F)

(unknown)    not exactly sure on what thier purpose is or what they actually represent, but that's what the packet shows...  :-\
hope this somehow helps

Also:

I'v never done anything with packets and also havn't used anything besides CSB, so the information about adding the DWORDS and WORDS might be wrong, but you should get the idea... :P

ChR0NiC

Quote from: Eli_1 on March 14, 2004, 12:13 AM
C -> S
0000  ff 09 2c 00 0a 00 00 00 1f 00 00 00 00 00 00 00   ..,.............
0010  01 00 00 00 43 61 74 20 4d 69 63 65 20 43 72 79   ....Cat Mice Cry
0020  73 74 61 6c 20 77 61 72 7a 00 00 00               stal warz...

The last NTString I'm assuming is the last game name you joined.
Not sure on the info before it, nor the last 2 null characters...

[Edit]
Just packet logged again with the name of the game changed
0000  ff 09 1b 00 0a 00 00 00 1f 00 00 00 00 00 00 00   ................
0010  01 00 00 00 73 77 61 74 00 00 00                  ....swat...


From the information there I can guess the format is something like this:

   (DWORD) &H0A (unknown)
**(DWORD) 31?   (unknown)
   (DWORD) &H0
   (DWORD) &H01
   (STRING ) Last game joined
   (WORD) &H0

**    not exactly sure what to put here, the hex dump was 00 00 00 1F and when I did the Val of &H0000001F I got 31 both times...
all the values besides the NonNTString seem to be non changing on this comp...

hope this somehow helps

Also:

I'v never done anything with packets and also havn't used anything besides CSB, so the information about adding the DWORDS and WORDS might be wrong, but you should get the idea... :P

Thanks Alot For Your Help, I'll Let You Know What I Find.

Eli_1

before you go, would that work?
can you add DWORDS like &H0A and 31?

o.OV

Quote from: Eli_1 on March 14, 2004, 12:34 AM
before you go, would that work?
can you add DWORDS like &H0A and 31?

Of course you can.
It is just numbers.
If the facts don't fit the theory, change the facts. - Albert Einstein

l)ragon

Quote from: o.OV on March 14, 2004, 01:35 AM
Quote from: Eli_1 on March 14, 2004, 12:34 AM
before you go, would that work?
can you add DWORDS like &H0A and 31?

Of course you can.
It is just numbers.
Are you sure about that.
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

o.OV

#14
Quote from: dRAgoN on March 14, 2004, 01:48 AM
Quote from: o.OV on March 14, 2004, 01:35 AM
Quote from: Eli_1 on March 14, 2004, 12:34 AM
before you go, would that work?
can you add DWORDS like &H0A and 31?

Of course you can.
It is just numbers.
Are you sure about that.

heh. yes.
unfortunately I read it too literally.
sorry, I didn't see the packetlog part of the post.
If the facts don't fit the theory, change the facts. - Albert Einstein