ORK integration

Announcements, support questions, and discussion for Quest Machine.
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

Hi,

I'm having trouble reproducing these issues, as I understand you are, too, since they're intermittent. Are you using patch QM_ConditionRecheckPatch_2025-01-03-a.unitypackage on top of QM 1.2.50?
dlevel
Posts: 197
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

Yes I have this exact patch imported. Any chance saves that were affected before the patch have the issue now? In general the old accounts before all these patches seems to have all these issues. Is there a way to get all the finished/canceled etc quests from a player? I can't find a way to get player's their quests back now that the dissapeared
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

If they disappeared, then unfortunately I'm pretty sure they're going to be gone for good. I'm going to need more info to be able to dig into what's going on. If you can think of any info or steps that would be helpful, please pass it along.
dlevel
Posts: 197
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

Since this happened after the last changes you sent me here for the script QuestJournalForORKWithVerify, any chance you see anything that could play a role on that?
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

Hi,

I'm a little worried about all of the "yield return null" statements in the script. Are they really necessary? I don't think the base scripts run any coroutines. They should all run immediately.

The "// 1) Remove duplicates" part of the script checks for duplicates by checking the quests' IDs. Is it possible that separate quests have duplicate IDs but different names?
dlevel
Posts: 197
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

Hey Tony,

I have an another issue, I have this quest giver that has an exclamation mark that they have a quest to give, but when player interacts, they say they dont have a quest to give:

This was a bugged quest that the requirements was not met, so it might be logical to not give a quest, but the exclamation mark is there, I made it so that the requirements are met next time player is logged in (removed a variable), but still exclamation mark there, but quest not there, I suspect that something with the save game of the quest giver. Is there a way to reset the quest giver and recheck the requirements?

here is some photos to help:

https://ibb.co/PsGf1Lpn
https://ibb.co/vxkdQfhn
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

Does the quest giver have a QuestIndicatorSaver component? If so, this component probably saved the quest indicator state (exclamation mark).

Otherwise, if the quest giver doesn't have a QuestIndicatorSaver, then the quest may be setting the quest giver's indicator state to Offerable. Is the quest actually offerable at the time that you load the saved game?
dlevel
Posts: 197
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

There is no QuestIndicatorSaver, the quest is offerable on load, but just on the indicator, when speaking to the NPC it says there is no quest to give, maybe the quest giver saved the state of the quest that gave it to user ? But still why indicator shows there is a quest to give...
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

Maybe I'm not understanding something, but on load the quest will check if it's offerable. If so, it will show an offer indicator. When the player talks with the quest giver, the quest giver will tell the quest to check the offer conditions again in case the offer conditions have changed. So if the offer conditions change between the load and when the player talks to the quest giver, this could cause the quest giver to say there's no quest available.
Post Reply