1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Completely Customizable Vendor Error

Discussion in 'Script Support' started by Aschnyder26, Oct 11, 2018.

  1. Aschnyder26
    Offline

    Aschnyder26 Member

    Joined:
    Jul 6, 2016
    Messages:
    248
    Likes Received:
    13
    I am using RunUO and am getting this error when using the completely customizable vendor.

    Code (C#):
    1.  
    2. Errors:
    3. + Custom/Delphi's Customs/Test/[ServUO.com]-[ServUO.com]-CompletelyCustomizableVendor.cs:
    4.    CS1502: Line 1588: The best overloaded method match for 'Server.Mobile.SendGump(Server.Gumps.Gump)' has some invalid arguments
    5.    CS1503: Line 1588: Argument 1: cannot convert from 'Server.Gumps.WarningGump' to 'Server.Gumps.Gump'
    6.    CS1502: Line 2105: The best overloaded method match for 'Server.Mobile.SendGump(Server.Gumps.Gump)' has some invalid arguments
    7.    CS1503: Line 2105: Argument 1: cannot convert from 'Server.Gumps.WarningGump' to 'Server.Gumps.Gump'
    8.  
    Line 1588 is this:
    Code (C#):
    1.  
    2.          m.SendGump(new WarningGump(1060635, 30720,
    3.           "Warning: You will lose all saved items on " + m_Vendor.GetName(), 0xFFC000, 420, 400,
    4.            CopyVendor_Callback, store));
    5.  
    Line 2105 is this:
    Code (C#):
    1.  
    2.          m.SendGump(new WarningGump(1060635, 30720, "Warning: Are you sure you want to remove " + r.Title,
    3.          0xFFC000, 420, 400, DeleteReward_Callback, store));
    4.  
     
  2. manwitch
    Offline

    manwitch Member

    Joined:
    Jul 13, 2017
    Messages:
    116
    Likes Received:
    3
    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
     
  3. Aschnyder26
    Offline

    Aschnyder26 Member

    Joined:
    Jul 6, 2016
    Messages:
    248
    Likes Received:
    13
    I am using xmlspawner, but I can try it without to see if your version works for me.
     
  4. manwitch
    Offline

    manwitch Member

    Joined:
    Jul 13, 2017
    Messages:
    116
    Likes Received:
    3
    Here you go! :)
     

    Attached Files:

  5. Aschnyder26
    Offline

    Aschnyder26 Member

    Joined:
    Jul 6, 2016
    Messages:
    248
    Likes Received:
    13
    I still get the same error without xml so at least we know its not caused by XMLSpawner LOL thank you for sharing that script!
     
    • No Problem! No Problem! x 1
  6. zerodowned
    Offline

    Moderator ServUO Developer

    Joined:
    Jun 28, 2014
    Messages:
    1,720
    Likes Received:
    196
Similar Threads: Completely Customizable
Forum Title Date
Script Support Completely Customizable Vendor Nov 9, 2017
Custom Releases The Completely Customizable Vendor - .NET 4.0 and Cleaned Up Dec 25, 2014
Script Support Looking to disable taming completely? May 3, 2018
Looking For Help Completely Custom Shard - Hiring Staff Nov 29, 2014
Script Support Questions about levelable/customizable weapons Oct 10, 2017
General Discussion Customizable House Plots Oct 1, 2017
Archived Bug Reports Customizable areas (house system) Feb 25, 2017