General Lee 12 Posted July 18, 2012 Report Share Posted July 18, 2012 I'm drumming away at another bot and I'm wondering how I prevent it from clicking on the same link/button twice. I've got it running in a loop with the link/button wildcarded but after I click that link/button it returns to the same link/button on the next cycle. It's similar to a follow bot where it's following people in a loop. Problem is after I follow them, the don't fall off the screen, they remain on the screen. Anyway to prevent duplicate clicks to the exact same link/button? Quote Link to post Share on other sites
General Lee 12 Posted July 18, 2012 Author Report Share Posted July 18, 2012 How do I provide the code. All I see are the nodes? Quote Link to post Share on other sites
JohnB 255 Posted July 18, 2012 Report Share Posted July 18, 2012 Save the file and then click on "Use Full Editor"...You can then attach the file to the post. John Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted July 18, 2012 Report Share Posted July 18, 2012 Try clicking it using $element offset. Quote Link to post Share on other sites
General Lee 12 Posted July 18, 2012 Author Report Share Posted July 18, 2012 Here's the project. I'm trying to make a bot to view websites at: http://increasr.com/ increaser project.ubot Quote Link to post Share on other sites
k1lv9h 76 Posted July 19, 2012 Report Share Posted July 19, 2012 Hi, Give this a try:increaser project-001.ubot Kevin 1 Quote Link to post Share on other sites
nimbystripes 0 Posted July 19, 2012 Report Share Posted July 19, 2012 The Use Full Editor option those the trick, but a bit confusing if you are in standard version. Though it actually helps. Quote Link to post Share on other sites
General Lee 12 Posted July 19, 2012 Author Report Share Posted July 19, 2012 Hi, Give this a try:increaser project-001.ubot Kevin Thanks man, but it gave me an error. I'll post it in the morning. I really appreciate the error.. Quote Link to post Share on other sites
k1lv9h 76 Posted July 19, 2012 Report Share Posted July 19, 2012 Hi, Error in what node? Update: increaser project-001.ubot Corrected node click onclick with the variable #onclick Kevin 1 Quote Link to post Share on other sites
General Lee 12 Posted July 19, 2012 Author Report Share Posted July 19, 2012 Hi, Error in what node? Update: increaser project-001.ubot Corrected node click onclick with the variable #onclick Kevin wwoooww You just blew my mind. Works like a charm. The browser is even responding perfectly which I haven't seen yet while building bots. Thanks man! I'm going to go through and dissect this script.. +1 Quote Link to post Share on other sites
General Lee 12 Posted July 19, 2012 Author Report Share Posted July 19, 2012 The script works great, but my credits aren't increasing? Its kinda odd. Even when I go through and manually watch videos I get 10 credits but as soon as I click on another page I'm back to where I started? Maybe there's a confirm button somewhere that I'm missing..hmmm Quote Link to post Share on other sites
k1lv9h 76 Posted July 19, 2012 Report Share Posted July 19, 2012 Hi, Yes it is weird. I visit sites using Firefox browser accumulate credits. Log out and logged back in and none of the accumulated credit is saved. Update:increaser project-001.ubot Changed it to not do page reload.Added click to close the onclick website page view. You can see "My credits" increase.Log out and the accumulated credit is lost the same as Firefox. Kevin Quote Link to post Share on other sites
General Lee 12 Posted July 19, 2012 Author Report Share Posted July 19, 2012 Hi, Yes it is weird. I visit sites using Firefox browser accumulate credits. Log out and logged back in and none of the accumulated credit is saved. Update:increaser project-001.ubot Changed it to not do page reload.Added click to close the onclick website page view. You can see "My credits" increase.Log out and the accumulated credit is lost the same as Firefox. Kevin Thanks for your help Kevin. It's adding the points correctly, but not it's navigating to the clicked websites url. It's no longer opening in the 2nd window. Oh well, man I'll tinker with it. It's all a learning process for me.. Quote Link to post Share on other sites
General Lee 12 Posted July 21, 2012 Author Report Share Posted July 21, 2012 Hey Kev, it seems to be working pretty good with win7, vista not so much. The site throws in random adsense pop ups which puts a wrench in the loop but I don't think there is much I can do about that. Appreciate you help! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.