Aight, I got this.
With PBuffer
.InsertDWORD 1
.InsertDWORD 4
.InsertNTString Me.Caption
.InsertNTString "profile\sex"
.InsertNTString "profile\age"
.InsertNTString "profile\location"
.InsertNTString "profile\description"
.InsertNTString txtSex.Text
.InsertNTString txtAge.Text
.InsertNTString txtLocation.Text
.InsertNTString txtDescription.Text
.sendPacket &H27
End With
Everything works fine. I just want to know this, I need to add only the Description and nothing else.
How can I do this?
I've tryed this:
With PBuffer
.InsertDWORD 1
.InsertDWORD 4
.InsertNTString Me.Caption
.InsertNTString "profile\description"
.InsertNTString txtDescription.Text
.sendPacket &H27
End With
'Results in an IP ban
The second DWORD in 0x26 is how many keys you wish to request, in your case, 1.
Private Sub Command5_Click()
With PBuffer
.InsertDWORD 1
.InsertDWORD 1
.InsertNTString Me.Caption
.InsertNTString "profile\description"
.InsertNTString txtDescription.Text
.sendPacket &H27
End With
End Sub
Good shit LoRd. Thx a lot.
Incidentally, storing the username in an object (and retrieving with .caption) isn't the best place, you should have a variable for it. In my opinion, anyway :)
Quote from: iago on April 22, 2004, 11:33 AM
Incidentally, storing the username in an object (and retrieving with .caption) isn't the best place, you should have a variable for it. In my opinion, anyway :)
Very true. What happens if, down the line, you want to say, "Profile Display -- {Name}" ?
Quote from: iago on April 22, 2004, 11:33 AM
Incidentally, storing the username in an object (and retrieving with .caption) isn't the best place, you should have a variable for it. In my opinion, anyway :)
Eh... Not sure wat you're talkin about. How can I store it in a variable?
Quote from: OuTLawZGoSu on April 22, 2004, 08:47 PM
Quote from: iago on April 22, 2004, 11:33 AM
Incidentally, storing the username in an object (and retrieving with .caption) isn't the best place, you should have a variable for it. In my opinion, anyway :)
Eh... Not sure wat you're talkin about. How can I store it in a variable?
Dim x29z4 as String
x29z4 = "S0m3v4lu3"
Be sure to use cryptic variable names like that though, because it's ub3r leet!
Quote from: Eli_1 on April 22, 2004, 09:07 PM
Dim x29z4 as String
x29z4 = "S0m3v4lu3"
Be sure to use cryptic variable names like that though, because it's ub3r leet!
How about:
Quote
Dim Sc33lV_lValVl3 as String
Sc33lV_lValVl3 = "u83rI33t"
?
Hrm, "Screen_Name" didn't quite come out right with code or quote...
Quote from: Myndfyre on April 22, 2004, 09:53 PM
How about:
Dim Sc33lV_lValVl3 as String
Sc33lV_lValVl3 = "u83rI33t"
Typo!
Scl233lV_lValVl3*
Quote from: Eli_1 on April 22, 2004, 09:56 PM
Quote from: Myndfyre on April 22, 2004, 09:53 PM
How about:
Dim Sc33lV_lValVl3 as String
Sc33lV_lValVl3 = "u83rI33t"
Typo!
Scl233lV_lValVl3*
oh of course! I guess I'm just not quite as leet as I thought. :(