-
Notifications
You must be signed in to change notification settings - Fork 784
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
LADX: enable deathlink #3828
base: main
Are you sure you want to change the base?
LADX: enable deathlink #3828
Conversation
was failing to initialize from slot data, also took the opportunity to set up for nicer merge with magpie slot data PR
kill with damage rather than setting hp to zero in order to trigger medicine, also refunds trade items on deathlink if they were used but the player died before getting the check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a programmer. did a game earlier tonight and at first it failed. a quick adjustment and it worked just fine. based on the latter version, deathlink works. its as annoying as it should be. i killed the hardhit beetle and during its death animation i got killed by deathlink so i had to refight it. which feels like how it should be tbh. i approve of this change to be added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have participated in two asyncs and one sync testing the new deathlink functionality. I can confirm that I properly received deaths from others in the sync and perhaps once in the asyncs, but even in the asyncs it did indicate within the text client that a death was being sent on the rare occasion I did die.
As for the code itself, I am hardly a Python expert and I know essentially nothing to speak of in terms of the LADX integration specifically. That said, I did look over the code and I do not see anything egregiously wrong with the code. It appears to be fairly self-explanatory considering I could still generally follow the thought processes even if I didn't necessarily always have the full context. I also see where they addressed a bug encountered in an earlier beta version where dying during the trade item swap would lose you an item (I think this may have actually happened to me during the sync, but it's been a while so my memory is foggy).
Overall, I see no reason not to merge this PR into main.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR was tested as part of a Beta apworld that was used in three dedicated Test Asyncs, as well as dozen of normal Syncs. I have also personally run 200 test generations which succeeded.
We have also done polling on what users want, etc. which can be found here
The new feature has worked as expected and other stuff does not seem impacted.
In the beginning there was a hiccup with Death Links occuring during trade quests but the fix works flawlessly. After that, no more issues happened.
Co-authored-by: Exempt-Medic <[email protected]>
found a major bug, drafting until fixed |
What is this fixing or adding?
Adds deathlink support to LADX. There was already existing work on it but it wasn't quite finished. This also adds a command to the client for toggling deathlink.
How was this tested?
Tested sending and receiving deathlinks in a few multiworlds.