Jump to content

Broken after the update + SERIOUS BUG!

Pending 1.3.11

Namsaknoi
Namsaknoi

Posted

Your plugin failed to compile after yesterday's latest Rust update. We fixed it somehow, and the plugin compiled, but all players reported they could not use the portals properly. When they go through a portal, they're stuck. It's something that Facepunch probably changed/adjusted. Here's what we edited in the plugin, and now it's working again.

static Vector3 PORTAL_PLACEMENT_OFFSET = new Vector3(0, 0.19f, 0); changed value from 0.35 to 0.19

Gold Mysterious

Posted

I tried the changed. It didn't work for me at all. You sure you didn't change anything eles?

DeutscherRitterPlatz

Posted

@Gold Mysterious
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);

  • Love 1
BenDer

Posted

2 hours ago, DeutscherRitterPlatz said:

@Gold Mysterious
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);

Dude, thank you very much!!!

shturval

Posted

(21:37:32) | 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

3 hours ago, shturval said:

(21:37:32) | 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

Take a look further up; you’ll find a solution to the problem there!
Although it’s not really our responsibility to fix the plugin, at the moment, we don’t have any other option – the developer is unfortunately unavailable right now. However, the community has provided a temporary solution.
Try it out, and you should be able to use the plugin again.

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.