Where can i get the packet information for "joining a starcraft game"?
:)
http://www.ethereal.com is a start.
(DWORD) Product
(DWORD) VerByte
(STRING) Game Name
(Send) 0x22 (SID_NOTIFYJOIN)
(Send) 0x10 (SID_LEAVECHAT)
Edit: [see next post]
There's no such thing as a NonNTString, it's correct form is a DWORD.
Product ID's are always sent as DWORD's.
Quote from: hismajesty on March 15, 2004, 04:49 AM
(DWORD) Product
(DWORD) VerByte
(STRING) Game Name
(Send) 0x22 (SID_NOTIFYJOIN)
(Send) 0x10 (SID_LEAVECHAT)
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 (http://www.valhallalegends.com/arta/files/BNCSMon.zip) 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.
Alright, thank you all :)
I say NTString and NonNTString as well, except for 4 byte backwards ones (which are DWords).