GeneNight Posted May 30, 2017 Share Posted May 30, 2017 Hey guys what's up, I'm working on my own project which is related to imagesearch fuction. I need it a little bit more faster because I only made it to find 150 pictures in 10 seconds. Of course I'm using ImageSearchArea to make everything faster, but it isn't enough. I also used a switch instead of using concatenated if, I only need 50 more images :/ . Another question, is there a way to make it works in background? I saw MyBot's script but It is too complicated for my knowledge right now. Link to comment Share on other sites More sharing options...
anthonyjr2 Posted May 30, 2017 Share Posted May 30, 2017 ImageSearch is going to be a slow process no matter what you do because it is a pretty old library that hasn't been updated or optimized very much for 5 years. Why exactly do you need it to find images faster than 15 per second? UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= Link to comment Share on other sites More sharing options...
Somerset Posted May 30, 2017 Share Posted May 30, 2017 Sounds suspicious. Link to comment Share on other sites More sharing options...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 I'm making a bot which has to answer to a sequence of questions and it has more o less 10,5 seconds to do that. I'm not talking about any game bot, is that still an illegal content? Link to comment Share on other sites More sharing options...
anthonyjr2 Posted May 31, 2017 Share Posted May 31, 2017 I'd say it's up to a moderator to determine that. But my point still stands, ImageSearch is old and apart from making the search area smaller there isn't much you can do to speed it up. Which version are you using? UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 31, 2017 Moderators Share Posted May 31, 2017 GeneNight, Quote I'm making a bot which has to answer to a sequence of questions and it has more o less 10,5 seconds to do that Would you care to elaborate a little? What questions, why do you need to look for images to answer them, and why the time limit? 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...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 A friend of mine has made an app which has a sequence of questions to answer, but the problem is that you have a timer. My purpose is to make the bot answering all of them and I thought about imagesearch fuction, but it looks like it is too slow. It is just our project for an exame. Anyway, I'using ImageSearch2015. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 31, 2017 Moderators Share Posted May 31, 2017 GeneNight, That does not convince me of your bona fides at all - care to try again? 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...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 How do you want me to prove that? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 31, 2017 Moderators Share Posted May 31, 2017 GeneNight, Providing a screenshot or a URL so we can see what you are trying to automate might be useful. Believe me, I am quite prepared to accept a reasonable explanation, but as you can see from the earlier posts, I am not alone in finding this question a little odd as it stands. M23 steveeye 1 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...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 The bot isn't ready for all the questions yet, so I created a debug to make sure when it does. Link to comment Share on other sites More sharing options...
JohnQSmith Posted May 31, 2017 Share Posted May 31, 2017 (edited) Letting @Melba23 handle this, but off-topic about the app in the image. If you picked "B", which answer would it select? Edited May 31, 2017 by JohnQSmith Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes". Link to comment Share on other sites More sharing options...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 That is just a typo, he cant recognize the answer by the letter cause the optionions will change the position everytime, before it has to recognize the question and after that, in we are in question "X" it means it is in the switch "case x" which has only the correct answer, by calling ImageSearchArea with tollerance, I can make it click the correct one. Did I clarify your answer? Link to comment Share on other sites More sharing options...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 Just now, GeneNight said: That is just a typo, he cant recognize the answer by the letter cause the optionions will change the position everytime, before it has to recognize the question and after that, in we are in question "X" it means it is in the switch "case x" which has only the correct answer, by calling ImageSearchArea with tollerance, I can make it click the correct one. Did I clarify your answer? if* we are (I dont know how to modify my previous post Link to comment Share on other sites More sharing options...
kylomas Posted May 31, 2017 Share Posted May 31, 2017 These look like static and possibly a list control. Why not just read the text? Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 31, 2017 Moderators Share Posted May 31, 2017 Once again, folks, when a Mod steps into a topic because he has doubts about the legitimacy, that is a sure sign to stay out of it. To say "Letting <Mod> handle this" but then going ahead and posting anyway doesn't make it any better. @GeneNight what is the name of the application your friend wrote? Because NoxPlayer is, by it's own support page, "The Best Way Ever to Play Mobile Games on PC". I share Melba's concern over what exactly you're trying to accomplish here. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 (edited) As I said, it is just a simple application that my friend has made, he didn't post it on the playstore because the purpose of it was only to pass the examene, exactly as mine. If you do think that a simple "question-answer app" is related to any kind of game playing and by so I'm breaking the rule of the forum then just tell me and I'll will close the post, of course that is Melba's decision. Edited May 31, 2017 by GeneNight typo Link to comment Share on other sites More sharing options...
GeneNight Posted May 31, 2017 Author Share Posted May 31, 2017 (edited) I'm sorry about the wrong reply.... that wasn't acutally what I wanted to do, how do I take them off? Edit: Thank you dude Edited May 31, 2017 by GeneNight Link to comment Share on other sites More sharing options...
anthonyjr2 Posted May 31, 2017 Share Posted May 31, 2017 You can click edit underneath a post to change it. Bottom of each post next to the quote button. GeneNight 1 UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= Link to comment Share on other sites More sharing options...
kylomas Posted June 1, 2017 Share Posted June 1, 2017 My apologies to M23... Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now