Jump to content

error code

Pending 3.4.14

Youknowmarcus

Posted

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RaidProtection+ProtectedEntity.get_FounderUserId () [0x00006] in <5d5d8240ab2943bc84c45170a8f4d306>:0 
  at Oxide.Plugins.RaidProtection+ProtectedEntity.get_HasFounder () [0x00000] in <5d5d8240ab2943bc84c45170a8f4d306>:0 
  at Oxide.Plugins.RaidProtection+ProtectedCupboardManager+<>c__DisplayClass8_0.<GetCupboardsForFounder>b__0 (Oxide.Plugins.RaidProtection+ProtectedEntity x) [0x00000] in <5d5d8240ab2943bc84c45170a8f4d306>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].ToList () [0x0001b] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at Oxide.Plugins.RaidProtection+ProtectedCupboardManager.GetCupboardsForFounder (System.UInt64 userId) [0x00028] in <5d5d8240ab2943bc84c45170a8f4d306>:0 
  at Oxide.Plugins.RaidProtection+<>c__DisplayClass174_0.<UpdatedPermission>b__0 () [0x00018] in <5d5d8240ab2943bc84c45170a8f4d306>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <d646191a355d43a6b3ab36b7ee14c740>:0 
 

Youknowmarcus

Posted

switched to carbon  now getting this error

Failed to execute OnFrame callback (Object reference not set to an instance of an object)
   at ulong Oxide.Plugins.RaidProtection+ProtectedEntity.get_FounderUserId() in /home/container/carbon/plugins/RaidProtection.cs:line 2986
   at bool Oxide.Plugins.RaidProtection+ProtectedEntity.get_HasFounder() in /home/container/carbon/plugins/RaidProtection.cs:line 3035
   at List<ProtectedEntity> Oxide.Plugins.RaidProtection+ProtectedCupboardManager.GetCupboardsForFounder(ulong userId)+(ProtectedEntity x) => { } in /home/container/carbon/plugins/RaidProtection.cs:line 2856
   at List<ProtectedEntity> System.Linq.Enumerable+WhereEnumerableIterator<Oxide.Plugins.RaidProtection+ProtectedEntity>.ToList()
   at List<ProtectedEntity> System.Linq.Enumerable.ToList<ProtectedEntity>(IEnumerable<ProtectedEntity> source)
   at List<ProtectedEntity> Oxide.Plugins.RaidProtection+ProtectedCupboardManager.GetCupboardsForFounder(ulong userId) in /home/container/carbon/plugins/RaidProtection.cs:line 2856
   at void Oxide.Plugins.RaidProtection.UpdatedPermission(string id)+() => { } in /home/container/carbon/plugins/RaidProtection.cs:line 4423
   at void Carbon.Managers.CarbonProcessor.Update() in /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Processors/CarbonProcessor.cs:line 63
Failed to execute OnFrame callback (Object reference not set to an instance of an object)
   at ulong Oxide.Plugins.RaidProtection+ProtectedEntity.get_FounderUserId() in /home/container/carbon/plugins/RaidProtection.cs:line 2986
   at bool Oxide.Plugins.RaidProtection+ProtectedEntity.get_HasFounder() in /home/container/carbon/plugins/RaidProtection.cs:line 3035
   at List<ProtectedEntity> Oxide.Plugins.RaidProtection+ProtectedCupboardManager.GetCupboardsForFounder(ulong userId)+(ProtectedEntity x) => { } in /home/container/carbon/plugins/RaidProtection.cs:line 2856
   at List<ProtectedEntity> System.Linq.Enumerable+WhereEnumerableIterator<Oxide.Plugins.RaidProtection+ProtectedEntity>.ToList()
   at List<ProtectedEntity> System.Linq.Enumerable.ToList<ProtectedEntity>(IEnumerable<ProtectedEntity> source)
   at List<ProtectedEntity> Oxide.Plugins.RaidProtection+ProtectedCupboardManager.GetCupboardsForFounder(ulong userId) in /home/container/carbon/plugins/RaidProtection.cs:line 2856
   at void Oxide.Plugins.RaidProtection.UpdatedPermission(string id)+() => { } in /home/container/carbon/plugins/RaidProtection.cs:line 4423
   at void Carbon.Managers.CarbonProcessor.Update() in /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Processors/CarbonProcessor.cs:line 63

Mr01sam

Posted

It seems like for whatever reason raid protection can't get the founder userid on some tool cupboard. I can't really say for certain why that would be without some context.

Youknowmarcus

Posted

Thank you some players are reporting the ORP is not working as well 

nkt sure what to do or how to move forward with this 

I also use another plugin called offline raid limiter 

maybe they are conflicting?

Mr01sam

Posted

If you have some kind of plugin that allows you to look at details of an entity that would be helpful. My guess is that the owner ID of some tool cupboard is 0 (it should be the id of the player who placed it), sometimes if the tool cupboard was spawned by another plugin (like raidable bases or something) it might be 0. 

Is everyone having this issue?

Youknowmarcus

Posted

hmmm the kits I have for the server come with TC’s that I spawned in 

its a builder kit that comes with a TC maybe that ? 

What plugin can I use for ID of TC’s ? 

Mr01sam

Posted

If the kit gives an item (that the player then places themselves) thats fine. Its only TCs that are spawned in by a plugin that could be an issue.

If you DM me I can hook you up with a plugin that can let you see the IDs, if you dont have one already.

1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

121.4k

Files Sold

Total number of files sold.

2.5m

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.