• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • IsQuestAcceptQualified Max Range?

    Discussion in 'Community Developer Forum' started by y2krazy, Jun 30, 2015.

    1. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      Just a quick clarification that could eliminate either the majority or all of the teleport "loops" I believe are in my profiles at this time.

      Does IsQuestAcceptQualified have a max range? Does the NPC need to be targetable/in range (X yalms) in order to properly see that a quest qualifies to be accepted?

      In the provided log, the user was going through a teleport "loop" because it was skipping IsQuestAcceptQualified tag and moving to the next quest and teleporting based on that zone check.

      I added a simple MoveTo tag before the IsQuestAcceptQualified tag to have RB move the character next to the NPC essentially, then it properly ran the IsQuestAcceptQualified tag, but only if I forced it to MoveTo the NPC first. After adding the MoveTo tag to the profile, you can see that it properly picks up the quest starting around line 270 in the log.

      The next instance where the character is a very far distance away, it failed to run the IsQuestAcceptQualified tag and appeared to skip over it.

      Thoughts? Does IsQuestAcceptQualified need any adjustments, or do I need to add a MoveTo/NoCombatMoveTo to every quest pickup in all of my profiles?

      Thanks in advance!

      Log attached:
       

      Attached Files:

    2. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      IsQuestAcceptQualified returns data directly from the game, it cannot be 'adjusted'. You could easily figure this answer out for yourself by testing it in the RebornConsole.
       
    3. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      After figuring out how to run it in the Console, it does appear to have a range on when it returns True or False. If you are too far away from a quest giver, IsQuestAcceptQualified will return False, but upon moving closer, it will return True. Based on my estimations in-game, it's ~100 yalms. Looks like I'll need to modify my profiles a bit to account for this.

      Thanks for pointing me to the Console to figure out there's a range limitation on IsQuestAcceptQualified, kaga.
       
    4. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      For what it's worth, I believe the quest giver needs to be in the GameObjectManager for it to return an accurate value.
       
    5. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      In my experience, "IsQuestAcceptQualified" only returns true if you're IN the zone the quest NPC resides. If you're basing teleports on quests being available, i'd use "not IsQuestCompleted"
       
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      Yea,last time I checked being in the zone was all that was needed. it might have changed with heavensward tho.
       
    7. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      I did some testing in a zone with a random quest ID that was available and from > 100 yalms, it appears to return False with this in the Console:

      Code:
      Log(ff14bot.NeoProfiles.ConditionParser.IsQuestAcceptQualified(XXXXX));
      When you are < 100 yalms (my estimation), it will return True.
       

    Share This Page