• Welcome to Valhalla Legends Archive.
 

Diablo II Realms.

Started by RealityRipple, April 06, 2006, 01:35 PM

Previous topic - Next topic

RealityRipple

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) .

Hdx

#1
C->S BNCS: Protocol Byte (0x01)
C->S BNCS: (0x50) SID_AUTH_INFO
S->C BNCS: (0x25) SID_PING
C->S BNCS: (0x25) SID_PING
S->C BNCS: (0x50) SID_AUTH_INFO
C->S BNCS: (0x51) SID_AUTH_CHECK
S->C BNCS: (0x51) SID_AUTH_CHECK
C->S BNCS: (0x33) SID_GETFILETIME (Optional: bnserver-D2DV.ini)
S->C BNCS: (0x33) SID_GETFILETIME (Optional)
C->S BNCS: (0x3A) SID_LOGONRESPONSE
S->C BNCS: (0x3A) SID_LOGONRESPONSE
C->S BNCS: (0x40) SID_QUERYREALMS2
S->C BNCS: (0x40) SID_QUERYREALMS2
C->S BNCS: (0x3E) SID_LOGONREALMX
S->C BNCS: (0x3E) SID_LOGONREALMX
C->S MCP: Protocol Byte (0x01)
C->S MCP: (0x01) MCP_STARTUP
S->C MCP: (0x01) MCP_STARTUP
C->S MCP: (0x19) MCP_CHARLIST2
S->C MCP: (0x19) MCP_CHARLIST2
C->S MCP: (0x07) MCP_CHARLOGON
S->C MCP: (0x07) MCP_CHARLOGON
C->S MCP: (0x12) MCP_MOTD (Optional)
C->S BNCS: (0x0B) SID_GETCHANNELLIST (Optional)
C->S BNCS: (0x0A) SID_ENTERCHAT
S->C MCP: (0x12) MCP_MOTD (Optional)
S->C BNCS: (0x0B) SID_GETCHANNELLIST (Optional)
S->C BNCS: (0x0A) SID_ENTERCHAT

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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

RealityRipple

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!

Hdx

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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

UserLoser

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.

RealityRipple

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?

Hero

   Public Sub SendMCPCharList2()
        With pBuf
            .InsertDWORD 8
            .SendMCP MCP_CHARLIST2
        End With
    End Sub


That is what I use, works fine.

Hdx

Found his problem, he was sending MCP_STARTUP twice, thats a bad thing.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

RealityRipple

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.

Ringo

Iv got the original portrails kicking around somwhere if u want them.(clicky)
Link:
http://www.battle.net/diablo2exp/basics/bnetchat.shtml
and i made some okish ones here if there any use.

RealityRipple

Thank's Ringo, I already have everything I need, though. :)

RealityRipple

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...