1. Code:
    [Oxide] 4:25 PM [Error] r-deathmessages: [string "r-deathmessages.lua"]:113: attempt to call method 'ToPlayer' (a nil value)
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1421849697,1421792993][/DOUBLEPOST]
    Code:
    [Oxide] 8:14 AM [Error] r-deathmessages: [string "r-deathmessages.lua"]:113: attempt to call method 'ToPlayer' (a nil value)
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 8:14 AM [Error] r-deathmessages: [string "r-deathmessages.lua"]:113: attempt to call method 'ToPlayer' (a nil value)
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    getting major errors from this plugin.... removeing it for now
     
    Last edited by a moderator: Jan 21, 2015
  2. Those errors dont matter --' and won't make your server lag nor crash
     
  3. still getting this error...

    Code:
    [Oxide] 11:09 AM [Error] r-deathmessages: [string "r-deathmessages.lua"]:113: attempt to call method 'ToPlayer' (a nil value)
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Feb 5, 2015
  4. wtf ... i don't understand i did the check --'
    oh well doesnt matter i guess XD
    but i would really like you to tell me if you find WHEN this error happens.
     
  5. yeah i am working on that, I know that chickens are getting hit in their root_bone. but sometimes this error spams my RCON a lot and sometimes its rare. I wonder if it is tied to a animal eating another animal in which case a player would not be involved in the death message making toplayer a nil value.
     
  6. Updated Oxide today and now I get this message when any animals are killed and no message displayed in-game, unsure about players as TP is broken and will take a while to get to another player.

    [Oxide] 3:35 PM [Error] r-deathmessages: [string "r-deathmessages.lua"]:81: attempt to index field 'UInt32' (a nil value)
    at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  7. Your files are corrupted, this is not à bug from my plugin.
     
  8. This is not a plugin. This oxide. I have the same error ...
     
  9. Good plugin, but... Where I can found this strings "pelvis", "eye" and more? I found server, where this things was translated? How I can do this too? Thanks.
     
  10. You can't as i didnt implement that, they make too much changes on deaths and i wanted to wait for them to implement most of the things before i update it more
     
  11. So... No way.. But how one server translated that?
     
  12. because the admin probably knows how to code XD
     
  13. nevermind, figured it out.
     
    Last edited by a moderator: Jan 28, 2015
  14. great plugins can be translated into Spanish
     
  15. CHR

    CHR

    Im complete new to this

    I got a paid Server with a webinterface. Im reading something about Mysql is it Need to run this?
    I could buy a mysql but i really dont know how to set it up or what i have to do.
    Can i get some help?

    Ty
     
  16. Reneb, this is popping up and spamming the Oxide log:

    Code:
    10:49 PM [Error] Web request produced exception (Url: ?key=&type=natural&killedid=76561198039660086&killer=Radiation&killed=GingerNinja) (UriFormatException: Invalid URI: The format of the URI could not be determined: ?key=&type=natural&killedid=76561198039660086&killer=Radiation&killed=GingerNinja)
    10:49 PM [Debug]  at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000] in <filename unknown>:0
      at System.Uri..ctor (System.String uriString) [0x00000] in <filename unknown>:0
      at System.Net.WebRequest.Create (System.String requestUriString) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+GetWebrequest.Process () [0x00000] in <filename unknown>:0
    I am running pretty much stock messages:
    Code:
    {
      "Mysql": {
        "pve": true,
        "naturalcauses": true,
        "uploadpage": "",
        "pvp": true,
        "key": ""
      },
      "deathByEntityMessage": "@{killed} has died by a @{killer}",
      "Settings": {
        "mysql": true,
        "animalkills": true,
        "players": true,
        "animaldeaths": true
      },
      "ChatName": "Death",
      "SuicideDeathsMessage": "@{killed} commited suicide",
      "naturalcausesdeathmessages": {
        "Suicide": "@{killed} commit suicide.",
        "Cold": "@{killed} frooze to death.",
        "Hunger": "@{killed} died from hunger.",
        "Fall": "@{killed} fell and died.",
        "Bite": "@{killed} was bitten to death.",
        "Thirst": "@{killed} was too thirsty and died.",
        "Bleeding": "@{killed} bleed to death.",
        "Generic": "@{killed} just died.",
        "BluntTrauma": "@{killed} died from a blunt trauma.",
        "Slash": "@{killed} got slashed.",
        "Heat": "@{killed} became a dead human torch.",
        "Bullet": "@{killed} died from a bullet.",
        "Poison": "@{killed} was poisonned.",
        "Drowned": "@{killed} thought he could breath under water.",
        "Radiation": "@{killed} got irradiated."
      },
      "playerDeathMessage": "@{killer} killed @{killed} (@{weapon}) with a hit to their @{bodypart} at @{distance}m",
      "wildlifeDeathMessage": "@{killer} killed a @{killed} (@{weapon}) with a hit to their @{bodypart} at @{distance}m",
      "deathByEntityWhileSleepingMessage": "@{killed} was eaten alive while sleeping by a @{killer}",
      "naturalcausesdeath": true,
      "SuicideDeaths": true,
      "playerDeathWhileSleepingMessage": "@{killer} murdered @{killed} while sleeping with a @{weapon} at @{distance}m"
    }


    EDIT: I changed the line "mysql": true, to "mysql": false,
    Hopefully, that's the fix.
     
    Last edited by a moderator: Feb 5, 2015
  17. i really like the plugin.
    my compliments for your hard work on al the great plugins
    but i have a question.. can you fix something so it creates a log file for statistics?
    For like a shooting contest. longest range.. most kills. etc?
     
  18. K..

    K..

  19. Is it me or why am I getting double death-messages in chat? did rust add their own death-messages.