protected override void OnTarget(Mobile from, object targeted)
        {
            try
            {
                m_Callback.DynamicInvoke(new object[] { from, targeted });
            }
            catch
            {
//				Console.WriteLine( "The auction system cannot access the cliloc.enu file. Please review the system instructions for proper installation" );
                if (targeted != null)
                {
//					from.SendMessage ("target ! null");
                    if (targeted is Item)
                    {
                        ((Item)targeted).Visible = true;
                        from.SendGump(new AuctionWontAcceptNoticeGump(from));
                    }
                    else
                    {
                        from.SendGump(new NoticeGump(1060637, 30720, "Please let a GM know - Aution Target Else.", 0xFFC000, 320, 240, null, null));
                    }
                }
                else
                {
                    from.SendMessage("targeted was null");
                }
            }
        }
Exemple #2
0
 protected override void OnTarget(Mobile from, object targeted)
 {
     try
     {
         m_Callback.DynamicInvoke(new object[] { from, targeted });
     }
     catch
     {
         Console.WriteLine("The auction system cannot access the cliloc.enu file. Please review the system instructions for proper installation");
     }
 }