[PB] Toney's TSM-Based AH Bot Profile
DISCLAIMER
First of all, I wanna make clear that I have no real knowledge of coding. I've made this profile instructing myself by reading guides, searching the forums and looking through other profiles in order to learn what function did what I needed to do.
That said, as it is, this profile does exactly what I need it to do, nothing more, nothing less, and unless I have a need to add functionality to it, chances are I won't.
BUT, this is a wonderful community, and as such, I want to contribute in any way I can. This is better than nothing and should provide people with an easy solution to their basic AHing needs.
However, feel free to take it and modify it in any way you want. If you can make something better out of this, the only thing I ask is that you share it so we can all take advantage of it.
Like I said, I probably won't be adding functionality to it unless I have a need for something (mostly because I'd have to go through the trouble of researching), but I figured someone could use this as a base.
BUT if you are a coder, you feel you can contribute and wanna adopt this for further developing, please, be my guest.
Second of all, I want to give credit to the people that deserve it, in no particular order, and ask you (urge you, really) to take 10 seconds to give them +rep (click on their name to go to a post of theirs), because without them, we'd still be without a working AH Bot:
Highvoltz: For developing PB, among countless plugins, and for supporting it. Without his continued support I wouldn't have found the answers I needed. Also, my profile uses his AH Bot profile as inspiration (to say the least).
Inrego: This guy... He made the code cleaner, and smarter. He deserves the most credit. If you're gonna give +rep to someone, it should be him.
Now that's outta the way, let's get down to business!
So what is this?
This is a very simple automation profile for TSM. It's very basic, but works beautifully.
Why TSM?
TSM is more reliable than PB's AH bot, has more depth of configuration, and a more user friendly interface.
Also, different PB AH profiles will sell different things depending on the user. This way, this works for everyone, all the user has to do is appropriately set up TSM (attached guide below).
Another advantage is longevity. Unless PB stops being able to press keys, this should only require minor tweaks with new releases.
How does it work and what does it do?
I first intended it to work by running code through HB. For some reason, it didn't work. I tried making HB run the macros from the game. That didn't work either. As third time is the charm, I made it emulate keystrokes (as the very same macros manually pressed in game worked perfectly), and voila!
It starts by going to the nearest AH and doing a posting cycle. After that, it'll generate a random number (between 15 to 30 mins) to "schedule" a cancelling cycle, and another (between 30 to 60 secs) to "schedule a posting cycle".
It'll keep posting (when the timer is up) until the cancelling timer is up, then it'll finish the current task, if any, and start the cancelling cycle, effectively cancelling any undercut auction and retrieving your mail, if you have any.
Enough chatter, I wanna sell sum stuffs!!!
Setp 1: Download and install the required addons
TradeSkillMaster
Lib: Stub
Make sure this addons are correctly installed in your WoW's addon folder, and properly enabled ingame.
Also, a good partner for this is the HB Plugin "TurboMailer". It'll speed up the mail retrieval part.
You can get it here: TurboMailer
TurboMailer goes in your HB > Plugins Folder.
Step 2: Macros
Since hardware events are needed, we need to make the following ingame macros for the bot to emulate a "button press":
Bind the first one to F1, and the second one to F2.
Step 4: Proper TSM configuration
Make absolutely sure to set your TSM Sidebar to be displayed automatically. You do this by opening the AH, clicking on the TSM button at the top right (to open the sidebar the first time), and then checking the "Open Sidebar Automatically" box.
Also, make your groups, categories and whatever it's needed to start posting auctions.
If you need a TSM guide, google is your friend.
Step 5: Starting up!
Download my profile View attachment [PB] Toney's TSM-Based AHBot v1.1.xml.
Open up HB, select PB as the botbase, click on Bot Config and load up the profile.
As long as you've properly set up TSM and, obviously, have stuff in your bags to sell, you can sit back and enjoy.
Normally I send stuff to this toon for posting, so he'll pick it up on it's own. The only interaction I have is actually sending my gold back to my main account. Use your preferred method for that.
Step 6: Closing
One last thing. If you'd like to modify the timers that are used for either posting or cancelling, this is where you need to go:

The timers are in seconds. Out of the box, the posting timers are a random number between 30s to 60s, and the cancelling timers are 15m to 30m.
I know there's a lot of people that can get good use out of this, so if you're one of those people, go back to the top of the page and give +rep to the people that made this happen.
DISCLAIMER
First of all, I wanna make clear that I have no real knowledge of coding. I've made this profile instructing myself by reading guides, searching the forums and looking through other profiles in order to learn what function did what I needed to do.
That said, as it is, this profile does exactly what I need it to do, nothing more, nothing less, and unless I have a need to add functionality to it, chances are I won't.
BUT, this is a wonderful community, and as such, I want to contribute in any way I can. This is better than nothing and should provide people with an easy solution to their basic AHing needs.
However, feel free to take it and modify it in any way you want. If you can make something better out of this, the only thing I ask is that you share it so we can all take advantage of it.
Like I said, I probably won't be adding functionality to it unless I have a need for something (mostly because I'd have to go through the trouble of researching), but I figured someone could use this as a base.
BUT if you are a coder, you feel you can contribute and wanna adopt this for further developing, please, be my guest.
Second of all, I want to give credit to the people that deserve it, in no particular order, and ask you (urge you, really) to take 10 seconds to give them +rep (click on their name to go to a post of theirs), because without them, we'd still be without a working AH Bot:
Highvoltz: For developing PB, among countless plugins, and for supporting it. Without his continued support I wouldn't have found the answers I needed. Also, my profile uses his AH Bot profile as inspiration (to say the least).
Inrego: This guy... He made the code cleaner, and smarter. He deserves the most credit. If you're gonna give +rep to someone, it should be him.
Now that's outta the way, let's get down to business!
So what is this?
This is a very simple automation profile for TSM. It's very basic, but works beautifully.
Why TSM?
TSM is more reliable than PB's AH bot, has more depth of configuration, and a more user friendly interface.
Also, different PB AH profiles will sell different things depending on the user. This way, this works for everyone, all the user has to do is appropriately set up TSM (attached guide below).
Another advantage is longevity. Unless PB stops being able to press keys, this should only require minor tweaks with new releases.
How does it work and what does it do?
I first intended it to work by running code through HB. For some reason, it didn't work. I tried making HB run the macros from the game. That didn't work either. As third time is the charm, I made it emulate keystrokes (as the very same macros manually pressed in game worked perfectly), and voila!
It starts by going to the nearest AH and doing a posting cycle. After that, it'll generate a random number (between 15 to 30 mins) to "schedule" a cancelling cycle, and another (between 30 to 60 secs) to "schedule a posting cycle".
It'll keep posting (when the timer is up) until the cancelling timer is up, then it'll finish the current task, if any, and start the cancelling cycle, effectively cancelling any undercut auction and retrieving your mail, if you have any.
Enough chatter, I wanna sell sum stuffs!!!
Setp 1: Download and install the required addons
TradeSkillMaster
Lib: Stub
Make sure this addons are correctly installed in your WoW's addon folder, and properly enabled ingame.
Also, a good partner for this is the HB Plugin "TurboMailer". It'll speed up the mail retrieval part.
You can get it here: TurboMailer
TurboMailer goes in your HB > Plugins Folder.
Step 2: Macros
Since hardware events are needed, we need to make the following ingame macros for the bot to emulate a "button press":
- /click TSMAucPostButton
- /click TSMAucCancelButton
Bind the first one to F1, and the second one to F2.
Step 4: Proper TSM configuration
Make absolutely sure to set your TSM Sidebar to be displayed automatically. You do this by opening the AH, clicking on the TSM button at the top right (to open the sidebar the first time), and then checking the "Open Sidebar Automatically" box.
Also, make your groups, categories and whatever it's needed to start posting auctions.
If you need a TSM guide, google is your friend.
Step 5: Starting up!
Download my profile View attachment [PB] Toney's TSM-Based AHBot v1.1.xml.
Open up HB, select PB as the botbase, click on Bot Config and load up the profile.
As long as you've properly set up TSM and, obviously, have stuff in your bags to sell, you can sit back and enjoy.
Normally I send stuff to this toon for posting, so he'll pick it up on it's own. The only interaction I have is actually sending my gold back to my main account. Use your preferred method for that.
Step 6: Closing
One last thing. If you'd like to modify the timers that are used for either posting or cancelling, this is where you need to go:

The timers are in seconds. Out of the box, the posting timers are a random number between 30s to 60s, and the cancelling timers are 15m to 30m.
I know there's a lot of people that can get good use out of this, so if you're one of those people, go back to the top of the page and give +rep to the people that made this happen.
Last edited: