Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: NetNX on April 20, 2005, 09:50 AM

Title: 2 Questions SystemKeys and 0x0A w/ D2
Post by: NetNX on April 20, 2005, 09:50 AM
When i get system keys can i request them for a user other then myself? im scared to actualy try it because i dont want to get permo ip-banned....

Does D2 send 0x0A after selecting the character to get on the realm ? so you can catch the character class on the return? or are you suppost to remeber it from the character selection screen
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: shout on April 20, 2005, 10:42 AM
Packet log.
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: Archangel on April 20, 2005, 10:54 AM
System Keys can't be request for getting othe users information.
If thats so, then no.

[USE SEARCH NEXT TIME: http://forum.valhallalegends.com/phpbbs/index.php?topic=6986.0]

Quote
Why have strUsername as an argument and not use it in the function, but it doesn't really matter since you can only view yourself I think  .

0x0A is to enter chat, so you 1st connect to realm then select a character and then login in chat.


   Case &H7 'CHAR_LOGON
     
        Select Case (GetDWORD(Mid(Data, 4, 4)))
             
            Case &H0 '0x00 SUCCESS
                 
                AddChat vbGreen, "MCP: Logged on to Realm Character"
                 
                   With Buffer
                       .InsertNTString Realm.Character
                       .InsertNonNTString Realm.Realm & ","
                       .InsertNTString Realm.Character
                       .SendPacket frmMain.wsBNCS, BNCS, &HA
                       .InsertDWORD &H1
                       .InsertNTString Bot.Home
                       .SendPacket frmMain.wsBNCS, BNCS, &HC
                   End With

        End Select


I found this on this forums.
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: UserLoser. on April 20, 2005, 01:39 PM
Quote from: NetNX on April 20, 2005, 09:50 AM
When i get system keys can i request them for a user other then myself? im scared to actualy try it because i dont want to get permo ip-banned....

Does D2 send 0x0A after selecting the character to get on the realm ? so you can catch the character class on the return? or are you suppost to remeber it from the character selection screen

Yes, you can request the keys for other users.
Yes, Blizzard's D2 client sends SID_ENTERCHAT after logging on a character
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: Tazo on April 20, 2005, 03:09 PM
You can request it, but you won't receive any data (erm..systemkeys.)
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: Archangel on April 20, 2005, 03:20 PM
Quote from: UserLoser on April 20, 2005, 01:39 PM
Yes, you can request the keys for other users.

But, you wont recv them? right?
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: Tazo on April 20, 2005, 03:34 PM
Quote from: Archangel on April 20, 2005, 03:20 PM
Quote from: UserLoser on April 20, 2005, 01:39 PM
Yes, you can request the keys for other users.

But, you wont recv them? right?
Correct, exactly what I said in last post
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: Archangel on April 20, 2005, 03:43 PM
Quote from: laurion on April 20, 2005, 03:34 PM
Quote from: Archangel on April 20, 2005, 03:20 PM
Quote from: UserLoser on April 20, 2005, 01:39 PM
Yes, you can request the keys for other users.

But, you wont recv them? right?
Correct, exactly what I said in last post

Oh yes, sorry! ^^
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: NetNX on April 21, 2005, 09:33 AM
Quote from: UserLoser on April 20, 2005, 01:39 PM
Quote from: NetNX on April 20, 2005, 09:50 AM
When i get system keys can i request them for a user other then myself? im scared to actualy try it because i dont want to get permo ip-banned....

Does D2 send 0x0A after selecting the character to get on the realm ? so you can catch the character class on the return? or are you suppost to remeber it from the character selection screen

Yes, you can request the keys for other users.
Yes, Blizzard's D2 client sends SID_ENTERCHAT after logging on a character

But will i get a reply?
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: Hdx on April 21, 2005, 10:18 AM
Quote from: NetNX on April 21, 2005, 09:33 AM
But will i get a reply?
Hurm seems to me, that insted of having others test for you. Test for yourself. You obviouslt know how to deal with system request. So do it!
~-~(HDX)~-~
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: Archangel on April 21, 2005, 04:10 PM
Quote from: Archangel on April 20, 2005, 03:43 PM
Quote from: laurion on April 20, 2005, 03:34 PM
Quote from: Archangel on April 20, 2005, 03:20 PM
Quote from: UserLoser on April 20, 2005, 01:39 PM
Yes, you can request the keys for other users.

But, you wont recv them? right?
Correct, exactly what I said in last post

Oh yes, sorry! ^^

There's your answer.
Title: Re: 2 Questions SystemKeys and 0x0A w/ D2
Post by: UserLoser. on April 21, 2005, 06:52 PM
It is possible to get other user's system key values