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

PlayerPurchases table desync with save import #1091

Open
SapiensAnatis opened this issue Sep 28, 2024 · 1 comment
Open

PlayerPurchases table desync with save import #1091

SapiensAnatis opened this issue Sep 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SapiensAnatis
Copy link
Owner

Describe the bug
The PlayerPurchases table is not cleared when importing a save.

This can lead to desync. For example, suppose you were to be on an endgame savefile with all dragon storage upgrades purchased, and then imported a fresh savefile to start over. In this situation, you would have the minimum amount of dragon storage but be unable to purchase any more as it would show that you had already purchased all the available upgrades.

Expected behavior
The dragon storage purchase would reset in this scenario.

Additional context
If we just clear the table on save import, this would lead to exploits where you can re-import the same savefile and purchase more storage. We probably need to add extra data to the savefile format.

@SapiensAnatis SapiensAnatis added the bug Something isn't working label Sep 28, 2024
@SapiensAnatis
Copy link
Owner Author

This should be blocked by #1092

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

1 participant