1. Noviets submitted a new resource:

    Reporting - Allows player reporting and chat logging.

    Read more about this resource...
     
  2. Thanks Noviets !!!!!
     
  3. Noviets updated Reporting with a new update entry:

    1.0.0

     
  4. Code:
    [Oxide] 13:46 [Error] Failed to call hook 'OnConnectionNotice' on plugin 'Reporting v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)[Oxide] 13:46 [Debug]   at Oxide.Plugins.Reporting.GetSession (System.String source) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Reporting.OnConnectionNotice (System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Reporting.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  5. Thanks!!
    [DOUBLEPOST=1452356133][/DOUBLEPOST]
     
  6. Noviets updated Reporting with a new update entry:

    1.0.1

     
  7. Wulf

    Wulf Community Admin

    Does that really fall within the scope of this plugin? :/
     
  8. Noviets updated Reporting with a new update entry:

    1.0.1

     
  9. Wulf

    Wulf Community Admin

    @Noviets, you didn't have to remove it, I was just asking if it fell within the scope of the plugin. To me it doesn't really seem like something that this plugin would need, but some may find it useful if they want to hide when connecting. A standalone plugin would make more sense though so every plugin doesn't try to reproduce the same thing.
     
  10. As a new message requires returning a value for the normal message not to appear. I needed to remove the message each time I post as I have it in the one that I use, and figured people may like it too.
    I just removed it from the plugin again. :(
     
  11. Wulf

    Wulf Community Admin

    See my other reply. ;)
     
  12. I was thinking that but wouldn't making a second hook OnConnectionNotice cause problems if one is returning a value and the other is not?
     
  13. Wulf

    Wulf Community Admin

    Why do you need to use that hook in this plugin anyways? Just send a standalone message when the admin joins using OnPlayerConnected or OnConnectionNotice not returning a value if you want to tell them there are reports. Returning should only be done when you want to cancel it entirely, such as with hiding them connecting, not for sending messages.
     
  14. OnConnectionNotice doesn't return a value. It's only used as a notification when an admin connects to display any unread reports.
    I may change to OnPlayerConnected though, as I have removed the message that I was using in this plugin there's no reason for me to keep ConnectionNotice.

    I figured if I hooked ConnectionNotice multiple times, (using a separate plugin for the admin connected message) then you would need to return a value to stop the original message from being displayed. I wasn't sure if there'd be a conflict between two hooks returning different values so I just added it because I thought it looked nice.

    It's all good I've removed it now.
     
  15. Code:
    [Oxide] 01:35 [Error] Failed to call hook 'OnConnectionNotice' on plugin 'Reporting v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)[Oxide] 01:35 [Debug]   at Oxide.Plugins.Reporting.GetSession (System.String source) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Reporting.OnConnectionNotice (System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Reporting.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  16. Noviets updated Reporting with a new update entry:

    1.0.2

     
  17. How can I grant this for all users automatically? Is there a user group?
     
  18. Wulf

    Wulf Community Admin

    Oxide's default group for Hurtworld is 'default', but this plugin is already open for all players to use. The only permission is for admin.
     
  19. Ah okay. Thx for that info.

    How can I delete reports? Just set the 777 in files and delete it?!
     
    Last edited by a moderator: Jan 11, 2016
  20. I love this plugin; However the report output is currently bugged. If I file a report against Bob, my steam ID 64 is displayed for Bob's instead of his own. The name shows up correctly, just not the players steam ID