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.
Fixed OnPlayerTakeDamage and OnEntityTakeDamage not working anymore
Discussion in 'Rust Discussion' started by NX363489, Apr 13, 2015.
-
Wulf Community Admin
Which version of Oxide are you using? You can check using the "version" command in the console.
-
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 .... -
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.
-
Thank You! Great job guys !
-
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. -
OnPlayerTakeDamage was in the changed-list of one of the last updates of Oxide - So i checked it
Thx for quick response !
Dieter P. -
Wulf Community Admin
-
Okey Dokey. Works great now
THX again !