Author | Message | Time |
---|---|---|
TriCk | vb6, Okay, after I send packet &HE on the Winsock's Connect... [code] Private Sub sck1_Connect() AddText "Connected to BNLS!" InsertNTString BNLSUsername sendBNLSPacket &HE End Sub [/code] It doesn't go any further, i investigated this, and on sck1_Close i put [code] AddText "Disconnected from BNLS" [/code] And it's disconnecting when it sends the BNLSPacket &HE ... i thought it might have been a wrong password but i tested it and it works on my other bot ... I realised &HE sends the Chr(14) ... then its supposed to send Chr(15) and Chr(13) but it only sends Chr(14) and disconnects... | November 15, 2003, 11:35 PM |
TriCk | Anyone going to help ....? | November 16, 2003, 12:11 AM |
Grok | [quote author=TriCk link=board=17;threadid=3629;start=0#msg29358 date=1068941508] Anyone going to help ....? [/quote] Dude, this isn't a chat room. Don't expect to snap your fingers and get a useful response. | November 16, 2003, 1:08 AM |
TriCk | Sorry Grok its just that i posted that like 4 hrs ago and noone has answered -.- | November 16, 2003, 1:23 AM |
Kp | [quote author=TriCk link=board=17;threadid=3629;start=0#msg29385 date=1068945780] Sorry Grok its just that i posted that like 4 hrs ago and noone has answered -.-[/quote]You waited less than 40 minutes before responding to it the first time. Even now, it's only just been 2 hours since your original request. | November 16, 2003, 1:40 AM |
Dyndrilliac | Hmm, it may not be working because the bot is reading the sent packet as 0xE, which to my knowledge, doesn't exist. The correct packet for BNLS_AUTHORIZE is 0x0E (According to BnetDocs) - which is probably why it disconnects you.[code]Private Sub sck1_Connect() AddText "Connected to BNLS!" InsertNTString BNLSUsername sendBNLSPacket &H0E End Sub[/code]Try that and get back to me. also check your sendBNLSpacket function. Edit: Btw - If im wrong about the above, let me know. | November 16, 2003, 1:51 AM |
Kp | [quote author=Dyndrilliac link=board=17;threadid=3629;start=0#msg29391 date=1068947474] Hmm, it may not be working because the bot is reading the sent packet as 0xE, which to my knowledge, doesn't exist. The correct packet for BNLS_AUTHORIZE is 0x0E (According to BnetDocs) - which is probably why it disconnects you.[code]Private Sub sck1_Connect() AddText "Connected to BNLS!" InsertNTString BNLSUsername sendBNLSPacket &H0E End Sub[/code]Try that and get back to me. also check your sendBNLSpacket function. Edit: Btw - If im wrong about the above, let me know. [/quote]You're wrong. :) The leading zero should have no effect on the number. Whether to write 0xe, 0xE, 0x0e, or 0x0E is entirely a matter of personal style. | November 16, 2003, 3:11 AM |
TriCk | It's ok, it wasnt the packets fault, i simply didnt dim Buffer as String, as i was using buffer to send the packets... :-X >:( | November 16, 2003, 5:36 AM |
Kp | [quote author=TriCk link=board=17;threadid=3629;start=0#msg29436 date=1068960993] It's ok, it wasnt the packets fault, i simply didnt dim Buffer as String, as i was using buffer to send the packets... :-X >:([/quote]Explain? | November 16, 2003, 5:50 AM |
TriCk | Ok.. I forgot to Dim Buffer As String As buffer was sending the info... like Buffer = Buffer & bleh bleh bleh .. Then sends it later -.- | November 16, 2003, 5:56 AM |
Kp | but it seems you won't give a good one anyway. I was hoping it might be informative to others, but nevermind. | November 16, 2003, 4:42 PM |