Jump to content

Plugin installation error. Please fix the latest hook version

Pending 1.3.11

Tnyrio22
Tnyrio22

Posted

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

DeutscherRitterPlatz

Posted (edited)

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

Edited by DeutscherRitterPlatz
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.