NullReferenceException at RunEventNot An Issue
Failed to run a 2520.00 timer in 'AutomatedEvents v0.1.16' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.AutomatedEvents.RunEvent (Oxide.Plugins.AutomatedEvents+EventType type, System.Boolean runonce) [0x00192] in <7b4497917c9443bbb2c5bc423846854d>:0 4kb/s in, 31kb/s out at Oxide.Plugins.AutomatedEvents+c__AnonStorey0.<>m__0 () [0x00000] in <7b4497917c9443bbb2c5bc423846854d>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0
please include your config and I will test this.

Merged post

also current version is 1.17

/nextevent plane or /nextevent cargoplane return that it is "not set to run via automated events" The same goes for /nextevent bradley Config pasted below. This happened once the timer was triggerd once, after that the command stopped working and it seems like the event timers are not restarting.

{
  "Events": {
    "Bradley": {
      "AnnounceNext": true,
      "Enabled": true,
      "MaximumTimeBetween": 30,
      "MinimumTimeBetween": 30,
      "NextRun": "1900-01-01T01:01:00"
    },
    "CargoPlane": {
      "AnnounceNext": true,
      "Enabled": true,
      "MaximumTimeBetween": 120,
      "MinimumTimeBetween": 60,
      "NextRun": "1900-01-01T01:01:00"
    },
    "CargoShip": {
      "AnnounceNext": true,
      "Enabled": true,
      "MaximumTimeBetween": 270,
      "MinimumTimeBetween": 240,
      "NextRun": "1900-01-01T01:01:00"
    },
    "Chinook": {
      "AnnounceNext": true,
      "Enabled": true,
      "MaximumTimeBetween": 180,
      "MinimumTimeBetween": 120,
      "NextRun": "1900-01-01T01:01:00"
    },
    "EasterEvent": {
      "AnnounceNext": false,
      "Enabled": false,
      "MaximumTimeBetween": 60,
      "MinimumTimeBetween": 30,
      "NextRun": "1900-01-01T01:01:00"
    },
    "HalloweenEvent": {
      "AnnounceNext": false,
      "Enabled": false,
      "MaximumTimeBetween": 60,
      "MinimumTimeBetween": 30,
      "NextRun": "1900-01-01T01:01:00"
    },
    "Helicopter": {
      "AnnounceNext": true,
      "Enabled": true,
      "MaximumTimeBetween": 150,
      "MinimumTimeBetween": 120,
      "NextRun": "1900-01-01T01:01:00"
    },
    "SantaEvent": {
      "AnnounceNext": false,
      "Enabled": false,
      "MaximumTimeBetween": 60,
      "MinimumTimeBetween": 30,
      "NextRun": "1900-01-01T01:01:00"
    },
    "XMasEvent": {
      "AnnounceNext": false,
      "Enabled": false,
      "MaximumTimeBetween": 120,
      "MinimumTimeBetween": 60,
      "NextRun": "1900-01-01T01:01:00"
    }
  },
  "Settings": {
    "AnnounceOnLoad": "false",
    "UseGUIAnnouncementsPlugin": "false"
  }
}

When attempting to /runevent plane

 

[AutomatedEvents] Player Out2kill (76561197978299402) is attempting to run automated event: plane

Failed to call hook 'AEchatCommand' on plugin 'AutomatedEvents v0.2.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.AutomatedEvents.RunEvent (Oxide.Plugins.AutomatedEvents+EventType type, System.Boolean runonce) [0x0024a] in :0 
  at Oxide.Plugins.AutomatedEvents.AEchatCommand (BasePlayer player, System.String command, System.String[] args) [0x000f8] in :0 
  at Oxide.Plugins.AutomatedEvents.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00365] in :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 
Please delete the old lang files and recreate them.


Merged post

Doh, ok I will fix this, sorry.
This is no longer occuring, correct?
I never saw it again
Locked automatically