Valhalla Legends Forums Archive | Battle.net Bot Development | Profile Help

AuthorMessageTime
OuTLawZGoSu
Aight, I got this.
[code]
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
[/code]

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:

[code]
With PBuffer
.InsertDWORD 1
.InsertDWORD 4
.InsertNTString Me.Caption
.InsertNTString "profile\description"
.InsertNTString txtDescription.Text
.sendPacket &H27
End With

'Results in an IP ban
[/code]

April 22, 2004, 2:32 AM
LoRd
The second DWORD in 0x26 is how many keys you wish to request, in your case, 1.
April 22, 2004, 2:42 AM
OuTLawZGoSu
[code]
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
[/code]

Good shit LoRd. Thx a lot.
April 22, 2004, 2:59 AM
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 :)
April 22, 2004, 4:33 PM
Myndfyr
[quote author=iago link=board=17;threadid=6418;start=0#msg56322 date=1082651586]
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]

Very true. What happens if, down the line, you want to say, "Profile Display -- {Name}" ?
April 22, 2004, 11:15 PM
OuTLawZGoSu
[quote author=iago link=board=17;threadid=6418;start=0#msg56322 date=1082651586]
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]

Eh... Not sure wat you're talkin about. How can I store it in a variable?
April 23, 2004, 1:47 AM
Eli_1
[quote author=OuTLawZGoSu link=board=17;threadid=6418;start=0#msg56387 date=1082684841]
[quote author=iago link=board=17;threadid=6418;start=0#msg56322 date=1082651586]
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]

Eh... Not sure wat you're talkin about. How can I store it in a variable?
[/quote]
[code]Dim x29z4 as String
x29z4 = "S0m3v4lu3"
[/code]
Be sure to use cryptic variable names like that though, because it's ub3r leet!
April 23, 2004, 2:07 AM
Myndfyr
[quote author=Eli_1 link=board=17;threadid=6418;start=0#msg56390 date=1082686068]
[code]Dim x29z4 as String
x29z4 = "S0m3v4lu3"
[/code]
Be sure to use cryptic variable names like that though, because it's ub3r leet!
[/quote]

How about:
[quote]
Dim Sc33lV_lValVl3 as String
Sc33lV_lValVl3 = "u83rI33t"
[/quote]
?

Hrm, "Screen_Name" didn't quite come out right with code or quote...
April 23, 2004, 2:53 AM
Eli_1
[quote author=Myndfyre link=board=17;threadid=6418;start=0#msg56407 date=1082688832]
How about:
Dim Sc33lV_lValVl3 as String
Sc33lV_lValVl3 = "u83rI33t"
[/quote]
Typo!
Scl233lV_lValVl3*
April 23, 2004, 2:56 AM
Myndfyr
[quote author=Eli_1 link=board=17;threadid=6418;start=0#msg56409 date=1082689016]
[quote author=Myndfyre link=board=17;threadid=6418;start=0#msg56407 date=1082688832]
How about:
Dim Sc33lV_lValVl3 as String
Sc33lV_lValVl3 = "u83rI33t"
[/quote]
Typo!
Scl233lV_lValVl3*
[/quote]

oh of course! I guess I'm just not quite as leet as I thought. :(
April 23, 2004, 4:12 AM

Search