Jump to content
Sign in to follow this  
YourShadow

BIG HELP NEEDED X(

Recommended Posts

YourShadow

WinActivate ('ROSE online')

$count = 0

$max = 100001

$Left = 10

$Top = 140

$Right = 1030

$Bottom =735

$o = PixelSearch ($Left, $Top, $Right, $Bottom, 0xFF977B, 50)

MouseClick ("Left", $o[0], $o[1], 1, 1)

can somebody tell me whats wrong with this? this is my entire script and it doesnt work for some reason T-T

This is supposed to target the nearest thing thats red and click on it.

Share this post


Link to post
Share on other sites
weaponx

That color isn't even red, its peach. Red is more like 0xFF0000.

Share this post


Link to post
Share on other sites
weaponx

ok well still doesnt work T-T

Well you have no error checking, you are assuming the pixel is actually found. Also make sure you are using the window info tool to get the exact color of the pixel you are trying to click.

$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )

If Not @error Then

MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])

EndIf

Share this post


Link to post
Share on other sites
Zedna

Also try to place it into loop. Test it continuosly until it finds desired pixel.

WinActivate ('ROSE online')
$count = 0
$max = 100001
$Left = 10
$Top = 140
$Right = 1030
$Bottom =735

While 1
  $o = PixelSearch ($Left, $Top, $Right, $Bottom, 0xFF977B, 50)
  If Not @error Then
    MouseClick ("Left", $o[0], $o[1], 1, 1)
    ExitLoop
  EndIf
  Sleep(100)
WEnd

Share this post


Link to post
Share on other sites
mgasr

Hi

Can any help me to find the Domino API Call with which we can obtain the FQDN of the domino mail server. 

I am trying with NSFDbPathGet and then getting server name with OSPathNetParse. but it is not fully qualified domain name.

Regards

Munish 

Share this post


Link to post
Share on other sites
ZacUSNYR

Perhaps you could ask over that ROSE online game forums?  I'm sure other players would like to hear about what you're trying to do ;)

Share this post


Link to post
Share on other sites
Melba23

mgasr,

Welcome to the AutoIt forum. :)

This thread is nearly 6 years old - and seems to have absolutely nothing to do with what you are asking. Please do not necro-post like this again - thread locked. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.