Jump to content
UBot Underground

SmileyBot

Fellow UBotter
  • Content Count

    170
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by SmileyBot

  1. define DATE_TIME {
        comment("dateTimeDay")
        set(#dateTimeDay,$find regular expression($date,"(?<=\\d\\d\\/)(.*)(?=\\/\\d\\d\\d\\d.\\d\\d:\\d\\d:\\d\\d)"),"Global")
        comment("dateTimeMonth")
        set(#dateTimeMonth,$find regular expression($date,"(?<=^)(.*)(?=\\/\\d\\d\\/\\d\\d\\d\\d.\\d\\d:\\d\\d:\\d\\d)"),"Global")
        comment("dateTimeYear")
        set(#dateTimeYear,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/)(.*)(?=.\\d\\d:\\d\\d:\\d\\d)"),"Global")
        comment("dateTimeHour")
        set(#dateTimeHour,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/\\d\\d\\d\\d.)(.*)(?=:\\d\\d:\\d\\d)"),"Global")
        comment("dateTimeMinute")
        set(#dateTimeMinute,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/\\d\\d\\d\\d.\\d\\d:)(.*)(?=:\\d\\d)"),"Global")
        comment("dateTimeSeconds")
        set(#dateTimeSeconds,$find regular expression($date,"(?<=\\d\\d\\/\\d\\d\\/\\d\\d\\d\\d.\\d\\d:\\d\\d:)(.*)(?=)"),"Global")
    }

     

  2. define COUNTDOWN {
        set(#wait_time_minutes,$rand(#wait_min,#wait_max),"Global")
        set(#countdown_minutes,#wait_time_minutes,"Global")
        set(#countdown_seconds,00,"Global")
        CHANGE NUMBERS()
        thread {
            loop while($comparison(#countdown_minutes,"> Greater than",$nothing)) {
                if($comparison(#countdown_minutes,"= Equals",00)) {
                    then {
                        set(#countdown_minutes,$nothing,"Global")
                        set(#countdown_seconds,59,"Global")
                        loop while($comparison(#countdown_seconds,"> Greater than",0)) {
                            wait(1)
                            decrement(#countdown_seconds)
                            CHANGE NUMBERS()
                        }
                    }
                    else {
                        if($comparison(#countdown_seconds,"= Equals",00)) {
                            then {
                                decrement(#countdown_minutes)
                                set(#countdown_seconds,59,"Global")
                            }
                            else {
                            }
                        }
                        wait(1)
                        decrement(#countdown_seconds)
                        CHANGE NUMBERS()
                    }
                }
            }
        }
    }
    define CHANGE NUMBERS {
        if($comparison(#countdown_seconds,"= Equals",9)) {
            then {
                set(#countdown_seconds,09,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",8)) {
            then {
                set(#countdown_seconds,08,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",7)) {
            then {
                set(#countdown_seconds,07,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",6)) {
            then {
                set(#countdown_seconds,06,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",5)) {
            then {
                set(#countdown_seconds,05,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",4)) {
            then {
                set(#countdown_seconds,04,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",3)) {
            then {
                set(#countdown_seconds,03,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",2)) {
            then {
                set(#countdown_seconds,02,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",1)) {
            then {
                set(#countdown_seconds,01,"Global")
            }
        }
        if($comparison(#countdown_seconds,"= Equals",0)) {
            then {
                set(#countdown_seconds,00,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",9)) {
            then {
                set(#countdown_minutes,09,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",8)) {
            then {
                set(#countdown_minutes,08,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",7)) {
            then {
                set(#countdown_minutes,07,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",6)) {
            then {
                set(#countdown_minutes,06,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",5)) {
            then {
                set(#countdown_minutes,05,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",4)) {
            then {
                set(#countdown_minutes,04,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",3)) {
            then {
                set(#countdown_minutes,03,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",2)) {
            then {
                set(#countdown_minutes,02,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",1)) {
            then {
                set(#countdown_minutes,01,"Global")
            }
        }
        if($comparison(#countdown_minutes,"= Equals",0)) {
            then {
                set(#countdown_minutes,00,"Global")
            }
        }

     

  3. copy and paste into ubot Node view

    Install Python Plugin (ExecutePython.dll) to ubot

    Update %appdata% ubot \ python \ with newer version

    comment("Create a new file and add the below into the file and save the file as  batch_create_sms.bat
    
    
    @echo off
    set TWILIO_ACCOUNT_SID=AC325b0e
    set TWILIO_AUTH_TOKEN=77ea6
    \"D:\\Python\\python.exe\" \"D:\\batch_create_sms.py\"")
    SEND_SMS()
    define SEND_SMS {
        set(#create_python_sms,"from twilio.rest import Client
    
    
    # Find your Account SID and Auth Token at twilio.com/console
    # and set the environment variables. See http://twil.io/secure
    account_sid = \"AC3b0e\"
    auth_token = \"775ea6\"
    client = Client(account_sid, auth_token)
    
    message = client.messages.create(
                                  body=\'New Boost Booking - {#account_fname} {#account_lname} @ {#booking_time}, {#booking_date}, {#occasion}\',
                                  from_=\'+691\',
                                  to=\'+6383\'
                              )
    
    print(message.sid)","Global")
        save to file("D:\\batch_create_sms.py",#create_python_sms)
        shell("D:\\batch_create_sms.bat")
    }

     

  4. Hi Guys

     

    After updating to Ubot X because my bots started to not function correctly

    I have found the following bugs when running my bots that I know worked fine before

    • Internal Browser freeze - I found that if I just add 'in external browser' to the start of your script it seem to knock/reset the internal browser and run smother and not freeze the internal browser
    • UI dropdown - default value = nothing - when ubot starts up the ui dropdowns do not default to the first value
    • Scraping to list -  position 0 gets filled with nothing and then the scrape starts in position 1

    15/12/2018

    • thread spawn does't seem to work
    • UI dropdown - default value = nothing - when ubot starts up the ui dropdowns do not default to the first value
      NOT FIXED AND PISSING ME OFF

     

     

     

     

    My thoughts on the new External Browser is that it doesn't work as everyone was told it would and it needs a lot of work to be compared to X Browser.

    Ultimately the new Ubot X is just a internal browser update to Chrome 67 ( I don't see jsphantom anywhere )

    To add to this I have found little to no information or tutorials on Ubot X, only ads saying how you will get triple browser power

    Hope this info helps others

  5. Hey guys

     

    Trying to connect a FB account through a popup on Zapier

    after loggin i go to the connect page, once you add your selection a popup appears and is not visable and continues looping

    In a normal desktop browser I have managed to get the FB confirm url and have confirmed connection twice

    The difference in the the 2 changes in the different confirm codes FB url's was the below XXXXXX

    I need to be able to scrape the logger ID and replace XXXXXX with this scraped ID

    any solutions? thx to all

    allow popups("In New Window")
    navigate("https://zapier.com/app/settings/authorizations","Wait")
    wait for element(<class="text-input services-search__input">,"","Appear")
    click(<class="text-input services-search__input">,"Left Click","No")
    click($element offset(<class="services-results__service-name">,8),"Left Click","No")
    navigate("https://www.facebook.com/login.php?skip_api_login=1&api_key=234230510040096&signed_next=1&next=https%3A%2F%2Fwww.facebook.com%2Fv2.8%2Fdialog%2Foauth%3Fredirect_uri%3Dhttps%253A%252F%252Fzapier.com%252Fdashboard%252Fauth%252Foauth%252Freturn%252FFacebookV2API%252F%26scope%3Dmanage_pages%252Cpublish_pages%26client_id%3D234230510040096%26ret%3Dlogin%26logger_id%3DXXXXXXX&cancel_url=https%3A%2F%2Fzapier.com%2Fdashboard%2Fauth%2Foauth%2Freturn%2FFacebookV2API%2F%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%23_%3D_&display=page&locale=en_GB&logger_id=XXXXXXX","Wait")
    
×
×
  • Create New...