Jump to content
UBot Underground

How do I rotate Proxies in Ubot ?


Recommended Posts

There is no easy way as you suggest...you need to add all proxies to UBot list, and loop through that list. For each list item you use "change proxy" command and you pass in the current "list item"/proxy.

Link to post
Share on other sites

Take a look at this code it might get you started:

ui text box("Total Loops", #Cycles)
ui open file("Proxy List:", #Proxies)
ui stat monitor("Proxy:", #Proxy)
ui stat monitor("Position:", "{#Proxy_Pos} / {$list total(%Proxies)}")
set(#Proxy_Pos, 0, "Global")
clear list(%Proxies)
add list to list(%Proxies, $list from file(#Proxies), "Delete", "Global")
loop(#Cycles) {
    clear cookies
    Change Proxy()
    navigate("http://www.ipchicken.com", "Wait")
    wait(1)
}
define Change Proxy {
    if($comparison(#Proxy_Pos, ">=", $list total(%Proxies))) {
        then {
            set(#Proxy_Pos, 0, "Global")
        }
        else {
        }
    }
    set(#Proxy, $list item(%Proxies, #Proxy_Pos), "Global")
    change proxy(#Proxy)
    wait(2)
    increment(#Proxy_Pos)
}

Carl  ;)

  • Like 1
Link to post
Share on other sites

I think your best bet is to try copy pasting them command after command (since you don't have code view, right?).

 

Here is how you would do it, just copy paste like I did bellow:

ui text box("Total Loops", #Cycles)
ui open file("Proxy List:", #Proxies)

...

loop(#Cycles) {
    clear cookies
    Change Proxy()
    navigate("http://www.ipchicken.com", "Wait")
    wait(1)
}
define Change Proxy {
    if($comparison(#Proxy_Pos, ">=", $list total(%Proxies))) {
        then {
            set(#Proxy_Pos, 0, "Global")
        }
        else {
        }
    }
    set(#Proxy, $list item(%Proxies, #Proxy_Pos), "Global")
    change proxy(#Proxy)
    wait(2)
    increment(#Proxy_Pos)
}
Link to post
Share on other sites

 

I think your best bet is to try copy pasting them command after command (since you don't have code view, right?).

 

Here is how you would do it, just copy paste like I did bellow:

ui text box("Total Loops", #Cycles)
ui open file("Proxy List:", #Proxies)

...

loop(#Cycles) {
    clear cookies
    Change Proxy()
    navigate("http://www.ipchicken.com", "Wait")
    wait(1)
}
define Change Proxy {
    if($comparison(#Proxy_Pos, ">=", $list total(%Proxies))) {
        then {
            set(#Proxy_Pos, 0, "Global")
        }
        else {
        }
    }
    set(#Proxy, $list item(%Proxies, #Proxy_Pos), "Global")
    change proxy(#Proxy)
    wait(2)
    increment(#Proxy_Pos)
}

I have done this but I get this error message, Please see image attached.

post-12633-0-35339800-1379096766_thumb.png

Link to post
Share on other sites

I have done this but I get this error message, Please see image attached.

 

That error tells you that UBot is expecting integer, but you feed a string instead...this usually happens when you forget to specify integer and variable has value "";

 

However, I think you forgot to enter number for "Total loops" or you didn't copy the whole code from LazyBotters post, specifically this line:

set(#Proxy_Pos, 0, "Global")
Link to post
Share on other sites

 

That error tells you that UBot is expecting integer, but you feed a string instead...this usually happens when you forget to specify integer and variable has value "";

 

However, I think you forgot to enter number for "Total loops" or you didn't copy the whole code from LazyBotters post, specifically this line:

set(#Proxy_Pos, 0, "Global")

I copied the code,please can you look at the .ubot attachment?

proxy-code.ubot

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...