Jump to content

Failed to compile

Pending 1.3.11

beetle
beetle

Posted

CustomPortals - Failed to compile: 'PlayerInventory' does not contain a definition for 'AllItemsNoAlloc' and no accessible extension method 'AllItemsNoAlloc' accepting a first argument of type 'PlayerInventory' could be found (are you missing a using directive or an assembly reference?) | Line: 481, Pos: 50

Noopy

Posted

Seems to be broken with the new wipe 

HAVOC805

Posted

Same issue here

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

The Bros

Posted

Same problem... Why are FREE plugins more reliable than paid ones?

  • Haha 1
DeutscherRitterPlatz

Posted

Possible provisional fix: Simply comment out lines 478-505.
Add /* at line 478 and */ at line 505. The plugin should load again, but you won't be able to use items.

Gold Mysterious

Posted

14 hours ago, The Bros said:

Same problem... Why are FREE plugins more reliable than paid ones?

So true in many ways. Free get updated quicker than those that are paid for.

The Bros

Posted

Confirm: Working


"Possible provisional fix: Simply comment out lines 478-505.
Add /* at line 478 and */ at line 505. The plugin should load again, but you won't be able to use items."

 

Thank you @DeutscherRitterPlatz

DeutscherRitterPlatz

Posted

For anyone experiencing issues with the plugin, user @FouDuGame360 has posted a more effective solution for both problems!

Error: Error while compiling CustomPortals: 'PlayerInventory' does not contain a definition for 'AllItemsNoAlloc' and no accessible extension method 'AllItemsNoAlloc' accepting a first argument of type 'PlayerInventory' could be found (are you missing a using directive or an assembly reference?) | Line: 461, Pos: 50
Fix: line 482: player.inventory.AllItemsNoAlloc(ref playerItems); => player.inventory.GetAllItems(playerItems);

Error: Players seem to get stuck in the floor.
Fix: line 76: static Vector3 PORTAL_PLACEMENT_OFFSET = new Vector3(0, 0.35f, 0); => static Vector3 PORTAL_PLACEMENT_OFFSET = new Vector3(0, 0.10f, 0);

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.