CustomizableVendor StoneRewardVendor doen't work with latest Servuo

yayafan

Well-Known Member
Oct 25, 2015
77
0
39
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

yayafan

Well-Known Member
Oct 25, 2015
77
0
39
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.