Search found 25 matches

by fug5333
14 Oct 2019, 06:57
Forum: Gaming
Topic: ImageSearch
Replies: 9
Views: 1235

Re: ImageSearch

This is through Bluestacks. Is it blocking imagesearch? It doesn't seem to effect my other scripts.
by fug5333
13 Oct 2019, 16:37
Forum: Gaming
Topic: ImageSearch
Replies: 9
Views: 1235

Re: ImageSearch

Mouse was not near it. I took another screenshot and cropped it tight to make sure.

I have confirmed that it clicks the mouse, but only where the cursor is and it does it every time the script is run.
by fug5333
13 Oct 2019, 15:35
Forum: Gaming
Topic: ImageSearch
Replies: 9
Views: 1235

Re: ImageSearch

It is in the same folder. Made sure of that one! :)

It will click on them when the mouse is over the chest. It appears any time the script is run, the mouse clicks, but I need it to search!
by fug5333
13 Oct 2019, 15:02
Forum: Gaming
Topic: ImageSearch
Replies: 9
Views: 1235

Re: ImageSearch

I made the change to 'errorlevel 2' and I get a 'beep' now. I guess that's good? :) The msgbox shows a '2'. It looks like if the script found the image, it would click on it. So I assume the image is not to be found. 'errorlevel 2' sounds like a bad image.. Problem is, it's there! It's cropped in so...
by fug5333
13 Oct 2019, 13:19
Forum: Gaming
Topic: ImageSearch
Replies: 9
Views: 1235

ImageSearch

Wondering if there is something obvious I'm doing wrong and maybe a tip to make this work. This is a 2D side scrolling game and I'm trying search for a chest image as it goes by. They are on random stages. I'm trying to search an area and click the image. Should be easy.. ImageSearch, FoundX, FoundY...
by fug5333
04 Oct 2019, 07:21
Forum: Gaming
Topic: PixelSearch - odd results
Replies: 3
Views: 573

Re: PixelSearch - odd results

Ohh geez! Complete brain fart!
by fug5333
04 Oct 2019, 07:10
Forum: Gaming
Topic: PixelSearch - odd results
Replies: 3
Views: 573

PixelSearch - odd results

It doesn't appear to search for anything, just frantically click! :( PixelSearch, OutX, OutY, 70, 390, 815, 500, 0x65411D, 10, RGB Loop { if ErrorLevel { Sleep 10 SoundBeep } else { ;MsgBox Found at %OutX%, %OutY% Click } } I would be okay with imagesearch too as it would serve the same purpose if n...
by fug5333
04 Jul 2019, 19:58
Forum: Gaming
Topic: PixelSearch
Replies: 3
Views: 797

Re: PixelSearch

I made the coordmode and RGB change and it worked. A tad quirky, but good enough for my purposes. :) Must have been the RGB thing as I tried the coordmode before with no success. Many thanks!! :D Also, scanning the area and 'fast' are mostly all I can do to speed this up. Anything I can do to speed ...
by fug5333
04 Jul 2019, 15:42
Forum: Gaming
Topic: PixelSearch
Replies: 3
Views: 797

PixelSearch

I'm trying to click repeatedly without a delay and (randomly) when an object appears, click it once, then resume to clicking without delay. Here's what I've got. When the script runs, the mouse cursor goes to the bottom left of the 'search box' and just sits there. Loop { PixelSearch, Px, Py, 65, 19...
by fug5333
30 Jul 2017, 19:20
Forum: Ask For Help
Topic: Click image in random location Topic is solved
Replies: 6
Views: 1291

Re: Click image in random location Topic is solved

'sigh' Still nothing. Here's the updated script:

CoordMode Pixel
CoordMode Mouse
ImageSearch, outx, outy, 1100, 640, 1160, 830, like.png *50
MouseMove %outx%, %outy%

Thanks!
by fug5333
30 Jul 2017, 18:16
Forum: Ask For Help
Topic: Click image in random location Topic is solved
Replies: 6
Views: 1291

