This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
letmebuythisforyou [2018/11/28 18:08] – created modera | letmebuythisforyou [2018/12/26 11:25] – [Public API] modera | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{: | ||
====== Let me buy this for you ====== | ====== Let me buy this for you ====== | ||
Line 6: | Line 7: | ||
* Create/Edit a task list with vendor items that shall be visited when addon is started | * Create/Edit a task list with vendor items that shall be visited when addon is started | ||
+ | * Supports beside normal vendors all [[https:// | ||
* Assign user that may hold the required items for a purchase (automatically switches to them when addon is running) | * 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!) | * Teleports to vendor by hacks if enabled and normal navigation fails (use with caution!) | ||
Line 11: | Line 13: | ||
* Automatically stops bot when done with the task list(s) | * Automatically stops bot when done with the task list(s) | ||
- | ==== Usage ==== | + | ==== GUI ==== |
{{: | {{: | ||
- | - Name of the task list | + | All changes to a task or the tasklist are only persisted |
- | - Dropdown with the items from vendor to choose from (vendor has to be opened to show this UI element) | + | |
- | - How many stacks of the item you want to buy | + | |
- | - Teleport to that vendor | + | |
- | - Assign the currently logged in character to the task | + | |
- | - Set the selected task to be the current one (will run from this task on and end the current running one) | + | |
- | - Move up in list | + | |
- | - Move down in list | + | |
- | - Insert an empty task before selected | + | |
- | - Insert an empty task after selected | + | |
- | - Remove the task from list | + | |
- | - Saves task list and task changes | + | |
- | - Create a new task list with an empty task in it | + | |
- | To assign a vendor item to a task you have to target | + | ==== Usage ==== |
+ | |||
+ | - Go to the first vendor where you want to buy something from | ||
+ | - Select the vendor | ||
+ | - Open the desired vendor tab where your item in question is | ||
+ | - Click on **New Tasklist** button | ||
+ | - Select the desired item from the Vendor Items dropdown and click " | ||
+ | - Adjust what you want (Stacks, Tele hack, Assign your user, etc.) | ||
+ | - Click " | ||
+ | - 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 ;) | ||
+ | |||
+ | <WRAP round tip 100%> | ||
+ | The created task files can be shared. Just send the .lua file in " | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Support ==== | ||
+ | |||
+ | <WRAP round tip 100%> | ||
+ | Support is given on my [[https:// | ||
+ | </ | ||
- | All changes to a task or the tasklist are only persisted if Save button is pressed! Watchout, changing/ | ||
==== Public API ==== | ==== Public API ==== | ||
<code lua> | <code lua> | ||
- | LetMeBuyThisForYou.GetState() -- returns nummber IDLE=1, | + | LetMeBuyThisForYou.GetState() -- returns nummber IDLE=1, |
LetMeBuyThisForYou.GetTask() -- returns table the task object | LetMeBuyThisForYou.GetTask() -- returns table the task object | ||
+ | LetMeBuyThisForYou.IsDone() -- returns boolean and indicates if everything is done (tasklist(s)) | ||
</ | </ |