Valhalla Legends Forums Archive | Battle.net Bot Development | Diablo II Realms.

AuthorMessageTime
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) .
April 6, 2006, 6:35 PM
HdxBmx27
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)~-~
April 6, 2006, 8:19 PM
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!
April 6, 2006, 8:32 PM
HdxBmx27
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)~-~
April 6, 2006, 8:35 PM
UserLoser
[quote author=RealityRipple link=topic=14707.msg149953#msg149953 date=1144348540]
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) .
[/quote]

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.
April 6, 2006, 8:39 PM
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:
[code]07 00 19 08 00 00 00[/code] or did I mess up somewhere? Is it packet length, then ID? or did I get those backwards?
April 7, 2006, 12:30 AM
HeRo
[code]  Public Sub SendMCPCharList2()
        With pBuf
            .InsertDWORD 8
            .SendMCP MCP_CHARLIST2
        End With
    End Sub
[/code]

That is what I use, works fine.
April 7, 2006, 12:43 AM
HdxBmx27
Found his problem, he was sending MCP_STARTUP twice, thats a bad thing.
~-~(HDX)~-~
April 7, 2006, 1:00 AM
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.
April 7, 2006, 1:12 AM
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.
April 7, 2006, 1:53 AM
RealityRipple
Thank's Ringo, I already have everything I need, though. :)
April 7, 2006, 2:38 AM
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...
April 8, 2006, 1:26 AM

Search