Re: Click image in random location Topic is solved

The exact script I'm using is:

#+z::
ImageSearch, outx, outy, 4900, 660, 5050, 820, like.jpg
MouseMove %outx%, %outy%
Click


Absolutely nothing. :/ The reason the x coords are so high is because it's on a second monitor by the way.

Thanks!
by fug5333
04 Nov 2016, 18:38
Forum: Ask For Help
Topic: Compare 3 variables
Replies: 6
Views: 1289

Re: Compare 3 variables

Hmm. Looking for the lowest value and then the variable that corresponds to that. Sorry, I didn't state that in my first post. I need the lowest value and then the variable it came from so I can then use that variable. I am not completely understanding your first post, but it seems that it wouldn't ...
by fug5333
04 Nov 2016, 17:57
Forum: Ask For Help
Topic: Compare 3 variables
Replies: 6
Views: 1289

Compare 3 variables

Is there a way to compare 3 variables and find the lowest number of the 3?
Thanks!
by fug5333
06 Jul 2016, 10:59
Forum: Gaming
Topic: while loop
Replies: 2
Views: 750

while loop

I assumed the while loop would run continuously 'while' the statement is true! :/ alivemob = 0xBB4D30 deadmob = 0x112A37 Loop { SendInput {TAB} Sleep 800 PixelGetColor, color, 573, 74 Loop { While (color = alivemob) { SendInput 5 Sleep 100 } PixelGetColor, color, 571, 74 If (color = deadmob) SendInp...
by fug5333
02 Jun 2016, 08:55
Forum: Gaming
Topic: My health bubble
Replies: 5
Views: 1359

Re: My health bubble

From what I understand, this will read what health I am at only. My goal is to compare the last time this script was run to the current time it was run. Meaning, I need it to read the "highest" my health is, we'll say 75%. The next time the script is run, if the "highest" my health is 50%, then I to...
by fug5333
01 Jun 2016, 18:27
Forum: Gaming
Topic: My health bubble
Replies: 5
Views: 1359

My health bubble

I'm trying to determine if my health is dropping. There is no text to select or anything where I can get an absolute value other than visually reading pixels that make up text. There is also a red "bubble" that shows my health. My idea is that if my health is dropping, that means I'm getting attacke...
by fug5333
30 May 2016, 18:11
Forum: Ask For Help
Topic: Click in another window
Replies: 5
Views: 1363

Re: Click in another window

If I'm understanding both of those replies, it will 'highlight' another window and then do an action. I'm wondering if it's possible to, say answer emails, while a script will click the mouse on another window without it ever leaving the focus of the email window I'm currently working on. Hope that ...
by fug5333
30 May 2016, 15:58
Forum: Ask For Help
Topic: Click in another window
Replies: 5
Views: 1363

Click in another window

I'm trying to do a mouse click in another window, but not disrupt anything I'm doing on my current window. So it will click the mouse in this other window, but not change the active window or move the mouse. Did some looking and testing with ControlClick, but that seems to activate the other window....
by fug5333
21 May 2016, 17:18
Forum: Ask For Help
Topic: PixelGetColor Faster?
Replies: 9
Views: 2151

Re: PixelGetColor Faster?

This is indeed faster. I only have the first row so far as a test. It loops 191 times and takes about a second to move from one side of the screen to the other. Doesn't sound bad until you think about doing that 20,000 times! :( Any other ideas? Could this be a processor delay that's holding me back...
by fug5333
21 May 2016, 14:07
Forum: Ask For Help
Topic: PixelGetColor Faster?
Replies: 9
Views: 2151

Re: PixelGetColor Faster?

Here's my thinkkng.. Move the mouse, check pixel color at (x, y). When you hover over a mob, a name plate appears. If there's no name plate, move to the next spot (10 pixels away). I don't need each pixel in that 10x10 area, just to move the mouse over by 10 pixels. CheatEngine seems pretty locked d...

Go to advanced search