1. when player get damaged.

    My own Zone and Jail plugins were working some days ago. Just found out the do not anymore.
    Also the AdminProtection plugin.

    If damage i caused by NPC or victims is not a player - it works. Logged into console as first line of code.
    But the Hooks are not even called anymore :(

    Is there a new hook? Am i doing something wrong?

    Greetings, Dieter P.
     
  2. Wulf

    Wulf Community Admin

    Which version of Oxide are you using? You can check using the "version" command in the console.
     
  3. Lastest Version 2.0.717.

    Seems that no damage to players from fall/fire/explosive/grenade comes thru to the hook :(
    Can't test player-player damage right now.
    [DOUBLEPOST=1428953436,1428937834][/DOUBLEPOST]Hi again :)

    Tried to hit a Sleeper - Both hooks are working :)
    So, I think Player <> Player should work.

    Also tried the r-Zones.lua Plugin - Same behavier.

    Deleted all other plugins - only my Spawn.cs plugin - All the same.

    No warnings or errors in logs ....
     
  4. Wulf

    Wulf Community Admin

    We're working on a solution for the recent change that affected it. It may take a little bit, but we'll post when a fix is made. :)
     
  5. Thank You! Great job guys !
     
  6. The next snapshot will hopefully resolve the recent issue with OnEntityTakeDamage not firing for all kinds of player damage.

    OnPlayerTakeDamage has never been a documented hook, and does not even exist anymore, so you should not be using that for anything.
     
  7. OnPlayerTakeDamage was in the changed-list of one of the last updates of Oxide - So i checked it :)
    Thx for quick response !
    Dieter P.
     
  8. Wulf

    Wulf Community Admin

    That's actually not what should be used. You should be using OnEntityTakeDamage and last snapshot from GitHub. The one mentioned in thr update was only mentioned as an internal hook, not really meant for plugins to use.
     
  9. Okey Dokey. Works great now :) THX again !