Jump to content
UBot Underground

Joe118

Fellow UBotter
  • Content Count

    44
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Joe118

  1. Thanks, there must be some additional magic because I tried that and it doesn't work in IE.
  2. OK so what character(s) does "$special keys: down" send? I'd like to emulate it from my keyboard. Thanks for any insight.
  3. This is happening on start up of the bot. Any ideas greatly appreciated. PLEASE provide a solution. Like the previous member above, I'm just refunding 15-20% of my sales because of this one issue. This is NOT ACCEPTABLE!!!!
  4. I got the attached image from a client of mine who bought a compiled bot from me. He's running on XP SP3 with dot-Net 3.5 SP1. He has IE8. Any ideas what could be wrong on his computer? What actions can he take to make ubot compiled bots work on his computer? Thanks for any help, --Joe
  5. Hi, I need some help with this: Does ubot (and ubot compiled bots) work on machines that have *ONLY* dot-net 4.0? Or does it require dot-net 3.5? --Joe
  6. I'm very close to releasing a product based on ubot that does exactly what Zap describes. It will be a WSO in the warrior forum, so you can learn about it there.
  7. OK so answering my own question, its easy to do with $random list item.
  8. Is it possible to generate a random string of N characters? I'd like to do something like this (mock up code) vowels = 'a' 'e' 'i' 'o' 'u' 'y'; consonants = 'b' 'c' .. 'z'; thestring = ""; for (i = 0; i < N; i++) { if (random(1,2)) { thestring += consonants[random(0,length(consonants)-1)]; } else { thestring += vowels[random(0,length(vowels)-1)]; } } dosomething_with(thestring); Thanks for any ideas. --Joe
  9. Any code I've posted or will post in the forum is free to use for any purpose unless specifically stated otherwise in the specific post where that code appears. No need to contact me.
  10. Do: set #theabsoluteURL "http://youtube.com/{1}" with {1} being substituted by a variable containing /watch?v=MHeX6yg95xU etc.
  11. You need to use Document Constants -> $url -- that always contains the URL that is currently visible in the browser window. You can use set variable to store it in a variable if its not possible to directly compare #myvariable against it (havent tried).
  12. IMPORTANT for users of Windows 7: A solution if your bot does nothing at all when you hit play. I've had several reports of people saying that the harvest+comment bot does absolutely nothing when they run it, and the common factor is that they are all running (some version of) Windows 7. Here's the problem: .NET 3.5 is installed properly on those systems, but not all components are activated. Specifically, the HTTP components are not activated. The solution: Use the following procedure to activate the HTTP components. 1. Start Control Panel and click Programs And Features. 2. Cli
  13. Greencat and Frank, thanks guys! You both saved the day. I will use your code in the product, Greencat, and you'll get a free copy for your contribution. And Greencat, you taught me another trick here -- I didnt know you could use eval to run javascript code and capture the value, like you do -- VERY cool.
  14. I'd love to see a sample of code that will let me scrape the suggestions that amazon displays when you enter some word. Right now my problem is that I cannot for the life of me get the HTML for the drop down menu that Amazon displays. I try the following: nav to http://www.amazon.com choose by attribute name field-keywords exact-match change chosen attribute value "bread machine" (as an example) send keys chosen $special keys: down delay 1 OK and now what... Thanks for any ideas. Aaron Nimocks or anyone else from the ubot guru cadre? PLEASE?
  15. Is it possible to have a script that does not appear as an action? That way I can put all my common inits plus routines that are used by several scripts in a bot. Of course I can put them in one of the other scripts but that's kind of not elegant.
  16. It is now also fixed in compiled bots. THANKS TO SETH for the hard work on fixing this problem.
  17. Thanks Seth -- can you give Sonneti and me an indication when the next update will happen? We have a bot that we cannot market at present because of this issue... Thanks!
  18. Thats mildly interesting but (a) its not here yet and we dont know when it will be and ( I want to control my own UI and not depend on what you come up with.
  19. What's everyone's opinion of this idea: instead of using the limited functionality provided by ubot's UI, how about a library (in JS) that would include all the elements we need for UIs, and then you'd build a JS script using the library and include that with your bot. On startup you'd just nav to "javascript:load('myUI.js');" and then get the values out of the UI. Wild idea for sure But there's proof of concept of at least using JS libraries, for example the string manipulation library...
  20. Hanna, there will still be an error from the search command if the page has not yet been received at all. See, the problem is that 'search' throws an error rather than returning false when you search on a page thats not instantiated enough to be searchable (as would be the case if the proxy is dead or very very very slow). The only solution I see is to have ubot return false if it is in such a state rather than throw an error. With that behavior you can safely do a search, if it returns false then just go do something else, and come back later to try again.
  21. This is not very good because it means that a dead proxy will block the entire bot. Also you can't wait for multiple things like perhaps the proxy failed or the page loaded successfully...
  22. Ubot allows you to wait for a page to finish loading, and then you can start searching the page safely. But some pages don't ever finish loading, and some pages take a VERY long time, especially through proxies. If you hit a dead proxy, it will sit there waiting for a very long timeout. This makes the bot seem dead or unresponsive to customers. The solution advised by some ubot experts is to search for something on the page and if that's present then you can go ahead, the page is loaded "enough". But the problem is that (at least in compiled bots) if the page has not yet STARTED to load, s
×
×
  • Create New...