fix: add missing quest keys at updateQuestKey #958

Merged
Sainan merged 2 commits from questfix into main 2025-02-18 13:48:21 -08:00
Owner

it's possible the quest key was not in already in the inventory but the quest was still available due to unlockAllQuests

Closes #957

it's possible the quest key was not in already in the inventory but the quest was still available due to unlockAllQuests Closes #957
Sainan added 1 commit 2025-02-17 15:44:04 -08:00
fix: add missing quest keys at updateQuestKey
All checks were successful
Build / build (20) (pull_request) Successful in 59s
Build / build (22) (pull_request) Successful in 1m4s
Build / build (20) (push) Successful in 35s
Build / build (18) (push) Successful in 1m4s
Build / build (22) (push) Successful in 1m7s
Build / build (18) (pull_request) Successful in 35s
0b29d33652
it's possible the quest key was not in already in the inventory but the quest was still available due to unlockAllQuests
Owner

handling the case where a quest key should be present due to some config, should not change core logic of the server.
The core logic ensures there are no critical bugs in the system and the assumptions are correct, which ensures that the system works properly.

Change the way the config works, or remove the config entry entirely and add a webui option that actually adds the keys to the inventory

handling the case where a quest key should be present due to some config, should not change core logic of the server. The core logic ensures there are no critical bugs in the system and the assumptions are correct, which ensures that the system works properly. Change the way the config works, or remove the config entry entirely and add a webui option that actually adds the keys to the inventory
OrdisPrime changed title from fix: add missing quest keys at updateQuestKey to WIP: fix: add missing quest keys at updateQuestKey 2025-02-18 05:29:39 -08:00
Sainan added 1 commit 2025-02-18 11:09:36 -08:00
error when quest key is missing & unlockAllQuests is false
All checks were successful
Build / build (18) (push) Successful in 59s
Build / build (18) (pull_request) Successful in 39s
Build / build (20) (pull_request) Successful in 58s
Build / build (22) (pull_request) Successful in 1m7s
Build / build (22) (push) Successful in 35s
Build / build (20) (push) Successful in 1m7s
cbc1d2942a
Author
Owner

The config is also part of the server's logic and should be respected. Please take a look at my new change.

The config is also part of the server's logic and should be respected. Please take a look at my new change.
Sainan changed title from WIP: fix: add missing quest keys at updateQuestKey to fix: add missing quest keys at updateQuestKey 2025-02-18 11:10:29 -08:00
Owner

Your current change would be good.
I made a more permanent solution, see if you like it, its the unlock quests branch.

Your current change would be good. I made a more permanent solution, see if you like it, its the unlock quests branch.
Sainan merged commit 87cc2594c8 into main 2025-02-18 13:48:21 -08:00
Sainan deleted branch questfix 2025-02-18 13:48:22 -08:00
Sign in to join this conversation.
No description provided.