Jump to content

Could not initialize plugin 'WaterTreatmentEvent v1.7.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.WaterTreatmentEvent.LoadConfig () [0x00025] in <4b50fcc88638432e85b4d4a112c551db>:0 at Oxide.Core

Not a Bug 1.7.1 1.7.1

Covfefe

Posted

Could not initialize plugin 'WaterTreatmentEvent v1.7.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.WaterTreatmentEvent.LoadConfig () [0x00025] in <4b50fcc88638432e85b4d4a112c551db>:0 at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <42f9bedc659b4f4786eb778d3cd58968>:0 at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <5dfc721ad48a434bad2c1ac31fc7c77d>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <8cb2d664f1574f2b96d53f1c1869d96a>:0

Yac Vaguer

Posted

Hey Covfefe there is an issue on your config, you can try re-generate it 

 

 

Covfefe

Posted

damn, the json validator said it's fine

{
  "Event Start every [sec]": 300.0,
  "Duration of the event [sec]": 9999.0,
  "Warning time before the Event Spawn [sec]": 120.0,
  "Warning time before the Event Ends [sec]": 400.0,
  "Time after player loot the hackable crate to end the event [sec]": 60.0,
  "Amount of Zombies around the crates": 8,
  "Guards Settings": {
    "Name": "Water Plant Pedophile",
    "Health": 150.0,
    "Roam Range": 8.0,
    "Kit, remember that this decrease the performance": "",
    "Chase Range": 100.0,
    "Attack Range Multiplier": 2.0,
    "Sense Range": 85.0,
    "Target Memory Duration [sec.]": 30.0,
    "Scale damage": 0.4,
    "Aim Cone Scale": 1.0,
    "Detect the target only in the NPC's viewing vision cone? [true/false]": false,
    "Vision Cone": 135.0,
    "Speed": 7.5,
    "Disable radio effects? [true/false]": false,
    "Is this a stationary NPC? [true/false]": false,
    "Remove a corpse after death? (it is recommended to use the true value to improve performance) [true/false]": false,
    "Wear items": [
      {
        "ShortName": "hoodie",
        "SkinID (0 - default)": 941172099
      },
      {
        "ShortName": "shoes.boots",
        "SkinID (0 - default)": 869007492
      },
      {
        "ShortName": "roadsign.jacket",
        "SkinID (0 - default)": 2803024010
      },
      {
        "ShortName": "coffeecan.helmet",
        "SkinID (0 - default)": 2803024592
      },
      {
        "ShortName": "pants",
        "SkinID (0 - default)": 1313091292
      }
    ],
    "Belt items": [
      {
        "ShortName": "rifle.lr300",
        "Amount": 1,
        "SkinID (0 - default)": 0,
        "Mods": [
          "weapon.mod.flashlight"
        ],
        "Ammo": ""
      },
      {
        "ShortName": "syringe.medical",
        "Amount": 5,
        "SkinID (0 - default)": 0,
        "Mods": [],
        "Ammo": ""
      },
      {
        "ShortName": "grenade.f1",
        "Amount": 1,
        "SkinID (0 - default)": 0,
        "Mods": [],
        "Ammo": ""
      }
    ]
  },
  "Snipers Settings": {
    "Name": "Water Plant Rapist",
    "Health": 150.0,
    "Roam Range": 20.0,
    "Kit, remember that this decrease the performance": "",
    "Chase Range": 100.0,
    "Attack Range Multiplier": 2.0,
    "Sense Range": 85.0,
    "Target Memory Duration [sec.]": 30.0,
    "Scale damage": 0.4,
    "Aim Cone Scale": 1.0,
    "Detect the target only in the NPC's viewing vision cone? [true/false]": false,
    "Vision Cone": 135.0,
    "Speed": 7.5,
    "Disable radio effects? [true/false]": false,
    "Is this a stationary NPC? [true/false]": false,
    "Remove a corpse after death? (it is recommended to use the true value to improve performance) [true/false]": false,
    "Wear items": [
      {
        "ShortName": "hoodie",
        "SkinID (0 - default)": 3031048156
      },
      {
        "ShortName": "shoes.boots",
        "SkinID (0 - default)": 2511111623
      },
      {
        "ShortName": "jacket",
        "SkinID (0 - default)": 3023836945
      },
      {
        "ShortName": "pants",
        "SkinID (0 - default)": 3031050852
      },
      {
        "ShortName": "metal.facemask",
        "SkinID (0 - default)": 3037689021
      }
    ],
    "Belt items": [
      {
        "ShortName": "rifle.bolt",
        "Amount": 1,
        "SkinID (0 - default)": 562396268,
        "Mods": [
          "weapon.mod.flashlight"
        ],
        "Ammo": ""
      },
      {
        "ShortName": "syringe.medical",
        "Amount": 5,
        "SkinID (0 - default)": 0,
        "Mods": [],
        "Ammo": ""
      }
    ]
  },
  "Discord Webhook URL": "",
  "Activate PVE Mode where only the event owner can access to the event": false,
  "Activate verbose debug mode": false,
  "Spawn Bradley in the event": true,
  "Spawn Snipers in the event": true,
  "Spawn Guards in the event": true,
  "Spawn Zombies in the event": true,
  "Spawn Sam Sites in the event": true,
  "Add Radiation when the F15 drop the nuke": true,
  "Create explosion in the main building when the event start": true,
  "Rewards Settings, you can activate more than one at the same time": {
    "Economics": {
      "Enable": false,
      "RewardForLootHackableCrate": 200,
      "RewardForDestroyBradley": 2000
    },
    "Reward Points (RP)": {
      "Enable": false,
      "RewardForLootHackableCrate": 200,
      "RewardForDestroyBradley": 2000
    },
    "Skill Tree XP": {
      "Enable": false,
      "RewardForLootHackableCrate": 200,
      "RewardForDestroyBradley": 1000
    }
  },
  "Mark title to show the players": "Water Treatment Plant Showdown",
  "Notification Settings": {
    "Send missions details to the players?": true,
    "Message system to use? Please use one of the supported one [Chat|GUIAnnouncement]": "Chat",
    "Chat message configuration": {
      "Icon to use for messages": 76561199486270644,
      "Message Prefix Size": 13,
      "Message Prefix Color": "#d06c31",
      "Message Color": "#FFFFFF",
      "Message Size": 13
    },
    "GUIAnnouncement message configuration": {
      "banner Tint Color": "0.1 0.1 0.1 0.7",
      "text Color": "1 1 1"
    },
    "Message Prefix Text": "[The Water Treatment Plant Showdown]"
  }
}

 

Covfefe

Posted

restarted the server and plugin loaded fine. weird

Yac Vaguer

Posted

4 hours ago, Covfefe said:

restarted the server and plugin loaded fine. weird

The json format can be good but the values can be wrong for what the plugin is expecting 😞

Yac Vaguer

Posted

Changed Status from Pending to Not a Bug

Changed Fixed In to 1.7.1

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

125k

Files Sold

Total number of files sold.

2.6m

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.