Sign in to follow this  
Followers 0
trung

hm....

30 posts in this topic

sorrie for asking more about games guys but this is the hardest thign i ever hav to do

i can make a bot no prob with pixel and stuff but the monsters name and health bar doesnt appear intil my mouse is over the monster

wut do u think i should do i cant search pixel for the monster and click cuz the pixel is its bar

Share this post


Link to post
Share on other sites



sorrie for asking more about games guys but this is the hardest thign i ever hav to do

i can make a bot no prob with pixel and stuff but the monsters name and health bar doesnt appear intil my mouse is over the monster

wut do u think i should do i cant search pixel for the monster and click cuz the pixel is its bar

one sugestion I need to make for you, is to, in the future title your topics something remotley related to the question, so when people search and potentially have the same question as you, they caan all be answered at once, instead of wasting banwidth by posting multiple threads with the same content

Now, what game is this by chance?

and maybe having you mouse move in increments across the screen untill it finds a monster?

Share this post


Link to post
Share on other sites

the game is supreme destiny

and how do u make the mouse conttinue to move random places?

Share this post


Link to post
Share on other sites

The help file may assist. Try MouseMove and Random as the items to look for.

Are you sure you want to make random moves? Wouldn't it be far more logical to systematically scan the entire screen in a logical fashion to locate the monsters?

Share this post


Link to post
Share on other sites

did you try a search for "supreme destiny"

( its in the top right corner )

8)

Share this post


Link to post
Share on other sites

yea i searched and confuzzled ur right shouldnt jus scan the whole screen lol

Share this post


Link to post
Share on other sites

can u guys help me start it off

imean how to make the mouse move around a part of the screen

like setting up the cords so the mouse knoes where to start and stop

and if a certain pixel pops up it would click

thknx

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

can u guys help me start it off

imean how to make the mouse move around a part of the screen

like setting up the cords so the mouse knoes where to start and stop

and if a certain pixel pops up it would click

thknx

Func MouseInRegion($R_x1=0, $R_y1=0, $R_x2=@DesktopWidth, $R_y2=@DesktopHeight)
For $reg1X = $R_x1 to $R_x2 step 3
      For $reg1Y = $R_y1 to $R_y2 step 3
            MouseMove($reg1X, $reg1Y, 1)
       Next
Next
EndFunc

This moves mouse to every 3 pixels within the defined coordinates which by default are the whole screen

EDIT: coordinates are defined like 'pixelsearch'

Edited by Paulie

Share this post


Link to post
Share on other sites

kool lemme test thnkx

Share this post


Link to post
Share on other sites

am i pose to add my script to that or sumthing cuz all that does is closes it self after 1 second :P

can u tell me wut that does so i can continue

Share this post


Link to post
Share on other sites

am i pose to add my script to that or sumthing cuz all that does is closes it self after 1 second :P

can u tell me wut that does so i can continue

my script is a UDF that you must call for it to work,

go like this

MoveInRegion(400,400, 600,600);coordinates are defined like pixelsearch


Func MoveInRegion($R_x1=0, $R_y1=0, $R_x2=@DesktopWidth, $R_y2=@DesktopHeight)
For $reg1X = $R_x1 to $R_x2 step 3
      For $reg1Y = $R_y1 to $R_y2 step 3
            MouseMove($reg1X, $reg1Y, 1)
       Next
Next
EndFunc

Share this post


Link to post
Share on other sites

ooOOooOOO nice!!!!

i get it now imma see if i change the cords around

it only go in a line

Share this post


Link to post
Share on other sites

ooOOooOOO nice!!!!

i get it now imma see if i change the cords around

it only go in a line

no it just SEEMs like it goes in a line, make the call like this, and you'l see it moves, it just only goes over 3 pixels at a time

MoveInRegion()

Share this post


Link to post
Share on other sites

any way to make it slower?

and if i needed for it to stop if a pixel shows up i would make a whole new func rt?

Share this post


Link to post
Share on other sites

any way to make it slower?

and if i needed for it to stop if a pixel shows up i would make a whole new func rt?

