-
Contributor
[v7.6] [ENGLISH] [glq] PlayerResurrectionTimer
Supported TurboHUD version: 9.0
https://i.imgur.com/8GYrb1k.mp4
This plugin shows the player's resurrection timer
Known issue: When players are not on the same map with me, the state of death cannot be counted
Hope someone can improve it
Code
GLQ_PlayerResurrectionTimer - Pastebin.com
Place in plugins\glq\GLQ_PlayerResurrectionTimer.cs
Code:
Hud.GetPlugin<GLQ_PlayerResurrectionTimer>().delay = 3d;//This value stands for N seconds. If the player still dies, he is judged to be dead (not more than 3.5 seconds)
Change log
20.6.30
1.Adapt to v9.1
17.9.12
1.Thanks to gjuz's array code optimizations to make the code more readable
2.Fixed dead state after leaving game reconstruction, falsely reporting Ghost statu
17.9.10
1.Modify the state of death judgment, The default death state lasts 3 seconds, determines the death, and starts the death timer
Last edited by SeaDragon; 06-30-2020 at 04:15 AM.
-
Post Thanks / Like - 9 Thanks
-
Member
You can use that animation in the IMG tag if you replace '.mp4' with '.gif' like this:
HTML Code:
[IMG]https://i.imgur.com/gt0LW7f.gif[/IMG]
-
Contributor
Originally Posted by
aamlima
You can use that animation in the IMG tag if you replace '.mp4' with '.gif' like this:
HTML Code:
[IMG]https://i.imgur.com/gt0LW7f.gif[/IMG]
Thanks for the reminder, it changed
-
Active Member
-
Member
You are the best dude ! awesome plugin, like always =). Ty
-
Active Member
ty but the game show u the timer, useless
-
Active Member
It shows timer for ghost mode. Barb knows exactly the point to cast ignore pain. If you don't play high GRifts you don't need it. One of the best plugins. You see timer of other players.
-
Post Thanks / Like - 1 Thanks
FixiWiz (1 members gave Thanks to bm206 for this useful post)
-
Member
I noticed a false alarms for other players. it showing "dead" and "ghost" sometimes several times at one run, but i didn't noticed any patter or reason why
if i'm not misstaken, for WD mostly - maybe it's causing by gear with legenary affix that saves him from death
-
Contributor
Originally Posted by
JohnWick
I noticed a false alarms for other players. it showing "dead" and "ghost" sometimes several times at one run, but i didn't noticed any patter or reason why
if i'm not misstaken, for WD mostly - maybe it's causing by gear with legenary affix that saves him from death
I found the same problem, and I'm trying to find out why
-
Contributor
GLQ_PlayerResurrectionTimerdebug.cs - Pastebin.com
I created a more intuitive plug-in debugging problem
The problem was found in if (player.IsDead), and sometimes the player(Maybe index's problem?) was thought to be dead (about one second or so) when he was away from me
I couldn't figure out the law of the problem. When I was playing a team game with barbarians, the witch doctor often had this problem when I was away from the team
When I play in the public, the problem occasionally appears in other classes
-
Post Thanks / Like - 1 Thanks
cherouvim13 (1 members gave Thanks to SeaDragon for this useful post)
-
Member
Originally Posted by
SeaDragon
GLQ_PlayerResurrectionTimerdebug.cs - Pastebin.com
I created a more intuitive plug-in debugging problem
The problem was found in if (player.IsDead), and sometimes the player(Maybe index's problem?) was thought to be dead (about one second or so) when he was away from me
I couldn't figure out the law of the problem. When I was playing a team game with barbarians, the witch doctor often had this problem when I was away from the team
When I play in the public, the problem occasionally appears in other classes
Perhaps the problem is not in the plugin but in the THUD itself
-
Member
So it is because of THUD?
-
Contributor
Originally Posted by
cherouvim13
So it is because of THUD?
Yes, I can't fix it
-
Member
-
Contributor
Originally Posted by
odaru7788
有時會出現自己沒死卻顯示靈魂狀態
According to my test, this is the problem of HUD itself
I can't fix it, At least I haven't got a solution yet
At a certain moment, the player is judged to be dead and immediately back to normal, causing the problem
Last edited by SeaDragon; 09-05-2017 at 03:06 AM.
-
Post Thanks / Like - 2 Thanks