Hurt Me [Replaced]

Discussion in 'Plugin Support' started by Wulf, Oct 17, 2014.

  1. Wulf

    Wulf Community Admin

    Wulf submitted a new resource:

    Hurt Me - Hurts target player on command, with optional amount

    Read more about this resource...
     
  2. So, this doesn't work for legacy? Didn't work, right out of the box.

    Parse error on line 1:
    PLUGIN.Title="Hurt M
    ^
    Expecting '{', '['
     
  3.  
  4. My mistake. Oxide 2 is only for "experimental branch"?
     
  5. Wulf

    Wulf Community Admin

    That is correct. Experimental is the main branch now though.
     
  6. How hard would it be for someone who is just starting to learn .lua to edit this so that it is compatible with 1.18? What all would I have to change?
     
  7. Wulf

    Wulf Community Admin

    Pretty much already exists for Legacy, but not incremental. http://oxidemod.org/resources/ripper.410/

    It wouldn't be hard to add the same features if you really wanted them.
     
  8. Thanks. Looking for other ways to punish hackers/people with foul mouths. Getting tired of dropping people in the water :D I"ll change the cfg to say "You have been slapped by the admin!"
     
  9. Hiya guys. when i try to use this plugin it says i dont have permission. I am server owner and can use the other admin plugins. ideas?
     
  10. Wulf

    Wulf Community Admin

    I need to update it. :)
     
  11. did this get updated in the end?
    getting this error
    Code:
    [Oxide] 3:51 PM [Error] LuaScriptException while calling cmdHurt:
    File: hurtme.lua Line: 44 attempt to call method 'TakeDamage' (a string 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
    Thanks wulf
     
  12. Is this Plugin up to date?
     
  13. Wulf

    Wulf Community Admin