Logger

Moved

Total Downloads: 3,428 - First Release: Oct 22, 2014 - Last Update: Dec 12, 2017

5/5, 24 likes
  1. error in russian translate)
    Code:
    {
      "ItemCrafted": "{0} ({1}) созданный {2} {3}",
      "ItemDropped": "{0} ({1}) упал {2} {3}",
      "PlayerCommand": "{0} ({1}) прописал команду: {2} {3}",
      "PlayerConnected": "{0} ({1}) подключился с IP: {2}",
      "PlayerDisconnected": "{0} ({1}) отключился",
      "PlayerRespawned": "{0} ({1}) возродился по {2}"
    }
    or in all translates
     
    Last edited by a moderator: Nov 26, 2017
  2. Wulf

    Wulf Community Admin

    What's the error? You mean just the missing ) in the messages? That has already been fixed in an upcoming, but thanks for noticing.

    Added a couple extra checks for the next version, thanks for the report.
     
  3. Hey.
    Have this error:

    Code:
    (17:40:58) | Failed to call hook 'OnItemAction' on plugin 'Logger v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)(17:40:58) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  4. "Log items crafted by players (true/false)": false,


    Code:
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    [Oxide] 15:36 [Info] [Logger] Atum Ra (7656119843XXXXXXX) crafted 1 Bandage
    ^this is the most annoying thing
     
  5. the thing that drives me nuts is that the actual files logger creates doesn't put time stamps on the events, so trying to confirm a whole faction ragequit at the same time in the connection log is temporarily impossible for me
     
  6. Wulf

    Wulf Community Admin

    That is already fixed for the upcoming version.
     
  7. Wow....
    there are many Errors:

    Code:
    (20:34:54) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:34:55) | [Logger] Mini Frosch (76561198423463354) ran command: /delhome dealer
    (20:34:56) | MdmA[120704/76561197986377396] has entered the game
    (20:34:56) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:04) | [Logger] Mini Frosch (76561198423463354) ran command: /delhome eingang
    (20:35:08) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:09) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:11) | [Logger] [Admin] Saschilys (76561198396363707) ran command: global.LMUI_Control map True
    (20:35:12) | [Logger] ㄨ LAW ㄨ (76561198223116788 dropped 1 Beenie Hat
    (20:35:13) | [Logger] eddyp30 (76561198263488190 dropped 50 Bone Fragments
    (20:35:13) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:14) | [Logger] eddyp30 (76561198263488190 dropped 41 Bone Fragments
    (20:35:14) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:14) | [Logger] Mini Frosch (76561198423463354) ran command: /delhome güterbahnhof
    (20:35:17) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:18) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:24) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:24) | [Logger] Mini Frosch (76561198423463354) ran command: /delhome heli
    (20:35:26) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:34) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:36) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:36) | [Logger] Mini Frosch (76561198423463354) ran command: /delhome holz
    (20:35:41) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:35:45) | [Logger] Coco (76561198129997182 dropped 1 Tarp
    (20:35:46) | at Oxide.Plugins.Logger.OnItemAction (.Item item, System.String action) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  8. Wulf

    Wulf Community Admin

    Wulf updated Logger with a new update entry:

    2.1.1

     
  9. Wulf

    Wulf Community Admin

    Wulf updated Logger with a new update entry:

    2.1.2

     
  10. Thanks for the fixes
     
  11. Would it be possible to log the "damage" a player gets by someone or something? I know this can be very game consuming but it can be handy for debug. Most hackers won't kill anyone because their name could be listed, but logging all damages to players can be very handy at those moments
     
  12. Wulf

    Wulf Community Admin

    For Rust I assume?
     
  13. Yes, sorry :p
     
  14. Code:
    [Oxide] 16:58 [Error] Failed to call hook 'OnServerCommand' on plugin 'Logger v2.1.2' (FormatException: Input string was not in a correct format.) at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0 at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.Log (System.String filename, System.String key, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.OnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 16:58 [Error] Failed to call hook 'OnServerCommand' on plugin 'Logger v2.1.2' (FormatException: Input string was not in a correct format.) at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0 at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.Log (System.String filename, System.String key, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.OnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  15. Wulf

    Wulf Community Admin

    Make sure your oxide/lang for the plugin doesn't have any of the format tags removed such as {0}.
     
  16. im delete all files include lang, and upload plugin. errors not stopped.

    in lang files now:
    Code:
    "ItemCrafted": "{0} ({1}) скрафтил {2} {3}",
      "ItemDropped": "{0} ({1} упал {2} {3}",
      "PlayerCommand": "{0} ({1}) прописал команду: {2} {3}",
      "PlayerConnected": "{0} ({1}) подключился с IP: {2}",
      "PlayerDisconnected": "{0} ({1}) отключился",
      "PlayerRespawned": "{0} ({1}) возродился по {2}"
     
  17. Is there a way you can add time stamps to the logs?
     
  18. Wulf

    Wulf Community Admin

    They are already in there if you are updated.

    Edit: Looks like I missed adding them to the logs, only the console.
     
  19. Wulf

    Wulf Community Admin

    Wulf updated Logger with a new update entry:

    2.1.3

     
  20. @Wulf How do i get it back to showing the command name not the number?
    Code:
    (10:28:51) | [Logger] DeadMan () ran command: 271534758
    (10:29:02) | [Logger] DeadMan () ran command: -975723312
    (10:29:03) | [Logger] DeadMan () ran command: -975723312