Seçkin Üye
f3::
loop {
PixelGetColor, Color, 805, 745
if (Color="0x40FE07")
{
sleep 430
SendInput d
}
}
How did you get to know what color you needed?hey , i made this code , when the pixel 805 , 745 is the color "0x40FE07" , i wait 430 ms and then click d , maybe it can help you
f3:: loop { PixelGetColor, Color, 805, 745 if (Color="0x40FE07") { sleep 430 SendInput d } }
you do a pixel search and print it i think, try this :How did you get to know what color you needed?
Mine doesn't work at all, I need to make sure I get the right color.
u seem to be good at this so can u help me with this please if u canyou do a pixel search and print it i think, try this :
PixelGetColor, Color, 805, 745
MsgBox the color is %color%
and to find the pixel use mouseCoodinates software
sure , im not that good but ill tryu seem to be good at this so can u help me with this please if u can
https://memoryhackers.org/konular/ahk-code.221951/
you do a pixel search and print it i think, try this :
PixelGetColor, Color, 805, 745
MsgBox the color is %color%
and to find the pixel use mouseCoodinates software
I don't mean to be rude, but what's the point of your comment?What about searching on net for some ?
I've been researching how to get the hex color, and I got it.you do a pixel search and print it i think, try this :
PixelGetColor, Color, 805, 745
MsgBox the color is %color%
and to find the pixel use mouseCoodinates software
the code format is destroyed or im not sure why its in the same line like that , but im glad it worked , i hope the pixel color is always the same and doesn't vary a bit.I don't mean to be rude, but what's the point of your comment?
It is obvious that it has already been searched on the internet.
Hey friend, I came here to look for help, not "farm comments" unnecessary.
Post automatically merged:
I've been researching how to get the hex color, and I got it.
What do you think?
CoordMode, Pixel, Window
x:: toggle := !toggle if toggle SetTimer, label, 50 else { SetTimer, label, Off ToolTip } return label: PixelGetColor, OutputVar, 1076, 344 ToolTip, % OutputVar return
the code format is destroyed or im not sure why its in the same line like that , but im glad it worked , i hope the pixel color is always the same and doesn't vary a bit.
glad it works , try removing the loop and see-EDIT
WOOOOOOOOOOOOOOOOOOOOOOOOOOOORKKKKKKKKKKKKKS OMGGGGGGGGGGGGGG THAAAAAAANKS<333333333333333
_____________________________________________________________________________________________________________
I used your code with some changes. The only problem now is that when I press X it only plays once.
It's like it didn't stay activated.
You know how I get it to continue with the code activated.
Because it seems that it only reproduces the command 1 time.
__________________________________________________________________
CoordMode, Pixel, RD2.exe
x::
toggle := !toggle
loop {
PixelGetColor, Color, 512, 384
if (Color="0x2D10F2")
}
sleep 43
click
}
}
Post automatically merged:
I forgot to reply ;x
does the enemy have any layout color? doesnt seems to haveFirst of all, I couldn't find the right section dealing with AHK codes. So I'm posting here, if I'am in the wrong session, I apologize.
I'm trying to make this code work, with the idea of him pressing the left mouse button, whenever the middle of the screen is in a specific color.
Im using AutoHotKey.
The game in question is Red Dead, and here's the code.
--------------------------------------------------------------------
Trigger:
{
Loop
{
if (Mod(counter_C, 2) = 0)
{
return
}
if (WinActive("ahk_exe RDR2.exe"))
{
if (GetKeyState("RButton", "P"))
{
Loop
{
PixelSearch, outx, outy, 940, 560, 940, 560, 0x2e10f2, 5, Fast
if (outx)
{
click
}
Sleep, 1
if (GetKeyState("RButton", "T"))
{
break
}
}
}
else
{
Sleep, 100
}
Sleep, 5
}
else
{
Sleep, 800
}
}
}
return
_________________________________________
I'll try to add the crosshair image I want you to identify. Please, can someone help me. I can't get this to work on Red Dead, it only works on other games.Ekli dosyayı görüntüle 70289
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?