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

Implement basic persistence for character attributes #27

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kumpelblase2
Copy link
Owner

@kumpelblase2 kumpelblase2 commented Jun 25, 2023

Currently, we don't save anything apart from the last login date. We should add a mechanism that will periodically synchronize the character information, such as level, masteries, items, etc.

  • Attributes to persist
    • Level & Experience
    • SP
    • Location
    • Health & Mana
    • Statpoints
    • Inventory
    • Masteries
  • Persist occasionally
  • Persist on logout/disconnect

@kumpelblase2 kumpelblase2 force-pushed the basic-persistence branch 2 times, most recently from 7b937f5 to 5d5dffd Compare June 26, 2023 15:49
This adds the most basic mechanism for synchronizing some simple
attributes from a character with the database. Currently, this will run
every 30 seconds by default and every time a players logs out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant