ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Search/Requests (https://www.esoui.com/forums/forumdisplay.php?f=165)
-   -   addon to auto accept recurrection (https://www.esoui.com/forums/showthread.php?t=10154)

Marazota 04/27/22 09:01 AM

addon to auto accept recurrection
 
addon to auto accept resurrection - anyone know such addon? tried to search but no luck
but may be its exist already

need auto accept in PVP

ExoY 04/27/22 11:11 AM

Quote:

Originally Posted by Marazota (Post 45784)
addon to auto accept resurrection - anyone know such addon? tried to search but no luck
but may be its exist already

need auto accept in PVP

No guarantee that this already achieves what you are looking for. But after a quick look at the api documentation i found those two functions:

Lua Code:
  1. AcceptResurrect()
  2. IsResurrectPending()

I have not tested anything, but from the sounds of it those could be used to do exaclty what you are looking for.

Baertram 04/27/22 12:33 PM

I believe it will not work to call these functions via addons as else it would exist already. Sounds like automation/botting to me.
As the code of ZOs that uses these functions (revive dialog e.g.) is local I guess this is something one should not try to "hack" into.
Most probaly the server will ignore it or you will get kicked if tried too often, or it may even work (which would be wrong imho).

ExoY 04/27/22 05:02 PM

Quote:

Originally Posted by Baertram (Post 45788)
I believe it will not work to call these functions via addons as else it would exist already. Sounds like automation/botting to me.
As the code of ZOs that uses these functions (revive dialog e.g.) is local I guess this is something one should not try to "hack" into.
Most probaly the server will ignore it or you will get kicked if tried too often, or it may even work (which would be wrong imho).

Sorry, but i have to disagree. Those function are freely accessible. Quickly tried it out with simply
Lua Code:
  1. \script d(IsResurrectPending() )
  2. \script AcceptResurrect()

I had a friend kill me in a dual and then rez. As expected the first function returns false until a resurrect is pending. The second function was executed without any problem.

Maybe there are limitation like being in dungoen/trials or pvp zones or being in combat. But in general those function work.

I dont see why those functions exist, if zos doesnt want them to be used.


I guess no such addon exists because it might be considered rather useless... while dead you dont really have anything else to do but wait for a rez and accept it. Also just blindly accepting a rez could cause more harm then good: maybe you need for a mechanic to finish or such.

Baertram 04/28/22 02:00 AM

Quote:

Originally Posted by ExoY (Post 45794)
I had a friend kill me in a dual and then rez. As expected the first function returns false until a resurrect is pending. The second function was executed without any problem.

Thanks for the update, interesting to know that.

Quote:

Originally Posted by ExoY (Post 45794)
I guess no such addon exists because it might be considered rather useless... while dead you dont really have anything else to do but wait for a rez and accept it. Also just blindly accepting a rez could cause more harm then good: maybe you need for a mechanic to finish or such.

I agree here

sirinsidiator 04/28/22 04:55 AM

Quote:

Originally Posted by ExoY (Post 45794)
I guess no such addon exists because it might be considered rather useless... while dead you dont really have anything else to do but wait for a rez and accept it. Also just blindly accepting a rez could cause more harm then good: maybe you need for a mechanic to finish or such.

Exactly. Usually you'd want to time when you get revived and maybe even keep it pending for a good 30 seconds.
In my war tools addon I actually added a feature that did the opposite and automatically declines a rez when the user doesn't press a key within a few seconds.
Reason being that one player can only have one pending rez at a time and when he tries to rez someone who's afk (which happens quite often in Cyrodiil, or at least it did in the past) he's locked out of reviving anyone else for a full minute without any way to cancel that.


All times are GMT -6. The time now is 12:34 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI