I play Saga of Ryzom, an old MMo that's still awesome, but that's besides the point.
Have been working on a script that would allow me to change weapons using f5-f12 (4weapons, 4 magic amplifiers) and decided o use image search. i downloaded the dll and au3 files for it and have placed them everywhere ive read they needed to be, hoping somebody can help!
Since i can't post pictures yet -_- i'll explain how it works. you have to click on ur right hand to open a menu with all weapons in ur inventory(hence the first mouse commands) then this is where i need image search to work.
I'm not getting any errors, the script just stops after its initial click to open the inventory menu. I've also tried putting both the dll and au3 file in the folder where i have the images and using #include "imagesearch.au3" and nothing. also have dropped all bmp and png files to the Include folder and nothing, im all out of ideas. Someone please help, and thank you!
; Find a pure red pixel in the range of Left 0 to Left 20 & Top 0 to Top 300
Local $aCoord = PixelSearch(0, 0, 20, 300, 0xFF0000)
If Not @error Then
MsgBox(0, "", "X and Y are: " & $aCoord[0] & "," & $aCoord[1])
EndIf
; Find a pure red pixel or a red pixel within 10 shades variations of pure red
$aCoord = PixelSearch(0, 0, 20, 300, 0xFF0000, 10)
If Not @error Then
MsgBox(0, "", "X and Y are: " & $aCoord[0] & "," & $aCoord[1])
EndIf
I play Saga of Ryzom, an old MMo that's still awesome, but that's besides the point.
Have been working on a script that would allow me to change weapons using f5-f12 (4weapons, 4 magic amplifiers) and decided o use image search. i downloaded the dll and au3 files for it and have placed them everywhere ive read they needed to be, hoping somebody can help!
Since i can't post pictures yet -_- i'll explain how it works. you have to click on ur right hand to open a menu with all weapons in ur inventory(hence the first mouse commands) then this is where i need image search to work.
I'm not getting any errors, the script just stops after its initial click to open the inventory menu. I've also tried putting both the dll and au3 file in the folder where i have the images and using #include "imagesearch.au3" and nothing. also have dropped all bmp and png files to the Include folder and nothing, im all out of ideas. Someone please help, and thank you!
Hy all,
First of all, why u use mouse move order, then mouse click? Mouse click will be enough, since it will click on the correct coordinate, doesent matter on the mouse location before click. Other thing, i do not think so it will ever work like that. You should use pixelchecksum order instead of try to match a BMB pic with ING pic.
Other advice, if you do not know anything about what you are doing, you should learn or stop doing programcodeing. Cause copy paste will not work at all.
You should print the methode on your screen, what your script do, then you will know what is the problem. For that the easyest orders:
MsgBox
Tooltip
Your script is stopped, cause BMP not match with your screen stuff.
Quote:
@scriptdir&"\OP1hsword.bmp
Guess what is this?
P.S.: Copy Paste "cheaters"
//to berkay2578 - PixelSearch will search a pixel on the coordinate, he need area scan, not pixel...
AutoIt Image Search Loop help. 11/18/2014 - AutoIt - 7 Replies Hello people, how is it going? :)
I have recently created a bot which is supposed to click on specific pictures in Clash of Clans with Bluestacks. My problem is, code does work once. Founds everything, clicks once. But it does not loop even with While 1 at start and WEnd at the end. But once I turn off the bot and re open it, everything starts to work again. If someone can help me out to find my problem, I'll be very glad guys. :handsdown:
#include <ImageSearch.au3>
#include <GDIPlus.au3>...
[Help]Image Search 02/24/2014 - AutoIt - 5 Replies Im trying to use the library ImageSearch.au3, but it seens that doesnt work on all machines. I did my script to compare some images, and was working then I tried to change and test the same script on other pc and doesnt recognize the image. I did some search and people said that windows have differente color palletes for every computer. Can someone teach me how to apply imagesearch in universal cases ?
Thanks
autoit image search 05/23/2013 - Metin2 Private Server - 3 Replies Hey :D,
ich hab mir mit AutoIt was geschrieben und habe dabei imagesearch benutzt,
ich will die exe aber weiterschicken ohne, dass jemand die ganze bilder sieht ich dafür benötigt habe, gibts da ne einfache Lösung die bilder mit in die exe einzubinden?
wenn ihr mehr infos zum script braucht sagt bescheid ;-).
LG Tom