• 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
Resource icon

Release BAS.mac Barter Auto Seller 0.0.6

No permission to download
Joined
Mar 21, 2014
RedCents
27,491¢
Barter Auto Seller

Current Features

Auto generate/update of detail items in INI file based on what is in inventory.
General INI file setup by character
Shared INI item details file
Set item minimum sell price in INI file
List of Buyers you can ignore when selling
Set the packs you want to skip

List of Mules you want to sell to and associated INI file for Mules. Mules INI file is shared, not per Mule.
Mule INI item details can be set to skip or sell.
Mule can have the same item for sale with multiple price lines. Mule will only sell to Line buying at 0.001.

Brute force selling to force selling to highest buyer, ignores item detail settings.

Command line parameters to change sell mode without changing INI files.
You can access macro help using command line parameters.
/mac bas.mac help

This Macro will sell all items, to Barters, Any Item that shows up in the Items list in the Barter Search Window.
The only Exceptions are as listed:
1 - Items that are in packs that are designated to be skipped(SkipPacks).
2 - If you wish to keep items that are in your designated, to be skipped packs. Those items can not be in any other non-designated packs.
Example: If you set SkipPacks=1,2,3(Skip Packs 1-3). You have a stack of natural silks in Pack2 that you want to save.
You also have several stacks of natural silks in Pack5. All Stacks of Natural silk will be sold even the ones in Pack2.
The Pack search is setup to skip items, that are exclusively in those packs you designate to be skipped.
If there is something you want to save I would suggest you Bank those Items Before running this Macro.
3 - If UseDetail is set to 1, then all Items in the BAS_ItemDetail.ini file with a zero price will be skipped.

Currently this macro supports 3 INI files:
BAS_CharacterName.ini - This ini file is where you will find the general section and is character specific.
BAS_ItemDetail.ini - This is a shared Ini file that will be used by all characters.
This ini file contains the Items by name and the minimum sale price that you can update.
BAS_MuleItems.ini - This is a shared Ini file that will be used to sell to Barter Mules.

Note: This macro is only made possible by EQMule. I was 90% complete with this macro when I hit a dead end.
The changes he made to the MQ2Windows code in MQ2 made this macro possible.
If you find this macro use full and/or makes you feel generous. Please donate to EQMule.

Special Thanks goes out to EQGeek, who helped with alpha and initial beta testing

This macro is still a work in progress. All Comments are welcome.

Rename the update to BAS.MAC before running.

Redbot's edit: 11/1/2017 bas.mac temporarily updated to 0.0.5 which includes kaen01's unofficial fixes, consider this macro unsupported until ctaylor has a chance to verify it.
 
Last edited by a moderator:
Will give this a try when I get in from work this evening.
 
Anyone used this? If others found this useful I was going to convert it to an Include file, but there has been no feedback.
 
I just got back from being the the field for a few weeks and trying to get back up to speed again using various macro's. This is something I might use so I'll attempt to give you some feedback.
 
Wow! I have to say that using this saves me a TON of clicking. Honestly, I think this should be used by everyone who sets up afk for hours on end. I used the Brute method and it works like a charm. I'm very impressed with this.

- - - Updated - - -

I'll start working on an ini file in the next few days. Will have to visit each of my camps.
 
If you have a regular buyer/mule, buying items at going prices, can you get your looter to sell him for his going rate or do you have to add a buy for each item you want to sell at 1c?
 
Last edited:
Currently you have to have a secondary Buy line at 1c, but that could be changed to sell to mule regardless of price. I set it up this way so you didn't deplete your mules plat when buying from your other toons.
 
How would I set it up to sell at any price to my mule? Is it something i could do or is it code that needs to be added?
 
I have made the changes, I just need to test it first. I changed the routine to sell to your Mule at the lowest listed price.

- - - Updated - - -

I have been to busy to test this, but this should sell to your mule looking for their lowest buying price.

