I've had many reports of players simply dying rather than being resurrected. Usually this has some relationship to how far away from the phylactery the player is.
Hypothesis
The code responsible for resurrection happens on the pylon itself. I think when the player goes too far away from the phylactery, or the phylactery is never awakened because they logged in far away, its code never runs.
Fix
Move the code responsible for resurrection onto the player and the amount of fuel in the phylactery can be stored in their ZDO.
The code is already on the player. But the phylactery's Awake is where they get added to the static list and it may not be there unless the player has already visited their base during that session.
Description
I've had many reports of players simply dying rather than being resurrected. Usually this has some relationship to how far away from the phylactery the player is.
Hypothesis
The code responsible for resurrection happens on the pylon itself. I think when the player goes too far away from the phylactery, or the phylactery is never awakened because they logged in far away, its code never runs.
Fix
Move the code responsible for resurrection onto the player and the amount of fuel in the phylactery can be stored in their ZDO.The code is already on the player. But the phylactery's
Awake
is where they get added to the static list and it may not be there unless the player has already visited their base during that session.