• 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 3.2 Updated 11/07/2017

Re: Bazaar.mac 3.1 Updated 05/03/2015

The macro fails to update prices on the Resonating Portal Dust items. Is it because of the parenthesis - (Beza), (Caza), etc. ?
 
Re: Bazaar.mac 3.1 Updated 05/03/2015

The macro fails to update prices on the Resonating Portal Dust items. Is it because of the parenthesis - (Beza), (Caza), etc. ?

i have encountered the same thing on items with (names) at end i just price them manual when the are on the trader
 
Re: Bazaar.mac 3.1 Updated 05/03/2015

I only got 1 updated item from bags than stop doing anything... this marco need a update
 
Re: Bazaar.mac 3.1 Updated 05/03/2015

I only got 1 updated item from bags than stop doing anything... this marco need a update

I'm having the exact same issue. Is there another Mac for auto price setting that I'm missing? This was an extremely helpful feature when I played about a year ago and I definitely miss it. Hell, I've neglected adding things to my bazaar mule because of how tedious pricing is. Hopefully I'm doing something wrong or someone can tweak it to work again.
 
Re: Bazaar.mac 3.1 Updated 05/03/2015

Just updated my files. Seems to work great, thank you Maskoi!
 
first I am using version 3.2, second I download VV and let updater run, coped the 3 Baz files (mac/inc/ini) over wrote the current with the same results as below.

1. no matter what item is first in my list the Mac ends on first item when trying to make INI here is the output to MQ window:

/mac bazaar makeini

cant_make_ini.png

2. no matter what item is first in my list the Mac ends on the first item, here is the output to MQ window:

/mac bazaar trader initprice

cant_make_ini.jpg

fell like I must be missing something simple here with both.

though besides that the mac works good for me /mac bazaar trader = if it finds an item for sale it under cuts them if not, next
 
I removed the /continue on line 551 for you.

Not sure about the rest of it without looking and I don't have a gold account to use trader mode to check it out.

With that said I've received enough "Thanks" to get a Krono....I might do that and take a look at this macro for you guys since it isn't that big.
 
Last edited:
Someone donated a krono to me ( Thanks Dborgar! ~ no krono available for redcents)

With that said I've loaded up the macro and have been successful at doing /mac bazaar trader initprice

With the /continue removed I find that it does in fact update all of my prices based on the current bazaar price, but items without a price have nothing done to them at all. I'm not sure if this is by design or not. I assume it expects you to either edit the ini or add the prices manually.

I've noticed that with items that are updated that have a vendor value that by default the min price is set to 0. Thinking that should be a change added to check the item for a vendor value. I'd have to find the method of accessing it and look into getting that added.

As far as undefined variable "Bazaar", this is because in your /plugin list, you won't find MQ2Bzsrch. I'm going to add code for that to be loaded on launch of the macro to avoid this issue in the future for other members.

I'll have to look over other reported issues. Please leave #warning in your code, it is there for a reason.
 
Last edited:
bazaarmac.jpg
Rich (BB code):
| If lowest price found is between 1 and 2 mil continue
        /if (${minprice}<=2000000 && ${minprice}>0) {
        | If lowest price found is below 100 pp set var to lowest price found -1
            /if (${minprice}<100) {
                /varset targetstr ${Math.Calc[${minprice}-1]}
            } else {
            | If lowest price found > 100 pp set var to round down price to neareast 25pp increment
                /varcalc targetstr ${Int[${Math.Calc[ ${minprice}*0.99/25 ]}]}*25
            | Set min price to ini file setting if within 25p of adjusted min price
                /if (${Float[${targetstr}].Int}<${minSellPrice} && ${minSellPrice}-${Float[${targetstr}].Int}<25) {
                    /varset targetstr ${minSellPrice}
                    | If minSellPrice is less than item's vendor value, set targetstr to Vendor value in copper. ~ChatWithThisName 01/02/2018
                    /if (${minSellPrice} < ${FindItem[${itemname}].Value}) {
                        /echo \agChanging minimum sell price from ${Int[${Math.Calc[${minSellPrice}/1000]}]}pp to ${Int[${Math.Calc[${FindItem[${itemname}].Value}/1000]}]}pp!
                        /varset targetstr ${Math.Calc[${FindItem[${itemname}].Value}/1000]}
                    }
                }
            }
            /echo ${targetstr} is what targetstr is before int setting. 
            /varset targetstr ${Int[${targetstr}]}
            /echo ${targetstr} is what targetstr is after int setting.
        :setPrice
        | If item pp price doesn't match ${targetstr} var reprice item
            /if (!${targetstr.Equal[${Window[BazaarWnd].Child[BZW_Money0].Text}]}) {
                /echo ... Repricing ${itemname} from (${Window[BazaarWnd].Child[BZW_Money0].Text}) to (${targetstr}).
            :openqtywndagain
            | Click on item pp price window
                /notify BazaarWnd BZW_Money0 leftmouseup
                /delay 2s
                /if (!${Window[QuantityWnd].Open}) /goto :openqtywndagain
            | Delete any price in open pp window
                /delay 1
                /keypress backspace chat
                /keypress backspace chat
                /keypress backspace chat
                /keypress backspace chat
                /keypress backspace chat
                /keypress backspace chat
                /keypress backspace chat
                /keypress backspace chat
                /delay 1
            | Type in new price
                /for PlatVal 1 to ${targetstr.Length}
                    /keypress ${targetstr.Mid[${PlatVal},1]} chat
                /next PlatVal
            | Click Accept button
                /notify QuantityWnd QTYW_Accept_Button leftmouseup
                /delay 1
            | Click Set Price button
                /notify BazaarWnd BZW_SetPrice_Button leftmouseup
                /delay 1
            }
        }

