• Welcome to Valhalla Legends Archive.
 

Profile Help

Started by OuTLawZGoSu, April 21, 2004, 09:32 PM

Previous topic - Next topic

OuTLawZGoSu

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



Eric

The second DWORD in 0x26 is how many keys you wish to request, in your case, 1.

OuTLawZGoSu

#2

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.

iago

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 :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


MyndFyre

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}" ?
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.

OuTLawZGoSu

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?

Eli_1

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!

MyndFyre

#7
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...
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.

Eli_1

Quote from: Myndfyre on April 22, 2004, 09:53 PM
How about:
Dim Sc33lV_lValVl3 as String
Sc33lV_lValVl3 = "u83rI33t"
Typo!
Scl233lV_lValVl3*

MyndFyre

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. :(
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.