• Welcome to Valhalla Legends Archive.
 

Away & Friend

Started by Insecure, May 11, 2004, 01:27 PM

Previous topic - Next topic

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?

hismajesty

Send 0x65 then parse what bnet sends you in return.

ChR0NiC

Yeah, that would work, but unfortunately you do not receive FriendList packets informing you of current friend updates unless on WAR3 or W3XP.

Insecure

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

ChR0NiC

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

tA-Kane

Quote from: Insecure on May 11, 2004, 01:27 PMcould I send the packet 0x4 and it will mark me away correct?
???
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

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.

MyndFyre

Quote from: ChR0NiC on May 11, 2004, 01:32 PM
Yeah, that would work, but unfortunately you do not receive FriendList packets informing you of current friend updates unless on WAR3 or W3XP.

I do, provided I send 0x65.
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.

ChR0NiC

Quote from: ChR0NiC on May 11, 2004, 01:32 PM
Yeah, that would work, but unfortunately you do not receive FriendList packets informing you of current friend updates unless on WAR3 or W3XP.

Quote from: Myndfyre on May 14, 2004, 10:23 PM
I do, provided I send 0x65.

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?

CrAz3D

While logged on StarCraft: Brood War@USEast I sent 0x65 & I received my friend list in 0x65
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

ChR0NiC

Quote from: CrAz3D on May 15, 2004, 02:10 PM
While logged on StarCraft: Brood War@USEast I sent 0x65 & I received my friend list in 0x65

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 from: Skywing on March 10, 2004, 10:40 PM
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.

Insecure