Added code to check for the minSellPrice going below the vendor value of an item and setting it to the vendor value of the item instead. This is added protection to keep players from inadvertantly creating profit for other characters whom might stuble upon them by using a macro such as buylow.mac

Now when it tries to sell my blue diamond or diamonds it sells it for AT LEAST the vendor value. You have tried to fail, but I won't let you!

Fixed initprice leaving initprice if any item has a price set for it and instead goes to the next item to check it for a value.
Fixed initprice updating the first item without a price and leaving the loop instead of going to the next item.
Added color to all /echo commands
Added alias myecho
|||||||/alias /myecho /echo \ar[\agBazaar.mac\ar]\aw >>> \ao

Removed previous attachments.
Updated current version to 3.3, changed the update date to current date.

Donate to ChatWithThisName for his hard work.
 

Attachments

Last edited:
So I wanted to do my rechecking of prices at random times.


I changed line 82

Rich (BB code):
/declare UpdateInterval      int         outer   500
too
Rich (BB code):
/declare UpdateInterval      int         outer   ${Math.Calc[45+${Math.Rand[300]}]}              ~TheNameLess 01/02/2018
Now it rechecks between 45 minutes & 5 hours 45 minutes, its about 3.3 times longer then default, but since doing this the guys that keep trying to drive prices down are having a harder time

Ok so with regards to "/mac bazaar makeini" Not working pulling the continue out just let it add the first item and end, so I changed line 613 :was 612 before I added vender value

Rich (BB code):
/continue
too
Rich (BB code):
/goto :nextslot

This allows the mac to run through the inventory till complete and say its done and then end.

After that I went back to add a new line 612 for putting the Venders value in the .InI

Rich (BB code):
 /ini bazaar.ini "${itemname}" "VenderValue" ${Int[${Math.Calc[${FindItem[${itemname}].Value}/1000]}]}              ~TheNameLess 01/14/2018

The three changes I made, are in order :

Rich (BB code):
Line 82
/declare UpdateInterval int outer ${Math.Calc[45+${Math.Rand[300]}]} ~TheNameLess 01/02/2018
Line 612
/ini bazaar.ini "${itemname}" "VenderValue" ${Int[${Math.Calc[${FindItem[${itemname}].Value}/1000]}]} ~TheNameLess 01/14/2018
Line 613
/goto :nextslot


hope you like... ... ...






 
Nifty. I'm considering recoding this so that it doesn't shut off trader to update prices. When you have a lot of items it takes you out of trader mode for a while.
Also considering changing the settings to use an INI for user changed variables instead of having them hard coded into the starting declares. Are these things people would like to have included?
 
As per @thenameless mention of the broken makeini sub I put it inside a for loop, removed the echo of the tooltip length. I did not however incorporate the random update interval. Great idea though. Just need to think more on how I would like to approach that for user editing.
 

Attachments

Last edited:
As per @thenameless mention of the broken makeini sub I put it inside a for loop, removed the echo of the tooltip length.
Just glad to help, I am looking at the 2 side by side

The Error control for no commands line option after /mac bazaar
line 140 has

Rich (BB code):
/myecho Invalid Usage: /mac bazaar trader | /mac bazaar buyer. |/mac makeini

needs to be

Rich (BB code):
/myecho Invalid Usage: /mac bazaar trader | /mac bazaar buyer | /mac bazaar makeini.
The out put looks much cleaner without it echoing the BazaarSlot$ tooltip



did not however incorporate the random update interval. Great idea though. Just need to think more on how I would like to approach that for user editing.


you did not mention VenderValue but I do see its not in your upload file (by the way it still says 3.3, think it should be 3.4 yes?)

you don't think "VenderValue" is necessary in our Bazaar.ini, I feel it dose when I add a slew of items, it a lot quicker then right clicking on a bunch of things or looking up vender price's


