BlackKluster Posted July 14, 2012 Share Posted July 14, 2012 (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, 6082. then it left-click to these coords: 848, 8953. then the script sleeps for 5 seconds4. then it detects in this area: between coordinates (64, 618) and (155, 638) that should compose a square:5. is there any pixel in that "square area" that is close to color: YELLOW #ffff32 or RED #ff3131 or GREEN #20ff206. it continues searching for these colors in that "square area" until it finds one of those 3 optionsNOW 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 seconds7-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, 6087-3r. then it left-click to these coords: 848, 8957-4r. then the script sleeps for 5 seconds7-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 seconds7-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.-BlackKlusterThe script at the moment looks like this:MouseClick("left", 921, 608, 1) MouseClick("left", 848, 895, 1) Sleep(5000) Edited July 14, 2012 by BlackKluster Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 14, 2012 Moderators Share Posted July 14, 2012 BlackKluster,Firstly we help for free, not because someone offers to pay. but don't ask why I need this scriptRed rag to a bull that. So with my Moderator hat on:Why do you need this script? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
BlackKluster Posted July 14, 2012 Author Share Posted July 14, 2012 (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 July 14, 2012 by BlackKluster Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 14, 2012 Moderators Share Posted July 14, 2012 (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. M23Edit: 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 July 14, 2012 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 14, 2012 Moderators Share Posted July 14, 2012 (edited) BlackKluster,"Testing" an online game site still falls under the "game automation" prohibition - the thread remains locked. 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. M23Edit: But I see you did not accept it - and this is the result. Edited July 15, 2012 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts