1. hurray nice :)
     
  2. This would be a great idea if it were used in clans similar to how ARK does the Tribe logging for each tribe to keep track or what goes on within the tribe to watch for abusers in the group or clan.
    example http://puu.sh/ltaUB/f219a51027.png
     
  3. I personally think that such explicit behaviour would be overkill for this plugin, as this plugin is mainly intended to provide extra info to server owners to make better decisions, but not to use that data for other plugins/behaviour.
    I could maybe write a seperate plugin that exposes an API which other plugins can then use, but I personally wouldn't add it to this plugin as those two use cases are fairly different and people would usually only want either the log or the API.
     
  4. A separate plugin like that would be amazing!
     
  5. another suggestion: Instead of only accepting the real item names like "Waterpipe Shotgun" it was also cool if the white/backlist would accept the console names like "shotgun.waterpipe". This way I could simply use the whole list I have in my "ComponentBlocker" config. Now I kinda need to translate them all.
     
  6. sqroot updated CraftLog with a new update entry:

    1.4.0

     
  7. Would it be possible to have this show in the console? So we can see what people are doing as they do it vs. having to check the log file via FTP?
     
  8. Yeah, it's possible.
    The original idea was to look at the log when something suspicious happens.
    I'm not sure whether adding it to the console is a good idea, it would probably completly spam the console and drown all other information the console provides.
    Are you sure that it's a good idea? I can only imagine it being useful for very small servers.
     
  9. Maybe with a config option to enable or disable then? Issue we're having is that since the XP update people are mass crafting items (like 10k rocks for example) which causes massive server lag and ultimately crash. I'm just looking for a way to monitor these types of actions, so that if people start doing that I can kick/ban before the server implodes. As it is now, I keep having to reload the txt file - Which is fine if you think that's the best way to do it.

    Was just wondering :)
     
  10. I think Craft Spam Blocker for Rust | Oxide is a better solution to your specific problem than trying to actively monitor crafting all the time.
    If you find any other good use cases for actively monitoring huge amounts of crafting operations, let me know.
    I might implement it, I'll see (I prefer keeping configuration and optional modes to a minimum - makes the plugin easier to use and understand ;)).
    [DOUBLEPOST=1468260519][/DOUBLEPOST]Actually, looking at the plugin support thread the plugin doesn't seem to fully work. I'll have a look at that other plugin.
     
  11. That would be fantastic <3 thank you!
     
  12. This is bringing up errors now. The fact XP has been nerfed now for Max XP Crafting it might not be needed anymore.

    Code:
    RuntimeError: Failed to call OnItemCraft (DirectoryNotFoundException: Could not find a part of the path "C:\TCAFiles\Users\DarrenS\17342\server\my_server_identity\oxide\logs\crafted.txt".)
    at System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions) <0x0029e>
    at System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) <0x00042>
    at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) <0x00078>
    at System.IO.StreamWriter..ctor (string,bool,System.Text.Encoding,int) <0x000a0>
    at System.IO.StreamWriter..ctor (string,bool) <0x00052>
    at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor (string,bool) <0x0005c>
    at System.IO.File.AppendAllText (string,string) <0x00056>
    at ConVar.Server.Log (string,string) <0x000c4>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,string,string) <0x00084>
    at (wrapper dynamic-method) object.log$6 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object,object) <0x01394>
    (21:07:09) | [Oxide] 22:07 [Error] Failed to call hook 'OnItemCraft' on plugin 'CraftLog v1.4.0'
    Traceback (most recent call last):
      File "CraftLog.py", line 53, in OnItemCraft
      File "CraftLog.py", line 50, in log
     
  13. Well, that looks like more of an issue with your setup than the plugin (in fact, this error is caused internally in Rust's logging method).
    Testing the plugin on my server yields no errors either.
    The error states that one of the directories specified in the path does not exist. Is that the case?
     
  14. You could be right as the server I have just moved to has some odd file system. Let me check that.
     
  15. Yes it seems they have changed most of the locations. A little confusing. Once I created the folder a couple of others turned up as well.

    Thanks for pointing that out.

    upload_2016-7-16_22-26-35.png
     
  16. Hi
    After today update Rust:
    Code:
    (19:51:47) | [Oxide] 19:51 [Error] Failed to call hook 'OnItemCraft' on plugin 'CraftLog v1.4.0'
    Traceback (most recent call last):
    RuntimeError: Failed to call OnItemCraft (ArgumentTypeException: OnItemCraft() takes exactly 3 arguments (4 given))
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object,object) <0x000be>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object,object,object) <0x00162>
    at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,Microsoft.Scripting.Runtime.DynamicOperations,System.Runtime.CompilerServices.CallSiteBinder,object,object[]) <0x00089>
    at Microsoft.Scripting.Runtime.DynamicOperations.Invoke (object,object[]) <0x000e1>at Microsoft.Scripting.Hosting.ObjectOperations.Invoke (object,object[]) <0x00039>at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ObjectOperations.Invoke (object,object[]) <0x00091>at Oxide.Ext.Python.Plugins.PythonPlugin.OnCallHook (string,object[]) <0x000e9>
     
    Last edited by a moderator: Sep 15, 2016
  17. Thanks, I'll fix it real quick (just let me reinstall Rust and a server real quick) :p
     
  18. sqroot updated CraftLog with a new update entry:

    1.4.1

     
  19. Nice :) THX!