If I had any skill at all in scripting I'd do it myself, but I don't![]()
If I had any skill at all in scripting I'd do it myself, but I don't![]()
oops double post
Last edited by BlackSack; 06-17-2012 at 07:44 PM.
i tried it out but no luck yet,
downloaded all the necessary stuff and installed AutoIT x64
i edited DH.au3 for the pics folder.
but when i star a game go the checkpoint - portal - leave game and then start the script and press =
its starting but after a few seconds its says : cant find resume button?
any idea's?
thnx
BlackSack,
would you be able to give some pointers as to what, in your script, needs to be edited to comply with other resolutions?
My vid card max is 1600x900, so I'm wondering if its only the click points for the Cellar door that need modification.
Blacksack, I just came back and the items were definitely not identified in my stash, but I know whyShould be an easy fix, your 1.9a already has the call for Identify written in to that, its just literally not used anywhere in the script.
NotAres
If $mLootIn = 1 And CheckFor("NewTristram", "Area", 1500 * $x_ratio, 0 * $y_ratio, 1920 * $x_ratio, 80 * $y_ratio, 3, 120) Then ;If its time to manage loot and we are in town
Call("Identify")
If $StashLoot == "True" Then
Call("StashLoot")
-------------------------------------------------------------
yours
If $mLootIn = 1 And CheckFor("NewTristram", "Area", 1500*$x_ratio, 0*$y_ratio, 1920*$x_ratio, 80*$y_ratio, 4, 200) Then ;If its time to manage loot and we are in town
If $StashLoot == "True" Then
Call("StashLoot")
Ahh oops looks like I was careless toomust of killed it when i was chopping it all up thanks for finding that for me, althou there is a small benefit to not identifying them i have realised - if you pick up a legendary item and it has some blue on it then it seems quite likely it would get accidently sold as i have some back a few times to see legendary items counted in the stats but not in my stash. if they are never identified then they cannot be sold if only all the image search and pixel search stuff was more reliable. I will add it as an option at the top of the script and re insert the call to identify items
@doomoh yea most of it is already configured to scale automatically including the cellar entracnce check (that does not mean it will scale correctly but it is coded to) but i did not write my OCR code to scale with screen size I will add it to the next version, also you need to make sure your using the right images for your res
if you get cant find resume button error check you are using right res images and try relaxing the loadtime delays
About the salvaging, i think it would be fairly easy todo but you would need to disable all vendoring incase you accidently sell the materials you just salvaged ill take a look at it unless someone else wants to volunteer
edit: ok updated to 1.9d http://pastebin.com/PtE6XJ4W now you can select to identify or not under stashing options and i edited the OCR to scale with resolution (i do not know if this will actually get the right bit of the screen thou, its scaled just like all the other parts of the code)
Last edited by BlackSack; 06-17-2012 at 07:45 PM.
I will reply tonight with my findings. For now I edited a couple clickpoints and its working probably 88% of the time. I really like the approach you've taken with this script... very much appreciated.
Cheers
P.S. for 1.9e, maybe if you feel it could be useful, switch out the keys for variables so we can set out own keys? I don't mind find-and-replace'ing the whole script each time, but it could save time and maybe help others out.
1, 2, 3, 4, t
1.) every time i am facing down to the left, it will click on my sun keeper and record it as a legendary
2.) every time it clicks on the lamp post, to the left & top right of sarkoth, it records as a legendary this happens on my barb, dh, & wiz
I get about 30 legendaries every time I run![]()
I've just updated mine to include all of BlackSack's fixes/additions up to 1.9d with Grim Harvest now. In addition I've optimised some of the timings during runs and combats to quicken overall times. I've also updated some of the wrong comments in the code.
Thanks y'all for making this a better script![]()
when going to sell items. i go and it goes to talk to the villager and then it just stops there. never makes it to the vender. any ideas on how to fix it?
@tofuartist
I tried to update to your latest script but I get this error.
Line 323
EndFunc
Error: "If" statement has no matching "EndIf" statement.
I'll go back to using the old script for now, but I really want to try this new faster version, it looks awesome.
I got 1366x768 screen resolution so I tried to change the code by adding
Is that right? This just the idea I got from some other site :P$default_resolutionX = 1920
$default_resolutionY = 1080
$x_ratio = 1366 / $default_resolutionX
$y_ratio = 768 / $default_resolutionY
Btw, when I start the script I just keep saying Cannot find Resume button.
Is that you take a snapshot at the "Resume game" button and name it Resume in the folder "pics" ???
It's funny that when I run the script and I open the screenshot of the waiting screen the mouse immediately point at the Resume Game on the pic and the script would run lol but when I change to the game it would not run
now when i run the script, my mouse go to the left but not left up where the resume button is but left down where the chat is... and after a few second it says "can't find resume button". Where did i go wrong?
thnx in advance