private void ExecuteHandler(ClientSession session) { if (Type == 6) { if (MateVNum.HasValue) { Mate mate = session.CurrentMapInstance.Sessions .FirstOrDefault(s => s.Character?.Mates != null && s.Character.Mates.Any(o => o.MateTransportId == MateVNum.Value))?.Character .Mates.Find(o => o.MateTransportId == MateVNum.Value); session.SendPacket(mate?.GenerateEInfo()); } } else if (Type == 5) { NpcMonster npc = ServerManager.GetNpcMonster((short)TargetVNum); if (npc != null) { session.SendPacket(npc.GenerateEInfo()); } } else if (Type == 12) { ItemInstance inv = session.Character.Inventory.LoadBySlotAndType((short)TargetVNum, InventoryType.Equipment); if (inv != null) { if (inv.BoundCharacterId == null) { session.SendPacket($"r_info {inv.ItemVNum} 0 0"); } else if (inv.BoundCharacterId == session.Character.CharacterId) { session.SendPacket($"r_info {inv.ItemVNum} 1 0"); } else { session.SendPacket($"r_info {inv.ItemVNum} 2 0"); } } } else { session.SendPacket(ServerManager.Instance.GetSessionByCharacterId(TargetVNum)?.Character ?.GenerateReqInfo()); } }