EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Request (https://www.eq2interface.com/forums/forumdisplay.php?f=25)
-   -   Market Preset Searches Revisited (https://www.eq2interface.com/forums/showthread.php?t=4430)

Valdacil 10-07-2005 02:06 PM

Market Preset Searches Revisited
 
So my first idea started with LU13 and the changes SOE made to the market window. They forced it to default to your character level and class, which was great for finding stuff you could use, but useless for finding stuff you wanted to sell. So I modded my store window to pass parameters to the market window for Any class, all levels in addition to the item selected and was a happy camper. I had easy searches for items I wanted and easy setup for my store.

Then Sony changed it again due to the public outcry over problems setting up stores. Ok, so now it's back to Any/All as default, but that makes it more difficult to find stuff I want because I have to scroll through all these darn classes to find mine.

Then I examined Djanee's Market Preset Searches and it hit me that this concept was the perfect solution. Problem is I can't figure out how to code it. Here is the original thread on that:

http://www.eq2interface.com/forums/s...=market+preset

Now I believe I can setup the button to pass the level by using:

Parent.Parent.Parent.Market.TextMaxLevel.LocalText=\Gamedata.Self.Level

Or something to that effect. The problem is passing the class name. Is there any way I can resolve the class name to the drop down number list? I'm sure I'm asking way too much out of this engine, but my guess would be that there would have to be a way to do if...then statements to resolve the class name to the number on the drop down list for Class. Any ideas from the big brains out there?

Zonx 10-08-2005 12:57 AM

Already available from Fetish.

The merchant window of the collection will be updated soon, but doesnt affect the search features at all.

Valdacil 10-08-2005 01:30 AM

Thx for the reply Zonx, however I already knew how to hardcode certain search into the paramaters. I took a look at the code on your favorites and you are still only doing basic static search. My question was about a dynamic search based on the character logged on. For instance, I want to be able to log on my necromancer and press a button which will determine that I'm a 26 necromancer (for instance) and pass those parameters to the market window. While if I log on my 41 Fury, I could press the exact same button in order to pass parameters to the market window saying that I'm a 41 fury. I mean I could go in an manually setup a bunch of favorites for each of my characters, but then that wouldn't be very efficient or versitile (sp?) and it would only be beneficial to me, not my wife or other members of the community.

Zonx 10-10-2005 12:22 PM

You can insert lvl data fairly easily using the method you describe.

Class data is tricky since the search window uses a menu. You'll have to create conditional checks for each class name and insert the corisponding menu index number.

I may change the "Any Class & Lvl" button to do this now that SOE has made it obsolete.

Valdacil 10-11-2005 10:13 AM

That's right Zonx... that's what I need, conditional statement. And that's exactly what I need help with. Do you know how to make conditional statements in the modified XML we have to work with?

Tekzel 10-11-2005 04:16 PM

Valdacil, this is EXACTLY the thing I have been wanting. I dont need presets, i just want a button to click that will fill in the appropriate info from the character that is currently logged in and do the search when I press the button (so i can add to the description box as necessary). Im hoping you can figure this one out, I have already tried but have only the most basic experience in modding EQ2 UI and couldnt figure out where to start, so i failed miserably :)


All times are GMT -5. The time now is 01:50 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI