Jump to content

Update needed

Pending 1.1.1

puddingking130
puddingking130

Posted

Hello, after the Rust update today the plugin wont load

 

Error while compiling OGSplitter: 'PlayerInventory' does not contain a definition for 'FindItemIDs' and no accessible extension method 'FindItemIDs' accepting a first argument of type 'PlayerInventory' could be found (are you missing a using directive or an assembly reference?) | Line: 288, Pos: 58

Light Hammer

Posted

I too am getting this error, please don't bail on this plugin whispers...your help is sorely needed

Omega

Posted

Fixed

in cs file find line 

 

List<Item> playerFuel = player.inventory.FindItemIDs(oven.fuelType.itemid);




and replace with

 

List<Item> playerFuel = player.inventory.FindItemsByItemID(oven.fuelType.itemid);

 

Light Hammer

Posted

On 9/23/2023 at 1:24 AM, Omega said:

Fixed

in cs file find line 

 

List<Item> playerFuel = player.inventory.FindItemIDs(oven.fuelType.itemid);




and replace with

 

List<Item> playerFuel = player.inventory.FindItemsByItemID(oven.fuelType.itemid);

 

Unfortunately, this no longer works for me and I now get this in console

CACCA009-8428-4D95-9481-6AB12B184288.png.d68aaab3a7083a84f0b8fdb516de1d76.png

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.7k
Customers served
Files Sold
155.1k
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.