Skip to content

refactor: Move solo quest state from party to client#890

Open
pacampbell wants to merge 1 commit into
sebastian-heinz:developfrom
pacampbell:adjust_solo_party_state
Open

refactor: Move solo quest state from party to client#890
pacampbell wants to merge 1 commit into
sebastian-heinz:developfrom
pacampbell:adjust_solo_party_state

Conversation

@pacampbell

Copy link
Copy Markdown
Collaborator

Due to party invite oddities, we need to relocate the solo quest state so when players join EXM and Party Finder parties, the solo quest state will be available during the area transitions.

Checklist:

  • The project compiles
  • The PR targets develop branch

Due to party invite oddities, we need to relocate the solo quest state
so when players join EXM and Party Finder parties, the solo quest state
will be available during the area transitions.
@pacampbell pacampbell requested a review from RyanYappert June 12, 2025 02:33

@RyanYappert RyanYappert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is mostly fine in concept because once you've loaded into the game, you can't change characters without relogging and becoming a new client?

if (quest != null && quest.IsPersonal)
{
join.QuestState.AddNewQuest(questProgress.QuestScheduleId, questProgress.Step);
client.QuestState.AddNewQuest(questProgress.QuestScheduleId, questProgress.Step);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this where we want to keep this? Shouldn't this move to somewhere on login, rather than party joining, if it persists across party membership? This feels like it'll run multiple times per session whenever they join a new party, and AddNewQuest may complain if the quest is already present.

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.

2 participants