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] ForceSaveOnDeath does not seem to work. #204

Open
shibdib opened this issue Dec 1, 2024 · 5 comments
Open

[Bug] ForceSaveOnDeath does not seem to work. #204

shibdib opened this issue Dec 1, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@shibdib
Copy link

shibdib commented Dec 1, 2024

Steps

  1. Load into raid
  2. Die
  3. Alt+F4 right after death
  4. Still have your gear when you reconnect

Expectation

  • Lose gear on death regardless of never hitting F8.
@ArchangelWTF ArchangelWTF transferred this issue from project-fika/Fika-Server Dec 2, 2024
@Lacyway Lacyway added the bug Something isn't working label Dec 2, 2024
@Lacyway Lacyway closed this as completed in 29ba839 Dec 4, 2024
Lacyway added a commit that referenced this issue Dec 4, 2024
Use new serializer & set ProfileId (Fixes: #204)
@shibdib
Copy link
Author

shibdib commented Dec 9, 2024

Gear loss is now correctly saved BUT you are 440/440 health (food and drink loss appears to be correct).

@ArchangelWTF
Copy link
Member

Health begins restoring from the moment you die, so if you die early on in the raid and still spectate you’ll most likely be fully regenerated by the time you are out of the raid.

@shibdib
Copy link
Author

shibdib commented Dec 10, 2024

I've spent the last hour running into landmines so I could spectate some mod code I'm debugging and alt+f4 out and have no injuries when I reconnect.

@Lacyway
Copy link
Member

Lacyway commented Dec 10, 2024

I've spent the last hour running into landmines so I could spectate some mod code I'm debugging and alt+f4 out and have no injuries when I reconnect.

I've had this happen without the feature too. I think it's a problem with SPTs save method.

I'll try implementing our own endpoint.

@Lacyway Lacyway reopened this Dec 10, 2024
@TheCoolestPaul
Copy link

Something that might help with this is Fontaine-Anti-Cheat. I was looking to update this, but I'm unfamiliar with the modding world.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants