KillInfo

Want to know info when you wound or kill a player?

Total Downloads: 592 - First Release: Jul 2, 2018 - Last Update: Jul 5, 2018

5/5, 1 like
  1. birthdates updated KillInfo with a new update entry:

    1.3

     
  2. Wiped the language file, both attacker and victims are players. Config file has everything set to true. Even completely deleted the plugin from my server then reloaded it. I am getting an error message. For some reason, even though I downloaded the plugin again, it's still saying version 1.0, so, not sure if that just wasn't changed or if somehow the link hasn't updated?
    Code:
    (14:50:10) | Failed to call hook 'OnPlayerWound' on plugin 'KillInfo v1.0.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
      at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ff] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00020] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Plugins.RustPlugin.PrintToChat (BasePlayer player, System.String format, System.Object[] args) [0x0000e] in <bd4caadc75b645369559ec9e852e22e4>:0
      at Oxide.Plugins.RustPlugin.SendReply (BasePlayer player, System.String format, System.Object[] args) [0x00000] in <bd4caadc75b645369559ec9e852e22e4>:0
      at Oxide.Plugins.KillInfo.OnPlayerWound (BasePlayer player) [0x00069] in <b4f1d097a5954cf690e7fbe9e6eaa74a>:0
      at Oxide.Plugins.KillInfo.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00117] in <b4f1d097a5954cf690e7fbe9e6eaa74a>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
     
  3. Does this only happen to OnPlayerWound? And this error occurs when you pass in less values then intended. So I only pass in one the {0}. So if you go into your lang file (KillInfo.json located in oxide/lang/en) if the wounded message has {1} or {2} then just remove it. If that isn't the problem please put in the lang file so I can see anything that could be wrong
     
  4. Yes, only on the wounded, but, dropping the 1 and 2 did it, it works now when a player is wounded and dropped. Thanks!
     
  5. Ok, now I have a suggestion/request. Could we somehow have randomized messages so it's not the same one everytime?
     
  6. What do you mean?
     
  7. Like, an option to have more than one message for wounded or kill, so lets say one time I wound somebody it says "Wounded - you have wounded PLAYER X" and the next time it could say "Wounded - you just knocked down PLAYER X" and the 3rd time "Wounded - whoa! Nice shot! You blasted PLAYER X, now finish them!" ... (not actually what it should say, just quick examples of what I'm referring to.). Having the multiple messages randomized would make it less repetitive so players actually read it. It's a really cool plugin, but some of my players that liked it at first, have said they don't even notice it now. I think it's because it says the same thing each time. If it's not possible, no biggie. Just thought giving server owners the ability to add multiple versions of the message might make it a more popular option.