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

Adding support for "contents released" #544

Open
pacampbell opened this issue Sep 8, 2024 · 0 comments
Open

Adding support for "contents released" #544

pacampbell opened this issue Sep 8, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@pacampbell
Copy link
Collaborator

pacampbell commented Sep 8, 2024

Many of the quests in the game, when completed have a reward which translates into "Contents Released". This controls things like which menu options work, which features in the game are enabled and what world objects you can interact with. Currently, when a player logs in, we provide a list of contents released equal to a player which completed most of the quest content in the game. A side effect of this is that this allows players to do things they should not. For example, warping out of the first main story mission. Inviting players into party before it is unlocked and buying pawns before unlocking them. When a player does these things, sometimes it causes the game to react unexpectedly, resulting in buggy or incorrect behavior.

To fix this, we will need to add a new reward type to quests which reflect the "content" which is released. When a player completes a quest, information about this is stored in the database. The NTC S2C_CHARACTER_CONTENTS_RELEASE_ELEMENT_NOTICE should be sent to the player so the client will update the information. When the player logs in, the server will query the database and provide a list of all content released during login using the same S2C_CHARACTER_CONTENTS_RELEASE_ELEMENT_NOTICE packet.

@pacampbell pacampbell added enhancement New feature or request help wanted Extra attention is needed labels Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant