NullReferenceException at InitializeFlightPathError

Hello,

After installing the plugin and typing the command in the console :

"Pt random"

I get this :

(08:51:07) | [Paratroopers] A random Paratroopers Event will occur near AB34
(08:51:07) | Failed to call hook 'ccmdGetTroopLocations' on plugin 'Paratroopers v2.0.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Paratroopers ParatrooperPlane.InitializeFlightPath (UnityEngine.Vector3 targetPos) [0x000f2] in <2e7025e1e23e43d9acf9881342ff93d3>: 0
  at Oxide.Plugins.Paratroopers JumpEventManager.CallPlane (UnityEngine.Vector3 position) [0x0001e] in <2e7025e1e23e43d9acf9881342ff93d3>: 0
  at Oxide.Plugins.Paratroopers JumpEventManager.DoJump () [0x00000] in <2e7025e1e23e43d9acf9881342ff93d3>: 0
  at Oxide.Plugins.Paratroopers.CallParatroopers (UnityEngine.Vector3 jumperPosition, System.Int32 jumperCount, System.String jumperKit, System.Single bothHealth, System.Boolean randomKit) [0x0000d] in <2e7025e1e23e43d9acd98842
  at Oxide.Plugins.Paratroopers.TriggerRandomJump () [0x00062] in <2e7025e1e23e43d9acf9881342ff93d3>: 0
  at Oxide.Plugins.Paratroopers.ccmdGetTroopLocations (ConsoleSystem Arg arg) [0x00236] in <2e7025e1e23e43d9acf9881342ff93d3>: 0
  at Oxide.Plugins.Paratroopers.DirectCallHook (System.String name, System.Object & ret, System.Object [] args) [0x00fcd] in <2e7025e1e23e43d9acf9881342ff93d3>: 0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object [] args) [0x00079] in <70dc8de1abd4423db5f501c6845edf22>: 0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object [] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>: 0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object [] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>: 0

I do not understand anything
Sorry i suck in english

Are you trying to run the command in the game console or server console? regular pt random is meant to be run on the server console or Rcon. In game you should be using /pt random

Merged post

But it also souns like your config isn't setup correctly.
Post your config

here
this is the default config

{
  "Event Automation": {
    "Automatically spawn Paratroopers Events on a timer": true,
    "Auto-spawn time minimum (seconds)": 1800.0,
    "Auto-spawn time maximum (seconds)": 5400.0,
    "Minimum amount of online players to trigger the event": 1,
    "Paratrooper Plane Jump Height": 300.0,
    "Paratrooper Plane incoming speed": 80.0,
    "Static Paratrooper Jump Point X Coordinate": 0.0,
    "Static Paratrooper Jump Point Z Coordinate": 0.0
  },
  "Map Marker Settings": {
    "Paratrooper Marker Refresh rate (seconds)": 15.0,
    "Create Paratroopers Drop Zone Marker on map": true,
    "Paratroopers Drop Zone Radius": 1.0,
    "Paratroopers Drop Zone Alpha Shading": 0.4,
    "Create Individual Paratrooper Landing Zone Markers on map": true,
    "Paratroopers individual Landing Zone Radius": 0.5,
    "Paratroopers individual Landing Zone Alpha Shading": 0.35
  },
  "Notification Options": {
    "Show notification when Paratroopers are inbound": true,
    "Show notification when Paratroopers begin Jumping": true,
    "Show notification when a NPC has been killed": true,
    "Show notifications in Console": true
  },
  "Paratrooper Chute Options": {
    "Parachute drag force": 2.0,
    "Wind force": 10.0,
    "Paratrooper Spread Distance": 25,
    "Deploy Paratroopers with Smoke Trail while parachuting down": true
  },
  "NPC Paratrooper Options": {
    "Amount of NPC Paratroopers to spawn": 10,
    "NPC Paratrooper display name (chosen at random)": [
      "Col. Jones",
      "Maj. Smith",
      "Capt. Willams",
      "Pfc. Garcia",
      "Sgt. Morris",
      "Lt. Richards",
      "Pvt. Sossaman"
    ],
    "NPC Paratrooper Kit to be used (chosen at random)": [
      "Soldier1",
      "Soldier2",
      "Soldier3",
      "Soldier5",
      "Soldier6",
      "Soldier7"
    ],
    "NPC Health": 250,
    "NPC Paratroopers attack Accuracy": 0.4,
    "NPC Paratroopers attack Damage Scale": 0.5,
    "NPC Paratroopers time to despawn": 900.0
  },
  "Command Cooldowns Timers (permission / time in minutes)": {
    "paratroopers.cancall.default": 120,
    "paratroopers.cancall.vip": 60
  },
  "Version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 8
  }
}

Here is why are trying to use the default place holder kits see below, you need to replace those with your OWN kits as stated in the documentation. Please review the documentation it has all the information you need.

"NPC Paratrooper Kit to be used (chosen at random)": [
      "Soldier1",
      "Soldier2",
      "Soldier3",
      "Soldier5",
      "Soldier6",
      "Soldier7"
    ],
I'm stupid
Thank you