Valhalla Legends Forums Archive | Visual Basic Programming | Packet for joining a game

AuthorMessageTime
MichaeL
Where can i get the packet information for "joining a starcraft game"?
:)
March 9, 2004, 11:28 PM
Stealth
http://www.ethereal.com is a start.
March 9, 2004, 11:43 PM
hismajesty
(DWORD) Product
(DWORD) VerByte
(STRING) Game Name
(Send) 0x22 (SID_NOTIFYJOIN)
(Send) 0x10 (SID_LEAVECHAT)

Edit: [see next post]
March 15, 2004, 10:49 AM
LoRd
[quote author=hismajesty link=board=31;threadid=5696;start=0#msg49478 date=1079347744]
(NonNTString) Product[/quote]
*DWORD

[quote author=hismajesty link=board=31;threadid=5696;start=0#msg49478 date=1079347744]
(NTSTring) Game Name[/quote]
*STRING
March 15, 2004, 6:35 PM
hismajesty
[quote author=LoRd[nK] link=board=31;threadid=5696;start=0#msg49540 date=1079375739]
[quote author=hismajesty link=board=31;threadid=5696;start=0#msg49478 date=1079347744]
(NonNTString) Product[/quote]
*DWORD
[/quote]

Sending it as a DWORD will raise an error, correct?
March 15, 2004, 7:33 PM
LoRd
There's no such thing as a NonNTString, it's correct form is a DWORD.
Product ID's are always sent as DWORD's.
March 15, 2004, 9:07 PM
ChR0NiC
[quote author=hismajesty link=board=31;threadid=5696;start=0#msg49478 date=1079347744]
(DWORD) Product
(DWORD) VerByte
(STRING) Game Name
(Send) 0x22 (SID_NOTIFYJOIN)
(Send) 0x10 (SID_LEAVECHAT)
[/quote]

If you follow this, you will join a game. Remember STRING means null terminated. So don't be a fool about this.

Edit: To understand more about how this was figured out and such I suggest using BNCSMon and set it to capture the log.

EG: X:\BNCSMon -l capture.txt [Enter]
and it will start logging and will capture as soon as the data starts to flow.
Very great tool I recommend to all bot programmers, newbie or expert. This of course is a packet logger...very good detail and very well made.
March 16, 2004, 9:01 PM
MichaeL
Alright, thank you all :)
March 18, 2004, 8:25 PM
iago
I say NTString and NonNTString as well, except for 4 byte backwards ones (which are DWords).
March 18, 2004, 9:49 PM

Search