LootLogs

Log all items deposited and removed from storage, stash and oven containers

Total Downloads: 594 - First Release: Aug 13, 2016 - Last Update: Apr 21, 2018

5/5, 6 likes
  1. Wulf

    Wulf Community Admin

    We don't accept forks/modified copies of plugins, so you may want to contact @k1lly0u about contributing to it instead.
     
  2. Hello,

    Code:
    oxide.version
    Protocol: 2050.155.1
    Build Date: 01/11/2018 20:47:17
    Unity Version: 2017.1.2f1
    Changeset: 24755
    Branch: main
    Oxide.Rust Version: 2.0.3813
    Code:
    Error while compiling: LootLogs.cs(212,25): error CS1955: The member `BasePlayer.IsAdmin' cannot be used as method or delegate
    edit: solved with Solved - Fix for IsAdmin error?
     
    Last edited by a moderator: Jan 16, 2018
  3. hello,

    how to fix:
    Code:
    Error while compiling: LootLogs.cs(204,27): error CS0117: `ConVar.Server' does not contain a definition for `Log
    i can remove or comment any lines but i want to log...

    Cheers,
     
  4. Wulf

    Wulf Community Admin

    Wulf updated LootLogs with a new update entry:

    0.1.4

     
  5. Given the danger of over logging and suffocating a server, is there a way to add functionality to remove logs after a certain date?

    Unsure if that's possible.
    [DOUBLEPOST=1524326014][/DOUBLEPOST]I get the following message:

    Code:
    (11:48:48) | Failed to call hook 'OnItemRemovedFromContainer' on plugin 'LootLogs v0.1.4' (NullReferenceException: A null value was found where an object instance was required.)
      at Oxide.Plugins.LootLogs.OnItemRemovedFromContainer (.ItemContainer container, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootLogs.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
    It appears the other plugins I use that use this hook are:
    • Dangerous Treasures
    • Quests
    • Replenish
    • SkinBox
    • SkinPerks
    • Trade
    • Triggered ExplosiveCharges
    Is this conflicting or not working?
     
  6. Yup, same. It's a Vanilla+ and no other plugin with this hook so shouldn't be that.

    Also a note OnItemAddedToContainer seems to be taxing on performance, there's a minimum 200ms warning each gc.
     
  7. hello, I encounter this error message :

    Code:
    Failed to call hook 'OnItemRemovedFromContainer' on plugin 'LootLogs v0.1.4' (NullReferenceException: A null value was found where an object instance was required.)
      at Oxide.Plugins.LootLogs.OnItemRemovedFromContainer (.ItemContainer container, .Item item) [0x00000] in :0
      at Oxide.Plugins.LootLogs.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0 
    I also have another problem, I do not have the time in the logs but the date is present.

    Thank you.
     
  8. Code:
    01:59 [Error] Failed to call hook 'OnItemRemovedFromContainer' on plugin 'LootLogs v0.1.4' (NullReferenceException: A null value was found where an object instance was required.)
      at Oxide.Plugins.LootLogs.OnItemRemovedFromContainer (.ItemContainer container, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootLogs.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 
     
  9. Code:
    /findid
    looking quarry hqm

    Code:
    The box you are looking at is of the type:
    ResourceExtractorFuelStorage with the ID: 7696341.
    You can find the log for this box in 'oxide/data/LootLogs/ResourceExtractorFuelStorage/fuelstorage_7696341_xxdatexx.txt'
    First problem:
    oxide/data/LootLogs is not created by plugin (already created manualy and reloaded plugin)

    Other problem:
    Put 2k lgf in quarry :
    Code:
    oxide/data/LootLogs/ResourceExtractorFuelStorage/fuelstorage_7696341_xxdatexx.txt
    doesn't exist after reload plugin...

    Ok: log are in oxide\logs\LootLogs\lootlogs_storagecontainer-fuelstorage-7696341-2018-06-04.txt
     
    Last edited by a moderator: Jun 4, 2018