If someone can give it a run and let me know how it goes, it would be much appreciated.
 

Attachments

I'm not sure how to setup the ini file. Do I have to type everything out that I want to sell? Or is there a command I can use with an item on my cursor where it will add it to the list?
 
The macro will add all items in your inventory to the ini file. The macro will pause if it adds an item to the ini file so you can go and update your ini file. The macro uses the /afk to pause, so make sure you are not in /afk mode to continue the macro.

I'm not sure how to setup the ini file. Do I have to type everything out that I want to sell? Or is there a command I can use with an item on my cursor where it will add it to the list?
 
Still a little confused. So I type /mac bas and it populates an ini file with my entire inventory? At what point does it start selling stuff?
 
Still a little confused. So I type /mac bas and it populates an ini file with my entire inventory? At what point does it start selling stuff?

Yes it will populate the ini file first with any items in your inventory. After you run it the first time you then go edit the ini file and enter your minimum sell prices on each item.

In the top of the macro are the instructions needed to run and setup the ini files. See Below.

Rich (BB code):
 Description : This Macro will sell all items, to Barters, Any Item that shows up in the Items list in the Barter Search Window. 
|               The only Exceptions are as listed. 1 - Items that are in packs that are designated to be skipped(SkipPacks). 
|               2 - If you wish to keep items that are in your designated, to be skipped packs. Those items can not be in any other non-designated packs.
|               Example: If you set SkipPacks=1,2,3(Skip Packs 1-3). You have a stack of natural silks in Pack2 that you want to save.                
|               You also have several stacks of natural silks in Pack5. All Stacks of Natural silk will be sold even the ones in Pack2.
|               The Pack search is setup to skip items, that are exclusively in those packs you designate to be skipped. 
|               If there is something you want to save I would suggest you Bank those Items Before running this Macro.
|               3 - If UseDetail is set to 1, then all Items in the BAS_ItemDetail.ini file with a zero price will be skiped.
|               
|               The item detail records are created at the time the macro is run, if the UseDetail field is set on(1 or 2). 
|               By default UseDetail is turned off(0). If any items are added to the detail lines. The macro will end or pause based
|               on the AFKPause field. If you use the AFKPause field the character will go /AFK causing the macro to pause. This allows 
|               you to go and edit the ini file and make any changes before continuing. To continue just use the /afk command to take 
|               the character out of Pause mode.
|               
|               There are 3 Ini files associated with this Macro. 
|               BAS_CharacterName.ini - This ini file is where you will find the general section and is character specific. 
|               BAS_ItemDetail.ini - This is a shared Ini file that will be used by all characters. 
|                                    This ini file contains the Items by name and the minimum sale price that you can update. 
|               BAS_MuleItems.ini  - This is a shared Ini file that will be used to sell to Barter Mules. 
|                                     
|
| Instructions: When setting up the Ini files most fields are self explanatory. Fields that have special formats are listed Below:    
|                XBarters      : Name,Name,Name These are the barters you want to EXCLUDE as a Buyer. Don't leave blank set to NULL.
|                SearchWait    : The time between searches. This feild is the SECONDS to wait. Defaults to 0=Off.
|                                Setting this to off(0) will end the macro when it finished trying to sell all items.
|                                If you want the Macro to keep trying to sell all items untill all items are sold set this field
|                                to how long you want to wait before trying to sell again. 
|                                Example: Use 300 for 5 minutes, 600 for 10 minutes, or 1200 for 20 minutes.
|                MinBartReqGlbl: The number of total Buyers that must be up before trying to sell.
|                MinBartReqDetl: This field is the number of Buyers you require to be selling the item before you try and sell. 
|                                This is in effect when UseDetail is off(0) or sellat is zero. 
|                                This will check every item being sold and Skip any item that does not have MinBartReqDetl buyers buying the item.
|                SkipPacks     : Designate the Packs you want to skip when selling Items. Defaults to 1,2.
|                                Examples: 1,2,3 or 1,3,5 or 9,10. You decide what packs you want to skip.
|                SkipHow       : Not Used at this time. Will be for future refinement of pack searching.
|                SellFromBrtWnd: Sell using the Sell Button from the Barter Window. 
|                UseDetail     : 0 - Ignore the records in the BAS_ItemDetail.ini and sell to highest buyer.
|                                1 - Use the sell at value in the ItemDetail file, but skip items with zero sell value.
|                                2 - Use the sell at value in the ItemDetail file, but sell items with zero sell value to highest Buyer. 
|
|
|               Detail Item Fields: BAS_ItemDetail.ini 
|                                Name of Item=0(Default). This is the Minimum Sell price. If it is zero then it will sell to highest buyer.(Refer to UseDetail)
|  
|                                This field is entered in the following Formats:
|                                0.001 = 1 Copper
|                                0.010 = 1 Silver
|                                0.100 = 1 Gold
|                                1     = 1 Plat or 1., 1.0, 1.00, 1.000 all = 1 Plat 
|                                9.999 = 9 Plat 9 Gold 9 Silver 9 Copper. I think you get the idea.
|                   Note: Always enter the Plat place holder even if it is zero. If using Plat Only, then the decimal and all values to the right can be excluded.
|

