Jump to content

Getting spammed with error messages continually. Lootables not working

Fixed 2.10.3 2.10.4

Millahdee

Posted

Failed to call hook 'OnPlayerAttack' on plugin 'StaticLootables v2.10.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.GetLootable (System.String name, UnityEngine.Vector3 position, UnityEngine.GameObject reference) [0x00006] in <6f52a7a769cc49959474f8ca73de41a1>:0 
  at Oxide.Plugins.StaticLootables.GetLootable (BasePlayer player, UnityEngine.GameObject gameObject, Oxide.Plugins.StaticLootables+RootConfig+LootableDefinition definition, System.Boolean createOnLocked) [0x00043] in <6f52a7a769cc49959474f8ca73de41a1>:0 
  at Oxide.Plugins.StaticLootables.OnPlayerAttack (BasePlayer player, HitInfo info) [0x00063] in <6f52a7a769cc49959474f8ca73de41a1>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0037a] in <6f52a7a769cc49959474f8ca73de41a1>: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 

Kapco411

Posted

Getting spammed with NRE for onentitydeath for C4.timed explosives as well
 

Millahdee

Posted

Happens during server save as well:

Failed to call hook 'OnServerSave' on plugin 'StaticLootables v2.10.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.SaveContainer () [0x00006] in <a34a89d313434cbbb263b72d7b9f1965>:0 
  at Oxide.Plugins.StaticLootables.OnServerSave () [0x00000] in <a34a89d313434cbbb263b72d7b9f1965>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002c1] in <a34a89d313434cbbb263b72d7b9f1965>: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 
Saved 165,497 ents, cache(1.15), write(0.05), disk(0.05).

 

  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Pending to Fixed

Changed Fixed In to 2.10.4

Millahdee

Posted

Still getting this on save. Also throwing similar errors on reload.

Failed to call hook 'OnServerSave' on plugin 'StaticLootables v2.10.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.SaveContainer () [0x00006] in <69dc053de03944a1b8f6cf2870668bfe>:0 
  at Oxide.Plugins.StaticLootables.OnServerSave () [0x00000] in <69dc053de03944a1b8f6cf2870668bfe>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002c1] in <69dc053de03944a1b8f6cf2870668bfe>: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 

  • Administrator
Raul-Sorin Sorban

Posted

3 minutes ago, Millahdee said:

Still getting this on save. Also throwing similar errors on reload.

Failed to call hook 'OnServerSave' on plugin 'StaticLootables v2.10.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.SaveContainer () [0x00006] in <69dc053de03944a1b8f6cf2870668bfe>:0 
  at Oxide.Plugins.StaticLootables.OnServerSave () [0x00000] in <69dc053de03944a1b8f6cf2870668bfe>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002c1] in <69dc053de03944a1b8f6cf2870668bfe>: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 

please try deleting the old SL data file then reload

Millahdee

Posted

That fixed it! Thanks so much! Did that delete any custom static lootables I had set? I have the Lootables.Ext plugin as well. Does this need to be updated? configuration redone?

Thanks so much

  • Administrator
Raul-Sorin Sorban

Posted

Nope, the issue was a malfunction with saving persistent SL data, like containers that persist between server restarts and even wipes. FP changed the way they save item containers and it took a few retries to adjust, and weirdly when i initially updated it, it worked locally then people reported that it was throwing errors like the ones that were reported. I finally sorted it out though.

I apologize it took so long to solve!

  • Love 1
Millahdee

Posted

Ah ok that makes sense. No problem at all; thank you for fixing it.  One never hears how much players enjoy something until it breaks and it was nice to see how much this plugin is loved on my server. Thanks again!

 

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

124.5k

Files Sold

Total number of files sold.

2.6m

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.