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

  • Like 1
  • 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.

wolvern9

Posted

why cant the DEV fix this? I didn't purchase it so I could fix or or rework it

DeutscherRitterPlatz

Posted

59 minutes ago, wolvern9 said:

why cant the DEV fix this? I didn't purchase it so I could fix or or rework it

Since the developer hasn’t been online for weeks, something might have happened — we just don’t know. For this reason, other users have already suggested possible solutions. Maybe @Cobalt Studios will eventually fix the plugin.

I completely understand that some of you have little experience with .cs. I’d be glad to help, but due to license restrictions, I’m not allowed to, as I can’t verify whether you’re legitimate users. Therefore, the only option left is to apply the fix on your own.

  • Like 1
1.5m

Downloads

Total number of downloads.

7.2k

Customers

Total customers served.

107.2k

Files Sold

Total number of files sold.

2.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.