Sign in to follow this  
Followers 0
BlackKluster

[REWARD] Need help in "simple" script

5 posts in this topic

#1 ·  Posted (edited)

You might be wondering what [reward] means in the topics name, but I am willing to pay 10 euro through paypal to all who help me complete the script (I will PM you if you helped me "enough" asking your paypal), so if you only fix 1 or 2 sentences it might be not enough unless I notice its REALLY helpful. But if you helped me accomplish getting this script in to reality you will get paid 10 euro, and I am not saying that only one person gets 10 euro, I will pay everyone who REALLY helped in this project.

So after the prologue lets get straight to the point:

I am trying to develope a script that does this:

1. left-click screen once in coords: 921, 608

2. then it left-click to these coords: 848, 895

3. then the script sleeps for 5 seconds

4. then it detects in this area: between coordinates (64, 618) and (155, 638) that should compose a square:

Posted Image

5. is there any pixel in that "square area" that is close to color: YELLOW #ffff32 or RED #ff3131 or GREEN #20ff20

6. it continues searching for these colors in that "square area" until it finds one of those 3 options

NOW COMES A BIT TRICKY PART:

7. (yg = yellow/green , r = red)

If color is YELLOW:

7-1yg. It left-clicks twice (prefer to have small sleep between clicks, so no rapid click) to this coordinate (921, 608)

7-2yg. then it left-clicks to this coordinate (848, 895)

7-3yg. then the script sleeps again for 5 seconds

7-4yg. then detects which color is in that "square area"

-> 7. repeat (if color is yellow/red/green etc.)

If color is RED:

7-1r. It left-clicks once to this coordinate (1267, 893)

7-2r. then left-click screen once in coords: 921, 608

7-3r. then it left-click to these coords: 848, 895

7-4r. then the script sleeps for 5 seconds

7-5r. then detects which color is in that "square area"

-> 7. repeat (if color is yellow/red/green etc.)

If color is GREEN:

7-1yg. It left-clicks twice to this coordinate (921, 608)

7-2yg. then it left-clicks to this coordinate (848, 895)

7-3yg. then the script sleeps again for 5 seconds

7-4yg. then detects which color is in that "square area"

-> 7. repeat (if color is yellow/red/green etc.)

BUT:

First time it detects YELLOW or GREEN script should left click TWICE but if GREEN / YELLOW comes 2 times in a row it clicks FOUR TIMES on the second time and if GREEN / YELLOW comes 3 times in a row it clicks EIGHT TIMES ETC. until comes color RED when the "twice-four times- eight times- 16times - 32times -64times -128times -256times" -counter resets to twice.

Thank you for reading, if something is not clear to you I am very willingful to explain it much better. Any question is allowed but don't ask why I need this script.

-BlackKluster

The script at the moment looks like this:

MouseClick("left", 921, 608, 1)
MouseClick("left", 848, 895, 1)
Sleep(5000)
Edited by BlackKluster

Share this post


Link to post
Share on other sites



BlackKluster,

Firstly we help for free, not because someone offers to pay. ;)

but don't ask why I need this script

Red rag to a bull that. :D So with my Moderator hat on:

Why do you need this script? :huh:

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

#3 ·  Posted (edited)

Why do you need to know?

I can tell what it is not to:

1. hacking / cheating in games

2. scam

3. anything that is against any rules

What it is to:

1. Help automate my real work (but I cant tell what is my work)

Also I need quick help, I want to finish this within week so thats why small reward for people for bothering :)

btw. why I cant edit my first post ?

Edited by BlackKluster

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

BlackKluster,

Why do you need to know?

Because that is part of my role here. If you do not want to explain in open forum then please PM me. :)

By the way, replying in that tone when a Mod asks a simple question is not a recipe for a long and happy life here. The thread is locked until I am satisfied that the script is indeed legal. :naughty:

M23

Edit: You need 5 posts (which you now have) to get edit permission for your posts - an "Edit" button will appear at the bottom-right of the post.

Edited by Melba23
Added "Edit" info

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

#5 ·  Posted (edited)

BlackKluster,

"Testing" an online game site still falls under the "game automation" prohibition - the thread remains locked. :naughty:

But thanks for being honest about the purpose of the script and accepting the decision.

See you here with a legitimate questions soon, I hope. :)

M23

Edit: But I see you did not accept it - and this is the result. :(

Edited by Melba23
Stupidity from the OP

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  
Followers 0