Corpse Location

Allows users to locate their latest corpse

Total Downloads: 939 - First Release: May 16, 2018 - Last Update: Jun 8, 2018

5/5, 3 likes
  1. Wulf

    Wulf Community Admin

  2. While WheresMyCorpse provides you with distance and direction to your corpse, this plugin provides distance and grid.
     
  3. How can i translate this plugin?
    If i edit cs and json (in lang folder) changes not work.
     
  4. Wulf

    Wulf Community Admin

    The messages are under oxide/lang.
     
  5. My changes in this path not work.
     
  6. Wulf

    Wulf Community Admin

    Did you reload the plugin or restart the server after?
     
  7. Yes. I run oxide.reload CorpseLocation in console. Will i try reload server?
     
    Last edited by a moderator: Jun 15, 2018
  8. my experience is, if u edit some oxide/lang files u need restart server
     
  9. Doesnt work. i dont have permision use command VMC_NoPermision
     
  10. It always says your corpse was last seen in the unknown. How to show direction?
    Screenshot
     
  11. Could you reload the plugin and tell me if it still says "the unknown"?

    Have you given yourself the corpselocation.use permission?
     
  12. I have the same, always says "in the unknown"
     
  13. Could you try reloading the plugin as well and report if it's still "the unknown"?
     
  14. Code:
    09:11 [Error] Failed to call hook 'whereCommand' on plugin 'CorpseLocation v1.0.6' (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 arg0, System.Object arg1) [0x00009] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Plugins.CorpseLocation.SendCorpseLocation (BasePlayer player) [0x0012a] in <6efa6607b6b3479d9631766edcab0dfc>:0
      at Oxide.Plugins.CorpseLocation.whereCommand (BasePlayer player, System.String command, System.String[] args) [0x00036] in <6efa6607b6b3479d9631766edcab0dfc>:0
      at Oxide.Plugins.CorpseLocation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001e7] in <6efa6607b6b3479d9631766edcab0dfc>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0
    
    2.0.4007

    is it possible to add location why grid?

    eg: Your corspe was last seen at H19 in away direction North-West at 579m

    Thanks
     
  15. Could you send me your data file? I can't seem to reproduce this error so I would love to see what could have caused it.

    The reason I have not included direction in this plugin is because this is something WheresMyCorpse already does. But I see now that WheresMyCorpse has been added to the list of abandoned and unmaintained plugins. @Wulf if WheresMyCorpse is considered abandoned/unmaintained, would implementing direction to this plugin be okay?
     
  16. Code:
    {
      "deaths": {
        "76561197984580089": [
          -96.18631,
          173.456787,
          154.194031
        ]
      }
    }
     
  17. I still can't reproduce the error you're getting and your data file looks correct. Have you touched the language file by any chance?
     
  18. No its a fresh install


    removed file in data, lang/en and plugin folder.

    re downloaded the plugin, loaded without error and when i died:
    Code:
    11:28 [Error] Failed to call hook 'whereCommand' on plugin 'CorpseLocation v1.0.6' (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 arg0, System.Object arg1) [0x00009] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Plugins.CorpseLocation.SendCorpseLocation (BasePlayer player) [0x0012a] in <6efa6607b6b3479d9631766edcab0dfc>:0
      at Oxide.Plugins.CorpseLocation.whereCommand (BasePlayer player, System.String command, System.String[] args) [0x00036] in <6efa6607b6b3479d9631766edcab0dfc>:0
      at Oxide.Plugins.CorpseLocation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001e7] in <6efa6607b6b3479d9631766edcab0dfc>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <4de2a9f5b1eb4f0ea3c4c9778603446d>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0 
    lang file:
    Code:
    {
      "YouDied": "Your corpse was last seen {0} meters from here, in {1}.",
      "UnknownLocation": "Your last death location is unknown.",
      "NotAllowed": "You do not have permission to use that command."
    }
    data:
    Code:
    {
      "deaths": {
        "76561197984580089": [
          -97.51351,
          173.450729,
          160.383759
        ]
      }
    }
    restarted server and i get same: Your corpse was last seen 11 meters from here, in the unknow


    when i reload plugin, all work fine :)
     
    Last edited by a moderator: Jul 25, 2018
  19. So you do get told how far away your corpse is when you get that error, it just says "the unknown"? For others if it reports "the unknown" after a server restart just reloading the plugin usually fixes it. I'm assuming you've already tried reloading?
     
  20. when i reload plugin, all work fine :)