• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Bazaar.mac 2.0 -- updated 12/04/2012

Re: Bazaar.mac 1.10 -- updated 04/06/2011

Seems I expressed myself incorrectly... The min price limits how far down you will follow the compitition. It someone comes in and significantly undercuts your price, min price prevents you from selling at a loss....

I expect it also keeps two or more peeps running the macro fro driving the price to zero... lol

It probable wouldn't be that hard to raise the price to your max if no one else was selling the item......

it wouldnt be that hard to fix the macro, or to do it manually? Hopefully you mean the macro because it would be near impossible to do it manually since no one is watching their bazaar toons and manually checking lol.
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

macro works fine

I expect it also keeps two or more peeps running the macro fro driving the price to zero... lol

Thats why you set a min price.
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

it wouldnt be that hard to fix the macro, or to do it manually? Hopefully you mean the macro because it would be near impossible to do it manually since no one is watching their bazaar toons and manually checking lol.

Yes, I mean the macro, lol. Who has time to sit and watch a bazaar bot? That woudl be almost as bad as foraging all night....
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

Rich (BB code):
:SearchBazaarAgain
    | - Call to bazaar.inc file. Clicks on and inputs item name to bazaar search window
    /call SetItemName "${itemname}"
    | - Call to bazaar.inc file. Click Find Items button
    /call MakeQuery
    /delay 5s ${Bazaar.Done}
    | Check baz window if seacrh is done and has any items
    /if (!${Bazaar.Done}) /goto :SearchBazaarAgain
    /if (!${Bazaar.Count}) /goto :nextslot
    | Set baz var window search pararmeters
    /varset itemsfound 0
    /varset minprice 9999999999
    /varset minSellPrice 0
    /varset maxSellPrice 9999999999   
    /for result 1 to ${Bazaar.Count}
        | Echo Ignore trader if name is found in exclude list
        /if (${Excludelist.Find[${Spawn[${Bazaar.Item[${result}].Trader}].Name}]}>=1) /echo * Exclude List - ${Spawn[${Bazaar.Item[${result}].Trader}].Name} ignoring their price.
        | Check if item is for sale and Seller is not me or someone on my exclude list
       /if (${Bazaar.Item[${result}].Name.Equal[${itemname}]} && (${Spawn[${Bazaar.Item[${result}].Trader}].Name.NotEqual[${Me}]} || ${Excludelist.Find[${Spawn[${Bazaar.Item[${result}].Trader}].Name}]}>=1)) {
            | Set itemsfound var - how many items are for sale
            /varcalc itemsfound ${itemsfound}+${Bazaar.Item[${result}].Quantity}
            | Set min/max prices to highest and lowest found in search
            /if (${Bazaar.Item[${result}].Price}<${minprice}) /varset minprice ${Bazaar.Item[${result}].Price}
        }
   /next result
   | If baz search returns 0 items in search check ini file for SellPriceMax
    /if (!${itemsfound}) {
        | if SellPriceMax higher than 1 (default) set targetstr to ini sell max price else skip to next item
        /if (${Ini[bazaar.ini,"${itemname}", SellPriceMax]}>1) {
            /varset targetstr ${Ini[bazaar.ini,"${itemname}", SellPriceMax]}
            /goto :setPrice
        } else {
            /goto :nextslot
        }
    }

So I'm 99% sure the problem is because this the variable ${itemsfound} will not return any value, even a NULL if there are no items found in the bazaar. I found this out by dropping an /echo ${itemsfound} right before the /if (!${itemsfound}) statement, and it does return valid #s when there are items found in the bazaar but returns nothing when there are no items so that /if statement because a waste of space.

Any ideas?
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

