The second byte (friend type) doesn't have its meaning clarified below. What does it do, and what are its possible values?
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.