Valhalla Legends Forums Archive | Battle.net Bot Development | Packets

AuthorMessageTime
Death-Merchant
Is there a place with a tutorial that teaches you how to use packets?
October 14, 2003, 2:33 AM
SiMi
Want me to write one?
October 14, 2003, 2:50 AM
Death-Merchant
Sure ;D
October 14, 2003, 4:31 AM
Soul Taker
[quote author=Death-Merchant link=board=17;threadid=3086;start=0#msg24131 date=1066098829]
Is there a place with a tutorial that teaches you how to use packets?
[/quote]
The internet.
October 14, 2003, 5:48 PM
DaRk-FeAnOr
I wrote one that helps a lil. :P
It is on my FTP: [Link removed due to it's egregious wrongness]
October 14, 2003, 6:23 PM
Soul Taker
I never knew that a WORD is an NT byte, a DWORD is just one byte followed by three nulls, etc. Things like that, coupled with being unsure if a null-terminated string ends in a null, shows that you really shouldn't have tried making a packet tutorial. Good faith, but you need to do some research.
October 14, 2003, 8:30 PM
Grok
Now everybody's a smart ass.

+1 DaRk-FeAnOr
October 14, 2003, 11:45 PM
iago
[quote]I am pretty sure that the difference is that a NTstring is followed by a 0x00 (null) packet and an NONnTstring is not[/quote]

That's not a null packet, that's a null byte, and you're right, NTString means Null-Terminated String.
October 15, 2003, 12:33 AM
BlazingKnight
Is anybody going to answer the inital question?
October 15, 2003, 1:33 AM
iago
[quote author=BlazingKnight link=board=17;threadid=3086;start=0#msg24202 date=1066181614]
Is anybody going to answer the inital question?
[/quote]

Yes, DaRk-FeAnOr did, and we've been commenting on his answer.
October 15, 2003, 1:36 AM
SiMi
I say i write one about either Packet 0x50 or 0x51, Pick One!
October 15, 2003, 1:52 AM
St0rm.iD
51! 51! and put it on obd plz :)
October 15, 2003, 2:08 AM
LoRd
[quote author=Simi link=board=17;threadid=3086;start=0#msg24204 date=1066182760]
I say i write one about either Packet 0x50 or 0x51, Pick One!
[/quote]

[quote]

BnetDocs:

0x50
Direction: Client -> Server (Sent)
Format:
(DWORD)       Protocol ID (0)
(DWORD)       Platform ID
(DWORD)       Program ID
(DWORD)       Version
(DWORD)       Product language
(DWORD)       Local IP for NAT compatibility*
(DWORD)       Time zone bias*
(DWORD)       Locale ID*
(DWORD)       Language ID*
(STRING)       Country abreviation
(STRING)       Country

0x50
Direction: Server -> Client (Received)
Format:
(DWORD)       Logon Type
(DWORD)       Server Token
(DWORD)       UDPValue**
(FILETIME)    MPQ filetime
(STRING)       IX86ver filename
(STRING)       ValueString

Warcraft III Only:
(VOID)       128-byte Server signature

0x51
Direction: Client -> Server (Sent)
Format:
(DWORD)       Client Token
(DWORD)       Version
(DWORD)       Checksum
(DWORD)       Number of keys in this packet
(BOOLEAN)    Using Spawn

For Each Key:
(DWORD)       Key Length
(DWORD)       Product
(DWORD)       CDKEY Value 1
(DWORD)       Unknown (0)
(DWORD[5])    Hashed Key Data

(STRING)       Exe Information
(STRING)       CD Key owner name

0x51
Direction: Server -> Client (Received)
Format:
(DWORD)       Result
(STRING)       Additional Information
Remarks: Reports success/failure on challenge.

Result:
0x000: Passed challenge
0x100: Old game version (Additional info field supplies patch MPQ filename)
0x101: Invalid version

0x200: Invalid CD key
0x201: CD key in use (Additional info field supplies name of user)
0x202: Banned key
0x203: Wrong product

The last 4 codes also apply to the second cdkey, as indicated by a bitwise combination with 0x010.
[/quote]

Now that's been covered. No need to write a tutorial on what's already infront of you, simi. *cough bnetdocs cough* ... unless ofcourse you were going to explain in great detail the hashing procedures that are called in bnetauth.dll which I doubt you know how to do.
October 15, 2003, 2:16 AM
SiMi
Everytime i argue with you lord the thread always gets locked, either that or my post(s) get deleted. I'm not going to start with you nor end with you. If he needs any help parsing that information from bnetdocs, or if he needs another tutorial he can ask me.
October 15, 2003, 3:13 AM
iago
You're just lucky I don't moderate this board, this entire thread would be gone.

The problem is that the original question is extremely general. To be valid, I think he would have to make his question much more specific.
October 15, 2003, 3:19 AM
Soul Taker
Hehe Iago made me think of Judge Dredd, "I AM THE LAW!"
October 15, 2003, 6:22 AM
iago
[quote author=Soul Taker link=board=17;threadid=3086;start=15#msg24229 date=1066198962]
Hehe Iago made me think of Judge Dredd, "I AM THE LAW!"
[/quote]

nono, I'm NOT the law; that's the problem.
October 15, 2003, 1:37 PM
Lenny
Well the past posts of this forum has alot of information regarding packets, but unfortunately...
backwards technology has only come up with the most inefficient way of finding information; "Search"

Also, you should packet log your connection and simply look at what's being sent between you to the battle.net server...I recommond WPE Pro Packet logger or Ethereal (once again "Search" (google))
October 15, 2003, 7:10 PM

Search