• Welcome to Valhalla Legends Archive.
 

Why am i getting these packets back

Started by FrostWraith, April 05, 2006, 01:03 AM

Previous topic - Next topic

FrostWraith

Ok so I'm new and I've never done this before. But after i send &H1 and &H50 i get &H37 and &H80 back. ?!?!? Did i send something wrong before?


Private Sub Command1_Click()
wskBNET.SendData Chr(&H1)
Call Send0x50
End Sub

Public Sub Send0x50()
    buff.InsertDWORD &H0
    buff.InsertDWORD IX86
    buff.InsertDWORD STAR
    buff.InsertDWORD &H1
    buff.InsertDWORD &H0
    buff.InsertDWORD &H0
    buff.InsertDWORD &H0
    buff.InsertDWORD &H0
    buff.InsertDWORD &H0
    buff.InsertNTString "USA"
    buff.InsertNTString "United States"
    buff.SendPacket &H50
End Sub


The variables are correct i hope
Public Const IX86            As Long = &H49583836
Public Const STAR            As Long = &H53544152


MyndFyre

Quote from: FrostWraith on April 05, 2006, 01:03 AM
Ok so I'm new and I've never done this before. But after i send &H1 and &H50 i get &H37 and &H80 back. ?!?!? Did i send something wrong before?
I'll bet you're confusing hex and decimal.  0x50 (or in VB terms, &H50) is 80 in base 10 and 0x25 (or &H25) is 37 in base 10.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

FrostWraith


l2k-Shadow

i hope you realize your verbyte is incorrect, for STAR/SEXP it is 0xCF not 0x01.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

MyndFyre

Quote from: l2k-Shadow on April 05, 2006, 01:12 AM
i hope you realize your verbyte is incorrect, for STAR/SEXP it is 0xCF not 0x01.

He'd've realized it as soon as he got "Invalid version" back.  ;)
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Hdx

Quote from: l2k-Shadow on April 05, 2006, 01:12 AM
i hope you realize your verbyte is incorrect, for STAR/SEXP it is 0xCF not 0x01.
0xCD not 0xCF
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status