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

Save profile immediately upon death #54

Merged
merged 4 commits into from
May 23, 2024

Conversation

ArchangelWTF
Copy link
Member

This adds some part of an initial anti alt-f4 implementation, I think it can get more fleshed out once reconnecting is added as there's no way to currently tell if a disconnection is on purpose or if the client just dropped out due to a bad internet or a game crash.

Eventually, maybe letting the host handle saving the profiles of clients might also be a good alternative.. But I'm not sure as to how feasible that is in the current system.

@Lacyway
Copy link
Member

Lacyway commented May 22, 2024

I like the idea of this, but as a server side option.
Thoughts @ArchangelWTF ? I want this to be a thing, but not enforced, is what I'm saying.
If you agree I can hook it up.

@Lacyway Lacyway self-assigned this May 22, 2024
@Lacyway Lacyway self-requested a review May 22, 2024 16:45
@ArchangelWTF
Copy link
Member Author

@Lacyway I actually agree, so I've went ahead and changed it! Hope this implementation is good

@Lacyway
Copy link
Member

Lacyway commented May 22, 2024

@Lacyway I actually agree, so I've went ahead and changed it! Hope this implementation is good

Awesome, I'll let Sparta take a look on the server side, then I'll go through the code and merge when it's ready on the server.
Thank you!

Fika.Core/Coop/GameMode/CoopGame.cs Outdated Show resolved Hide resolved
Fika.Core/Coop/GameMode/CoopGame.cs Outdated Show resolved Hide resolved
@Lacyway
Copy link
Member

Lacyway commented May 22, 2024

Also @ArchangelWTF can you DM me on Discord, thanks.

@Lacyway Lacyway added the enhancement New feature or request label May 23, 2024
@Lacyway Lacyway merged commit 7c3f842 into project-fika:dev May 23, 2024
1 check failed
@ArchangelWTF ArchangelWTF deleted the feature/anti-altf4 branch July 16, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants