Thread: Customizations
View Single Post
  #4  
Unread 06-13-2007, 03:29 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default Editing Market Favs

Editing Market Favs

There is a seperate file for each of the 3 Market Favs menus.
_Fetish_market_favorites1.xml controls the left menu
_Fetish_market_favorites2.xml controls the center menu
_Fetish_market_favorites3.xml controls the right menu

Open any of these with NotePad.

You'll see several instances of something like the following code...
Code:
<Data Class="0" ComboItemType="0" Command=" " ItemName="Indium" ItemType="0" MaxLvl="100" MaxSkill="6" MinLvl="0" MinSkill="0" Name="Indium" SellerName=" " Slot="0" Special="0" text="Indium" Tier="0"/>
Most of the atribute="value" pairs corispond to a similarly named setting in the market window. MaxLvl for example is a number value that gets placed into the "Maximum Level" box of the Market window.

In several cases the expected value is a menu reference number. For instance the ItemType atribute expects a reference number for the menu selection. Reference number details can be found in the MarketFavs.txt file. SOE has changed the menus several times in the past. When this happens, I'll issue a new MarketFavs.txt file with updated reference numbers. You'll need to tweak your customized menus to use the revised numbers.

Price range setting is a bit more complex, requiring several lines of script to be added as the Command value. The default _Fetish_market_fav... files contain examples that should help. See MarketFavs.txt for more info.
Reply With Quote