Jump to content

Errors

Closed 1.1.5

BetterDeadThanZed
BetterDeadThanZed

Posted

When executing the tests other than "siren", there are errors in the console:

09/16 20:40:06 | >>> siren.setduration
09/16 20:40:07 | Failed to call hook 'SetSirenDurationCommand' on plugin 'Siren v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Siren.SetSirenDurationCommand (ConsoleSystem+Arg arg) [0x00032] in <8ea7e34e634541f8a6556c272523f387>:0
at Oxide.Plugins.Siren.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00394] in <8ea7e34e634541f8a6556c272523f387>: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
09/16 20:38:42 | >>> siren.setnotification
09/16 20:38:42 | Failed to call hook 'SetSirenNotificationCommand' on plugin 'Siren v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Siren.SetSirenNotificationCommand (ConsoleSystem+Arg arg) [0x00032] in <8ea7e34e634541f8a6556c272523f387>:0
at Oxide.Plugins.Siren.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003ed] in <8ea7e34e634541f8a6556c272523f387>: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

 

GNGGOD

Posted

Thanks for posting a ticket! We're looking into this now. 

GNGGOD

Posted

@BetterDeadThanZed I think I found the issue. All console commands need to be followed by a config "string". So for example, the complete command would look like this "siren.setnotification A nightmare boss monster has spawned!" or "siren.setduration 10". Let me know if this fixes the issue. 

Also, thanks for bringing this up! I think it would be best if the plugin could provide some feedback explaining this in the console when the command is entered without a string. This would eliminate oxide from throwing the errors. 

 

GNG

GNGGOD

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

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.