Jump to content

OnBackpackDropped NRE

Fixed 1.1.5 1.1.6

dylanstar12
dylanstar12

Posted

getting this in console frequently
 

Quote

[Oxide] 12:22 [Error] Failed to call hook 'OnBackpackDropped' on plugin 'DropStopper v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DropStopper+EasyFindItem..ctor (BasePlayer player, BaseEntity dropped_item) [0x0005b] in <f845175a7cd64ac780d115b5a017d34c>:0
  at Oxide.Plugins.DropStopper.StartTrackingFallingItem (BasePlayer player, BaseEntity entity) [0x00062] in <f845175a7cd64ac780d115b5a017d34c>:0
  at Oxide.Plugins.DropStopper.AddDroppedItemContainerToDropStop (System.UInt64 owner_id, BaseEntity entity) [0x0002e] in <f845175a7cd64ac780d115b5a017d34c>:0
  at Oxide.Plugins.DropStopper.OnBackpackDropped (System.UInt64 ownerId, System.Collections.Generic.List`1[T] droppedBackpackList) [0x00011] in <f845175a7cd64ac780d115b5a017d34c>:0
  at Oxide.Plugins.DropStopper.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00436] in <f845175a7cd64ac780d115b5a017d34c>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <8cb2d664f1574f2b96d53f1c1869d96a>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <8cb2d664f1574f2b96d53f1c1869d96a>:0

 

  • Like 1
Vergbergler

Posted (edited)

Thank you for bringing this to my attention. It would seem that the Backpack plugin's backpack can be dropped by players. This backpack cannot be treated like other Rust dropped items.
Please let me know if you have any more issues by commenting on this support or making a new one. 😁

Edit: To be clear, the backpacks are still being tracked and saved by DropStopper.

Edited by Vergbergler
  • Love 1
Vergbergler

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 1.1.6

  • Love 1
1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.4k

Files Sold

Total number of files sold.

2.4m

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.