1. Wulf

    Wulf Community Admin

    UTF-8
     
  2. Thank's Wulf ;)

    Last question : It's possible to translate in french the @{weapon} and @{bodypart} ?
     
  3. Yeah learn some lua and modify the code to use a look up table to change the values of body part and weapon.
     
  4. Ok, I thought it was easier, much like with sourcemod or it just changes a *.txt to translated into all languages (btw simplify multilingual is an asset for the community)
     
  5. Ive got a question that never seemed to really be answered previous times.... on my server it wont say player deaths but it will say animal deaths ...when I do /death i get no config found when it is there I just reinstalled this plugin on my server last night so there no reasson its not there.... also it was working before anyone got on the server when it was just me it said when i suicide ect. but when I got back on when other people were on thats when it wasint working agian. any solution?

    Here is my config file
     

    Attached Files:

  6. Do /death player and see what shows up.
     
  7. Lol I first thought that was it but for some reasson it seems it keeps reverting back to false automatically.......FIXED ......... problem is still not showing players death......FIXEDISH.....ill get back to you when i can test it on a player
     
    Last edited by a moderator: Sep 2, 2014
  8. Who's your server provider?
     
  9. Gameservers.com ....... ive had no issues with them on anything else..... for the most part... but now it says in chat when you are killed by a animal and when you kill a animal.....Just no player info (players is set to true)... ok let me fix that its now back to false ... any idea why it keeps changeing to false?
     
    Last edited by a moderator: Sep 2, 2014
  10. Don't know what to say it's like your config is being reset. When you restart your server do you see it saying that it's loading the default config.
     
  11. when i restart the server it doseint say anything at all ..... suppose ill try reinstalling the plugin agian..... ill get back to you after i reinstall........ After reinstalling the plugin it still wont announce player death only when your killed by a animal



    This is what the console receives every time i get killed or die,Could the bounty plugin be interfering since it shows up everytime someone dies? as seen below

    [Oxide] oxidecore: cs.callplugins failed with no traceback: NLua.Exceptions.LuaScriptException: A .NET exception occured in user-code: 1792013824
    [Oxide] oxidecore: A .NET exception occured in user-code (@)
    [Oxide] oxidecore: nil
    [Oxide] oxidecore: [string "bounty.lua"]:57: attempt to index global 'friend_mod' (a nil value) (@)
    [Oxide] oxidecore: 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: Sep 2, 2014
  12. is there a way to add a death message by deployable. specificly a spike wall? i have some traps set up and would like that message to appear
     
  13. Not currently in this version of the plugin, I have a local version with deployables but I just haven't released it as it is apart of a much bigger project. Also I'm without my computer for a while until I get a new watercooler as my broke during my recent move.
     
  14. No matter what I do to this, it keeps telling me "no config found!"
     
  15. My plugin doesn't have that specific message and even if it did it would auto generate a config. You would need to provide me with the oxide logs for me to even being.
     
  16. Well, I've deleted the plugin, and the config file, restarted teh server, and then re-installed it. Still same error message. What kind of log do you need?
     
  17. save/oxide/logs latest time stamped file.
     
  18. The following happens when someone dies. All the ERROR notes are from someone being killed, and the death handler not engaging in the system.


    1:35 AM: 'UNSC Trek' (STEAM_0:1:62669376) ran command '/decay '
    1:36 AM: ERROR: oxidecore: cs.callplugins failed with no traceback: NLua.Exceptions.LuaScriptException: A .NET exception occured in user-code: -1530206720
    1:36 AM: ERROR: oxidecore: A .NET exception occured in user-code (@)
    1:36 AM: ERROR: oxidecore: nil
    1:36 AM: ERROR: oxidecore: [string "DeathHandler(1).lua"]:182: bad argument #1 to 'gsub' (string expected, got boolean) (@)
    1:36 AM: ERROR: oxidecore: 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
    1:36 AM: 'Vulcanist1' (STEAM_0:0:81554831) ran command '/tp Lis'
    1:37 AM: 'UNSC Trek' (STEAM_0:1:62669376) ran command '/death '
    1:37 AM: 'UNSC Trek' (STEAM_0:1:62669376) ran command '/death '
    1:38 AM: TAXXIC: is /sethome broken?
    1:38 AM: Cookiez: no
    1:40 AM: ERROR: oxidecore: cs.callplugins failed with no traceback: NLua.Exceptions.LuaScriptException: A .NET exception occured in user-code: -930695680
    1:40 AM: ERROR: oxidecore: A .NET exception occured in user-code (@)
    1:40 AM: ERROR: oxidecore: nil
    1:40 AM: ERROR: oxidecore: [string "DeathHandler(1).lua"]:182: bad argument #1 to 'gsub' (string expected, got boolean) (@)
    1:40 AM: ERROR: oxidecore: 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
    1:40 AM: 'Lis' (STEAM_0:0:51071353) ran command '/tp Vul'
    1:40 AM: 'UNSC Trek' (STEAM_0:1:62669376) ran command '/death '
    1:40 AM: 'Lis' (STEAM_0:0:51071353) ran command '/give Large Medkit 10'
     
  19. Can you upload your death config, I believe it's suicides.
     
  20. {
    "boar":false,
    "rabbit":false,
    "adminDeathMessage":false,
    "player":true,
    "suicide":true,
    "playerDeathMessage":"@{killer} killed @{killed} (@{weapon}) with a hit to their @{bodypart} at @{distance}m",
    "logToAdminConsole":false,
    "chicken":false,
    "chatName":"R.I.P.",
    "wolf":false,
    "notifyKiller":true,
    "configVersion":"1.6",
    "logToAdmin":true,
    "wildlifeDeathMessage":"@{killer} killed a @{killed} (@{weapon})",
    "logToConsole":true,
    "deathByEntityMessage":"@{killed} has died by a @{killer}",
    "deathByEntity":true,
    "broadCastChat":true,
    "logDeathMessage":"@{killer} killed @{killed} (@{weapon}) with a hit to their @{bodypart} at @{distance}m",
    "bear":false,
    "logToAdminChat":true,
    "stag":false,
    "suicideMessage":"@{killed} has commited suicide",
    "logToFile":true
    }