Jump to content

Plugin isn't working

Fixed 1.3.1 Next Version

kedati
kedati

Posted

Hi, I dowloaded the plugin but I can't use any commands of plugin with admin permissions also I tried to test f7 report by type teaming but I saw error on console.

Failed to call hook 'OnPlayerReported' on plugin 'SmartAntiTeam v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SmartAntiTeam.SendReportToDiscord (Oxide.Plugins.SmartAntiTeam+TeamingReportPacket packet) [0x0021a] in <c6ac04b7dde048a59876edbee60b1f18>:0 
  at Oxide.Plugins.SmartAntiTeam.OnPlayerReported (BasePlayer reporter, System.String targetName, System.String targetId, System.String subject, System.String message, System.String type) [0x000d4] in <c6ac04b7dde048a59876edbee60b1f18>:0 
  at Oxide.Plugins.SmartAntiTeam.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0237c] in <c6ac04b7dde048a59876edbee60b1f18>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Oxide.Core.Plugins.Plugin.CallHook_Patch1(Oxide.Core.Plugins.Plugin,string,object[])
Shvex[76561199015109760] was killed by Scientist[813] at (-70.19, 62.82, -886.93)

crash

Posted

Hello, will take a look now

crash

Posted

Changed Status from Pending to Fixed

Changed Fixed In to Next Version

kedati

Posted

Hi, I uploaded new version but I can't still use /prox or /alerts commands also I added "ReportWebhook": but I can't see any webhook on that channel.

kedati

Posted

I checked the logs and I still see errors

13:34 [Error] Failed to call hook 'OnCupboardAuthorize' on plugin 'SmartAntiTeam v1.3.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SmartAntiTeam.SendToDiscord (Oxide.Plugins.SmartAntiTeam+AlertPacket packet, System.Boolean sendToDiscord) [0x00063] in <3fda8720ae0d4b8c86a1dbd643153f8d>:0 
  at Oxide.Plugins.SmartAntiTeam.OnCupboardAuthorize (BuildingPrivlidge privilege, BasePlayer player) [0x000b7] in <3fda8720ae0d4b8c86a1dbd643153f8d>:0 
  at Oxide.Plugins.SmartAntiTeam.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x021df] in <3fda8720ae0d4b8c86a1dbd643153f8d>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Oxide.Core.Plugins.Plugin.CallHook_Patch1(Oxide.Core.Plugins.Plugin,string,object[])

kedati

Posted (edited)

I dowloaded the 1.2.0 version now commands and webhook is working.

Edited by kedati
crash

Posted

Hmmm interesting, in 1.2.0 everything works just right sir?

kedati

Posted

15 minutes ago, crash said:

Hmmm interesting, in 1.2.0 everything works just right sir?

Yes it does 

crash

Posted

Ok thank you, i must of have fucked something when added the API 

2.1m

Downloads

Total number of downloads.

9.9k

Customers

Total customers served.

143.9k

Files Sold

Total number of files sold.

3.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.