PikaMug / Quests

Easy-to-use, open-source plugin for the creation and execution of quests on Minecraft servers.
https://modrinth.com/plugin/quests.classic
MIT License
141 stars 104 forks source link

Player quests data (progress) is not saving after server restart #2170

Closed thewigit closed 6 months ago

thewigit commented 7 months ago

What is your Quests version / build number (do not say "latest")?

5.0.0-rc.2

Describe the problem and how to replicate it.

Quests log player data is not saving quest progress and is wiping after the server is restarted.

Any console errors to share?

none

If applicable, can you provide an example quest from quests.yml?

N/A
PikaMug commented 7 months ago

Thanks for the report. An example quest you know had been wiped would also help.

thewigit commented 6 months ago

There are no quests being wiped. The quests themselves are fine. Lile I stated, the player data is being reset. So it is not saving quest progress for the players.

On Fri, Dec 8, 2023, 6:37 PM PikaMug @.***> wrote:

Thanks for the report. An example quest you know had been wiped would also help.

— Reply to this email directly, view it on GitHub https://github.com/PikaMug/Quests/issues/2170#issuecomment-1848098142, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGA36FZJWQ2PS46VQEOH43YIPFG5AVCNFSM6AAAAABANML43CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGA4TQMJUGI . You are receiving this because you authored the thread.Message ID: @.***>

PikaMug commented 6 months ago

I mean, a quest that the player had in-progress or completed before their data was reset.

thewigit commented 6 months ago

Every single quest gets wiped. but here is one of the 79 quests in the game. All of the quests work. just the player progress is not being saved after server restart

custom10:
    name: The Hunters
    ask-message: I belong to a group called "the Hunters". You should join us! Talk
      to our leader at the Wild Life Preserve to the west.
    finish-message: Welcome to the Preserve! We hunt monsters to protect the innocent
      creatures of this world!
    npc-giver-uuid: 146269aa-42c6-41c4-abb0-83a150f047d8
    gui-display:
      ==: org.bukkit.inventory.ItemStack
      v: 3465
      type: BOW
    stages:
      ordered:
        '1':
          locations-to-reach:
          - world -517.0 70.0 -231.0
          reach-location-radii:
          - 10
          reach-location-names:
          - Hunting Grounds Tunnel
          start-message: You can find the entrence to the preserver at -514 71 -231
          complete-message: Well done! Following simple instructions is key to becomeing
            a Hunter! Go talk to Hunter Morty
        '2':
          npc-uuids-to-talk-to:
          - 48d82932-560d-4ca2-bbce-f70ed09a5539
          complete-message: erase
    rewards:
      money: 50
    planner:
      override: false
    options:
      allow-commands: true
      allow-quitting: true
      ignore-silk-touch: true
      use-parties-plugin: true
      share-progress-level: 1
      same-quest-only: true
      share-distance: 0.0
      handle-offline-players: false
      ignore-block-replace: true
PikaMug commented 6 months ago

I'll proceed under the assumption that you have verified the quest was active or completed when the player's wipe occurred.

thewigit commented 6 months ago

Yes, please proceed. That is correct. I myself has tested this many times. Completed several quests only for it to be wiped the next day after I had to restart the server for a fix (not related to the quests)

On Sat, Dec 9, 2023, 3:13 PM PikaMug @.***> wrote:

I'll proceed under the assumption that you have verified the quest was active or completed when the player's wipe occurred.

— Reply to this email directly, view it on GitHub https://github.com/PikaMug/Quests/issues/2170#issuecomment-1848776891, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGA36CF3VXRTZYR4NXU6DDYITWCNAVCNFSM6AAAAABANML43CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYG43TMOBZGE . You are receiving this because you authored the thread.Message ID: @.***>

thewigit commented 6 months ago

Thank you so much for any help!

On Sat, Dec 9, 2023, 3:13 PM PikaMug @.***> wrote:

I'll proceed under the assumption that you have verified the quest was active or completed when the player's wipe occurred.

— Reply to this email directly, view it on GitHub https://github.com/PikaMug/Quests/issues/2170#issuecomment-1848776891, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGA36CF3VXRTZYR4NXU6DDYITWCNAVCNFSM6AAAAABANML43CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYG43TMOBZGE . You are receiving this because you authored the thread.Message ID: @.***>

PikaMug commented 6 months ago

I haven't been able to replicate this, but 5.0.0-rc.3 fixes two bugs which could theoretically contribute to this issue. Please upgrade and, if this happens again, simply reply to re-open the issue.