Equipment Viewing Issue

01/23/2016 03:09 InsomniacPro#1
Good day all,

So it's been a long while since I've been into CO. But I decided to work on my Insomnia5017 source, based off of CSV2, from a while back just to pass the time. An issue I've come across is viewing other players equipment. So whenever its called to view equipment, I take the iteminformation packet, and instantiate it using the information from each article of equipment I am wearing. The only thing I change is the subtype, which is 4 for view equip, then the UID is changed to the target player's UID. Then of course the string packet for the spouse and whatnot. And when I go to view the equipment, everything is blank, but the spouse is showing up so I know my string packet is correct. I was thinking the iteminfo packet may be incorrect, but it works well in every other instance of using it. Anyone have any idea what I may be doing incorrect, or that I may be missing??

Code

Screenshots of in game, and breakpoint with variable values.
01/24/2016 05:28 InsomniacPro#2
Bumping it up inhere,
01/24/2016 06:02 pro4never#3
not to be a douche but didnt i already send you a working 5017 example?

Code:
            var packet = new ItemInformationPacket();
            packet.UniqueID = _owner;
            packet.StaticID = _item.StaticID;
            packet.Durability = _item.Durability;
            packet.MaximumDurability = _item.MaximumDurability;
            packet.Action = ItemInfoAction.OtherPlayerEquipment;
            packet.Location = _item.Location;
            packet.Gem1 = _item.Gem1;
            packet.Gem2 = _item.Gem2;
            packet.Magic1 = _item.Effect;
            packet.Plus = _item.Plus;
            packet.Bless = _item.Bless;
            packet.Enchant = _item.Enchant;
            packet.Locked = _item.Locked;
            packet.SpecialEffect = _item.SpecialEffect;
            return packet;
Code:
    public enum ItemInfoAction : byte
    {
        None = 0,
        AddItem,
        Trade,
        Update,
        OtherPlayerEquipment,
        Auction
    }
It's messy but I can guarantee it's functioning.
01/24/2016 08:50 InsomniacPro#4
Pro,

That's pretty much exactly the same.
viewClient.Equipment[p].Data is the actual packet for the iteminformation.

temp is an exact replica of the information,
then I modify the subtype and the UID. It's all the same, different layout.