Jump to content

"OnPlayerInput" Error

Closed 2.3.1 2.3.5

20K
20K

Posted

I see some others experienced this but couldn't find any solutions. Here's he lines I can provide.

When I reload the plugin I get this.

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.GetDefinition (System.String reference) [0x0002f] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.GetDefinition (UnityEngine.GameObject reference) [0x00007] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00496] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003d9] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
 

  • Administrator
Raul-Sorin Sorban

Posted

6 hours ago, KING SWAT said:

I see some others experienced this but couldn't find any solutions. Here's he lines I can provide.

When I reload the plugin I get this.

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StaticLootables.GetDefinition (System.String reference) [0x0002f] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.GetDefinition (UnityEngine.GameObject reference) [0x00007] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00496] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003d9] in <c51b0d754ffc44aa81b9846b7b19d777>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)
 

Can you please share your config? 🙂 

20K

Posted

That’s the file you wanted right?

20K

Posted

 

You there bud? Sorry, i just am crunched for time as I'm sure you are as well

  • Administrator
Raul-Sorin Sorban

Posted

22 minutes ago, KING SWAT said:

 

You there bud? Sorry, i just am crunched for time as I'm sure you are as well

Hey there! Apologies, I'm back at work now, having a look now

  • Administrator
Raul-Sorin Sorban

Posted

Just realized that you use full paths for the prefab filter, which I adivse you not to. Have a look at the default config in the description to get an idea of what parts of the prefab you wanna add you should use, please.

20K

Posted

Can you give me a little more info as to what you mean?AM I to look at one of your videos? Sorry. Not fully understanding.

20K

Posted

Did you update today fix the issue I'm having?

 

  • Administrator
Raul-Sorin Sorban

Posted

7 hours ago, KING SWAT said:

Did you update today fix the issue I'm having?

 

Hey, no, that fixed a smaller issue that there was 🙂 Please read the description of the plugin, specifically the Installation part.

20K

Posted

I did. Here I'll uninstall it and do it again.

RuGRustServer

Posted (edited)

Hi,

we have the same problem

Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.4' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00d39] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00385] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
(22:44:47) | Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.4' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00d39] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00385] in <01bd902ad1ea4df38df9e01251069f22>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

 

 

StaticLootables.json

Edited by RuGRustServer
TwoShoes

Posted

This is the error I'm getting as well 
 

Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v2.3.4' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x00d39] in <9fbff720421644988d2c05912ad6ac5c>:0 
  at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00385] in <9fbff720421644988d2c05912ad6ac5c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

 

  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

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.