Jump to content
UBot Underground

stanf

Fellow UBotter
  • Content Count

    571
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by stanf

  1. the update log txt does not clear anything up for me

    -------------------------------------

    example:

     

    plugin command("Advanced Google Drive.dll", "drive clear login cache", "All")
    comment("not sure if the set command is the proper use")
    set(#set this,$plugin function("Advanced Google Drive.dll", "$drive create login url", "Here is your client ID", "Here is your client secret ", "my@email.com"),"Global")
    plugin command("Advanced Google Drive.dll", "drive connect", "what goes here")

  2. add list to list(%ffff,$plugin function("Open.Framework.dll", "get files in folder", "C:\\Users\\stanford\\Downloads\\New folder (2)"),"Delete","Global")
    set list position(%ffff,0)
    loop($list total(%ffff)) {
        navigate($next list item(%ffff),"Wait")
        wait(5)
    }

  3. i cant diagnose this because of incomplete data.

    1. dont know what the the variable #Navigate contains or is supposed to contain

    2.you are scraping data into the variable #Boardname ( i need to see the page and the code to see what is going on)

    3. the click command same as line 2

     4. your wait times seem excessive ( if the program is moving to fast and you think these are not loaded by the time you get to them i suggest build in some test to ensure that the item has loaded before you move on

    ---------------------------------

    ie.

    set counter =0 //this counter comes into play at the bottom of the script

    set #is the item there =no 

     

    loop while #is the item there =no

                    item exist (true/false)

                    if item exist =true

    then

    set #is the item there =yes

     else

                    wait 1

                    increment counter

    if

                   counter =10

    then

                   alert " looped  thru 10 times cant find it"

    stop script

     

    (this keeps looping until it finds the item or stops at 10 to prevent a runaway loop)

    else

    -----------------------------------

    all this does is slows the program down until the item is loaded

  4. i dont see aproblem with the second half

    ======================================

     

    set(#Random Number,$rand(3,32),"Global")
    wait(1)
    comment("loose the eval statement")
    set(#Random Board,$multiply(2,#Random Number),"Global")
    alert(#Random Board)
    divider
    loop(1) {
        comment("i needed a page to goto")
        navigate("https://www.pinterest.com/explore/pinterest-fails/","Wait")
        wait for browser event("Everything Loaded","")
    }
    clear list(%UsernameURL)
    add item to list(%UsernameURL,$url,"Don\'t Delete","Global")
    wait(1)
    set(#username1,$nothing,"Global")
    set(#username1,$replace($list item(%UsernameURL,0),"https://www.pinterest.com/",""),"Global")
    wait(1)
    set(#username,$nothing,"Global")
    set(#username,$replace(#username1,"/",""),"Global")

  5. there are more clever ways to do this, but since the placement of the data will never change this is quick and easy

    ---------------------------------------------------------------------------------------

    clear all data
    navigate("http://www.fakenamegenerator.com/","Wait")
    set(#raw data,$scrape attribute(<class="content">,"innertext"),"Global")
    add list to list(%break out data,$list from text(#raw data,$new line),"Delete","Global")
    set(#raw data,"","Global")

    • Like 1
×
×
  • Create New...