Jump to content

Plugin Brokenh since New FP Update

Fixed 1.2.13 1.2.14

m3dus4
m3dus4

Posted

ExtractionRareMinerals.cs 768:49 No overload for method 'FindItemsByItemID' takes 1 arguments

Rust Admin

Posted

ExtractionRareMinerals - Failed to compile: No overload for method 'FindItemsByItemID' takes 1 arguments | Line: 768, Pos: 49

m3dus4

Posted

ive fixxed that by myself:

search;
List<Item> foundItems = container.inventory.FindItemsByItemID(itemId);

replace with:
List<Item> foundItems = container.inventory.itemList
    .Where(x => x.info.itemid == itemId)
    .ToList();

Ravensx

Posted

9 hours ago, m3dus4 said:

ive fixxed that by myself:

search;
List<Item> foundItems = container.inventory.FindItemsByItemID(itemId);

replace with:
List<Item> foundItems = container.inventory.itemList
    .Where(x => x.info.itemid == itemId)
    .ToList();

is this in the plug in file itself? Do you know what line it was? were the change needs to be done?

 

m3dus4

Posted

5 hours ago, Ravensx said:

is this in the plug in file itself? Do you know what line it was? were the change needs to be done?

 

its in the cs file just search for 
List<Item> foundItems = container.inventory.FindItemsByItemID(itemId);

and replace irt with:
replace with:
List<Item> foundItems = container.inventory.itemList

DAez

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 1.2.14

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
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.5k
Marketplace sales
Payments
3.3m
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.