Download
(68 Kb)
Download
Updated: 08-11-13 08:29 AM
Updated:08-11-13 08:29 AM
Created:12-05-12 04:38 PM
Downloads:653
Favorites:11
MD5:
The Final Quest
Version: 0.5
by: Sarim [More]
This is an addon to show you which quests you are missing in a zone. You can search by typing

/tfq zonename

and the addon will display all incomplete quests for that zone in the chat box (sorry, no fancy UI). The zone name doesn't have to be complete, it can be a partial name. If multiple zones fit the entered zone name, the missing quests for each zone will all be displayed (for example typing "/tfq king" will list missing quests in Kingsward and King's Breach).


*** Technical notes following ***

NOTE: The information below is about implementation details, and you don't need to read it if you only want to use the addon.

The addon uses quest data obtained from the file Quests.xml (which can be downloaded from Trion's FTP site, inside Rift_Discoveries.zip). This file can be parsed with a small Java application, which is contained in the folder "java" inside the addon folder in both source and compiled form.
The Java application does not directly create a .lua file, it merely creates the required output (in the console). The content of the included QuestData.lua was created from the Quests.xml in Rift_Discoveries_2012_12_3.zip.

The Java application currently uses the following criteria to determine if a quest from Quests.xml is used in the output:
- it must have a zone element
- the quest's name must not start with "Workorder:"
- the quest's name must not be contained in a list of quests (which currently contains "some" zone event quest names)
- it must have the element <Repeatable>Never</Repeatable>
- it must not have a scope with one of the values of ("Instant Adventure", "Guild", "Raid", "Weekly", "PVP", "Ancient Wardstones", "Soul")

I'd be glad about suggestions how to refine these criteria, to create more exact output.

UPDATES:
0.3:
- corrected and simplified the logic to check quest faction vs. player faction

0.4:
- new: the addon now also lists a location name next to quest names (if available in the quest data)
- new: active quests that you finish are not displayed anymore in the addon's output
- fix: user input is now changed to lower case

0.5:
- updated for the new Rift 2.3+ event handling
- updated quest data from Rift Discoveries 2013-8-9
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
0.4
68kB
Sarim
12-09-12 03:04 AM
0.3
61kB
Sarim
12-06-12 12:02 PM
0.2
61kB
Sarim
12-05-12 04:38 PM


Post A Reply Comment Options
Unread 12-07-12, 02:32 AM  
Elaani
 
Elaani's Avatar

Forum posts: 0
File comments: 46
Uploads: 0
Ha! that totally did the trick. Of all the things I tried I never would've thought capitalization would be the culprit.

Quote:
Originally Posted by Sarim
@Elaani: I think I see what's happening. Please try typing the zone name (or part of it) all in lower case. Silly mistake on my part, I'm changing the zone names from the quest data to lower case, but not the entered data for comparing..so you get no hits. Sorry! (will be patched in next version)
Elaani is offline Report comment to moderator  
Reply With Quote
Unread 12-07-12, 01:55 AM  
Sarim
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
@Elaani: I think I see what's happening. Please try typing the zone name (or part of it) all in lower case. Silly mistake on my part, I'm changing the zone names from the quest data to lower case, but not the entered data for comparing..so you get no hits. Sorry! (will be patched in next version)

@Kryssix: Yeah I'm aware of the faction tag, and that it can have multiple values. I adjusted the addon code already to hopefully filter quests correctly now if a quest has faction information (not all have!).
I'll have a look at the Type element in the XML data. I also want to include the Scene element (if available) to allow rudimentary location info in the output.
Sarim is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 09:35 PM  
Elaani
 
Elaani's Avatar

Forum posts: 0
File comments: 46
Uploads: 0
So I updated to the new version and now I get a response when I try to lookup a zone, unfortunately the response is that there is no matching zone. For instance:

Code:
[TFQ] No matching zones found for 'Ashora'!
[TFQ] No matching zones found for 'Seratos'!
[TFQ] No matching zones found for 'Pelladane'!
[TFQ] No matching zones found for 'Eastern Holdings'!
[TFQ] No matching zones found for 'Kingsward'!
[TFQ] No matching zones found for 'Silverwood'!
[TFQ] No matching zones found for 'Shimmersand'!
I did /reloadui and same results.
Elaani is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 04:22 PM  
Kryssix

Forum posts: 0
File comments: 1
Uploads: 0
I have played with this myself a bit and also have a rudimentary chat log app showing quests for a zone that are either Complete, Incomplete or Missing. Not sure I have the time to pursue it much, but when I filtered the quest xml data, I removed what you did, and also Zone = "World" and Type is any of "Area Quest", "World Event", "Zone Event", "Rift"

There is a faction tag in there, but note that it contains some things other than Defiant and Guardian so you might want to get the Player.Alliance and if it is Defiant just drop Guardian ones and vice versa. Some of the quests have an entry that seems to indicate which faction you get rep for from the quest.
Last edited by Kryssix : 12-06-12 at 04:23 PM.
Kryssix is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 11:41 AM  
Sarim
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
I checked that particular quest, it does not have a "Faction" element in the XML, and I don't see anything else there either that would tell me "this is a guardian only quest". Maybe I could derive that info by checking that the quest giver is Borrin Gammult. But unfortunately for now this quest will be listed for you although you are a defiant.

Still, I looked through the Lua code again, and the current faction check is "a bit" complicated (note to self: don't code when you're tired Going to have to change that as soon as possible.
Sarim is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 09:11 AM  
Eloora
Zombie

Forum posts: 2
File comments: 10
Uploads: 0
Perhaps I should have been more thorough in my comment. TFQ is indeed listing quests I cannot obtain based on my faction. For example, /tfq pella gives me a quest called "The Language of the Divine". A quick look on Zam tells me that this quest involves praying, mentions The Vigil, and is given by a dwarf also found in Sanctum. As a Defiant, I can infer that I would never be offered this quest. And as I have completed the entire storyline in Pelladane already, I am certain of it.

I don't know whether it is an issue with the information in the Quests.xml file, or the addon's interpretation of it, just thought you would like to know. I'm still finding unfinished quests that I can obtain, so no big deal.
Eloora is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 05:34 AM  
Elaani
 
Elaani's Avatar

Forum posts: 0
File comments: 46
Uploads: 0
Correct, no output for any zone I tried (which were the three I mentioned). Ardent Domain being the zone I was in when I logged in after installing addon and Shimmersand and Ashora both being zones I know I have started but not finished the quest series.

The only time I got any output from the addon was when I didn't specify any zone and put just "/tfq"

Also, yes am using English client and playing on a US shard.

I'm not logged in at the moment, but will see if /reloadui has any effect next time I'm in-game.

Quote:
Originally Posted by Sarim
You can try /reloadui (which reloads all addons as well), and see if that changes anything. Is there no output for any zone?

Also, are you using the english language client (I assume you do since you are using the english zone names, but just want to make sure)?
Last edited by Elaani : 12-06-12 at 05:35 AM.
Elaani is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 04:39 AM  
Sarim
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
You can try /reloadui (which reloads all addons as well), and see if that changes anything. Is there no output for any zone?

Also, are you using the english language client (I assume you do since you are using the english zone names, but just want to make sure)?
Sarim is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 01:18 AM  
Elaani
 
Elaani's Avatar

Forum posts: 0
File comments: 46
Uploads: 0
I can't seem to get this to work. I installed the same as my other addons but when I tried to run it nothing displayed. I did /tfq Ardent (for Ardent Domain), even tried the whole zone name, along with /tfq Ashora and /tfq Shimmer (zones I know I have uncompleted quests in) and nothing displays. If I type just /tfq it displays
Code:
[TFQ] TheFinalQuest 0.2
[TFQ] Usage: /tfq <zone>
Which implies the addon is installed and initialized, just not working when the zone name variable is added.

Any help is appreciated, and if any additional info needed, let me know.
Elaani is offline Report comment to moderator  
Reply With Quote
Unread 12-06-12, 01:10 AM  
Sarim
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 2
Faction information is extracted from the Quests.xml file, and the Lua code uses that information to filter out quests that are not applicable for your faction.
Sarim is offline Report comment to moderator  
Reply With Quote
Unread 12-05-12, 10:23 PM  
Eloora
Zombie

Forum posts: 2
File comments: 10
Uploads: 0
I assume you would be unable to filter the quests by faction, as in quests I can't do as a Defiant, and vice versa?
Eloora is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: