Followers 2 Error By TOP-ic, March 11 in Police Vehicles Closed 1.2.1 1.2.2 Report reply TOP-ic Posted March 11 I wanted to write in the previous topic, but that topic is closed. In version 1.2.1, I sometimes see an error. [Oxide] 14:41 [Error] Failed to call hook 'OnEntityKill' on plugin 'PoliceVehicles v1.2.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PoliceVehicles.OnEntityKill (BaseNetworkable vehicle) [0x00030] in <299b3e1250ed4d74aac44e3365238b7e>:0 at Oxide.Plugins.PoliceVehicles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0069e] in <299b3e1250ed4d74aac44e3365238b7e>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 Quote Share this comment Link to comment Report reply HexOptimal Posted March 11 Hello TOP-ic, Thank you for letting me know, I will look into this Quote Share this comment Link to comment Report reply HexOptimal Posted March 11 Changed Status from Pending to Work in Progress Quote Share this comment Link to comment Report reply HexOptimal Posted March 11 I cannot replicate the bug exactly but I have added an extra null check into that call for the next update which will hopefully clear up any errors like that. Quote Share this comment Link to comment Report reply HexOptimal Posted April 2 Changed Status from Work in Progress to ClosedChanged Fixed In to 1.2.2 Quote Share this comment Link to comment
Report reply TOP-ic Posted March 11 I wanted to write in the previous topic, but that topic is closed. In version 1.2.1, I sometimes see an error. [Oxide] 14:41 [Error] Failed to call hook 'OnEntityKill' on plugin 'PoliceVehicles v1.2.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PoliceVehicles.OnEntityKill (BaseNetworkable vehicle) [0x00030] in <299b3e1250ed4d74aac44e3365238b7e>:0 at Oxide.Plugins.PoliceVehicles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0069e] in <299b3e1250ed4d74aac44e3365238b7e>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 Quote Share this comment Link to comment
Report reply HexOptimal Posted March 11 Hello TOP-ic, Thank you for letting me know, I will look into this Quote Share this comment Link to comment
Report reply HexOptimal Posted March 11 Changed Status from Pending to Work in Progress Quote Share this comment Link to comment
Report reply HexOptimal Posted March 11 I cannot replicate the bug exactly but I have added an extra null check into that call for the next update which will hopefully clear up any errors like that. Quote Share this comment Link to comment
Report reply HexOptimal Posted April 2 Changed Status from Work in Progress to ClosedChanged Fixed In to 1.2.2 Quote Share this comment Link to comment