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

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.9k
Customers served
Files Sold
157k
Marketplace sales
Payments
3.4m
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.