Jump to content

Interactable Issues

Not a Bug 1.5.0

I've downloaded the .cs plugin, and the .json config file. They seem to be doing their jobs creating the data file. However I seem to be getting a lot of arguments that look like the following:

10/10 12:07:18 | Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v1.5.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StaticLootables+Death.GetImage (System.String url, System.Boolean isPng, System.UInt64 skin) [0x0004a] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables+Death.GetRawImage (System.String url, System.UInt64 skin, System.String color, System.Single fade) [0x00006] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables.Draw (BasePlayer player, Oxide.Plugins.StaticLootables+RootConfig+Interaction interaction, Oxide.Plugins.StaticLootables+RootConfig+LootableDefinition definition, Oxide.Plugins.StaticLootables+RootData+Lootable lootable, System.Boolean transition) [0x000bc] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x001e7] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00245] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

 

I'm not able to loot any objects at all due to these arguments, or at least I think it's due to these arguments.

Hope this helps! This plugin seems really cool and maybe I've done something wrong. I'll delete and retry right away and reply.

Edited by Neighigh
Added information

Share this comment


Link to comment
4 minutes ago, Neighigh said:

I've downloaded the .cs plugin, and the .json config file. They seem to be doing their jobs creating the data file. However I seem to be getting a lot of arguments that look like the following:

10/10 12:07:18 | Failed to call hook 'OnPlayerInput' on plugin 'StaticLootables v1.5.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StaticLootables+Death.GetImage (System.String url, System.Boolean isPng, System.UInt64 skin) [0x0004a] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables+Death.GetRawImage (System.String url, System.UInt64 skin, System.String color, System.Single fade) [0x00006] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables.Draw (BasePlayer player, Oxide.Plugins.StaticLootables+RootConfig+Interaction interaction, Oxide.Plugins.StaticLootables+RootConfig+LootableDefinition definition, Oxide.Plugins.StaticLootables+RootData+Lootable lootable, System.Boolean transition) [0x000bc] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables.OnPlayerInput (BasePlayer player, InputState input) [0x001e7] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.StaticLootables.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00245] in <34ca2e5e47ab4fd7b211d6bf3de94697>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

 

I'm not able to loot any objects at all due to these arguments, or at least I think it's due to these arguments.

Hope this helps! This plugin seems really cool and maybe I've done something wrong. I'll delete and retry right away and reply.

Have you loaded the required dependency ImageLibrary?

Share this comment


Link to comment
Just now, Neighigh said:

No I haven't. I did not see this in a required section here. I'll get that running right away and get back to you. Thank you!

 

Yeah, it's in the description 🙂 No worries, hope that fixes it for you!

image.png.1ead1f9f8f3bc5079effab725add1353.png

Share this comment


Link to comment

Yup I totally missed that there. This totally fixed it! Any chance there's a reason I get a big black 'Rust Icon' box around the icon texts?

image.thumb.png.463c31ae33c310e5222237c9ba6f1fb6.png

Share this comment


Link to comment
2 minutes ago, Neighigh said:

Yup I totally missed that there. This totally fixed it! Any chance there's a reason I get a big black 'Rust Icon' box around the icon texts?

image.thumb.png.463c31ae33c310e5222237c9ba6f1fb6.png

Might need to wait a second after you've added ImageLibrary for the first time, as it's downloading skinned item icons and a couple of other processing. It should work after that (without you needing to do anything really).

Share this comment


Link to comment
Just now, Neighigh said:

This appears to be just me on my client side. Other players on the server are not experiencing this.

Have you tried reconnecting to the server? Or maybe restarting Rust and try again?

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.5k

Files Sold

Total number of files sold.

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