This macro is very versatile. Look through the ini files and set all flags accordingly. There is a brute force function that will sell items to the highest buyer. you can also use /bas help to get help from the EQ window.
 
Because it is not in the same format. If I wanted to use the loot.ini file and add the field I need for Minimum Price to sell, I would have to change the Ninjadvloot.inc code and then add some code to mark the items as Barter. Then I still have the issue with the BAS_MuleItems.ini which is just a list of those items you want to sell to your barter mule. I am working on a version of NAL that incorporates this macro. I am having to add the code to mark the records for Barter, and also use the BAS_MuleItems.ini so you can sell to actual barters and to your mule.

I have been busy working on another project so I have had to put this on the back burner for now, but I will be getting back to this after the holidays.




why are you using a different list for items other than loot.ini ? Just curious.
 
Can't get this to sell anything, even in brute mode. It pulsl up /bar, searches, then moves on to the next item. I added SellFromBrtWnd=1 but no go.
 
Can you list your BAS_Charactername.ini file and your BAS_Itemdetail.ini files. If you want you can PM them to me..

Can't get this to sell anything, even in brute mode. It pulsl up /bar, searches, then moves on to the next item. I added SellFromBrtWnd=1 but no go.
 
I gave 0.0.5 version a go today but the first run of bas.mac generated the .ini files but did not populate any items in them thus 2nd run had nothing to sell. :)

Here's the character .ini:
Rich (BB code):
BASVer=0.0.5
XBarters=NULL,NULL,NULL
SearchWait=0
MinBartReqGlbl=0
MinBartReqDetl=0
SkipPacks=1,2
SkipHow=1,1
AFKPause=1
UseHome=1
UseDetail=1
BarterMule=NULL
UseMule=0
GMActionH=GMAction 0=Off, 1=Pause Macro, 2=Camp character select, 3=Camp Desktop, 4=Quit game.
GMAction=1
EQBCon=1
IRCon=0
GroupSplit=0
Debugon=0

BAS_ItemDetail.ini
Rich (BB code):
[General]
|======================================================================|
[A]
|======================================================================|

|======================================================================|
and so on ...


If the auto itemization does not work, what is the proper format for the ItemDetail? For example would this be correct or should the first line be deleted?
Rich (BB code):

|======================================================================|
|Blue Diamond=200|


I have a mixture of bags and open inventory slot on this character. Also this char was shrouded.
 
Try the 0.0.4 version. I will have to do a little more testing on the 0.0.5. When I tested 0.0.5 I didn't delete all my files and start from scratch, so my bad. I will try and test it this weekend. 0.0.4 should work fine for you..
 
