Closed LaBarata closed 9 months ago
Quests are loaded from the file top-to-bottom so, for example, the first error you have quest ID custom10 trying to reference quest ID custom26. Since custom26 comes after custom10, it hasn't been loaded yet, thus issue.
This has been a long-standing problem which I haven't found a good solution for. The temporary fix is to simply move custom10 to later in the file (and perhaps rename it to custom27 or some higher number), but I will leave this issue open until it can be properly addressed (which may take a while).
Thank you so much, this has been driving me absolutely crazy for like three days. This will definitely be something I’ll need to do some thinking to figure out, as 26 is supposed to be quest 2 in a 20something quest string that I added in later after realizing I’d missed a step.
Do the quest numbers need to be in order or is it the order in the config itself that matters? Would just physically moving 26 above 10 work?
What is your Quests version / build number (do not say "latest")?
4.8.2-b416
Describe the problem and how to replicate it.
Upon restarting my server, the plugin began giving errors and several previously fully functional quests simply disappeared from the game. Apparently one of my quests broke during the restart and is dragging the rest down but I’m not sure what’s wrong with it.
Any console errors to share?
If applicable, can you provide an example quest from quests.yml?
Tap here to expand
```yaml custom10: name: Mule! Time to dig! ask-message: Alright, mule- Time to pull your weight! You wanna learn, you're gonna work! We need a new mineshaft dug- Head down there and get digging! Cholan will tell you where you're digging. Now GET, mule! finish-message: Pay attention, mule- It's time for your pay! If I'm gonna keep you around, I'm gonna need you alive, so listen up! You need to learn to protect yourself, so watch my movements closely, and put some HEART into it this time! It could save your life! npc-giver-uuid: 46dad872-747d-4e7c-8f6b-e5379a704bf6 requirements: quests: - custom26 stages: ordered: '1': locations-to-reach: - AvatarWorld 1980.0 53.0 976.0 reach-location-radii: - 5 reach-location-names: - The Mine Elevator finish-event: minetp start-message: Cholan is down in the deeper part of the mines- I should go see him to find out where to dig. The elevator is down the path behind me, Guoh is running it. complete-message: This is the deepest part of the mine. Time to find Cholan. '2': npc-uuids-to-talk-to: - 8f0aedbd-eeb5-4fce-b632-d808f7ffd984 start-message: Administrator Cholan should be down the hall to the right. complete-message: Ah, yes- You're the one Sha Fe Hon sent, correct? Yes, we've some work for you, certainly. objective-override: - Speak with Administrator Cholan! '3': locations-to-reach: - TheMinesMission2 73.0 137.0 1.0 reach-location-radii: - 5 reach-location-names: - New Mineshaft 1 start-message: Your task down here will be to dig a pair of new mineshafts into the end of the east tunnel. Head down the stairs opposite this room and tunnel in a straight line until you hit an andesite vein. Once there, dig the entire thing- That should be far enough. complete-message: This should be deep enough- I've found the andesite vein. I should tunnel along it to dig the second shaft. objective-override: - Dig the first new mineshaft! Tunnel to coordinates 73 137 1 '4': locations-to-reach: - TheMinesMission2 73.0 137.0 36.0 reach-location-radii: - 5 reach-location-names: - New Mineshaft 2 complete-message: That should be deep enough! Time to return to Administrator Cholan. objective-override: - Follow the andesite vein to dig the second mineshaft! '5': npc-uuids-to-talk-to: - 8f0aedbd-eeb5-4fce-b632-d808f7ffd984 finish-event: minereturntp complete-message: Ah, you've finished- Excellent work! I'm sure that Sha Fe Hon will be pleased with your work. Err... Why not tidy up a little before you see her? You're a bit of a mess... Err, forget I said anything. Quickly, off you go! Don't want to keep her waiting! objective-override: - Return to Administrator Cholan '6': npc-uuids-to-talk-to: - 46dad872-747d-4e7c-8f6b-e5379a704bf6 start-event: mission2reset delay: 3 start-message: I should go talk to Sha Fe Hon complete-message: Hey, mule! I heard you did some good digging down in the mines today! Sick of throwing rocks yet? No? Then I guess I'll teach you some more- I promised, after all! rewards: commands: - lp user