Jump to content

WaterEvent trigger not working...

Work in Progress 2.2.5

Flint Monkey
Flint Monkey

Posted

When I attempt to call the WaterEvent via Event Manager, I get the following in the console: 

Quote

 

[EventManager] 1

[EventManager] 2 2

[EventManager] Water Event

[EventManager] 4 waterstart

Failed to call hook 'ConsoleStartEvent' on plugin 'WaterEvent v2.1.7' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.WaterEvent.Start (BasePlayer player) [0x00055] in <8274c8dea79a4b1688af8478f771fc9c>:0

at Oxide.Plugins.WaterEvent.ConsoleStartEvent (ConsoleSystem+Arg arg) [0x0002a] in <8274c8dea79a4b1688af8478f771fc9c>:0

at Oxide.Plugins.WaterEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x017ee] in <8274c8dea79a4b1688af8478f771fc9c>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

 

When I use the same command (waterstart) in the console, the event triggers without issue... what's going on?

Mevent

Posted

Hi, I'll check it out and get back to you with feedback or a solution to the problem

Mevent

Posted

Changed Status from Pending to Work in Progress

  • Like 1
Mevent

Posted

@Flint Monkey 

Hi, can you send me your ‘events.json’ file? 

P.S. full path: oxide/data/EventManager/events.json

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

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.