Trying to edit the loot functions, running into a bit of a problem...
Can anyone tell me what the "120" at the end means specifically:
$ImageFiles[7][3] = "portal.png|120"
done / helped
That is the tolerance value. How much the found picture can be different to the search picture. 0 = lowest and every pixel needs to match the search picture. 255 = max and i dont really know (never tried) but i think that every pixel can be different (dosen't make much sense? ^^)
Thanks, this will help me out a lot!Originally Posted by zEEneXx
I've always wanted to test this baby out, I just don't have a level 60 DH to test with... Oh well... I can dream, can't I?
I help support ANY Diablo 3 Witch Doctor Bot. (Andy/Avatar/zEEneXx/etc.)|If you have any issues with it, PM me.
If you'd like to support me consider making a small donation.
Current version for Andy's bot can always be found: here
Edit: Amg i fixed it yay me
Last edited by tenaciouzd; 08-05-2012 at 09:17 PM.
@tenaciouszd
As long as $Sell and $Salvage are set to True and $KeepHighLevel is set to False, it should do exactly that.
**EDIT** I don't need any donations, but let me know if it helped!
Last edited by daiyume; 08-05-2012 at 09:19 PM.
no i had messed with a bunch of the values in the vendor salavage section and it ****ed everything up, so i just redownloaded it fresh and changed stuff at the top, its still stashing blues tho, really fking annoying
DH? its for WD. typo?
sorry that i didn't replied to your pm yet. i was very busy over the weekend with my sports and etc.
i will answer to your pm here:
;///////////////////////////////////////--CONFIG--////////////////////////////////////////////////////////////////////////////////////
; //
; Important //
$ComputerLag = 0 ;Increases time (ms) before and after casting spells //
$MoveDelay = 0 ;Increases time (ms) between movements //
$LootDelay = 0 ;Increases time (ms) between looting //
$SellDelay = 0 ;Increases time (ms) between selling //
$SalvageDelay = 0 ;Increases time (ms) between salvaging //
$StashDelay = 0 ;Increases time (ms) between stashing //
$ReqFiles = "C:\Program Files (x86)\AutoIt3\required files\" ;Location of the required files folder //
; //
; Functions //
$Repair = True ;Orders the bot to repair //
$Sell = True ;Orders the bot to sell magic items //
$Salvage = True ;Orders the bot to salvage magic items //
$KeepHighLevel = False ;Orders the bot to keep items above $KeepLevel //
$KeepLevel = 63 ;Possible values: 60, 61, 62, 63 //
$UseStash = True ;Orders the bot to stash items //
; //
; Miscellaneous //
$InstantLeave = False ;Leaves the game instead of teleporting to town //
$HighGoldRadius = False ;Orders the bot to use a shorter gold loot route //
$UseMemRead = False ;Allows the bot to read memory *CAUTION* //
$MemReadDelay = 0 ;Increases time (ms) before scanning for open cellar //
$Sounds = True ;Enable pickup sounds //
$ShowLootArea = False ;Shows lootarea //
$ShowLog = True ;Shows log window //
$SaveStats = True ;Saves statistics per run to a text file //
$SaveLogsPath = "C:\Program Files (x86)\AutoIt3\logs\" ;Folder to save the logs and statistics in //
; //
; Relogging //
$UseRelogging = False ;Orders the bot to relog on disconnect //
$Password = "XXXXXXXXXXX" ;Your password //
; //
; Looting //
$LootSets = False ;Orders the bot to loot set items //
$LootLegendaries = True ;Orders the bot to loot legendary items //
$LootRares = True ;Orders the bot to loot rare items //
$LootMagics = True ;Orders the bot to loot magic items (includes tomes) //
$LootTomes = False ;Orders the bot to loot tomes //
$LootGems = False;Orders the bot to loot gems //
$FlawlessOnly = False ;Orders the bot to loot only flawless gems //
$LootPotions = False ;Orders the bot to loot potions //
; //
$SetLootAmount = 1 ;Amount of set items to loot //
$LegendaryLootAmount = 1 ;Amount of legendary items to loot //
$RareLootAmount = 2 ;Amount of rare items to loot //
$MagicLootAmount = 4 ;Amount of magic items to loot (including tomes) //
$TomeLootAmount = 1 ;Amount of tomes to loot (if $LootMagics = False) //
$GemLootAmount = 2 ;Amount of gems to loot //
$PotionLootAmount = 1 ;Amount of potions to loot //
; //
$LootingArea[0] = 570 ;Left (lower -> bigger) //
$LootingArea[1] = 185 ;Top (lower -> bigger) //
$LootingArea[2] = 1375 ;Right (higher -> bigger) //
$LootingArea[3] = 720 ;Bot (higher -> bigger) //
; //
; TimeOuts //
$GameLobbyTimeOut = 25 ;Time (s) to wait for entering the gamelobby //
$GameplayScreenTimeOut = 14 ;Time (s) to wait for entering the gameplay screen //
$CellarTimeOut = 8 ;Time (s) to wait for entering the cellar //
$TownTimeOut = 8 ;Time (s) to wait for entering the town //
$MerchantTimeOut = 8 ;Time (s) to wait for reaching the merchant //
$ArtisanTimeOut = 8 ;Time (s) to wait for reaching the artisan //
$StashTimeOut = 8 ;Time (s) to wait for reaching the stash //
; //
;/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
That config would match your 3 points
(Why you don't want to loot set items?)
And the bot picks up gems, even if the option is turned off, for the same reason as he picks up sometimes trash items. so this can't be prevented.
For your stashing blues problem:
If blues with iLVL 60 or below are stashed: increase $SellDelay (selling is to fast right now) (this also applies to trash items in the stash)
If blues with iLVL 61 or above are stashed: increase $SalvageDelay (salvaging is to fast)
If you find gems in your stash with turned off lootoption its just bad luck and you can't do anything against that.
will try and increase those values then, cause i am running it vm ware, can you explain these values
$SetLootAmount = 1 ;Amount of set items to loot //
$LegendaryLootAmount = 1 ;Amount of legendary items to loot //
$RareLootAmount = 2 ;Amount of rare items to loot //
$MagicLootAmount = 4 ;Amount of magic items to loot (including tomes) //
$TomeLootAmount = 1 ;Amount of tomes to loot (if $LootMagics = False) //
$GemLootAmount = 2 ;Amount of gems to loot //
$PotionLootAmount = 1 ;Amount of potions to loot //
i dont understand how they work, after 1 set item it will not pick up the next set item that drops?
That are settings from an earlier version which aren't really needed anymore, i will explain short:
Those variables define how often the bot will search for a certain itemtype after each sarkoth kill. for example you have set $RareLootAmount = 2 and sarkoth drops 3 rares at once, he will only pick up 2.
why its now not really needed anymore:
in earlier versions the bot searched 10 times if you have set one of those variables to 10. this wasted much time.
for example you set $RareLootAmount = 10 and sarkoth dropped 3 the bot would pickup those 3 and still searches another 7 times.
now it works like that:
$RareLootAmount = 10, sarkoth drops 3, the bot picks up 3 and searches now only one time more for another rare. So if the bot can't find a rare in one serach try he will abort. this saves now 6 searches.
edit:// i think i will move those options from the config part of the script to an other position so the user don't need to bother with this option (but could still edit it if he want to)
Last edited by zEEneXx; 08-06-2012 at 02:24 AM.
thank you sire for explaining that, i had those values set really high because I didnt know what they meant. Also chanded the delay to 60, will see if it works spot on now =]