1. Reneb submitted a new resource:

    Player Informations - Stores player IPs , usernames, positions, last seen, first connection ...

    Read more about this resource...
     
  2. Getting errors when players join and leave

    Code:
    [Oxide] 11:39 PM [Error] Failed to call hook 'OnPlayerConnected' on plugin 'PlayerInformations v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)[Oxide] 11:39 PM [Debug]  at Oxide.Plugins.PlayerInformations.RecordIP (NetworkPlayer netPlayer, .PlayerIdentity player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerInformations.OnPlayerConnected (.PlayerIdentity player, NetworkPlayer netPlayer) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerInformations.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
     
  3. Wulf

    Wulf Community Admin

    There's also an error on Unload:
    Code:
    [Oxide] 12:43 AM [Error] Failed to call hook 'Unload' on plugin 'PlayerInformations v1.0.0' (NullReferenceException: Object reference not set to an instance ofan object)
    [Oxide] 12:43 AM [Debug]   at Oxide.Plugins.PlayerInformations.EndRecordTime (.PlayerIdentity player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerInformations.Unload () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerInformations.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[]
     
  4. you need playerdatabase
     
  5. Reneb updated Player Informations with a new update entry:

    1.0.1

     
  6. Wulf

    Wulf Community Admin

    You should check if it isn't installed, and throw a friendly error still.
     
  7. i forgot how to unload a plugin via oxide C# ^^?
     
  8. Wulf

    Wulf Community Admin

    Interface.Oxide.UnloadPlugin("name") I believe, but a message should still be shown.
     
  9. why dont you make something like on the forum:

    For required reference
    Code:
    [PluginReferenceRequired]
            Plugin PlayerDatabase;
    For optional refence
    Code:
    [PluginReference]
            Plugin PlayerDatabase;
     
  10. not work
     
  11. My error
     

    Attached Files:

  12. My too
     
  13. Working for me so far, thanks
    Added the playerdatabase plus the update
     
    Last edited by a moderator: Dec 13, 2015
  14. this happens when someone disconnects without a position. nothing to be alarmed with ^^
    i'll still fix it!
     
  15. Thanks :)
     
    Last edited by a moderator: Dec 13, 2015
  16. Code:
    6:36 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'PlayerInformations v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    6:36 PM [Debug]   at Oxide.Plugins.PlayerInformations.RecordLastSeen (NetworkPlayer netPlayer, .PlayerIdentity player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerInformations.OnPlayerDisconnected (.PlayerIdentity player, NetworkPlayer netPlayer) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerInformations.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
    Error after last hurtworld update :( also tested the plugin with default configs to see if the problem was some change that i had made but it was not :)
     
  17. don't worry this is a harmless error.
    most likely the player just connected/disconnected instantly.
    [DOUBLEPOST=1450052883][/DOUBLEPOST]unless you are telling me it is spamming.
     
  18. /played isnt working for me.

    Says the player doesnt have any playtime recorded.
     
  19. you need to wait for the plugin to load.
    If you try /played right after starting the plugin you wont get any record. The best moment to install the plugin is on wipe to record all players.
     
  20. I did it during a wipe. All the other commands are working fine but /played wont for some reason.