• Welcome to Valhalla Legends Archive.
 

Packet 0x77 Information

Started by Arthas, December 30, 2003, 12:23 AM

Previous topic - Next topic

Skywing

#30
Quote from: UserLoser. on January 01, 2004, 01:24 PM
Quote from: Soar on January 01, 2004, 10:41 AM
I checked pvpgn bnet protocol file just now, there are 9 used statuses for SID_CREATEACCOUNT2 (SERVER_CREATEACCTREPLY2 in pvpgn)
it's only sent from D2 1.03~1.10. ;)

And what are these 9?
0 Success
[remaining are failure codes]
1 Name blank
2 Name contains reserved characters
3 Name contains reserved words
4 Account already exists
5 (unused) - also, no mapping to SID_AUTH_ACCOUNTCREATE
6 Name too short - also mapped to SID_AUTH_ACCOUNTCREATE: no alphanumeric characters
7 (unused) Name contains adjacent punctuation
8 (unused) Name contains too much punctuation

SID_AUTH_ACCOUNTCREATE statuses are converted to SID_CREATEACCOUNT2 statuses internally by Diablo II.
Status 5 and any status not mentioned above result in a generic "account already exists" type error displayed to the user.

Adron

Quote from: Kp on December 31, 2003, 10:38 AM
Quote from: Soar on December 31, 2003, 09:39 AM
in C codes, NTString = None-Terminate String

Who taught you that?  I've never seen that designation.

I sometimes think of NTString as UNICODE_STRING, since that's the one that seems most native to NT...

Soar

the 3 unused statuses are seen in D2 1.10 now (at least my friend got 2 of them some times), I think they may not work in 1.09 and lower version

Skywing

#33
Quote from: Soar on January 01, 2004, 10:16 PM
the 3 unused statuses are seen in D2 1.10 now (at least my friend got 2 of them some times), I think they may not work in 1.09 and lower version
I checked D2 1.10 and it behaves the same for status 5 and status 4 (and any other status not mentioned above), so it's unlikely that it's used.

|