Valhalla Legends Forums Archive | Battle.net Bot Development | SID_LOGONRESPONSE2

AuthorMessageTime
Xenoc1de
Can anyone give me examples of what to do for 0x0A, 0x0B, or 0x0C after your SID_LOGONRESPONSE2 (0x3A) has accepted and returned 0x00.

As of right now I can't get my client to join channel, here is my code for when it returns a DWORD value of 0 in 0x3A

[code]
    .InsertDWORD GetDWORD(GetFourLetterClient)
          'GetFourLetterClient trims for example "Starcraft" to "RATS"
    .Send frmMain.WS, SID_GETCHANNELLIST '0x0B
   
    .InsertNTString Bot.Username
    .InsertByte &H0
          'or .InsertNTString vbNullString ??
    .Send frmMain.WS, SID_ENTERCHAT '0x0A
                   
          'Join product-specific start channel
    .InsertDWORD &H2
    .InsertNTString Bot.Username
    .Send frmMain.WS, SID_JOINCHANNEL '0x0C
[/code]
April 5, 2005, 5:17 PM
Quarantine
0x0A is enter Chat, then after that you send 0x0C to join whatever channel you want and it is optional to send 0x0B to view the channel list.
April 5, 2005, 5:21 PM
UserLoser.
Do you get disconnected and banned?  I'm not sure on this, but you may have to enter chat before requesting a channel listing
April 5, 2005, 5:32 PM
Xenoc1de
Yeah good point, I did get IPBanned for about 5 minutes with that code, I just took out sending SID_GETCHANNELLIST for right now and changed my code to:

[code]
    .InsertNTString Bot.Username
    .InsertNTString vbNullString
    .Send frmMain.WS, SID_ENTERCHAT '0x0A
                   
    .InsertDWORD &H1 '0x01 for First Join
    .InsertNTString Bot.Username 'Channel variable, avoid IPBan
    .Send frmMain.WS, SID_JOINCHANNEL '0x0C
[/code]
April 5, 2005, 5:37 PM
Xenoc1de
After it reaches this point in the logon sequence (testing on starcraft) should it be completely logged in to the account im connecting with

Talking about /whois <username>, showing the username online
April 5, 2005, 5:43 PM

Search