Unable to resurrect party due to missing dead bodies

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
CapnHyaku
Posts: 12
Joined: Sat May 30, 2020 9:20 am

Unable to resurrect party due to missing dead bodies

Post by CapnHyaku »

I have been able to easily reproduce this but can't find a bug/thread on this already. I am playing 1.6.

The most common case I can trigger this during normal gameplay is a trapped chest or other explosion while party is already injured.

Steps to reproduce:
1. Grab powder kegs from the secret cave in Monitor.
2. Stand party within them.
3. Detonate.
4. Observe you and one or more party members die.
5. You turn up at Monk Isle and get dropped somewhere random.
6. Return to the dead location.
7. Observe 50% of the time you're missing the dead bodies (and contents) of party members.
8. Observe "Hourglass of Fate" will not operate to trigger resurrection for the missing dead bodies.

It appears the NPC death process occurs and the transport to Monk Isle due to Avatar death happens too fast for the game to spawn the dead bodies and contents.

I am guessing there is a threading problem in the usecode? Possibly the transport to Monk Isle thread started by Avatar death needs to be locked until any existing "death" threads are completed?
Locked