• Welcome to Valhalla Legends Archive.
 

SID_FRIENDSUPDATE

Started by Joe[x86], November 29, 2005, 09:43 PM

Previous topic - Next topic

Joe[x86]

The second byte (friend type) doesn't have its meaning clarified below. What does it do, and what are its possible values?
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

MyndFyre

This is from ArmaBot 0.9:

internal void OnUpdate(IncomingPacketStream ips)
{
_flags = (FriendFlags)ips.ReadByte();
_loc = (FriendLocation)ips.ReadByte();
string strName = ips.ReadNonNTString();
_prod = _loc != FriendLocation.Offline ? Product.GetByID(strName) : Product.Unknown;
_chan = ips.ReadNTString();
if (_chan == null)
_chan = String.Empty;

if (this.Updated != null)
Updated(this);
}

So it seems like Friend Type (the second byte) is actually current location.
Quote
0x00: Offline
0x01: Not in chat
0x02: In chat
0x03: In a public game
0x05: In a private game
I will update this.
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.