Feature Request

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Feature Request

Post by gingertips » Tue Aug 13, 2002 4:53 am

Hope the move went well Plazmic & by now you are back on line - but i know from personal experience these things can be painful!

Ive been paying visits to bazaar over past week now several times a day, trying to get hold of specific items, which took a massive effort - although nowhere near how much effort it used to take pre-bazaar days!

Needless to say Ive not managed to get all the items i need - couple of high lvl spells haven't yet come up.

Wondered if it could be possible to use MQ in the future to be able to run a macro that checks a txt file against all items on sale in Bazaar for a list of items and for each item it finds, it logs the trader name, loc and item price.

Im not thinking of having the macro running all the time, or when im afk, but more when i zone into bazaar and quickly run the macro - would save me a lot of time finding the items i need. It would also mean i could add a lot more items to the list to search against! :wink:

Does anyone know anything about how the /bazaar item database works? Can we capture the information from it?

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Aug 13, 2002 1:30 pm

Salutations,
I think all we'd need are the 'whosellsitem' and 'what slot' from Plazoo and the other developers... The main problem of making a macro to do that would be walking to the person who is selling the item... I'll try to do some work on it tonight... *shrug*

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Post by gingertips » Tue Aug 13, 2002 5:41 pm

no that would be enough if it could just write to a txt file with list of items of what i want and who has them - can always find em! :wink:

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Aug 13, 2002 8:51 pm

Salutations,
ah... i thought you where wanting the macro to go find em... thats what i was talking about, tell the macro who ti was and it would go to them...

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Post by gingertips » Wed Aug 14, 2002 4:51 am

no m8 - just want it to search thru the bazaar listings for a list of items i specify in the macro. when it finds the items, it writes the trader name, price and traders loc to a txt file - just means it will save loads of effort each time i zone into bazaar looking for specific stuff i want to lay my hands on.

AlphaBeta
a ghoul
a ghoul
Posts: 126
Joined: Sat Nov 09, 2002 12:35 am

Post by AlphaBeta » Mon Nov 18, 2002 12:55 pm

I just had the same idea sort of. Might be a new project if someone is interested as I don't program "YET!". Here is what I envision.

A bazaar price tracking system:

1. Capture item/price/date:time (for historical information) information to a text file or Access database.
2. 3 external or internal tickers (All items/hot items/alert items)
3. read you traders .INI file for price information and updates can be done from tracker program.

how I see it is like a stock market type thing where you can look up bar graphs and the whole stock market type thing complete with a portfolio and everything else you might find in a stock market type program. difference is we use items as ticker symbols and plat, Gold, etc. as money.

-AlphaBeta

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Nov 19, 2002 1:51 am

Salutations,
$bazaar(<item name>,xxx) where xxx is
  • "price" - average price (based on items [ie if 100 are for sale at 3p from player A and another is sold for 1pp at player B, it will be a little under 3000...]) (returns value in copper...)
    "price,average,item" - see above (in cp)
    "price,average,player" - in the above example, if only two players had the item, the average would be 2000, not a little under 3000 (in cp)
    "price,lowest" - lowest price available for an item (in cp)
    "price,highest" - Highest price available for an item (in cp)
    "seller" - name of the seller selling the item
    "seller,id" - so we can use $spawn(id,xxx) :p
also things from $item([pack,]slot,xxx) are usable
returns:
  • thing its supposed to
    -1 if item is not found
    -2 if some weird error occurs (i dunno... item has no price? or someting?)
this is what I would invision... submit this as a feature request if you like it...

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Tue Nov 19, 2002 4:30 am

Since the bazzar only works in the new UI and MQ is pretty much old UI then I think the use of this would be pretty limited. Also you have to do a request to the server to get prices/vendor info etc. I would imagine if you did.

/echo $bazaar("Windblade",price,lowest)

then MQ would have to open the bazzar window, insert the search do the query wait for results then it could echo the lowest price.

Not really any quicker than doing it by hand.
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Nov 19, 2002 10:23 am

Salutations,
quicker, no... but you can still automate it for a stock market type thing..
also:

Code: Select all

 /varset v0 $bazaar("Windblade",cache)
 ...
  $bazaar(cache,"$v0",price,lowest)
?

AlphaBeta
a ghoul
a ghoul
Posts: 126
Joined: Sat Nov 09, 2002 12:35 am

Post by AlphaBeta » Tue Nov 19, 2002 10:27 am

I like the idea but there IMHO needs to be a way to database this information for historical look up and compares. I don't think just sitting in the bazaar for a few hours would give you proper average prices nor track trends on items.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Nov 19, 2002 10:28 am

Salutations,
thats where file I/O which was requested a while back comes in... and then... sss....

AlphaBeta
a ghoul
a ghoul
Posts: 126
Joined: Sat Nov 09, 2002 12:35 am

Post by AlphaBeta » Tue Nov 19, 2002 10:44 am

Ah, very good. Now my only question is how does one do a feature request?

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Nov 19, 2002 11:18 am


User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Tue Nov 19, 2002 12:29 pm

moving to dev board