Nifty. I'm considering recoding this so that it doesn't shut off trader to update prices. When you have a lot of items it takes you out of trader mode for a while.
Also considering changing the settings to use an INI for user changed variables instead of having them hard coded into the starting declares. Are these things people would like to have included?


I agree with leaving in trader mode, I've just been manual hitting begin if at desk.
not sure about needing another ini for just settings

next thing I was going to look at where,

1. making it put the VenderValue as the minimum If default min price is less when making ini I neglected to look at the declare for it and a few thing got left at 100, costly mistake. as most good lesions are

2. changing the color for when It says things like: theirs a ,going prize is, but your min/max price is: resining just to help them stick out in a see of orange (again my dyslexia)

3. trying to make the random time thing do it at an interval of say 1.5H + or - 1H



 
VenderValue should already override minimum value. Please see post #95.

I can change the color if you'd like.

My bad on the incorrect syntax for makeini lol. I added that because it was missing from the echo, but failed to type what I was thinking.

For the random update timer I was going to implement your usage of math.rand but the user changed variables would be minimum and max values. IE: if player wanted to update between every half hour and every hour and a half it would be MinRandUpdateTime = 30, MaxRandUpdateTime=90 as user setting, then internal code to make that happen.
Rich (BB code):
${Math.Calc[${MinRandUpdateTime}+${Math.Rand[${Math.Calc[${MaxRandUpdateTime}-${MinRandUpdateTime}]}]}]}
 
VenderValue should already override minimum value. Please see post #95.

I like your idea for the update time and I am not trying to be a pain in the but here
however your code from post 95 is what gave me the idea to add it to Makeini & initprice........ as you put it in the mainloop, and its not in play whth "Sub TraderSetup" or "sub makeini"


With lines :
85 /declare InitialPrice set to 500
&
88 /declare SellPriceMin set to 100

Both are the current defaults


/mac bazaar makeini outputs this to the bazaar.ini

[Shaped Taaffeite]
SellPriceMin=100
SellPriceMax=1
BuyPriceMin=1
BuyPriceMax=1000
VenderValue=600



/mac bazaar trader initprice

sets any unpriced item to InitialPrice and skips the reast all in game

Setting my testing item [Shaped Taaffeite] to 500

then runs Auto update trader price, but dose not add it to the Bazaar.ini

I hope I am explaining my self clearly



 
Last edited:
Your message isn't going unnoticed thenameless Just got preoccupied making almar's parcelbot for him.
With that said I also touched on bazaar.mac a little bit and I've made an offspring, bazaar2.mac

This is an exact clone of bazaar.mac with the exception that I was looking to make it a bit more efficient. For now the only thing I've changed is the way initprice handles updating prices to initial value.

I sped it up .....ALOT. Like....it used to take a couple seconds to check and update a single item. Now it will set initial price on 100 items in a few seconds. Test it, lemme know how you like it. If this seems like a good thing we can push it to the git.

We can call this a beta tester build for those that choose to participate. For those of you that already have most/all of your prices set....if you blink you might miss it. /mac bazaar trader initprice
 

Attachments

I love the idea of more speed, for client side stuff, initprice & makeini, but think it maybe detectable when querying the bazaar's going price of items, so I caution against speeding that part up though.
 
You can't really speed up searches for items in the bazaar because you have to wait for results and wait for the find button to be available. I did do some minor updates to speed it up slightly, but hardly noticeable. I did change the way prices are altered from the previous method to just use the slider to set a new value which speeds that part of it up.

I've also made it so that you only turn off the trader on the first run.

Rich (BB code):
        /if (${firstRun}) {
            /call TraderStatus Off
            /varset firstRun FALSE
        }
was added with firstRun declared as true at start. This way it will turn off trader mode only if it's your first run of the macro. After that all updates are done without exiting trader mode.

Added some additional information on the search, IE: The amount of results found for a search.
Changed the size of the /for loop from 199 to 100 because you can only have 100 items as per 10slot bags x 10.

Updated the output for the makeini syntax to /mac bazaar makeini.

Items missing from the INI are now automatically added. When adding the item it will use MinSellPrice unless the vendor value is greater, in which case it will override the MinSellPrice.

You can still use /mac bazaar makeini and it will reproduce the same effects, however neither the automatic adding of INI entries nor the makeini entries overwrite existing settings unless the MinSellPrice in the INI is less than vendor value.
 

Attachments

Last edited:
Updated the appearance, cut down on the amount of spam sent to the MQ2 Window.
Added a user variable to change Reporting what you were searching for.

bazaarmac.png
 

Attachments

ChatWithThisName you should just start a new thread with this as Bazaar mac 4.0 with all the changes you have made.
I will just mark this one as retired and link you your new thread
 
Bazaar.mac 3.2 Updated 11/07/2017

Users who are viewing this thread

Back
Top
Cart