Jump to content

Plugin Brokenh since New FP Update

Fixed 1.2.13 1.2.14

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();

  • Love 1
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

1.9m

Downloads

Total number of downloads.

9k

Customers

Total customers served.

131.7k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • 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.