Jump to content

errors after wipe

Work in Progress 1.3.3

mark bergervoet
mark bergervoet

Posted

after wipe i see these errors on server console and log

Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.3.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x001a8] in <c43df8751a2740029468e8d2e7c9707f>:0 
  at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00b34] in <c43df8751a2740029468e8d2e7c9707f>: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 <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 
Failed to call hook 'OnEntityTakeDamage' on plugin 'OfflineRaidProtection v1.3.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.OfflineRaidProtection.OnStructureAttack (BaseCombatEntity& entity, HitInfo& hitInfo) [0x001a8] in <c43df8751a2740029468e8d2e7c9707f>:0 
  at Oxide.Plugins.OfflineRaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00b34] in <c43df8751a2740029468e8d2e7c9707f>: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 <15f61ddda771464d8246ebdce8ff4811>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0 

 

HunterZ

Posted

Not seeing this in my logs. I'll take a look but it's unfortunately going to be difficult because unlike Carbon, Oxide doesn't output line numbers to help narrow things down.

HunterZ

Posted

Changed Status from Pending to Work in Progress

HunterZ

Posted

Can't find any obvious NREs in OnStructureAttack(), but I'm bolstering a couple spots in the hope that I've missed something.

mark bergervoet

Posted

i have seen the error only when there are players in the apartment complex

its empty now and havent seen that error again

HunterZ

Posted

I'm also working on adding offline protection features for apartments and rentable shops, so maybe it will also avoid whatever that case is, by going down the new code paths instead.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
164.9k
Total sales
Payments
3.6m
Processed total
×
×
  • 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.