Search found 6 matches

by JaminRoyale
23 May 2022, 10:38
Forum: Gaming Help (v1)
Topic: Radial Outward ImageSearch Topic is solved
Replies: 9
Views: 851

Re: Radial Outward ImageSearch Topic is solved

I usually will use a msgbox or something to make sure the variable is what I actually expect it to be However I do see something in your function specifically around here if (AngleToRock > 5*vPi/8 && AngleToRock <= 7*vPi/8) ;Up left { WalkActionHorizontal := a WalkActionVertical := s } You are sett...
by JaminRoyale
23 May 2022, 10:21
Forum: Gaming Help (v1)
Topic: Radial Outward ImageSearch Topic is solved
Replies: 9
Views: 851

Re: Radial Outward ImageSearch Topic is solved

In that case, it sounds like you have no strategy to go about debugging your script. One idea is to start with the line that you think is not executing as you expect. You can then add lines before it, to display the values of variables, functions, and conditional statements that lead to that line. ...
by JaminRoyale
23 May 2022, 00:50
Forum: Gaming Help (v1)
Topic: Radial Outward ImageSearch Topic is solved
Replies: 9
Views: 851

Re: Radial Outward ImageSearch Topic is solved

okay this is so bizarre. I created this hotkey for testing global WalkActionHorizontal := "d" global WalkActionVertical := "w" ^g:: send {%WalkActionVertical% down} Return and this works fine when i press it before anything else. But when i run my other hotkey to try to set WalkAction through its co...
by JaminRoyale
22 May 2022, 21:47
Forum: Gaming Help (v1)
Topic: Radial Outward ImageSearch Topic is solved
Replies: 9
Views: 851

Re: Radial Outward ImageSearch Topic is solved

MovementTimer: SoundBeep, 750, 20 send {%WalkActionHorizontal% up} ;Release Previous Key presses send {%WalkActionVertical% up} if (MovementFlag = 0) ;If Control Logic Dictates standing still, return out of timer return if (MovementFlag = 1) ;Control dictates movement. Here Each set of angles coore...
by JaminRoyale
18 May 2022, 23:27
Forum: Gaming Help (v1)
Topic: Radial Outward ImageSearch Topic is solved
Replies: 9
Views: 851

Re: Radial Outward ImageSearch Topic is solved

Thanks for the reply, image = %A_ScriptDir%\graphics\rock.png ;set the image incr := 10 ;set the pixel increment cx := A_ScreenWidth / 2 ;Center of the screen X cy := A_ScreenHeight / 2 ;Center of the screen Y If !FileExist(image) MsgBox, 48, Error, File not found.`n`n%image% ;Tell the user if the i...
by JaminRoyale
18 May 2022, 20:52
Forum: Gaming Help (v1)
Topic: Radial Outward ImageSearch Topic is solved
Replies: 9
Views: 851

Radial Outward ImageSearch Topic is solved

Hello, Example: 1920x1080 pixels. Split the screen into 192x108 10x10 pixel segments. Then starting from the center 1920/2 and 1080/2, ImageSearch loop 10x10 segments radially outward until object found. I was thinking of generating a Text file with the coords of each top left segment, but to do thi...

Go to advanced search