User Tools

Site Tools



letmebuythisforyou

This is an old revision of the document!


Let me buy this for you

This addon lets you create a list of vendor items that you want to buy and automatically work them off. This can be useful for daily purchases like provisional tokens for raid armor, achievements for legendaries (e.g. Astralaria Zinn's Prize Student) and so on.

Features

  • Create/Edit a task list with vendor items that shall be visited when addon is started
  • Supports beside normal vendors all Converters and Skirmishing Chests
  • Assign user that may hold the required items for a purchase (automatically switches to them when addon is running)
  • Teleports to vendor by hacks if enabled and normal navigation fails (use with caution!)
  • Automatically changes task lists (allows to further split lists to own preference)
  • Automatically stops bot when done with the task list(s)

GUI

  1. Name of the task list
  2. Dropdown with the items from vendor to choose from (vendor has to be opened to show this UI element)
  3. How many stacks of the item you want to buy
  4. Teleport to that vendor if navigation fails
  5. Assign the currently logged in character to the task
  6. Set the selected task to be the current one (will run from this task on and end the current running one)
  7. Move up in list
  8. Move down in list
  9. Insert an empty task before selected
  10. Insert an empty task after selected
  11. Remove the task from list
  12. Saves task list and task changes (Global settings are directly saved)
  13. Create a new task list with an empty task in it

To assign a vendor item to a task you have to target and open the vendor.

All changes to a task or the tasklist are only persisted if Save button is pressed! Watchout, changing/creating new task list, changing bot mode, refreshing lua will discard your changes if not saved.

Usage

  1. Go to the first vendor where you want to buy something from
  2. Select the vendor and open it till you see the vendor window with the items
  3. Open the desired vendor tab where your item in question is
  4. Click on New Tasklist button
  5. Select the desired item from the Vendor Items dropdown and click “Assign” button
  6. Adjust what you want (Stacks, Tele hack, Assign your user)
  7. Click “Save” button
  8. Go on to the next vendor and redo from step 2 till your list is finished. From then on you can just run the list and the bot will do it's work ;)

The created task files can be shared. Just send the .lua file in “LuaMods/LetMeBuyThisForYou/taskfiles” to your friend.

Support

Support is given on my Discord channel

Public API

LetMeBuyThisForYou.GetState() -- returns nummber IDLE=1, RUNNING=2, TASKEND=3
LetMeBuyThisForYou.GetTask() -- returns table the task object
letmebuythisforyou.1545821545.txt.gz · Last modified: 2018/12/26 10:52 by modera