yayafan

Member
Hello,
On my server I used CustomizableVendor to sell something inside game with StoneRewardVendor, it worked for long time.
But after I upgrade to latest servuo, this CustomizableVendor script doesn't work anymore.
The server crash with below error:

Time: 2019/6/17 1:52:48
Mobiles: 44423
Items: 232539
Exception:

System.MissingMethodException: 未找到类型“System.CustomCurrency.JewlRewardGump”上的构造函数。
在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
在 System.Activator.CreateInstance(Type type, Object[] args)
在 System.CustomizableVendor.MenuUploader.Display(Type menu, Mobile m, IRewardVendor vendor, Boolean playerView)
在 System.CustomizableVendor.StoneRewardVendor.OnDoubleClick(Mobile m)
在 Server.Mobile.Use(Item item)
在 Server.Engines.XmlSpawner2.XmlAttach.UseReq(NetState state, PacketReader pvSrc)
在 Server.Network.MessagePump.HandleReceive(NetState ns)
在 Server.Network.MessagePump.Slice()
在 Server.Core.Main(String[] args)
 

Attachments

  • [ServUO.com]-CompletelyCustomizableVendor.cs
    109.2 KB · Views: 5
I think I solved the problem:

There are two CustomizableVendor script in the server, after I deleted one, then It's OK, no crash happened again.
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 135 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 91 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 82 Online
    • 105 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 81 Online
    • 190 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 34 Online
    • 85 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 21 Online
    • 172 Peak
  • Arth
    Custom (Modern)
    • Players
    • 20 Online
    • 34 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 17 Online
    • 30 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 17 Online
    • 32 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 16 Online
    • 48 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back