Yanfly's Quest Journal buggy?

Discussion in 'Javascript/Plugin Support' started by Nectar, Sep 13, 2019.

  1. Nectar

    Nectar Fried Ore0s Veteran

    Messages:
    99
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    My game features quests that can be completed again and again.
    Below is how I managed to do this...

    1.) Player selects quest. Variable QuestAssigned is equal to the
    the first quest, so "QuestAssigned = 1". Player is transfered to
    map, plugin command "Quest Add 1" adds Quest 1.

    2.) Player collects items required for quest and delivers them.
    Game checks what "QuestAssigned" is equal to, in this case
    it is equal to ''1'', now the game knows what quest we're delivering
    the items for and runs the following plugin commands:

    "Quest Set Completed 1" Marks quest completed

    "Quest 1 Complete All Objectives" Marks every objective available
    as complete. (All quests have single objective, some have multiple)

    3.) Player heads towards AIRSHIP to return to hub. Player touches
    airship, airship runs a back-up check through event page:

    Airship event page checks what "QuestAssigned" is equal to, in this
    case, it is equal to 1 because we're doing quest 1. Airship checks
    if the quest is completed through a "Conditional Branch / Script"
    with "$gameSystem.isQuestObjectiveCompleted(1, 1)" being checked.

    Everything is complete so the event continues to run. The following
    plugin commands are called:

    "Quest 1 Normalize Objective 1" Normalizes the objective for Quest 1
    to be completed again if the quest is replayed.

    "Quest Set Available 1" sets the quest to available, again, to be completed
    if the player wishes to replay the quest.

    QuestAssigned is set back to 0.

    The player is returned to the town.

    The quest is ready to be completed again and the steps SHOULD repeat...

    MY ISSUE HERE...
    When I replay the quest, the quest is marked as FAILED...
    What am I doing wrong? I've tried normalizing the quest upon taking it so it normalizes when I am transported to the level but it doesnt work...

    [​IMG]

    [​IMG]

    [​IMG]

    Using RPMMV v1.5.1, latest Yanfly Quest Journal plugins.

    Please help... my tiny brain hurts.

    Side Question....
    Alternatively, can i just completely remove the "Quest Journal" option and bind a keyboard key to run a common event that'll display the quest description & objectives?

     
    Last edited: Sep 13, 2019
    #1
  2. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,561
    Likes Received:
    4,123
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP
    Your plugin order is wrong. Right off the bat, Core Engine should be the first of the Yanfly plugins. You can check the right order here.
     
    #2
    caethyril likes this.
  3. Nectar

    Nectar Fried Ore0s Veteran

    Messages:
    99
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    Fixed the order, the quest remains marked as ''failed'' however the objective can be marked completed but I can't get it to normalize, and it's only after completing it where it remains stuck as a failed quest and doesnt seem to be able to reset to a normal quest.
     
    #3

Share This Page