Version 0.0.5 is buggy as hell .... a pox upon thee Ctaylor22 !!!! LOL..
No.. but seriously... always been using v0.0.4.. and freaking LOVE IT ...
After a 12+ hour KA grind it takes me less than 2 minutes to sell tradeskill stuff off to barter people.. where manually it would take 10 minutes.
 
Okay, 0.0.4 works fine, although it only picked up a few items, but it is easy to edit the ini which you have to do anyways to set prices.

Very helpful, thanks! Saves so much clicking.
 
One interesting bug seems to be that the macro likes to camp to character select usually after doing a bit of a run through items.

I deleted all references to AFKGMAction and /camp and it still does it!

So the camp happens either through some weird click action or through some setting for afk in Everquest.

This was on version 0.0.4


EDIT: Fixed it, it was a thirst check I think that had /squelch camp in it
 
I haven't used this recently. I used to use it all the time. Works great unless you have an item which someone else is not selling. Then you have to manually price it but no big deal.

I've also wondered, "What if the other guy is using this macro and we keep under pricing each other?"
 
I haven't used this recently. I used to use it all the time. Works great unless you have an item which someone else is not selling. Then you have to manually price it but no big deal.

I've also wondered, "What if the other guy is using this macro and we keep under pricing each other?"

Not sure what you are referring too about under pricing. This will sell to the highest price unless it is your mule, then it sells to your mule at his lowest asking price. This will check the price you have set in your ini file and will sell at that price or higher. If you use brute force selling, it will just sell to the buyer with the highest asking price.
 
One interesting bug seems to be that the macro likes to camp to character select usually after doing a bit of a run through items.

I deleted all references to AFKGMAction and /camp and it still does it!

So the camp happens either through some weird click action or through some setting for afk in Everquest.

This was on version 0.0.4


EDIT: Fixed it, it was a thirst check I think that had /squelch camp in it

Originally this was setup to run around the bazar and directly sell to buyers. I build in a function to camp the character if they ran out of food or drink.
 
Last edited:
Tried using this again today, it would sell a few items, skip to a different item, sell some of them, skip to another item and just sit there.
 
Tried using this again today, it would sell a few items, skip to a different item, sell some of them, skip to another item and just sit there.

make sure the items it was skipping had a buyer for the item and that the buyers were asking for the price you had in your ini file. If still having problems PM me your ini file(s). I will need to look at your settings.
 
I was using the brute sell method. And all the items I was trying to sell, there were buyers for them.
 
Would it be possible to make a seller bot to compliment this? Was thinking how convenient it would be to have the seller have gems and other vendor fodder on the seller to buy from your group, then sell them and run back to buy again. Or would this be to redflaggy?
 
Would it be possible to make a seller bot to compliment this? Was thinking how convenient it would be to have the seller have gems and other vendor fodder on the seller to buy from your group, then sell them and run back to buy again. Or would this be to redflaggy?

Not sure what you are asking, but you can setup barters that you can sell your stuff to. The macro allows you to sell to specific barters, AKA your mules. The macro also sells to your mules at the lowest advertised price. You can have multiple mules setup to sell too as well.
 
If your going to automate the process of selling to the barter/mule. Why not automate the process of the mule running and selling vendor fodder and running back to barter again, and relisting the items back to starting values?

Getting ahead of myself, also put trade skill stuff in shared bank or trade to trader.
 
If your going to automate the process of selling to the barter/mule. Why not automate the process of the mule running and selling vendor fodder and running back to barter again, and relisting the items back to starting values?

Getting ahead of myself, also put trade skill stuff in shared bank or trade to trader.

The selling to the barter/mule is already in the macro, don't need to add it.

To do what you want, would require a completely separate macro for the barter/mule. This macro was setup to sell your inventory quickly to barterers.
 
Release BAS.mac Barter Auto Seller

Users who are viewing this thread

Back
Top
Cart