Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Dota 2 AutoPicker 1.5.2013 (Elder Titan Added)


  • Please log in to reply
31 replies to this topic
Neepo
  • Members
  • 10 posts
  • Last active: Nov 28 2013 02:11 PM
  • Joined: 11 Oct 2013

Wheres the download link?



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

You can see and copy the script off my website (though that one is outdated)

http://tus.web1337.net/ahk.php

Also has instructions.

 

The link to this website is in my signature

 

Just copy the script from the First Post


Check out ALL My Scripts  ;)


Garra
  • Members
  • 5 posts
  • Last active: Jun 23 2014 04:47 PM
  • Joined: 01 Oct 2013

Last hit in dota 2

 

This is the pixel 0x1D0908 

0x1D0908 Creep = < 20life

someone can improve this macro


1::
Macro1:
Send, {a}
CoordMode, Pixel, Screen
PixelSearch, FoundX, FoundY, 0, 0, 1280, 1024, 0x1D0908, 0, Fast RGB
If ErrorLevel = 0
Click, %FoundX%, %FoundY% Left, 1
Return



neowolf
  • Members
  • 2 posts
  • Last active: Oct 22 2013 02:17 PM
  • Joined: 11 Oct 2013

anyone can help me to convert it to 1280 x1024 4:3???



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

anyone can help me to convert it to 1280 x1024 4:3???

PixelSearch, FoundaX, FoundaY, 870, 657, 888, 730, 0x3B3635, 10, Fast
MouseClick, Left, 875, 680
PixelSearch, FoundbX, FoundbY, 500, 810, 613, 832, 0x3193AA, 10, Fast

These are the lines you need to edit.

Read a bit up on PixelSearch and you'll be able to fix it up in no time.

First one looks for the red inside the play button to detect that we started picking

the Mouseclick one clicks play (this is after it selects the correct hero)

The Last one looks for the yellow in the LEVEL UP +1 bar (you can also change it to the Level Indicator below the character portrait) to comepletely quit the program.

 

To find your locations check out this script

http://www.autohotke...nates-at-mouse/

You only need to find 3 locations and make boxes around 2 of them. Very simple, but I can't be bothered doing a special script for each and every size variant.

 

Good luck.


Check out ALL My Scripts  ;)


wooho
  • Members
  • 45 posts
  • Last active: Aug 10 2015 05:59 AM
  • Joined: 27 Dec 2013

is it possible to this script work in full screen mode too?>



wooho
  • Members
  • 45 posts
  • Last active: Aug 10 2015 05:59 AM
  • Joined: 27 Dec 2013

why did u write there

                Send, %Hero%

                Sleep, 500
                MouseClick, Left, 875, 680
                Sleep, 2000

when u could click 875,680?  is there any difference? or mouseclick is better?



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

is it possible to this script work in full screen mode too?>

 

 

why did u write there

                Send, %Hero%

                Sleep, 500
                MouseClick, Left, 875, 680
                Sleep, 2000

when u could click 875,680?  is there any difference? or mouseclick is better?

Just use Borderless Window :)

 

Just habit, might work fine if it were Click


Check out ALL My Scripts  ;)


devil yuri
  • Members
  • 2 posts
  • Last active: Mar 08 2014 05:54 PM
  • Joined: 08 Mar 2014

how i get this program i mean where's the download link



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

There is no download link,

copy the script

paste into notepad

save the file as dota2.ahk or anything you want .ahk

have AHK installed on your computer

then right click the .ahk file and run script

 

You can also compile it and then run the .exe file

 

Hope it helps


Check out ALL My Scripts  ;)


dubiousfromdota
  • Members
  • 3 posts
  • Last active: Mar 18 2014 11:39 PM
  • Joined: 18 Mar 2014

Sanctus, I was wondering if this script could auto join the game as well? I was thinking of trying to learn this script but it looks quite difficult especially what i'm trying to accomplish. I think i could set up a clicking script but as far as what i'm thinking I think i need help. Do you have any ideas?



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012
F5::
MouseClick, Left, 866, 19
Sleep, 500
PixelSearch, FoundfX, FoundfY, 573, 732, 583, 742, 0x2B2928, 4, Fast ;Find Match
if ErrorLevel = 0
{
	MouseClick, Left, 576, 736
	Sleep, 1000
}
Loop {
PixelSearch, FoundaX, FoundaY, 629, 501, 921, 529, 0x2B2928, 30, Fast ;Find Accept Match
if ErrorLevel = 0
{
MouseClick, Left, 700, 515
Sleep, 2500
ExitApp
}
Sleep, 500
}

This script would look for a match and accept the match popup, but if all dont accept it will fail to reaccept a match or relook for a match :)

Try and Add your own triggers and functions. Good luck


Check out ALL My Scripts  ;)


Nargacuga
  • Members
  • 33 posts
  • Last active: Mar 22 2019 08:29 AM
  • Joined: 08 Jun 2014
F5::
MouseClick, Left, 866, 19
Sleep, 500
PixelSearch, FoundfX, FoundfY, 573, 732, 583, 742, 0x2B2928, 4, Fast ;Find Match
if ErrorLevel = 0
{
	MouseClick, Left, 576, 736
	Sleep, 1000
}
Loop {
PixelSearch, FoundaX, FoundaY, 629, 501, 921, 529, 0x2B2928, 30, Fast ;Find Accept Match
if ErrorLevel = 0
{
MouseClick, Left, 700, 515
Sleep, 2500
ExitApp
}
Sleep, 500
}

This script would look for a match and accept the match popup, but if all dont accept it will fail to reaccept a match or relook for a match :)

Try and Add your own triggers and functions. Good luck

 

 

 

hey how to make it automatic without any key to press?

 

 

i see ur so pro in making scripts for dota2

do you have a website ? can i see all ur dota2 scripts for ahk?

 

 

thanks in advance



Sanctus
  • Members
  • 283 posts
  • Last active: Dec 06 2014 04:05 PM
  • Joined: 30 Nov 2012

hey how to make it automatic without any key to press?

 

 

i see ur so pro in making scripts for dota2

do you have a website ? can i see all ur dota2 scripts for ahk?

 

 

thanks in advance

You can do that by replacing F5:: with IfWinActive, Dota 2

http://www.autohotke...IfWinActive.htm

 

though I would recommend just keeping it as is and using the hotkeys

even add like F8::ExitApp (In case you want to cancel it).

 

Website is not updated regularly atm :) Neither do I script much for Dota 2 these days :(


Check out ALL My Scripts  ;)


Vatakrendo
  • Members
  • 2 posts
  • Last active: Aug 26 2014 06:32 PM
  • Joined: 23 Aug 2014

I have a problem when using the script. Can you help me, please?80aa9891850f.png