UBot Help, Unable to Get Random Value from List.

Discussion in 'Black Hat SEO' started by spyece, Oct 24, 2013.

  1. spyece

    spyece Newbie

    Joined:
    Jun 28, 2010
    Messages:
    38
    Likes Received:
    11
    Hello,

    I Just watched a tut on youtube and tried to extract a random item from list. But its not working and i am unable to figure out why :( if anyone can please take a look at the ubot file below and tell me where i am going wrong. It would be really helpful to me. :)

    It Always Shows me the Second Value from the list, instead of random value.

    - I Tried Adding Tons of Proxies in List and its still the same. I only keep getting the second value.

    Screenshot
    Code:
    hxxp://i.imgur.com/UrzujiB.png
    Ubot File *Hotfile Hotlink
    Code:
    hxxp://hotfile.com/dl/251970219/03999de/Random_List_Item.ubot.html
    Thanks in Advance.
     
  2. lincolnave

    lincolnave Regular Member

    Joined:
    Dec 5, 2008
    Messages:
    393
    Likes Received:
    184
    Occupation:
    Building Bots and Arduinos
    Location:
    Outside NYC
    What version of Ubot and standard,Dev or Pro?
     
  3. spyece

    spyece Newbie

    Joined:
    Jun 28, 2010
    Messages:
    38
    Likes Received:
    11
    5.0 Standard Version.
     
  4. lincolnave

    lincolnave Regular Member

    Joined:
    Dec 5, 2008
    Messages:
    393
    Likes Received:
    184
    Occupation:
    Building Bots and Arduinos
    Location:
    Outside NYC
    Hey Spy,

    I see the problem, you should report the bug.

    Here is a workaround...alert($list item(%ProxyListx, $rand(0, $subtract($list total(%ProxyListx), 1))))

    I know you can't put the code back into your bot, but you get the idea.

    Use the $list item, from $Proxylistx and then pick a random number between 0 and the list total minus 1, since the array starts at "0" not "1". Same as the Random Item, but this works. :)

    You probably knew this method, but just wanted to get you working ASAP.

    Happy Botting!
     
  5. steave619

    steave619 Registered Member

    Joined:
    Dec 10, 2011
    Messages:
    91
    Likes Received:
    1
    Occupation:
    Developing Bot Software
    Location:
    USA
    let me know your skype
     
  6. spyece

    spyece Newbie

    Joined:
    Jun 28, 2010
    Messages:
    38
    Likes Received:
    11
    linc0lnave
    - Thanks, ill give it a try
     
  7. EymardSiojo

    EymardSiojo Newbie

    Joined:
    Sep 24, 2013
    Messages:
    33
    Likes Received:
    5
    Maybe you should posted this in the ubot forum instead?
    Ubot 5 is SO buggy as of now.
    Better stick with version 4.

    P.S. I have standard version too.
     
  8. Real78

    Real78 Regular Member

    Joined:
    Apr 19, 2012
    Messages:
    367
    Likes Received:
    26
    I think this year I am going to buy Ubot.