@Tomatoes99: Is there a way to change your script to work in fullscreen mode (not windowed)? Buttonsend to winactive, is this also possible with pixelsearch?
@Tomatoes99: Is there a way to change your script to work in fullscreen mode (not windowed)? Buttonsend to winactive, is this also possible with pixelsearch?
@Tomatoes99: Thanks! And your script even works in 1280*1024 resI had my doubt because of the $xrat = $xresolution/1366 ect. however it is working!
For people that want to run it in the background: the easiest way to do this with autoit is probably VMware. Just run the script in the virtual machine.
tomatoes99, i have a suggestion on the skills. currently you have it set to spam "6" or "self-heal" as part of the array. you could also set it to only spam "6" if the health is below a certain amount by using a pixelsearch on the health circle, such as:
PixelSearch([x1], [y1], [x2], [y2], [red color], 15) ; check health and if below ~75% heal me
If @error Then
Send("6")
EndIf
This song is for you, scorps1: Snap - I ve Got The power - YouTube
Part of the reason why I released it open source is so people like you can add features like this. Seems like you have a good idea how to implement this--why don't you test/refine it and post a function here for everybody to use?
no probs, as i mentioned i am using input from your script in a different way but this is how i would incorporate it into yours:
note: i have refrained from inserting x/y coordinate conversions and colors etc. as they are easy to get through the info tool yourself.Code:Func DoEvent() ;Spend 3 seconds attacking. $r +=3000 RandSkill() Shoot1(1.5) checkhealth() ; this is where i am inserting the new function unless you have a better suggestion EndFunc ; >DoEvent Func checkhealth() ; check health and if below ~75% heal me PixelSearch([x1], [y1], [x2], [y2], [red color], 15) If @error Then Send("6") EndIf EndFunc ; >checkhealth
oh, and don't forget to change the skills array for "6" to something else.![]()
Last edited by scorps1; 10-05-2012 at 12:13 AM.
Note you can also do a similar feature for auto-looting, so that you only "spam" the loot key whenever you see the yellow hue'd Loot region in the bottom-ish right region of your UI. This way, you won't have to deal with constantly initiating conversations with NPCs whenever they're nearby, making it less apparent that you're botting and more convenient when looting.
I haven't rigorously done the coding, but it should be simple enough: just use PixelSearch with the hue in the Loot region with an "If PixelSearch(...) Then Send ("Loot Key")" type of command.
I paused the script but now I can't unpause it.
1st of all thank you for the script Tomatoes!!i have a problem tho. i can't seem to fix the "don't target mobs outside my range" thing :/ i target the red line under my 1st skill so i get the x,y coords but it doesnt seem to work. by the /2 before the value u mean i need to write down the half of what i get?i use 1680x1050 and i have this setting
Func CheckRange() ; Check for the red range indicator at the bottom of the first skill box.
PixelSearch($xresolution/2 - 299, $yresolution - 515, $xresolution/2 - 300, $yresolution - 515, 0x911302, 3)
noob at this, cant get it working
Last edited by Lashley93; 10-08-2012 at 11:37 AM.
Hello, i try this script and works perfectly !!!! Someone can make the code for autoloot ? or explain me how to ?
And how i can set the $playtime in minutes please ? I tried to set the value to 0.10 (for ten minutes but nothings happens)
Best regards.
Last edited by oijkn; 10-11-2012 at 05:34 AM.
can anyone please help me make a script that "if we fall,wait for our character to stand up and then jump/press spacebar"?