Failed to call hook 'OnLootNetworkUpdate' on plugin 'PlayerLootLogs v1.2.0' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.SelectMany[TSource,TResult] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.PlayerLootLogs+LootItem.FromContainers (ItemContainer[] containers) [0x00000] in <77e9782efb684bef99212b673e01f9a8>:0
at Oxide.Plugins.PlayerLootLogs+LootItem.GetItems (BaseEntity baseEntity) [0x00065] in <77e9782efb684bef99212b673e01f9a8>:0
at Oxide.Plugins.PlayerLootLogs+LootEvent.UpdateItems () [0x00020] in <77e9782efb684bef99212b673e01f9a8>:0
at Oxide.Plugins.PlayerLootLogs+LootEvent..ctor (BasePlayer player, BaseEntity baseTarget) [0x0003d] in <77e9782efb684bef99212b673e01f9a8>:0
at Oxide.Plugins.PlayerLootLogs.EnterLootEvent (BasePlayer player, BaseEntity target) [0x00102] in <77e9782efb684bef99212b673e01f9a8>:0
at Oxide.Plugins.PlayerLootLogs.OnLootNetworkUpdate (PlayerLoot loot) [0x00018] in <77e9782efb684bef99212b673e01f9a8>:0
at Oxide.Plugins.PlayerLootLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002a7] in <77e9782efb684bef99212b673e01f9a8>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0 Console error: OnLootNetworkUpdateFixed
at Oxide.Plugins.PlayerLootLogs+PlayerInfo..ctor (BaseEntity baseEntity) [0x0000c] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs+LootChange.<FromEvent>m__0 (BasePlayer player) [0x00000] in <804d6f58ba9349a7b8713555c3944b00>:0
at (wrapper delegate-invoke) System.Func`2[BasePlayer,Oxide.Plugins.PlayerLootLogs+PlayerInfo].invoke_TResult_T(BasePlayer)
at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToArray () [0x0001d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.PlayerLootLogs+LootChange.FromEvent (Oxide.Plugins.PlayerLootLogs+LootEvent lootEvent, BaseEntity baseTarget) [0x0006c] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs+LootEvent.RecordChange (BasePlayer player, BaseEntity baseTarget, Oxide.Plugins.PlayerLootLogs+LootChange& lootChange) [0x00065] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.EnterLootEvent (BasePlayer player, BaseEntity target) [0x000db] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.OnLootNetworkUpdate (PlayerLoot loot) [0x00018] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002a7] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
(19:15:41) | Failed to call hook 'OnInventoryNetworkUpdate' on plugin 'PlayerLootLogs v1.2.0' (ArgumentNullException: Value cannot be null.
Parameter name: baseEntity)
at Oxide.Plugins.PlayerLootLogs+PlayerInfo..ctor (BaseEntity baseEntity) [0x0000c] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.EnterLootEvent (BasePlayer player, BaseEntity target) [0x00029] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.OnInventoryNetworkUpdate (PlayerInventory inventory, ItemContainer container, ProtoBuf.UpdateItemContainer updateItemContainer, PlayerInventory+Type type, System.Boolean broadcast) [0x0006d] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002d2] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
(19:15:42) | Failed to call hook 'OnInventoryNetworkUpdate' on plugin 'PlayerLootLogs v1.2.0' (ArgumentNullException: Value cannot be null.
Parameter name: baseEntity)
at Oxide.Plugins.PlayerLootLogs+PlayerInfo..ctor (BaseEntity baseEntity) [0x0000c] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.EnterLootEvent (BasePlayer player, BaseEntity target) [0x00029] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.OnInventoryNetworkUpdate (PlayerInventory inventory, ItemContainer container, ProtoBuf.UpdateItemContainer updateItemContainer, PlayerInventory+Type type, System.Boolean broadcast) [0x0006d] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002d2] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
(19:15:42) | Failed to call hook 'OnLootNetworkUpdate' on plugin 'PlayerLootLogs v1.2.0' (ArgumentNullException: Value cannot be null.
Parameter name: baseEntity)
at Oxide.Plugins.PlayerLootLogs+PlayerInfo..ctor (BaseEntity baseEntity) [0x0000c] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs+LootChange.<FromEvent>m__0 (BasePlayer player) [0x00000] in <804d6f58ba9349a7b8713555c3944b00>:0
at (wrapper delegate-invoke) System.Func`2[BasePlayer,Oxide.Plugins.PlayerLootLogs+PlayerInfo].invoke_TResult_T(BasePlayer)
at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToArray () [0x0001d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.PlayerLootLogs+LootChange.FromEvent (Oxide.Plugins.PlayerLootLogs+LootEvent lootEvent, BaseEntity baseTarget) [0x0006c] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs+LootEvent.RecordChange (BasePlayer player, BaseEntity baseTarget, Oxide.Plugins.PlayerLootLogs+LootChange& lootChange) [0x00065] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.EnterLootEvent (BasePlayer player, BaseEntity target) [0x000db] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.OnLootNetworkUpdate (PlayerLoot loot) [0x00018] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.PlayerLootLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002a7] in <804d6f58ba9349a7b8713555c3944b00>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
I'll take a look at this in a bit. At a glance, I'm guessing the hook was updated and the plugin needs to be updated as well.
Plugin compiles but not sending anything. Please check if there's an issue/need for update because I need this plugin a lot. I hope it can prevent team limit abuse to give item to players from other teams.
Flammable
Plugin compiles but not sending anything. Please check if there's an issue/need for update because I need this plugin a lot. I hope it can prevent team limit abuse to give item to players from other teams.
Hi, yes. I am working on validating/updating this.
Merged post
So I made an update that should fix this error. Without knowing the complete context of where it originates to begin with, it would be tough to say for certain, but from what I can tell by the error messaging, there's a null container coming in when looting some inventory type that's recognized as a player now. I wasn't reproducing this in local, but I made the update anyway to handle this case. Let me know if it persists, and feel free to tag me in the uMod discord if you have a new error not being handled by 1.2.1.
hizentv
Hi, yes. I am working on validating/updating this.
Merged post
So I made an update that should fix this error. Without knowing the complete context of where it originates to begin with, it would be tough to say for certain, but from what I can tell by the error messaging, there's a null container coming in when looting some inventory type that's recognized as a player now. I wasn't reproducing this in local, but I made the update anyway to handle this case. Let me know if it persists, and feel free to tag me in the uMod discord if you have a new error not being handled by 1.2.1.
Btw how this plugin is supposed to work at all? I want to be able to get log when user A loots player B when sleeping, when dead or also get log when User B drops to user A shit on the ground so I can catch group limit abusers. I hope didn't udnerstand this plugin wrong and all these logs are possible, even if items is dropped on the ground first. Ofc will check the plugin update later.
It tracks looting of players, dead players, and player bags. Dropping items from self-inventory I don't believe is logged. The options are straightforward. I would say turn on console logging, head into your server, and test a few scenarios so you can see what it looks like. It's incredibly verbose.Flammable
Btw how this plugin is supposed to work at all? I want to be able to get log when user A loots player B when sleeping, when dead or also get log when User B drops to user A shit on the ground so I can catch group limit abusers. I hope didn't udnerstand this plugin wrong and all these logs are possible, even if items is dropped on the ground first. Ofc will check the plugin update later.
Yeah I will do test when have free time later but if won't log droping of items would be huge downside. I am currently trying to catch if users drop items eachother to support a single raid, avoiding the group limit cuz 10-15 players are actually farming/doing sh*t then I do not care if 6 raid and say "We follow the rules when they have the combined manpower" to wipe the base for 1hour by combining items and I can't prove anything at all.
So any ideas what can be used (another plugin from uMod that can log dropped and picked up items) or if you can implement this feature to this plugin if possible. I might stick to the plugin for Item History if still works.