Jump to content

iqbr.bear command error

Closed 1.5.5

hid333
hid333

Posted

Failed to call hook 'Console_BearAdd' on plugin 'IQBearRide v1.5.5' (NullReferenceException: Object reference not set to an instance of an object)

at BasePlayer.GiveItem (Item item, BaseEntity+GiveItemReason reason, GiveItemOptions options) [0x00042] in <5861cd44d1db463e8b72d7d1d5f9e160>:0

at Oxide.Plugins.IQBearRide.Console_BearAdd (ConsoleSystem+Arg arg) [0x000b4] in <3905087928504fdd9aada70cafc36c46>:0

at Oxide.Plugins.IQBearRide.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006fb] in <3905087928504fdd9aada70cafc36c46>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <db058accaef24d86af67c0d18d641acb>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <db058accaef24d86af67c0d18d641acb>:0

(18:14:28) | Unloaded plugin IQBearRide v1.5.5 by BadMandarin/ Support: Mercury

Mercury

Posted

3 hours ago, hid333 said:

Failed to call hook 'Console_BearAdd' on plugin 'IQBearRide v1.5.5' (NullReferenceException: Object reference not set to an instance of an object)

at BasePlayer.GiveItem (Item item, BaseEntity+GiveItemReason reason, GiveItemOptions options) [0x00042] in <5861cd44d1db463e8b72d7d1d5f9e160>:0

at Oxide.Plugins.IQBearRide.Console_BearAdd (ConsoleSystem+Arg arg) [0x000b4] in <3905087928504fdd9aada70cafc36c46>:0

at Oxide.Plugins.IQBearRide.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006fb] in <3905087928504fdd9aada70cafc36c46>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <db058accaef24d86af67c0d18d641acb>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <db058accaef24d86af67c0d18d641acb>:0

(18:14:28) | Unloaded plugin IQBearRide v1.5.5 by BadMandarin/ Support: Mercury

Please send your configuration and let us know how you used the console command.

hid333

Posted

The configuration file is set to its default state.

I used the command: iqbr.bear mysteamid

Mercury

Posted

On 11/13/2026 at 5:26 PM, hid333 said:

The configuration file is set to its default state.

I used the command: iqbr.bear mysteamid

I released an update; please check it on your end.

Mercury

Posted

Changed Status from Pending to Work in Progress

hid333

Posted

(18:52:52) | Failed to call hook 'Console_BearAdd' on plugin 'IQBearRide v1.6.5' (NullReferenceException: Object reference not set to an instance of an object)

at BasePlayer.GiveItem (Item item, BaseEntity+GiveItemReason reason, GiveItemOptions options) [0x00042] in <494007123869440ebf3bc1b2d4fcd9c9>:0

at Oxide.Plugins.IQBearRide.Console_BearAdd (ConsoleSystem+Arg arg) [0x000b4] in <9c7a0b365768496a884544c54420757a>:0

at Oxide.Plugins.IQBearRide.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00747] in <9c7a0b365768496a884544c54420757a>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <db058accaef24d86af67c0d18d641acb>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <db058accaef24d86af67c0d18d641acb>:0

hid333

Posted

Deleting the config file and reinstalling resolved the issue, and it is now working properly.

Mercury

Posted

4 minutes ago, hid333 said:

Deleting the config file and reinstalling resolved the issue, and it is now working properly.

Great, most likely the problem was with the configuration, and the value of one of the elements was ‘null’, which caused the error.

If anything happens, let me know.

  • Like 1
Mercury

Posted

Changed Status from Work in Progress to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.3k
Total sales
Payments
3.9m
Processed total
×
×
  • 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.