Jump to content

Decay Logger 1.3.2

$11.99
   (2 reviews)
Message added by Gt403cyl2,

For better support, please join Discord:
https://discord.gg/HQqtNQFUHB

2 Screenshots

Recommended Comments

JustANoob

Posted

Does this lag the server at all?

Gt403cyl2

Posted

10 minutes ago, JustANoob said:

Does this lag the server at all?

No, as the description says, this is very efficient.

BetterDeadThanZed

Posted

I thought this was supposed to automatically send decay notifications to Discord but it seems to only send notifications to Discord when the command is used.

Gt403cyl2

Posted (edited)

4 hours ago, BetterDeadThanZed said:

I thought this was supposed to automatically send decay notifications to Discord but it seems to only send notifications to Discord when the command is used.

Correct, it logs the data to the data file and discord is used when a request is made for the logs of a given player.
with the amount of decay that a server can have it would be pointless to send every log to discord as it would constantly be rate limited.

Edited by Gt403cyl2
Mbesailor

Posted (edited)

i seem to be getting this error when i try to send a message to discord, also, i notice you dont get a chat message on screen saying your entities are decaying. I setup a small 4x4 with just a tc with just enough wood to decay after about 20 mins. but no message came in or any data file was created about it. Hopefully in not doing something wrong here.

Failed to call hook 'RequestDLog' on plugin 'DecayLogger v1.1.0' (FileNotFoundException: Could not find file "/home/container/oxide/data/DecayLogger/765611980404835546.json")
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.IO.File.ReadAllBytes (System.String path) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.DecayLogger.SendLogToDiscord (System.String playerId, System.String playerName) [0x00057] in <ed2e7f59834c49fd8150965e1606310f>:0 
  at Oxide.Plugins.DecayLogger.RequestDLog (BasePlayer player, System.String command, System.String[] args) [0x000c8] in <ed2e7f59834c49fd8150965e1606310f>:0 
  at Oxide.Plugins.DecayLogger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00578] in <ed2e7f59834c49fd8150965e1606310f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 

Edited by Mbesailor
Gt403cyl2

Posted

1 hour ago, Mbesailor said:

i seem to be getting this error when i try to send a message to discord, also, i notice you dont get a chat message on screen saying your entities are decaying. I setup a small 4x4 with just a tc with just enough wood to decay after about 20 mins. but no message came in or any data file was created about it. Hopefully in not doing something wrong here.

Failed to call hook 'RequestDLog' on plugin 'DecayLogger v1.1.0' (FileNotFoundException: Could not find file "/home/container/oxide/data/DecayLogger/765611980404835546.json")
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.IO.File.ReadAllBytes (System.String path) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.DecayLogger.SendLogToDiscord (System.String playerId, System.String playerName) [0x00057] in <ed2e7f59834c49fd8150965e1606310f>:0 
  at Oxide.Plugins.DecayLogger.RequestDLog (BasePlayer player, System.String command, System.String[] args) [0x000c8] in <ed2e7f59834c49fd8150965e1606310f>:0 
  at Oxide.Plugins.DecayLogger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00578] in <ed2e7f59834c49fd8150965e1606310f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 

The steam ID you are trying to get logs for does not exist, hence the fail call hook when requesting the logs.
Most likely is a typo in the steamID when entering the command.

As for not sending a chat message, if you are online and one of entities you own has decayed you should receive the chat message unless you have the config set to false.

Mbesailor

Posted

14 minutes ago, Gt403cyl2 said:

The steam ID you are trying to get logs for does not exist, hence the fail call hook when requesting the logs.
Most likely is a typo in the steamID when entering the command.

As for not sending a chat message, if you are online and one of entities you own has decayed you should receive the chat message unless you have the config set to false.

That part i understand if theres no data file, but no data files are being created. I and me wife set up two different bases, put in just in enough wood to decay in about 20 mins, went back about 30 mins later, says its in decay, no message was sent and no data file was created. Yes, i do have the notice set to true:
{
  "Chat Prefix": "<color=#32CD32>Decay Logger</color>: ",
  "Discord Prefix": "Decay Logger: ",
  "Discord WebHook": "https://discord.com/api/webhooks/1140669535477825678/ItBjRa4ResmerY5GueMfDCBqahY8XarJx-slabBiL1XtVw1D_gyR3f56v9yigjXwf92r",
  "Your time zone hours from UTC (eg: -4 or 4)": -4,
  "Send player notifications when their entity decays.": true,
  "Clear Logs on wipe.": true
}

  • Like 1
Gt403cyl2

Posted

Would you mind joining my discord (link at the top of the DecayLogger sales page) I just tested it again all is fine here, I would like to troubleshoot this in voice chat.

3 minutes ago, Mbesailor said:

That part i understand if theres no data file, but no data files are being created. I and me wife set up two different bases, put in just in enough wood to decay in about 20 mins, went back about 30 mins later, says its in decay, no message was sent and no data file was created. Yes, i do have the notice set to true:
{
  "Chat Prefix": "<color=#32CD32>Decay Logger</color>: ",
  "Discord Prefix": "Decay Logger: ",
  "Discord WebHook": "https://discord.com/api/webhooks/1140669535477825678/ItBjRa4ResmerY5GueMfDCBqahY8XarJx-slabBiL1XtVw1D_gyR3f56v9yigjXwf92r",
  "Your time zone hours from UTC (eg: -4 or 4)": -4,
  "Send player notifications when their entity decays.": true,
  "Clear Logs on wipe.": true
}

 

Taracmeden

Posted

This plugin does not seem to consistently log decay. I have had a couple hundred people join my server over the past 11 days and there are only 22 decay logger data files. I am confident that there have been many more players that have had decayed entities on the server.

Gt403cyl2

Posted

23 hours ago, Taracmeden said:

This plugin does not seem to consistently log decay. I have had a couple hundred people join my server over the past 11 days and there are only 22 decay logger data files. I am confident that there have been many more players that have had decayed entities on the server.

I appreciate the comment, a couple things to keep in mind.
Twig is always ignored.

I can assure you that if a building entity (wall/door/floor/foundation/roof/ect...) decays that is owned by a player it is caught and logged.
it's not really possible for code to sometimes work, it either works or it doesn't.

Couple hundreds player, 22 logs, that's roughly 10% which doesn't seem odd.

If you can provide specific entities that are not logged or any situations where something isn't caught, let me know and I would be happy to address it further.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.