Quests icon indicating copy to clipboard operation
Quests copied to clipboard

Incorrect display of PAPI

Open Thin-Troll opened this issue 3 years ago • 2 comments

Description of Bug

image Incorrect display of PAPI none of the placeholders in the screenshot work.. they do not give any result at all, the other placeholders work without problems.

image I have to take the quest, but when I call the substitute, I always get the answer: No tracked quest

Steps to Reproduce

  1. Take the quest
  2. command enter /papi parse Thin_Troll %quests_tracked%

Environment

  • Minecraft version: 1.12.2 build 1620
  • Server software: Linux, Debian 10
  • Quests version: 3.9.2

Agreements

  • [X] I am running the latest version of Quests
  • [X] I am certain this issue is unique and a similar issue is not currently open
  • [X] I am using a version of Minecraft which is supported by Quests

Other

No response

Thin-Troll avatar Jan 26 '22 20:01 Thin-Troll

The QuestID from QPlayer#getPlayerPreferences#getTrackedQuestId always returns null. So it's not the placeholders but the quest tracking logic. Debug says:

[21:19:32 INFO]: [Quests] DEBUG: Player 1afc04ab-6332-4982-804e-d29caf155737 has a valid quest progress file.
[21:19:32 INFO]: [Quests] DEBUG: Quest progress file loaded for player 1afc04ab-6332-4982-804e-d29caf155737.
[21:19:32 INFO]: [Quests] DEBUG: Processing player (full check) 1afc04ab-6332-4982-804e-d29caf155737

Unsure where it goes south. I'm trying to investigate further, but I find alot of the code parts rather confusing...

Whitescan avatar Jan 22 '23 20:01 Whitescan

Tracked quests aren't persisted across sessions, perhaps this is the issue

LMBishop avatar Aug 07 '23 17:08 LMBishop