Rich (BB code):
:SearchBazaarAgain
    | - Call to bazaar.inc file. Clicks on and inputs item name to bazaar search window
    /call SetItemName "${itemname}"
    | - Call to bazaar.inc file. Click Find Items button
    /call MakeQuery
    /delay 5s ${Bazaar.Done}
    | Check baz window if seacrh is done and has any items
    /if (!${Bazaar.Done}) /goto :SearchBazaarAgain
    | If baz search returns 0 items in search check ini file for SellPriceMax
    /if (!${Bazaar.Count}) {

        | if SellPriceMax higher than 1 (default) set targetstr to ini sell max price else skip to next item
        /if (${Ini[bazaar.ini,"${itemname}", SellPriceMax]}>1) {
            /varset targetstr ${Ini[bazaar.ini,"${itemname}", SellPriceMax]}
            /goto :setPrice
        } else {
            /goto :nextslot
        }
    }
    | Set baz var window search pararmeters
    /varset itemsfound 1
    /varset minprice 9999999999
    /varset minSellPrice 0
    /varset maxSellPrice 9999999999
    /for result 1 to ${Bazaar.Count}
        | Echo Ignore trader if name is found in exclude list
        /if (${Excludelist.Find[${Spawn[${Bazaar.Item[${result}].Trader}].Name}]}>=1) /echo * Exclude List - ${Spawn[${Bazaar.Item[${result}].Trader}].Name} ignoring their price.
        | Check if item is for sale and Seller is not me or someone on my exclude list
       /if (${Bazaar.Item[${result}].Name.Equal[${itemname}]} && (${Spawn[${Bazaar.Item[${result}].Trader}].Name.NotEqual[${Me}]} || ${Excludelist.Find[${Spawn[${Bazaar.Item[${result}].Trader}].Name}]}>=1)) {
            | Set itemsfound var - how many items are for sale
            /varcalc itemsfound ${itemsfound}+${Bazaar.Item[${result}].Quantity}
           | /echo ${itemsfound}
            | Set min/max prices to highest and lowest found in search
            /if (${Bazaar.Item[${result}].Price}<${minprice}) /varset minprice ${Bazaar.Item[${result}].Price}
        }
   /next result

So apparently, it was never getting that far because /if (!${Bazaar.Count}) /goto :nextslot would just move on if there were 0 items. the code above is the replacement for the code i previously posted. I'm sending the updated mac to maskoi so it can be updated. :)
 
Re: Bazaar.mac 1.08 -- updated 03/31/2011

Mq2 is not capable of looking inside the Trader window to do that so no BUT EQ logs everthing that goes on in the Trader Window in a file.

In your EQ log folder look for bzlog_server_Toonname.txt

Anything sold looks like

Check this out it almost looks like MQ2 could look at log files... I mean it can look at INI files with the INI TLO. If I was a better coder I would probably make a TLO that would go through log files like bzlog's :)
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

Does this mac work still? It does not for me, seems to set everything to the Max price I have set in the ini, but does not lower the value if there are others with lower prices.

I also get the following errors in the MQ2 window.

DoCommand - Couldn't parse '/breset'
bazaar.inc@132 (MakeQuery): /breset
bazaar.mac@175 (Main): /call MakeQuery

Thanks
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

Nevermind. It seems it's because I'm using a different compile. Works with the redguides compile
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

DOES NOT WORK WITH MMOBUGS!! lol They have a custom MQ2Bzsrch that is an active hack and will get you banned.
 
Last edited by a moderator:
Re: Bazaar.mac 1.10 -- updated 04/06/2011

well, I use that compile soley for autologin. I can't live without it. I'll just put my bazaar mule on another computer.

Can't you get mq2autologin here?
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

YES WE CAN!!

We have just negotiated a deal with Ieatacid for his permission to include MQ2Autologin in our compile look for it in the next week or so.

WOOT!
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

Autologin he says! hahaha :D

Anything you guys are dying to have from elsewhere?
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

OMFG Look for it the next DAY OR TWO!!

MQ2AutoLogin!!
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

Bazaar.mac 1.20 -- updated 08/24/2012

V 1.20 08/24/2012
Fix to compensate for Viridian Hero's Forge Leather names because its more than 30 characters. Trims 3 characters off in order to search correctly.

New file uploaded
 
Re: Bazaar.mac 1.10 -- updated 04/06/2011

I'm getting these same errors again, using the redguides compile as well this time. Did it break in the last patch or am I going something wrong?

It was working fine for some time, but I havn't used it in Months.

Does this mac work still? It does not for me, seems to set everything to the Max price I have set in the ini, but does not lower the value if there are others with lower prices.

