Valhalla Legends Forums Archive | Battle.net Bot Development | User like Moniter

AuthorMessageTime
Networks
How could I make a user moniter or somthing similar without having to send /whois <username> every 5 seconds. How can this be done?
April 28, 2004, 6:41 PM
Myndfyr
[quote author=Networks link=board=17;threadid=6522;start=0#msg57285 date=1083177710]
How could I make a user moniter or somthing similar without having to send /whois <username> every 5 seconds. How can this be done?
[/quote]

Your user monitor could be up to 25 people by using binary friends.
April 28, 2004, 7:23 PM
Eli_1
[quote author=Myndfyre link=board=17;threadid=6522;start=0#msg57304 date=1083180192]
[quote author=Networks link=board=17;threadid=6522;start=0#msg57285 date=1083177710]
How could I make a user moniter or somthing similar without having to send /whois <username> every 5 seconds. How can this be done?
[/quote]

Your user monitor could be up to 25 people by using binary friends.
[/quote]
And depending on exactly what you want to do with this, those 25 people may need to be mutual friends.
April 28, 2004, 7:26 PM
Networks
I just want to figure a way to have the program alert when a user is on.
April 29, 2004, 6:07 PM
LoRd
[quote author=Networks link=board=17;threadid=6522;start=0#msg57579 date=1083262054]
I just want to figure a way to have the program alert when a user is on.
[/quote]
When you receive "Your friend <account> has entered Battle.net." announce it.
April 29, 2004, 6:16 PM
Eli_1
And if the users you're looking for aren't mutual friends, you'll have to send "/f l" every once in a while, then parse the usernames and info from that.
April 29, 2004, 6:29 PM
Myndfyr
[quote author=Eli_1 link=board=17;threadid=6522;start=0#msg57581 date=1083263382]
And if the users you're looking for aren't mutual friends, you'll have to send "/f l" every once in a while, then parse the usernames and info from that.
[/quote]

By using Binary Friends (0x65), your friends list is updated whether or not you are mutual friends. It doesn't tell you the location (if the Mutual flag isn't set), but it does tell you when that user has signed on or offline.
April 29, 2004, 11:48 PM
Maddox
I think the point of the user monitor is that it can hold more than 25 friends.

Can the binary friendslist packets be used by non-war3 clients?
April 30, 2004, 12:41 AM
LoRd
[quote author=Maddox link=board=17;threadid=6522;start=0#msg57683 date=1083285684]
Can the binary friendslist packets be used by non-war3 clients?
[/quote]
Yes.
April 30, 2004, 5:15 AM

Search