Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Fix] Fix Corpses "Disappearing" #4275

Merged
merged 1 commit into from
Apr 21, 2024
Merged

[Bug Fix] Fix Corpses "Disappearing" #4275

merged 1 commit into from
Apr 21, 2024

Conversation

joligario
Copy link
Contributor

@joligario joligario commented Apr 20, 2024

Description

This fixes corpses "disappearing" by fixing the graveyard check. Prior to the corpse overhaul (#3938), moving corpses to graveyards was assumed successful and automatically removed from the process. Even in non-graveyard zones, it was attempting to move the corpse to the graveyard and removing them from the process.

Note: Opened a separate issue for the graveyard timer handling. See #4276.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Testing

Post-graveyard timer in PoK (non-graveyard zone). Corpse remains.
image

Pre-graveyard move in PoD (graveyard zone).
image

Post-graveyard move in PoD. Corpse moved to graveyard.
image
image

Second graveyard timer cycle in PoD. Corpse remains. Note: Location move and rez timer reset tied to other issue mentioned above.
image

Clients tested: RoF2

Checklist

  • I have tested my changes
  • I have performed a self-review of my code. Ensuring variables, functions and methods are named in a human-readable way, comments are added only where naming of variables, functions and methods can't give enough context.
  • I own the changes of my code and take responsibility for the potential issues that occur

This fixes corpses "disappearing" by fixing the graveyard check. Prior to the corpse overhaul (#3938), moving corpses to graveyards was assumed successful and automatically removed from the process.

Note: Will open a separate issue for the graveyard timer handling.

## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)

# Testing

Attach images and describe testing done to validate functionality.

Clients tested: RoF2

# Checklist

- [x] I have tested my changes
- [x] I have performed a self-review of my code. Ensuring variables, functions and methods are named in a human-readable way, comments are added only where naming of variables, functions and methods can't give enough context.
- [x] I own the changes of my code and take responsibility for the potential issues that occur
@Akkadius Akkadius merged commit a565e5f into master Apr 21, 2024
2 checks passed
@Akkadius Akkadius deleted the corpse-graveyard branch April 21, 2024 00:56
@Akkadius Akkadius mentioned this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants