Jump to content

mainloot

Member
  • Posts

    80
  • Joined

  • Last visited

Everything posted by mainloot

  1. Oh nice, thanks for the response, yep all looks good
  2. I see there's code in here to disable ThirdPersonView on destroy, but it stays in third person. The oxide forums I've read suggest there's currently no way to get back out of third person once set from a plugin, but they're a few years old. I tried taking a whack at solving it, but no luck.
  3. Attached is an image showing the primary issue (top and bottom right): sometimes, some of the UI elements don't get cleaned up when skinner is closed. Initially, I noticed this error in logs when it happens: NullReferenceException: Object reference not set to an instance of an object at Oxide.Plugins.Skinner+BoxController.OnDestroy () [0x000c0] in <d600f4f3223b46b1a12eddfd22098c4f>:0 So I checked out this function and saw that it happens here: if (backpack != null) backpack.contents.onPreItemRemove -= PosWatch; All I did to fix it was mimic what you do in StartItemSkin method and also check to see if backpack.contents is null, e.g.: if (backpack != null && backpack.contents != null) backpack.contents.onPreItemRemove -= PosWatch; Hope this helps anyone experiencing the same issue.
2m

Downloads

Total number of downloads.

9.5k

Customers

Total customers served.

138k

Files Sold

Total number of files sold.

2.9m

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.