[open] More quest info for more quests
We already have GetCompletedQuestInfo(questId) and GetCompletedQuestLocationInfo(questId). Is there a reason this is only available for completed quests? All quests have an (invariable) unique Id, and their name, questType, zoneName, objectiveName, zoneIndex and poiIndex do not change on completion.
Can these functions be changed to GetQuestInfo(questId) and GetQuestLocationInfo(questId), which would return the results for any questId, complete or otherwise? An additional return from this would logically be boolean isCompleted, or alternatively number questState, which would take values 0, 1 or 2 depending on whether the quest is not started, active, or complete. I would also like to request two additional returns from GetCompletedQuestInfo (or GetQuestInfo if it can be implemented), namely repeatType, taking from the global QuestRepeatableType (self-explanatory), and questDifficulty, taking from the global DifficultyCon, where the quest's internal difficulty (which determines the XP multiplier, as explained by Jess Folsom) is exposed: Quote:
Thanks! |
I do agree that for now, in order to get all quests ID & names of the game, we need to use the lang files from an extraction of the whole game.
|
Quote:
|
On DailyAutoShare, I've had some headache with quests and quest names. I agree that it would be awesome, and much easier, to just deal with quest IDs instead of having to localise all the quest names.
My use case: DAS holds a list of dailies in a zone. That list is right now hardcoded via internal quest name codes that get resolved via localisation files. It would make my life far easier if I could simply match on quest IDs instead. Functions I'd like for that: Lua Code:
I would also love it if the quest IDs would be part of the EVENT_QUEST_... anything, which right now just features the journalIndex. As far as Lua Code:
|
An id based API for quests should be possible in addition to the existing API. Steps and conditions would probably be harder to reference this way.
|
Awesome! Looking forward to it. :)
|
Quote:
|
I would also like to get another parameter to GetCompletedQuestInfo which returns if it has been completed today (if it was a daily).
|
I think this thread is overdue for a bump. Unless this has happened and I missed it, it would be quite helpful.
|
Quote:
|
Check the ESOUIDocumentation 18_2.txt file in this thread, maybe some functions or events got chnaged or got added parameters?
http://www.esoui.com/forums/showthread.php?t=7728 |
There's several functions already on live that could be used:
Code:
GetJournalQuest**** |
Quote:
Quote:
|
We added:
DoesItemLinkFulfillJournalQuestCondition(itemLink, questIndex, stepIndex, conditionIndex) We changed: GetJournalQuestConditionInfo now also returns the condition type. |
Quote:
But seriously this is great. It'll let me do validation on writ items, and make sure that the item will actually fulfill the writ. Moreover, it'll let me do a brute force check for the correct item when the normal stuff fails. That will prevent bugs which occur when there are translation errors, which will decrease maintenance required for each patch. |
That's awesome already, thank you Chip!
Any chance that we can get Lua Code:
|
Quote:
|
Quote:
That information has to be stored in some form, so it would be great if we could do something like: Code:
local decisions = GetCompletedQuestDecisions(questId) Even getting the information in a raw form would be useful, like return values of {0,1,2,3} where those are the choice numbers associated with that quest, and the number returned is the one chosen. We would need to do work on our end to translate it to data mined quest information, which is a lot of work, but doable. The details really depend on how the data is saved to the character, but we know it has to be saved in some form, or the game couldn't react to past quest decisions. |
Quote:
Summary of the request:
|
In update 30, we got the following new APIs
* GetQuestName(*integer* _questId_) ** _Returns:_ *string* _name_ * GetQuestZoneId(*integer* _questId_) ** _Returns:_ *integer* _zoneId_ I have confirmed that GetQuestName returns a localized string for all quest names in the game, and an empty string for any questId that does not exist in the master table. And, in the quest master table there are entries for quests that can no longer actually be seen in-game (e.g. questId = 31), and for these GetQuestZoneId seems to return 0. |
All times are GMT -6. The time now is 05:02 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI