Hi... I'd like some information on loging in to d2 realms... but I don't mean info on the packets or what they do.
1) when do you connect to them?
2) what do you do after you log in to a character?
3) does anybody have images for each character class in a new-char level 1 no item appearance? You know, for a list view in icon mode or something like that.
4) and final question... what's with the 8 char max? it looks like you can set it to query any number of characters.... anyone care to explain that to me?
Thanks guys (and girls if there are any here :-X) .
C->S BNCS: Protocol Byte (0x01)
C->S BNCS: (0x50) SID_AUTH_INFO (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=2)
S->C BNCS: (0x25) SID_PING (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=6)
C->S BNCS: (0x25) SID_PING (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=191)
S->C BNCS: (0x50) SID_AUTH_INFO (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=3)
C->S BNCS: (0x51) SID_AUTH_CHECK (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=4)
S->C BNCS: (0x51) SID_AUTH_CHECK (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=27)
C->S BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=40) (Optional: bnserver-D2DV.ini)
S->C BNCS: (0x33) SID_GETFILETIME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=41) (Optional)
C->S BNCS: (0x3A) SID_LOGONRESPONSE (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=367)
S->C BNCS: (0x3A) SID_LOGONRESPONSE (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=366)
C->S BNCS: (0x40) SID_QUERYREALMS2 (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=395)
S->C BNCS: (0x40) SID_QUERYREALMS2 (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=394)
C->S BNCS: (0x3E) SID_LOGONREALMX (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=14)
S->C BNCS: (0x3E) SID_LOGONREALMX (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=15)
C->S MCP: Protocol Byte (0x01)
C->S MCP: (0x01) MCP_STARTUP (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=93)
S->C MCP: (0x01) MCP_STARTUP (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=94)
C->S MCP: (0x19) MCP_CHARLIST2 (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=409)
S->C MCP: (0x19) MCP_CHARLIST2 (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=408)
C->S MCP: (0x07) MCP_CHARLOGON (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=97)
S->C MCP: (0x07) MCP_CHARLOGON (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=98)
C->S MCP: (0x12) MCP_MOTD (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=155) (Optional)
C->S BNCS: (0x0B) SID_GETCHANNELLIST (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=33) (Optional)
C->S BNCS: (0x0A) SID_ENTERCHAT (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=32)
S->C MCP: (0x12) MCP_MOTD (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=154) (Optional)
S->C BNCS: (0x0B) SID_GETCHANNELLIST (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=46) (Optional)
S->C BNCS: (0x0A) SID_ENTERCHAT (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=38)
Thats the login sequance using realms,
2) After picking a char, just enter chat using that information.
3)
http://www.jbls.org/upload/files/ass.bmp
http://www.jbls.org/upload/files/ama.bmp
http://www.jbls.org/upload/files/barb.bmp
http://www.jbls.org/upload/files/dru.bmp
http://www.jbls.org/upload/files/nec.bmp
http://www.jbls.org/upload/files/paly.bmp
http://www.jbls.org/upload/files/sorc.bmp
http://www.jbls.org/upload/files/unk.bmp
4) Yell at blizard, they decided 8 chars, jsut like 8 connections.
~-~(HDX)~-~
Thanks Blake, and never mind about the pictures. I got some nice ones from Blizzard's site. :)
Edit: haha, those are the same ones i found!
Figured, I was pretty sure i got them form there site, but i couldnt rememer if it was a fansite or something :/
Oh well, any other questions?`
~-~(HDX)~-~
Quote from: RealityRipple on April 06, 2006, 01:35 PM
Hi... I'd like some information on loging in to d2 realms... but I don't mean info on the packets or what they do.
1) when do you connect to them?
2) what do you do after you log in to a character?
3) does anybody have images for each character class in a new-char level 1 no item appearance? You know, for a list view in icon mode or something like that.
4) and final question... what's with the 8 char max? it looks like you can set it to query any number of characters.... anyone care to explain that to me?
Thanks guys (and girls if there are any here :-X) .
1) Whenever you want
2) Whatever you want
3) Yes
4) Maybe at one time the character limit was to be limited locally instead of remotely on the server, but who knows.
You're welcome.
Well, now that everyone hates me, I have a little problem.
It seems that when I send the CharList2 (0x19)... I don't get any response... No disconnect, nothing...
Is the CharList2 packet supposed to be this:
07 00 19 08 00 00 00
or did I mess up somewhere? Is it packet length, then ID? or did I get those backwards?
Public Sub SendMCPCharList2()
With pBuf
.InsertDWORD 8
.SendMCP MCP_CHARLIST2
End With
End Sub
That is what I use, works fine.
Found his problem, he was sending MCP_STARTUP twice, thats a bad thing.
~-~(HDX)~-~
Surprisingly though, it didn't disconnect me for it.... Anyway, thanks guys. Everything's working now except for flags, but i'll have that sorted out soon.
Iv got the original portrails kicking around somwhere if u want them.(clicky) (http://www.geocities.com/ringomail712/D2Portrails.zip)
Link:
http://www.battle.net/diablo2exp/basics/bnetchat.shtml
and i made some okish ones here (http://forum.valhallalegends.com/index.php?topic=14226.0) if there any use.
Thank's Ringo, I already have everything I need, though. :)
Well, that was quite a bit of censoring.....
Anyway, one more question... Proxies. Do you do the same thing as for normal BNCS connection for the MCP connection? I'm afraid I don't know much about how proxies work...