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

AuthorMessageTime
eXShadow
Hey when i try to send
[code]
With pBuffer
.InsertDWORD 1
.InsertDWORD 4
.InsertNTString varUser
.InsertNTString "profile\sex"
.InsertNTString "profile\age"
.InsertNTString "profile\location"
.InsertNTString "profile\description"
.InsertNTString varUser & " ŻŻŻ"
.SendPacket &H27
End With
[/code]

i get ipbanned, i know this has been discussed and i searched the forums but couldnt find it :(
Which dword do i need to change and to what?

Thanks
May 2, 2004, 12:27 PM
hismajesty
It's formed incorrectly.

(from bnetdocs)
[quote](DWORD)       Number of Accounts
(DWORD)       Number of Keys
(DWORD)       Request ID
(STRING[])    Requested Accounts
(STRING[])    Requested Keys[/quote]

Also:You're requesting an invalid number of keys, you're not inserting the request ID, and you're sending the wrong packet. Also, what is this for? [code] .InsertNTString varUser & " ŻŻŻ"[/code] I see no reason why you need to have that there, it should be null.

Edit: Maybe I misunderstood your question. Are you trying to request a profile, or write your own?
May 2, 2004, 12:39 PM
eXShadow
sorry maybe you did misunderstand, im trying to write my own profile.
[code]
.InsertNTString varUser & " ŻŻŻ"
[/code]
is what should be written to sex.

when using the following it works completely fine:
[code]
With pBuffer
.InsertDWORD 1
.InsertDWORD 4
.InsertNTString varUser
.InsertNTString "profile\sex"
.InsertNTString "profile\age"
.InsertNTString "profile\location"
.InsertNTString "profile\description"
.InsertNTString ">SeX< ŻŻŻŻŻ"
.InsertNTString "AGE"
.InsertNTString " ~>LOCATION<~"
.InsertNTString " ~> DESCRIPTION<~
.SendPacket &H27
End With
[/code]
that works fine, it overwrites the profile with the new info without any problems, but i only want it to write to the sex field.
May 2, 2004, 12:46 PM
hismajesty
Ah, ok that explains it. Well, if you only want to write one field, why are you saying you're going to write 4?

[code]With pbuffer
.InsertDWORD 1
.InsertDWORD 1
.InsertNTString varUser
.InsertNTString "profile\sex"
.InsertNTString varUser & " ŻŻŻ"
.sendPacket &H27
End With[/code]

Edit: forgot code tags
Edit2: What's the purpose of writing the username and a line into the sex field? Not to mention only writing the sex field.
May 2, 2004, 12:52 PM
GoSuGaMING
[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
unload me
[/code]
May 2, 2004, 1:24 PM
eXShadow
I wanted this code because i want it to write the bot version to the sex field. was only using varUser as example :P
May 2, 2004, 2:05 PM
Fr0z3N
[quote author=hismajesty link=board=17;threadid=6615;start=0#msg58061 date=1083502342]
Ah, ok that explains it. Well, if you only want to write one field, why are you saying you're going to write 4?

[code]With pbuffer
.InsertDWORD 1
.InsertDWORD 1
.InsertNTString varUser
.InsertNTString "profile\sex"
.InsertNTString varUser & " ŻŻŻ"
.sendPacket &H27
End With[/code]

Edit: forgot code tags
Edit2: What's the purpose of writing the username and a line into the sex field? Not to mention only writing the sex field.
[/quote]

eXShadow, that will work. Just ignore Gosugaming.
May 2, 2004, 2:07 PM
hismajesty
[quote author=eXShadow link=board=17;threadid=6615;start=0#msg58074 date=1083506700]
I wanted this code because i want it to write the bot version to the sex field. was only using varUser as example :P
[/quote]

ah, k. So, you've gotten it all fixed no?
May 2, 2004, 2:08 PM
eXShadow
yep its all working.

just another quick question, i made a small graphic and saved it as an ico file but itwont allow me to use it as an icon for the form? What do i need to do to make it accept it, size maybe?
May 2, 2004, 2:44 PM
Fr0z3N
it has to be .ico, I'm not sure about the size but it must be a .ico file
May 2, 2004, 3:46 PM
BaDDBLooD
it's 16 x 16
May 2, 2004, 3:51 PM
LordNevar
Mine is 32x32 and I have no problems with it, I think 48x48 is max size anyway's so I don't see why size should be an issue.
May 2, 2004, 5:03 PM
Newby
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58097 date=1083517425]
Mine is 32x32 and I have no problems with it, I think 48x48 is max size anyway's so I don't see why size should be an issue.
[/quote]
*giggles*

I use a very large icon. And it still works. It's 91x96 and it works perfectly.
May 2, 2004, 5:12 PM
Forged
http://download.com.com/3120-20-0.html?qt=Digitope+Pixelshop&tg=dl-2001&search.x=23&search.y=12


Thats what I use works fine for me.
May 2, 2004, 5:21 PM
Spht
[quote author=Newby link=board=17;threadid=6615;start=0#msg58098 date=1083517954]
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58097 date=1083517425]
Mine is 32x32 and I have no problems with it, I think 48x48 is max size anyway's so I don't see why size should be an issue.
[/quote]
*giggles*

I use a very large icon. And it still works. It's 91x96 and it works perfectly.
[/quote]

A single icon file can hold multiple icons with different dimentions. My WebBot icon contains a 16x16 icon (for control box, system tray, "small icon" explorer view), a 32x32 icon (for "large icon" explorer view), and a 48x48 icon (for "use large icons" explorer view).
May 2, 2004, 5:58 PM
LordNevar
[quote author=Newby link=board=17;threadid=6615;start=0#msg58098 date=1083517954]
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58097 date=1083517425]
Mine is 32x32 and I have no problems with it, I think 48x48 is max size anyway's so I don't see why size should be an issue.
[/quote]
*giggles*

I use a very large icon. And it still works. It's 91x96 and it works perfectly.
[/quote]

I stand corrected, wasn't sure of max icon size.
May 2, 2004, 9:47 PM
BaDDBLooD
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58142 date=1083534462]
[quote author=Newby link=board=17;threadid=6615;start=0#msg58098 date=1083517954]
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58097 date=1083517425]
Mine is 32x32 and I have no problems with it, I think 48x48 is max size anyway's so I don't see why size should be an issue.
[/quote]
*giggles*

I use a very large icon. And it still works. It's 91x96 and it works perfectly.
[/quote]

I stand corrected, wasn't sure of max icon size.
[/quote]

91 x 96? Holy Flying Monkey Horde(s) that is a big icon
May 2, 2004, 10:31 PM
Tuberload
[quote author=BaDDBLooD link=board=17;threadid=6615;start=15#msg58150 date=1083537067]
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58142 date=1083534462]
[quote author=Newby link=board=17;threadid=6615;start=0#msg58098 date=1083517954]
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58097 date=1083517425]
Mine is 32x32 and I have no problems with it, I think 48x48 is max size anyway's so I don't see why size should be an issue.
[/quote]
*giggles*

I use a very large icon. And it still works. It's 91x96 and it works perfectly.
[/quote]

I stand corrected, wasn't sure of max icon size.
[/quote]

91 x 96? Holy Flying Monkey Horde(s) that is a big icon
[/quote]

So we get to choose whether it's a horde or hordes of holy flying monkeys?
May 3, 2004, 5:59 AM
Zakath
To adapt Moonshine's signature phrase...

"Well sir, we just happen to HAVE an infinite number of holy flying monkeys!"
May 3, 2004, 2:09 PM
BaDDBLooD
[quote author=Tuberload link=board=17;threadid=6615;start=15#msg58235 date=1083563970]
[quote author=BaDDBLooD link=board=17;threadid=6615;start=15#msg58150 date=1083537067]
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58142 date=1083534462]
[quote author=Newby link=board=17;threadid=6615;start=0#msg58098 date=1083517954]
[quote author=LordNevar link=board=17;threadid=6615;start=15#msg58097 date=1083517425]
Mine is 32x32 and I have no problems with it, I think 48x48 is max size anyway's so I don't see why size should be an issue.
[/quote]
*giggles*

I use a very large icon. And it still works. It's 91x96 and it works perfectly.
[/quote]

I stand corrected, wasn't sure of max icon size.
[/quote]

91 x 96? Holy Flying Monkey Horde(s) that is a big icon
[/quote]

So we get to choose whether it's a horde or hordes of holy flying monkeys?
[/quote]

of course :)
May 3, 2004, 8:21 PM

Search