I also get the following errors in the MQ2 window.

DoCommand - Couldn't parse '/breset'
bazaar.inc@132 (MakeQuery): /breset
bazaar.mac@175 (Main): /call MakeQuery

Thanks
 
Just started using this macro and i find it hangs up alot when doing the pricing ... if it is an item that isn't for sale in the bazaar it will just hang on that item and keep trying to price it.
and if it is doing multiple items in a row it will sometimes not clear the search criteria of the last item and just append the new item in the description... manually hitting the reset button will move it along but it happens alot...

any ideas to fix this?

thanks
 
Are you sure you have the right version? That sounds exactly like everything I fixed in 2.0. Delete your current bazaar.mac and redownload it.
This is in trader mode and not buyer right?
 
I'm also having some weird issues. Sometimes it seems to price items higher than anyone else in the bazaar, even higher than my max price. I watch as it reprices things, and i see the lower prices from other vendors, so its not like people sneak in a lower price. I dont know how to better diagnose the problem, though.
 
Got a problem with the autoupdate, in the search window it doesnt work when item has an " ' " , (aprostroph) in the name. instead it types an empty square

For example "Memory's Beads", will be typed as "Memory&#8735;s Bead" and the item will then be skipped (says "has a comma in the name, skipping")

Any way to fix this?
 
No fix. Its coded that way. That's why the macro gives the message "has a comma in the name, skipping" lol
 
im getting an error
Rich (BB code):
invalid mappable command or key combo 'TOGGLE_BAZAARSEARCHWIN'
when it trys to close the bazaar search window after setting the prices
 
im getting an error
Rich (BB code):
invalid mappable command or key combo 'TOGGLE_BAZAARSEARCHWIN'
when it trys to close the bazaar search window after setting the prices

Getting this same error and I have the latest compile. If I close the bazaar window manually it stops the error until the next update.
 
Seems to be working fine on my trader tested this morning.
 
Does Buyer mode work? I just tried it out and it seems to change the price to the minimum no mater what and then it ends. Not sure if the buyer mode was ever updated and works. If it does, what could I be doing wrong? I have the latest compile and mac.
 
I never revamped buyer mode when I updated the bazaar.mac Its old. I will look at it next weekend and see what i can do.
 
OK, I have done forum searches, and unable to comeup with squat on the error I am having. Anytime I run this macro, I get:

Rich (BB code):
BZR_QueryButton NOT enabled

I have all the required Macros Loaded, and this has only been happening since the great Bazaar Plugin Issue of Last Month. Using /mq2bzsrch ... I don't get any way to Enable this option. Help me Obi Wan Maskoi, your my only hope.
 
its an mq2 thing. New source code was just released for a fix. Will upload new compile later today.
 
i lied it was ${Window[TradeWnd].HisTradeReady} not baz struct that was fixed sorry.
 
Try this for now in bazaar.inc file find sub routine below and

Rich (BB code):
sub MakeQuery
/delay  5s ${Window[BazaarSearchWnd].Child[BZR_QueryButton].Enabled}
/if (!${Window[BazaarSearchWnd].Child[BZR_QueryButton].Enabled}) {
    /echo BZR_QueryButton NOT enabled
    /return
}
/breset
/nomodkey /notify BazaarSearchWnd BZR_QueryButton leftmouseup
/delay  5s ${Bazaar.Done}
/return
change ti to
Rich (BB code):
sub MakeQuery
/delay  5s ${Window[BazaarSearchWnd].Child[BZR_QueryButton].Enabled}
|** /if (!${Window[BazaarSearchWnd].Child[BZR_QueryButton].Enabled}) {
    /echo BZR_QueryButton NOT enabled
    /return
} **|
/breset
/nomodkey /notify BazaarSearchWnd BZR_QueryButton leftmouseup
/delay  5s ${Bazaar.Done}
/return
 
Thanks Maskoi, that is working now. Your a lifesaver. With all Bags on Trader at max, going through and updating each item to ensure price is competitive/lowest is a PITA.
 
Bazaar.mac 2.0 -- updated 12/04/2012

Users who are viewing this thread

Back
Top
Cart