Protection not working as intendedNot An Issue

Hi,

Here is our confing:

{
"absoluteTimeScale": {
"03": 0.1
},
"activity": [
"input",
"loot",
"respawn",
"chat",
"wakeup"
],
"afkMinutes": 10,
"clanFirstOffline": false,
"clanShare": false,
"cooldownMinutes": 10,
"damageScale": {
"12": 0.35,
"24": 0.5,
"32": 0.8,
"48": 1,
"6": 0.2,
"72": 2,
"96": 1
},
"interimDamage": 0.0,
"minMembers": 1,
"minutesSinceLastAttackToProtect": 10,
"playSound": false,
"prefabs": [
"door.hinged",
"door.double.hinged",
"window.bars",
"floor.ladder.hatch",
"floor.frame",
"wall.frame",
"shutter",
"wall.external",
"gates.external",
"box",
"locker"
],
"protectBaseWhenAway": false,
"serverTimeOffset": 0,
"showMessage": true,
"sound": "assets/prefabs/weapon mods/silencers/effects/silencer_attach.fx.prefab",
"VERSION": "0.4.4"

It's not showing any protection after 10 mintues.

It's only showing when the protection is 65%.

What did I miss?

Thanks.

What i've managed to find out:

After server restart works fine.

Around 10 hours later, stopped working, not showing any protection to players bases.

Reloaded the plugin, still not working.

Thanks.

| Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.4.4' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.AntiOfflineRaid.ShowMessage (BasePlayer player, System.Int32 amount) [0x000a1] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.sendMessage (HitInfo hitinfo, System.Int32 amt) [0x0000d] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.mitigateDamage (HitInfo hitinfo, System.Single scale) [0x000d7] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x000ab] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00026] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00446] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

| Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.4.4' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.AntiOfflineRaid.ShowMessage (BasePlayer player, System.Int32 amount) [0x000a1] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.sendMessage (HitInfo hitinfo, System.Int32 amt) [0x0000d] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.mitigateDamage (HitInfo hitinfo, System.Single scale) [0x000d7] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x000ab] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00026] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00446] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

(00:19:29) | Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.4.4' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.AntiOfflineRaid.ShowMessage (BasePlayer player, System.Int32 amount) [0x000a1] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.sendMessage (HitInfo hitinfo, System.Int32 amt) [0x0000d] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.mitigateDamage (HitInfo hitinfo, System.Single scale) [0x000d7] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x000ab] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00026] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00446] in <f04ceea02e0e4721bec909a1c5ee75ac>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

your issue is in this order it must be in order of how the hours come (Hour 6 is out of place)

"damageScale": {
"12": 0.35,
"24": 0.5,
"32": 0.8,
"48": 1,
"6": 0.2,
"72": 2,
"96": 1
},

Locked automatically