ImaNewb

Member
I am using RunUO and am getting this error when using the completely customizable vendor.

Code:
Errors:
+ Custom/Delphi's Customs/Test/[ServUO.com]-[ServUO.com]-CompletelyCustomizableVendor.cs:
    CS1502: Line 1588: The best overloaded method match for 'Server.Mobile.SendGump(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 1588: Argument 1: cannot convert from 'Server.Gumps.WarningGump' to 'Server.Gumps.Gump'
    CS1502: Line 2105: The best overloaded method match for 'Server.Mobile.SendGump(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 2105: Argument 1: cannot convert from 'Server.Gumps.WarningGump' to 'Server.Gumps.Gump'

Line 1588 is this:
Code:
         m.SendGump(new WarningGump(1060635, 30720,
          "Warning: You will lose all saved items on " + m_Vendor.GetName(), 0xFFC000, 420, 400,
           CopyVendor_Callback, store));

Line 2105 is this:
Code:
         m.SendGump(new WarningGump(1060635, 30720, "Warning: Are you sure you want to remove " + r.Title,
         0xFFC000, 420, 400, DeleteReward_Callback, store));
 
I'm not sure about these errors, but are you using xmlspawner with your runuo? if not I have a no xml version of this that I know works with runuo2.5
 
I'm not sure about these errors, but are you using xmlspawner with your runuo? if not I have a no xml version of this that I know works with runuo2.5
I am using xmlspawner, but I can try it without to see if your version works for me.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back