Jump to content
UBot Underground

HaHaItsJake

Fellow UBotter
  • Content Count

    133
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by HaHaItsJake

  1. You're not the only one with this problem. I was looking into Exbrowser but it seems sells are on hold with months delayed. <_<

    I've tried everything to get the sites to load, only to end up a bust. I had to abandon 2 bots because of it. Have you tried looking into a HTTP bot?

  2. You can use Advanced Captcha (free plugin by Pash), like so:

    ui text box("2Captcha Access Key",#accessKey)
    ui open file("Captcha File",#captchaFile)
    set(#solveCaptchaAdvancedCaptcha,$plugin function("Advanced Captcha.dll", "$2captcha.com", #accessKey, #captchaFile, "", "Recognize", "", "", 120, ""),"Global")
    alert(#solveCaptchaAdvancedCaptcha)
    

    But if you just want to do it yourself for learning or other reasons then try this:

    ui text box("2Captcha Access Key",#accessKey)
    ui open file("Captcha File",#captchaFile)
    set(#sendCaptcha,$plugin function("HTTP post.dll", "$http upload", "http://2captcha.com/in.php", "key={#accessKey}", #captchaFile, "file", "image/jpeg", "", "", "", ""),"Global")
    set(#getCaptchaId,$list item($list from text(#sendCaptcha,"|"),1),"Global")
    comment("Put a loop here to send this get every 5 seconds or so until you get a response")
    set(#getCaptchaAnswer,$plugin function("HTTP post.dll", "$http get", "http://2captcha.com/res.php?key={#accessKey}&action=get&id={#getCaptchaId}", "", "", "", ""),"Global")
    

    You will have to wait for a response I didn't add in a loop but you will see if you try it yourself the first get request after sending the captcha will be too quick and so you will have to read the response and wait until it solves it or it fails or gets an error.

     

    Thanks for the insight, I'm doing it manually because the plugin isn't threadable and the queue system slows the bot down massively. I guess I'm the only with this problem it seems like. Just gonna chalk it down to Murphy's Law. haha. Wait until the end of the month to get the Ultimate Captcha plugin.

    [solved]

  3. I've been trying to get the 2Captcha API to work with HTTP Upload for sometime now and all I'm getting back is ERROR_ZERO_CAPTCHA_FILESIZE with any captcha image I use. Am I missing something with 2Captcha?

     

    set(#CAPTCHAAPI"""Global")
    set(#RespondsUpload$plugin function("HTTP post.dll""$http upload""http://2captcha.com/in.php""key={#CAPTCHAAPI}&method=post&json=1""{$special folder("Desktop")}\\captcha.jpg""captchafile""image/jpeg"""""""""), "Global")

     

    [solved] - My connection was blocking the file upload

    [EDIT] - Not my connection, was the wrong API method. Method=Post is correct, still error ERROR_ZERO_CAPTCHA_FILESIZE

    post-15910-0-67616300-1489694493_thumb.jpg

  4. Thanks!!!

    Bot is going to restart after 1 hour and after restart it will auto run after 20 seconds. Before restart is going to show a message.

    http://image.prntscr.com/image/e8a5363b63c042739870bd1de974499c.png

     

    Np, I believe it's the correct way. I'm currently recoding my cores to that threading method. I love it! About to run a test here in a couple of minutes.

    For the reset, I've did that but it wont alert before restarting. I'll give it another go.

     

    [added]

    ​I tested it on U5 too, it doesn't alert before restarting either. It also restarts the Ubot Studio..

     

     

  5. After messing around, I think I've figured it out. It's pretty easy to understand now if I didn't mess up. I use Ubot4 so there's no thread spawn. Can adapted to thread spawn or any other. Large Data Plugin is needed.

    I've attached what I believe is correctly done with a HTML UI. When working with HTML Start/Stop buttons {$Bot Is Running} is always false because it looks ubot's isrunning with the run bar. (Requested Feature)  :)

     

    Pause/Stop will not work while threads are being spawned. Only already spawned threads will stop.​ I fixed this. Extra LoopWhile Status = Paused.

     

    I didn't comment anything inside the code. If it's correct and people needs comments I will go thru it.

     

    I've still confused about Auto Restart if you can give an example of that one.
     

     

    Regards,

    Jake

    T-Heopas-Example.ubot

  6. Hey!

    What does your 2 bots do?

    They just do what we the people are to lazy to do. :) Scraping, Traffic, Account Generators, Marketing (Email, Social, Forums, etc).

    You can even build a bot to create a Wordpress site, find a niche, find content, spin it, write it to your site, post to all social networks, generate blacklinks.

    ​Plugins are endless thanks to the community. I've even hooked AHK and Auto it into my Ubot to bot Flash Games. If you don't know basic JavaScript try to learn it along with Ubot (pro version+ I believe).

    ​-HaHaItsJake

    • Like 2
  7.  

    - Every command / function is thread safe
    - varSet set a variable that exist only on running thread so you can varset and varget from everywhere in same thread without passing arguments. Before thread end run VarClear to free memory.
     

     

    ​Whoa, I'm so thankfull. I'm going to use it in a couple hours and give it a go.

    ​For threading does it have to be with your plugin? I currently work around SmartThreads and coded a core around it. Will the commands/functions work along with it or are they only with your threading commands?

  8. To open a folder/file with a UI button, 
    Aymen's File Management Plugin 
    http://network.ubotstudio.com/forum/index.php/topic/13237-free-file-management-plugin-multiple-commands-and-functions/

     

    ui button("Open File") {
        OpenFile()
    }
    ui button("Open Folder") {
        OpenFolder()
    }
    define OpenFolder {
        plugin command("File Management.dll", "open file", "{$special folder("Application")}\\Config\\")
    }
    define OpenFile {
        plugin command("File Management.dll", "open file", "{$special folder("Application")}\\Config\\Hello.txt")
    }

    Hope this helps.

    • Like 1
  9. Hey Aymen, 

    Was wondering is there an easy way to go about returning the whole local List/Table without looping through the entire List/Table like so;

    plugin command("LocalDictionary.dll""clear global dictionary")
    thread {
        plugin command("LocalDictionary.dll""init local dictionary")
        plugin command("LocalDictionary.dll""init local list")
        plugin command("LocalDictionary.dll""local list from text""Numbers""1,2,3,4,5,6,7"",")
        plugin command("LocalDictionary.dll""local dictionary add""AllNumbers"$nothing)
        plugin command("LocalDictionary.dll""local dictionary add""NumbersIndex", 0)
        loop($plugin function("LocalDictionary.dll""$local list total""Numbers")) {
            plugin command("LocalDictionary.dll""local dictionary add""AllNumbers""{$plugin function("LocalDictionary.dll""$local dictionary get""AllNumbers")}
    {$plugin function("LocalDictionary.dll""$local list item""Numbers", $plugin function("LocalDictionary.dll""$local dictionary get""NumbersIndex"))}")
            plugin command("LocalDictionary.dll""local dictionary increment""NumbersIndex")
        }
        alert("{$plugin function("LocalDictionary.dll""$local list total""Numbers")}|
    {$plugin function("LocalDictionary.dll""$local dictionary get""AllNumbers")}")
    }

    Also, clearing the AllNumbers var when rerunning the script, I had to add $nothing because clear local dictionary wasn't clearing it. 
     

    plugin command("LocalDictionary.dll", "local dictionary add", "AllNumbers", $nothing)
×
×
  • Create New...