RealisticFall

Modify the maximum fall height for player deaths

Total Downloads: 1,221 - First Release: Mar 24, 2015 - Last Update: Oct 30, 2015

5/5, 4 likes
  1. Wulf

    Wulf Community Admin

    M@CH!N3 submitted a new resource:

    Realistic Fall Damage - Makes falling death height more realistic

    Read more about this resource...
     
  2. Thanks for sharing!
     
  3. Hello,

    The problem is new wounded system conflict with this.

    I setup height max 1,5m but even players jump from huge towers to another house roof they do not die just wounded and sometimes they can wakeup without die

    Is there any way to modify it directly kill the player instead of wounded?
    [DOUBLEPOST=1428858337,1428687694][/DOUBLEPOST]hi,

    can not get reply for our above but maybe atleast you can fix it for below error?
    [Oxide] 6:06 PM [Warning] RealFall plugin is using deprecated hook: OnEntityAttacked
     
  4. Wulf

    Wulf Community Admin

    That's not an error, it's just a warning. It doesn't affect the plugin.
     
  5. yea I know but personally I am sick and tired about the non stop messages in rusty console

    additionally my log file easily reach about 2mb in 1 day because of this error logs

    Is there any way to fix it as other developers did for their plugins?
     
  6. I have same issue :/
     
  7. somebody can fix it but they dont want to do it :)
     
  8. Wulf

    Wulf Community Admin

    It's just a one-line rename. ;) I did disable the console command too as it doesn't have any permission checking. I started to overhaul the plugin the other day, but for now this is just a quickfix to get rid of the deprecated hook warning.
     

    Attached Files:

  9. OnEntityTakeDamage
    no longer hook fall, explosion.
     
    Last edited by a moderator: Apr 14, 2015
  10. Wulf

    Wulf Community Admin

    It does, it is fixed in yesterday's snapshots.
     
  11. Version 2.0.717 - doesn't work.
    Hook just don't being called when i fall, or throw grenade under by body :)
     
  12. Wulf

    Wulf Community Admin

    Snapshot, not release.
     
  13. Ah... i hope it'll be released soon :)
     
  14. Code:
    [4/24/2015 10:40:54 PM] [Oxide] 10:40 PM [Warning] RealFall plugin is using deprecated hook: OnEntityAttacked
     
    Last edited by a moderator: Apr 24, 2015
  15. Wulf

    Wulf Community Admin

  16. Code:
    [Oxide] 8:50 AM [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Realistic Falling Damage'
    File: RealFall.lua Line: 35 attempt to perform arithmetic on local 'max' (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 
    and my config file is blank since last plugin update.
     
  17. Same here now... :
    Code:
    [Oxide] 11:13 AM [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Realistic Falling Damage'
    File: RealFall.lua Line: 35 attempt to perform arithmetic on local 'max' (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] 11:13 AM [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Realistic Falling Damage'
    File: RealFall.lua Line: 35 attempt to perform arithmetic on local 'max' (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=1431855833][/DOUBLEPOST]And after reinstalling and reloading the plugin :
    Code:
    [Oxide] 11:46 AM [Error] Failed to initialize plugin RealFall
    File: RealFall.lua Line: 11 attempt to call field 'AddChatCommand' (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 
     
  18. any news about this \/

    ????