Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.3.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.HeliControl.OnEntitySpawned (BaseNetworkable entity) [0x00778] in <18bd3c1d03da47b7bf456403809d892e>:0
at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003c6] in <18bd3c1d03da47b7bf456403809d892e>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0 NullReferenceException at OnEntitySpawnedFixed
my config:
{
"Cooldowns": {
"Cooldown.0": 86400.0,
"Cooldown.1": 86400.0,
"Cooldown.2": 86400.0,
"Cooldown.3": 86400.0,
"Cooldown.4": 86400.0,
"Cooldown.5": 86400.0,
"Cooldown.6": 86400.0,
"Cooldown.7": 86400.0,
"Cooldown.8": 86400.0,
"Cooldown.9": 86400.0,
"cooldown.ch47.0": 86400.0,
"cooldown.ch47.1": 86400.0,
"cooldown.ch47.2": 86400.0,
"cooldown.ch47.3": 86400.0,
"cooldown.ch47.4": 86400.0,
"cooldown.ch47.5": 86400.0,
"cooldown.ch47.6": 86400.0,
"cooldown.ch47.7": 86400.0,
"cooldown.ch47.8": 86400.0,
"cooldown.ch47.9": 86400.0
},
"Damage - Global damage multiplier": 1.0,
"Gibs - Health of gibs": 2500.0,
"Gibs - Time until gibs can be harvested in seconds": 600.0,
"Health - Base Helicopter health": 12500.0,
"Health - Main rotor health": 12500.0,
"Health - Tail rotor health": 12500.0,
"Limits": {
"Limit.0": 5,
"Limit.1": 5,
"Limit.2": 5,
"Limit.3": 5,
"Limit.4": 5,
"Limit.5": 5,
"Limit.6": 5,
"Limit.7": 5,
"Limit.8": 5,
"Limit.9": 5,
"limit.ch47.0": 5,
"limit.ch47.1": 5,
"limit.ch47.2": 5,
"limit.ch47.3": 5,
"limit.ch47.4": 5,
"limit.ch47.5": 5,
"limit.ch47.6": 5,
"limit.ch47.7": 5,
"limit.ch47.8": 5,
"limit.ch47.9": 5
},
"Loot - Max Crates to drop": 4,
"Loot - Time before unlocking CH47 crates": -1.0,
"Loot - Time before unlocking crates": -1.0,
"Loot - Use Custom loot spawns": false,
"Misc - Helicopter can shoot while dying": true,
"Misc - Helicopter speed": 25.0,
"Misc - Helicopter startup length in seconds": 25.0,
"Misc - Helicopter startup speed": 100.0,
"Misc - Maximum CH47 life time in minutes": 25,
"Misc - Maximum helicopter life time in minutes": 25,
"Misc - Prevent crates from spawning when forcefully killing helicopter": true,
"Misc - Water required to extinguish napalm flames": 10000,
"Rockets - Blunt damage to deal": 180.0,
"Rockets - Explosion damage to deal": 130.0,
"Rockets - Explosion radius": 6.0,
"Rockets - Max helicopter rockets": 12,
"Rockets - Time between each rocket in seconds": 0.2,
"Spawning - Automatically call CH47 between max seconds": 14400.0,
"Spawning - Automatically call CH47 between min seconds": 7200.0,
"Spawning - Automatically call CH47 if one is already flying": true,
"Spawning - Automatically call helicopter between max seconds": 14400.0,
"Spawning - Automatically call helicopter between min seconds": 7200.0,
"Spawning - Automatically call helicopter if one is already flying": true,
"Spawning - Chinooks to spawn": 1,
"Spawning - Disable CH47 default spawns": true,
"Spawning - Disable Helicopter": false,
"Spawning - Disable helicopter gibs": false,
"Spawning - Disable helicopter napalm": false,
"Spawning - Disable Rust's default spawns": true,
"Spawning - Helicopters to spawn": 1,
"Spawning - Max active helicopters": 10,
"Spawning - Use custom helicopter spawns": true,
"Spawning - Use static spawning": false,
"Spawning - Use static spawning for CH47": false,
"Turrets - Helicopter bullet accuracy": 1.75,
"Turrets - Helicopter bullet damage": 20.0,
"Turrets - Helicopter bullet speed": 250,
"Turrets - Max range": 300.0,
"Turrets - Time between turret bursts in seconds": 3.5,
"Turrets - Turret burst length in seconds": 3.0,
"Turrets - Turret fire rate in seconds": 0.125
} (12:27:57) | [Oxide] 13:27 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.3.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.HeliControl.OnEntitySpawned (BaseNetworkable entity) [0x008c4] in <00fe38ea7f204be48a229012f22c2827>:0
at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003c6] in <00fe38ea7f204be48a229012f22c2827>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Even with the newest update for this plugin, I'm still consistantly getting errors. :(
Irishsun530(12:27:57) | [Oxide] 13:27 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.3.5' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.HeliControl.OnEntitySpawned (BaseNetworkable entity) [0x008c4] in <00fe38ea7f204be48a229012f22c2827>:0 at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003c6] in <00fe38ea7f204be48a229012f22c2827>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Even with the newest update for this plugin, I'm still consistantly getting errors. :(
That is not the latest update. A day prior to you posting this, 1.3.6 was released. You are still on 1.3.5 according to that exception.
Locked automatically
- 1
- 2