there are several ways to slow it down, but if you put your pixelsearch in that loop (Right under the 'MouseMove' line, then it

moves the mouse

Searches

then moves

then searches

repeditivley

Share this post


Link to post
Share on other sites

theres no way to make it where if pixel shows up it will click thou

im confused now :P

Share this post


Link to post
Share on other sites

theres no way to make it where if pixel shows up it will click thou

im confused now :P

lol, okay let me give you a full example

MoveInRegion();coordinates are defined like pixelsearch


Func MoveInRegion($R_x1=0, $R_y1=0, $R_x2=@DesktopWidth, $R_y2=@DesktopHeight)
For $reg1X = $R_x1 to $R_x2 step 3
    For $reg1Y = $R_y1 to $R_y2 step 3
        MouseMove($reg1X, $reg1Y, 1)
        $search = PixelSearch(0,0,@DesktopWidth,@DesktopHeight, *Your color*)
        If IsArray($search) and not @error Then
            Found_it($search[0],$search[1])
        Endif
    Next
Next
EndFunc

Func Found_It($f_x,$f_y)
    ;Do whatever you want with monster cordinates here
EndFunc

This will move the mouse around the whole desktop, and every three pixels it preforms a pixelsearch for whatever color

If it's there it takes you to the found_it function in which you can have it click or say "Theres a monster" or whatever

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

thnkx man

still one prob

it only going down my left side of screen odd

even if it does search the entire screen the mouse only goes down the left side meaning the blood of the monsters on the other sides dunt show up cuz the mosue on this side

i think my cords are rong

wut program do u use to find ur cords

Edited by trung

Share this post


Link to post
Share on other sites

#19 ·  Posted (edited)

hey i found a better idea

HotKeySet ("{ESC}", "quitme")

; command line param: beep (0 = off, 1 = on)

Global $MakeNoise = 0

If $CmdLine[0] = 0 Then

$MakeNoise = 0

ElseIf $CmdLine[1] = 1 Then

$MakeNoise = 1

EndIf

Global Const $PI = 3.1415926535897932384626433832795

Global $Width = @DesktopWidth, $Height = @DesktopHeight, $MidX = $Width/2, $MidY = $Height/2

Global $Radius = 5

Global $Step = $PI/6

ToolTip ("Mouse Mover!!", $MidX, $MidY)

While 1

Do

For $angle = 0 To 2*$PI Step $Step

$Radius += 5

MouseMove ($MidX - (Cos ($angle) * $Radius), $MidY - (Sin ($angle) * $Radius), 0)

If $MakeNoise = 1 Then

Beep ($Radius*5, 2)

EndIf

Next

Until $Radius >= $MidY

Do

For $angle = 0 To 2*$PI Step $Step

$Radius -= 5

MouseMove ($MidX - (Cos ($angle) * $Radius), $MidY - (Sin ($angle) * $Radius), 0)

If $MakeNoise = 1 Then

Beep ($Radius*5, 2)

EndIf

Next

Until $Radius <= 5

WEnd

Func quitme()

Exit

EndFunc

if i used this it would b easier rt?

but its moving so fast and i hav no clue how to add the pixel search and click

nvm foudn the speed part now to add the pixel and click

Edited by trung

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

wut program do u use to find ur cords

I got 2

One is the Autoit Window info in the start menu

the other is this one

While 1
$pos = mouseGetPos()

ToolTip($Pos[0]&", "&$Pos[1], $Pos[0]+10, $pos[1]+10)
Wend
oÝ÷ Ø    òÁ¬­ç(uè j÷yú+{
+çpØfz«z+&ÉÊ{­Ø^rX«­¢+Ø)M±À ÄÀÀÀ¤()5½Ù%¹I¥½¸ ¤í½½É¥¹ÑÌÉ¥¹±¥­Á¥á±ÍÉ (()Õ¹5½Ù%¹I¥½¸ ÀÌØíI}àÄôÀ°ÀÌØíI}äÄôÀ°ÀÌØíI}àÈõͭѽÁ]¥Ñ °ÀÌØíI}äÈõͭѽÁ!¥¡Ð¤)½ÈÀÌØíÉÅ`ôÀÌØíI}àÄѼÀÌØíI}àÈÍÑÀÌ(%½ÈÀÌØíÉÅdôÀÌØíI}äÄѼÀÌØíI}äÈÍÑÀÌ($%5½ÕÍ5½Ù ÀÌØíÉÅ`°ÀÌØíÉÅd°Ä¤($$ÀÌØíÍÉ ôA¥á±MÉ  À°À±Í­Ñ½Á]¥Ñ ±Í­Ñ½Á!¥¡Ð°ÅÕ½Ðí
½±½ÈÅÕ½Ðì°ÌÀ¤($%%%ÍÉÉä ÀÌØíÍÉ ¤Q¡¸($$%½Õ¹}¥Ð ÀÌØíÍÉ¡lÁt°ÀÌØíÍÉ¡lÅt¤($%¹¥(%9áÐ)9áÐ)¹Õ¹()Õ¹½Õ¹}%Ð ÀÌØí}à°ÀÌØí}ä¤(5½Õͱ¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°ÀÌØí}à°ÀÌØí}ä¤íQ¡¥Ì¥Ì±°$¡¹)¹Õ¹(
Edited by Paulie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0