Jump to content

Failed to call hook 'OnEntityKill'

Closed 1.0.9 1.0.10

Hi,
error message in console (Oxide version: 2.0.6108) :

Failed to call hook 'OnEntityKill' on plugin 'SubmersiblePump v1.0.9' (KeyNotFoundException: The given key '0' was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at Oxide.Plugins.SubmersiblePump.OnEntityKill (WaterPump entity) [0x0006d] in <a5dc9a009c0d492db912c8dc0d63d74f>:0
at Oxide.Plugins.SubmersiblePump.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00171] in <a5dc9a009c0d492db912c8dc0d63d74f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0

Share this comment


Link to comment

Hey. It seems that pump is losing their ownership somehow. It was placed like regular pump? It had ownerId 0 which is weird and shouldnt be possible by my plugin.

Share this comment


Link to comment

So I know where it comes from.
I have the abandoned base plugin which means that after a certain time the player's base can be raided and at that point there is no longer an owner of these constructions/deployables.
I'm going to add a filter in RustAdmin to hide this message, it won't bother me anymore 😉
Thank you for your answer, ThePitereq
We can close the request

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.5k

Files Sold

Total number of files sold.

1.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.