Valhalla Legends Forums Archive | Battle.net Bot Development | Away & Friend

AuthorMessageTime
InSeCuRe
Not to sound like a complet n00b but I have a quick question. If I wanted to do a /f l monitor (like on vindi) I could just send the packet 0x65 and then take the information that battle.net sends me and then just put it in a list correct?

Or am I a little confused?

Just like away...could I send the packet 0x4 and it will mark me away (as long as I have a string after it telling battle.net how to mark me away correct?
May 11, 2004, 6:27 PM
hismajesty
Send 0x65 then parse what bnet sends you in return.
May 11, 2004, 6:32 PM
ChR0NiC
Yeah, that would work, but unfortunately you do not receive FriendList packets informing you of current friend updates unless on WAR3 or W3XP.
May 11, 2004, 6:32 PM
InSeCuRe
Is there away to do this on sc//bw//wc2?

[EDIT] Besides a simple /f l and then phrasing it somewhere else? Because that takes up queue time I am sure and that would suck if you need it somewhere else granted its only probably onces every 25 seconds.
May 11, 2004, 6:35 PM
ChR0NiC
Other than making sure you are mutual with all your friends, so you receive the updates from them, and then screening the message for key words such as entered game or entered battle.net, exited battle.net and of course Your friend "name" by using Instr. This is probably the closest you can get on D2, W2, BW.

If I am wrong, which I am somewhat doubtful of, please somebody correct me.
May 11, 2004, 6:38 PM
tA-Kane
[quote author=Insecure link=board=17;threadid=6756;start=0#msg59585 date=1084300054]could I send the packet 0x4 and it will mark me away correct?[/quote] ???
May 12, 2004, 1:30 AM
R.a.B.B.i.T
Or, you could load up your bot from your source, and tell it to send 0x65 at a point, log the data, and then go from there.
May 14, 2004, 10:44 PM
Myndfyr
[quote author=ChR0NiC link=board=17;threadid=6756;start=0#msg59591 date=1084300378]
Yeah, that would work, but unfortunately you do not receive FriendList packets informing you of current friend updates unless on WAR3 or W3XP.
[/quote]

I do, provided I send 0x65.
May 15, 2004, 3:23 AM
ChR0NiC
[quote author=ChR0NiC link=board=17;threadid=6756;start=0#msg59591 date=1084300378]
Yeah, that would work, but unfortunately you do not receive FriendList packets informing you of current friend updates unless on WAR3 or W3XP.
[/quote]

[quote author=Myndfyre link=board=17;threadid=6756;start=0#msg60196 date=1084591434]
I do, provided I send 0x65.
[/quote]

Do you receive the notifications via Packets 0x66, 0x67, 0x68, 0x69? Or are they notifications such as <From : Friend> Your friend has entered the game: Blah?
May 15, 2004, 7:05 PM
CrAz3D
While logged on StarCraft: Brood War@USEast I sent 0x65 & I received my friend list in 0x65
May 15, 2004, 7:10 PM
ChR0NiC
[quote author=CrAz3D link=board=17;threadid=6756;start=0#msg60260 date=1084648211]
While logged on StarCraft: Brood War@USEast I sent 0x65 & I received my friend list in 0x65
[/quote]

Regardless of what client you are on, sending 0x65 will always get a response, it's the related packets I am referring to that you will not receive.

[quote author=Skywing link=board=17;threadid=5707;start=15#msg48885 date=1078980038]
There is none. Starcraft doesn't (and probably will never) support this functionality natively in the UI, so there isn't fully-working support for the "programmatic" friends management that Warcraft III has.
[/quote]
May 15, 2004, 7:41 PM
InSeCuRe
Thank you guys
May 16, 2004, 5:44 AM

Search