Item Filtering

You can filter which items are shown in comparison charts and upgrades by refining which item types you want shown and based on editable filters.

You can define which item types to show in the second section of the Filters Side-bar on the right side of Rawr. The initial selection will have all types that are available to your class enabled. You can restrict the selection for example if you don't want to see cloth items for your paladin.

Filters are selected from the side-bar beside comparison chart. Rawr includes a default set of filters based on item source information from wowhead/armory, but filters are fully customizable and you can create your own filters.

To see where this is, check the Where To Start page for number 15 in 'Section 3: I got my toon loaded in! Now what am I looking at?'.

Creating Filters

You can edit filters from Tools->Edit Item Filters. At the top you will see the list of all filters and controls for adding and removing filters. Each filter is identified by name that is used in the drop down menu. Filtering can be done based on pattern matching, item level and item quality.

Pattern is defined by a regular expression that is matched against source information and user note of an item. If it matches any of them then the match is successful. You can see source and note when you edit items. The source is not editable and is automatically updated when you refresh data from armory or wowhead. User note however is editable and can be used to provide source information where wowhead/armory data is unreliable or unavailable or to use for your own custom filters.

If you haven't worked with regular expressions before first take a look at the existing filters to get an idea of how they work. If you want to learn more about them you can check http://www.regular-expressions.info/tutorial.html for tutorial and http://msdn.microsoft.com/en-us/library/bs2twtah.aspx for technical details.

For filter to be a match the item also has to meet the item level and quality range requirements. When you create a new filter they will be set so as to impose no additional requirements. Note that if you want to create a filter just based on item level or quality you can leave the pattern empty.

Each filter can be set to apply to only items or only gems. In addition each filter has polarity. By default filters are additive, this means that if the filter matches an item, the item will be displayed when filter is active. When the filter is not active and it matches the item this won't cause the item not to be displayed, it can still be included based on some other filter. By unchecking the Additive Filter check box you can make filters function in the opposite way. Then if an active filter matches an item it will cause that item not to be shown regardless of additive filters.

In addition to the filters that are defined there is always a final filter called Other. This is an additive filter that matches all items that are not matched by any of the additive filters (regardless of them being active or not). In general you should leave this filter enabled so you notice which items are not covered by other filters. You can either correct their source information or create new filters that cover them.

The filters are saved and can be shared between users. The filters themselves are stored in the ItemFilter.xml. If your filters are based on user notes make sure to include ItemSource.xml which includes source information and notes for all items.

Examples

Item has incorrect source information

If an item is not shown when you think it should be based on the filter then first check the item source. If it is incorrect try refreshing item from wowhead/armory. If that still does not help you can edit the item and enter user note that matches format used in source information of other items from same source.

Creating a filter based on item level and quality

If for example you want to create a filter that shows all epic items of item level 200 or higher then you proceed as follows:

  • Create a new filter by clicking on + in the toolbar
  • Enter a name for the filter
  • Change min item level to 200
  • Change min item quality to Epic
  • If you don't want this to apply to gems uncheck Applies to Gems check box


Removing epic gems

If you want to hide all epic gems you can create a filter for this:

  • Create a new filter by clicking on + in the toolbar
  • Enter a name for the filter, for example Hide Epic Gems
  • Change min item quality to Epic
  • Uncheck Applies to Items check box
  • Uncheck Additive Filter check box


Now when the filter is enabled it will hide all epic gems

Removing specific items

If there are specific items that you can't seem to be able to correct and would like them not to show up in charts you can proceed as follows:

  • Create a new filter by clicking on + in the toolbar
  • Enter a name for the filter
  • Change pattern to for example HIDE
  • Uncheck Additive Filter check box
  • Open item editor and enter HIDE in the user note for all items you want to hide

Last edited Apr 7, 2011 at 12:53 AM by Jothay, version 7

Comments

Astrylian Jun 28, 2010 at 7:26 AM 
We do not read comments on wiki pages. Please follow the Posting Guidelines, so that we have a chance to help you.