doesnt work. started the script from check\point and it does nothing.
Thanks Jakesmurf!
I really like the script and how it does not rely on timers a lot.
I just had to replace the color codes for mystic potion, leave game and resume game button and everything just fell into place. Some kinks remaining though but Im pretty confident I can fix them.
A bit weird though that we have the same coordinates for some elements in the game and tottaly different in others e.g. Mystic potion
BTW: Im running on 1920x1080 resolution and Fullscreen Windowed Mode
For anybody else trying to use this code: This script was not made for you, it can work but you have to do some of the work for yourself. Dont just say it doesnt work just because it doesnt work for you. LOL
cmon people the thread is barely 7 pages. READ a bit. Im not even an experienced programmer but I can still fix it to work for me.
Last edited by kurodoll; 06-11-2012 at 08:06 AM.
That worked for the number "1" problem.. how can i fix the lamp problem? if i decrease the brightness, will it work or do i need the change all the pixels colors one by one? cuz im having problem with him didnt picking some blues and gems, and sometimes picking up trash... also after he gets to the main menu he spends too much time to click on the resume game, thats good when by some error my char doesnt teleport (happened a couple of times) so it takes 10s to leave game, but overall i think its wasting time... also i want to increase the sleep time between initiating teleport and openning the game menu (ESC), where can i find that line???
thx for being so helpful btw...
Hi jakesmurf,thanks for your script thats work awesome after i figure all the pixelsearch,it will 100% correct click every way now and detect properly
something i gonna ask is clearinv, the leftclear,rightclear,topclear,bottomclear how to find and what is that.because all your position pointed is totaly different from my screen too.
This is my fixed edition for 1920x1080 fullscreen windowed ,fixed for different possition pixelsearch from jakesmurf edited,make for own use.
[AutoIt] [Autoit]Jakesmurf Gold farm 2.2b fixed 1920x1080 - Pastebin.com
i think that we are same position,can u share how u did for the leftclear,rightclear,topclear,bottomclear? i dint get what the mean and the possition .kindly share yours.
The Clear variables are the constraints of your inventory window. LeftClear is the left-most constraint of the inventory box (the part that holds spare items, not the whole thing), topclear is the top constraint, and so on. These designate the perimeters that ClearInv() looks in for dumping blues and whites.
Hi guys, can anyone tell me wich line to modify to increase the time on the load screen, the script starts clicking almost right away after clicking resume.
I tried to chanche this:
To this:Func JoinGame()
While $ResumeVar < 18 ; as long as I haven't waited 9 seconds for the load to finish
Sleep(500)
$Pixel3 = PixelSearch(725,720,770,750,$MythicPotion,8) ; look for mythic potion
But didnt work. I read the entire script, im not a programer but i have some knowledge on the issueFunc JoinGame()
While $ResumeVar < 25 ; as long as I haven't waited 9 seconds for the load to finish
Sleep(1200)
$Pixel3 = PixelSearch(725,720,770,750,$MythicPotion,8) ; look for mythic potion
PS: excuse my bad language, english isnt my strong point. And the rest of the run works perfectly. GREAT WORK. and thanks for sharing.
Your problem is that the script is incorrectly detecting that the game has loaded somehow. Increasing $ResumeVar only lengthens the "backup" timer, for if detection isn't completed.
My suggestion to you is that you use the autoit window tool to grab the color of your mythic potion in your action bar. Then, change the color variable $MythicPotion to that color.
If this doesn't work, you can replace the entire JoinGame() func with
and modify the sleep timer as needed. This will completely remove load detection though. If you can get load detection to work, I would recommend using it because the script is typically faster and definitely more reliable during periods of lag and anomalous behavior with all detection intact.Func JoinGame()
$Ready = false
Sleep(4500) ; or however long you want to wait for the load time
$Ready = true
Return
EndFunc
@Jakesmurf
Hey man, im fiddling around with your script abit trying to make it work at 1366x768.
All you inputes are based on value * $x_ratio, value * $y_ratio and im having a hard time wrapping my head around the fact that changing basevalues to 1366x768 wont work.
It's the same ratio as 1920x1080 and by using * ratio you should get the exact same values as long as the ratio are the same. At least the amount of math i know tells me that
Am i missing something fundemental here or is my math broken?
regards
Laih
Don't change the base values. They need to be left as is. The scaling won't work right if you change the base values.
The script automatically detects the width of your screen. It then divides 1920 or 1080 respectively by the width that autoit finds, giving it some kind of decimal. It then multiplies coordinates by this decimal to properly reduce the click coordinates.
You need to go back into the script and make sure ALL of the mouse clicks are multiplied by $x_ratio and $y_ratio. About half of the script and almost all the pixelsearches do not have scaling coded into them.
I'm going to discontinue support for this script as the input limit has severely limited the profitability of any farming that requires entering and exiting games quickly. I'm moving on to other methods of farming gold now. The version that is up is pretty final anyways, it's as stable on my PC as I can make it I think.
Blizzard just remove the limit. Hope you can continue development. As you said the script is already good enough to be final but there might still be some room for some improvements :-)
Forget about making it universal though, let some people work on that themselves. :-)
Anyone have made this for "1366x768" resolution?
Can you post code?
weird script was working perfectly but since the emergency maintenance the movement from start point to point 1 seems to have a bug where tactical advantage doesnt work.
I made no changes to the script and everything was working earlier. no changes to equipment skills or resolution either.
Notares run to cellar still works for me though. Oh well I might make a new run for the script.
Just wanted to ask if any of you guys experienced this change. Did it affect you @jakesmurf?
BTW I tried downloading a new script from jakesmurfs paste bin and still the bug persists
update: fixed script by modifying two sleep timers, wonder if blizzard changed something
Last edited by kurodoll; 06-13-2012 at 11:27 AM.