Originally Posted by
DonkeyNads
whether or not the bot stashes properly isnt the issue because once your stash is full (Yes this happens as I will travel a lot :-D) If stash is full and you end up with mats in your bag, the script will sell them. This script also picks up Tomes but will never save them because the first thing it does is go to merchant and sells them... I have fixed both of these issues with the following snippet:
$Target = _ImageSearchArea($ReqFiles & "\pics\inferno.png", 1, 0, 0, @DesktopWidth, @DesktopHeight, 0, 0, 100)
If Not $Target = 1 Then
$Target = _ImageSearchArea($ReqFiles & "\pics\save_tome.png", 1, 0, 0, 1920, 1080, 0, 0, 100)
If Not $Target = 1 Then
this needs to be added to the SellItems function right after the following code:
If Not $Target = 1 Then
MouseMove($Stash[0][0], $Stash[0][1], 0)
Sleep(25 + $SellDelay)
###INSERT MY CODE HERE###
Also do not forget to add the EndIf statements to close off the 2 If's you are adding... You also need to SS the word Inferno that is in the description of the mats when you hover over it as well as the title of Tome of Secrets and save those in files named inferno.png and save_tome.png