 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
warrior000 Grandmaster Cheater
Reputation: 0
Joined: 17 Feb 2006 Posts: 569
|
Posted: Wed May 23, 2007 6:06 pm Post subject: Auto Color Detect: Macro? |
|
|
i wanna know if i will be able to make a macro something like when it detects, for example, grey, on specific X/Y, it will use the mouse to click another specific X/Y, then press F5, then loop??
thx _________________
|
|
| Back to top |
|
 |
Jayman7777 How do I cheat?
Reputation: 0
Joined: 23 Dec 2006 Posts: 1
|
Posted: Thu May 24, 2007 3:19 am Post subject: |
|
|
| SCAR a programming language made by kaitnieks originally used to cheat on a game called runescape later used for knowledgeable uses |
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Thu May 24, 2007 3:35 am Post subject: |
|
|
ACTools will detect colours, IsGrey x,y x,y being the co ords of the colour to check for.
Autoit is another way and better.
search for the command PixelSearch. _________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"
Sign up today and receive your free "I Hate x0r Badge" |
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Thu May 24, 2007 9:42 am Post subject: Re: Auto Color Detect: Macro? |
|
|
| warrior000 wrote: | i wanna know if i will be able to make a macro something like when it detects, for example, grey, on specific X/Y, it will use the mouse to click another specific X/Y, then press F5, then loop??
thx |
Can you give a game or what ever you are looking at trying this on?
Here is One way using Autoit
This is the part that you use to look in locations or whole screen.
$coord = PixelSearch(1, 1, 780, 580,
$coord = PixelSearch(x,y,x,y,
Example Code: * only part of a PKO bot code developed by: chrislivinitup and myself
| Code: | $Monsters = 0xDE7573; Pixel color being searched for
$lowhealth = 85 ; makes character auto sit if health is 40% left
$Shadevar = 0
$Attack = 0
While $Attack = 0
$coord = PixelSearch(1, 1, 780, 580, $Monsters, 1);$Shadevar) ; Looking for the Pixel "Left,Top,Right,Bottom"
If Not @error Then
;~ MsgBox(0, "Pixel", "monster " & $Shadevar, 6)
;~ MsgBox(0, "Location", "x coords " & $coord[0] & " y coords " & $coord[1],2)
MouseClick("left", $coord[0], $coord[1], 3, 4) ; clicking the pixel
Sleep(3000) ;wait 5 seconds before picking up items
Send("^a")
sleep(1000)
$Shadevar = 0
If _IsPressed("23") Then $Attack = 1 ;if "end" is pressed then this will make $DryMystic=1 so the loop will stop
Else
$Shadevar = $Shadevar + 1 ;increase allowable shade variation by 1 until shade is found
EndIf
WEnd |
|
|
| Back to top |
|
 |
warrior000 Grandmaster Cheater
Reputation: 0
Joined: 17 Feb 2006 Posts: 569
|
Posted: Thu May 24, 2007 11:05 am Post subject: Re: Auto Color Detect: Macro? |
|
|
| Labyrnth wrote: | | warrior000 wrote: | i wanna know if i will be able to make a macro something like when it detects, for example, grey, on specific X/Y, it will use the mouse to click another specific X/Y, then press F5, then loop??
thx |
Can you give a game or what ever you are looking at trying this on?
Here is One way using Autoit
This is the part that you use to look in locations or whole screen.
$coord = PixelSearch(1, 1, 780, 580,
$coord = PixelSearch(x,y,x,y,
Example Code: * only part of a PKO bot code developed by: chrislivinitup and myself
| Code: | $Monsters = 0xDE7573; Pixel color being searched for
$lowhealth = 85 ; makes character auto sit if health is 40% left
$Shadevar = 0
$Attack = 0
While $Attack = 0
$coord = PixelSearch(1, 1, 780, 580, $Monsters, 1);$Shadevar) ; Looking for the Pixel "Left,Top,Right,Bottom"
If Not @error Then
;~ MsgBox(0, "Pixel", "monster " & $Shadevar, 6)
;~ MsgBox(0, "Location", "x coords " & $coord[0] & " y coords " & $coord[1],2)
MouseClick("left", $coord[0], $coord[1], 3, 4) ; clicking the pixel
Sleep(3000) ;wait 5 seconds before picking up items
Send("^a")
sleep(1000)
$Shadevar = 0
If _IsPressed("23") Then $Attack = 1 ;if "end" is pressed then this will make $DryMystic=1 so the loop will stop
Else
$Shadevar = $Shadevar + 1 ;increase allowable shade variation by 1 until shade is found
EndIf
WEnd |
|
this is very very useful for me.
i neeed a script for KartRider.
like when i am in school.
imma leech, it auto goes into a room, press ready, then ppl will start the game
when they race, im just gonna do nothing, sitting there.
it'd be fast if i lvl like that.
but since its
ACtool, i dun think it will work.
coz KartRider uses Gg REv 1k7
well thx anyways. _________________
|
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Thu May 24, 2007 2:26 pm Post subject: |
|
|
yeah, you will have a problem bypassing autoit and actools for kart rider im afraid.
Labyrnth, im gonna pm you about PKO _________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"
Sign up today and receive your free "I Hate x0r Badge" |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|