Jump to content

Broken as of latest FP Update(October)

Work in Progress 1.5.1

Fusion 3.64
Fusion 3.64

Posted

Error while compiling StaticTrader: Delegate 'Action<Item, bool, BasePlayer>' does not take 2 arguments | Line: 1404, Pos: 55

 

Thanks

Wild Shadow

Posted

Error while compiling StaticTrader: Delegate 'Action<Item, bool, BasePlayer>' does not take 2 arguments | Line: 1404, Pos: 55

Rust Admin

Posted

I think I found a fix - untested to functionality, but now it compiles.
we really need to have better support for this plugin.  waiting days after each wipe for a critical function of my server really sucks.


find these lines:

ShopFront.customerInventory.onItemAddedRemoved += (item, b) => { if (b) item.OnDirty += ResetTrade; else item.OnDirty -= ResetTrade; };
ShopFront.vendorInventory.onItemAddedRemoved += (item, b) => { if (b) item.OnDirty += ResetTrade; else item.OnDirty -= ResetTrade; };

and change them to this:

ShopFront.customerInventory.onItemAddedRemoved += (item, b, player) => { if (b) item.OnDirty += ResetTrade; else item.OnDirty -= ResetTrade; };
ShopFront.vendorInventory.onItemAddedRemoved += (item, b, player) => { if (b) item.OnDirty += ResetTrade; else item.OnDirty -= ResetTrade; };

 

  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Pending to Work in Progress

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
173.2k
Total sales
Payments
3.8m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.