• Welcome to Valhalla Legends Archive.
 

SID_LOGONRESPONSE2

Started by Xenoc1de, April 05, 2005, 12:17 PM

Previous topic - Next topic

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


     .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

Warrior

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.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

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

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:


     .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

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