-
Notifications
You must be signed in to change notification settings - Fork 408
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
[Feature] Corpse Overhaul #3938
Conversation
0647441
to
bd21391
Compare
3ac5a41
to
b671c90
Compare
57f9ec5
to
d4b24ed
Compare
This PR also now fixes a long standing issue with if ($client->HasItemOnCorpse($item_id)) {
return 1;
} --corpse
if self:HasItemOnCorpse(itemid) then
return true
end Changelog
|
When a server comes up, query the database for all corpses in an instance and bury them. This will allow players to recover lost corpses due to server down/up from Shadowrest.
I have verified the following:
Added a Server Up check to bury all corpses in instances to prevent lost corpses if an instance is released during server down. This facilitates player recovery via shadowrest or priests of luclin. |
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
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
Corpse Overhaul
Changelog:
This PR also now fixes a long standing issue with HasItem performance in our script plugins. It is significantly faster, we will need to coordinate quest changes and comms with operators.
Testing Completed: