Results 1 to 10 of 10

Thread: Ideas On Script [Help]

  1. #1
    Join Date
    Apr 2007
    Location
    Rimmington
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Smile Ideas On Script [Help]

    Right i have a collection script that im trying to make i have 23 baskets in my invent that i need to fill easy enough

    but how would i make it totally random is there anything i can do cant seam to find anyhting?

    script will run as

    pick from tree
    fill basket
    carry on picking
    Bank
    kinda of thing

    btw this is my first script all help is gladly taken!

    thanks

  2. #2
    Join Date
    May 2008
    Location
    the world 0_o
    Posts
    150
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think that you dont really need to fill them randomly... Im getting that you are trying to think of an antiban? My recommendation is for your script to misclick instead. You could mess with the time between fills... There are plenty of ways lol ( check some scripts out for that) now if you really want to fill your baskets randomly... I would think that you would make a list of cases and then tell it to choose one at random. The problem with that is that it could do a case twice, nog do another.... I havnt really looked at the random funcs but theremight be a func that would help you out

    Good luck!

  3. #3
    Join Date
    Feb 2007
    Location
    Switzerland
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    50 Post(s)

    Default

    You could make an array and fill the bucket array[random(23)]. Make sure you blacklist the bucket to not fill it twice.
    "Everything should be made as simple as possible, but not simpler."

  4. #4
    Join Date
    Apr 2007
    Location
    Rimmington
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    well as soon as im back scripting im guna have a look go to fix my access violation error first... i just see it as if every things random then there is no patterns to record so more human like.

  5. #5
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,346
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Wouldn't it be more human to fill the buckets in a pattern (e.g. in order, diagonal)? Try for that.

  6. #6
    Join Date
    Apr 2007
    Location
    Rimmington
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    thinking about it it probably would i could do it off a random 1 to 28 or 28 to 1 kind off thing *took your advise and doing it this way*

    EDIT:

    ok so im withdrawing items from my bank useing

    Simba Code:
    Withdraw(1, 0, 20);

    but it keeps typing in 20 is there a way to get it to click the 20 that's already there?

  7. #7
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    1,144
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by tubs-12 View Post
    thinking about it it probably would i could do it off a random 1 to 28 or 28 to 1 kind off thing *took your advise and doing it this way*

    EDIT:

    ok so im withdrawing items from my bank useing

    Simba Code:
    Withdraw(1, 0, 20);

    but it keeps typing in 20 is there a way to get it to click the 20 that's already there?
    you could use an if then statement probably, something like

    Simba Code:
    begin
    if Not(Clickoption('20') then
         begin
         Withdraw(1, 0, 20)
         wait(RandomRAnge(100,1000);
         end;
    or until Not(FindDTM(Basket....)) then
        TerminateScript;
    end;

    Please bear in mind this probably wont work but it gives you the idea (Im a noob when it comes to scripting still!)

  8. #8
    Join Date
    Apr 2007
    Location
    Rimmington
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    thanks for the reply at least your trying to help and learn like myself and not leaching off this fantastic forum

    as for an if statement its a possibility but the "Withdraw" command used i though should only type it in if its not there and it will but 20 is always there and only types like 10% off the time just cant see why it would want to!

  9. #9
    Join Date
    Feb 2012
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you really want to do it randomly, you could look into using bitwise operators.

    You can assign a 23 digit binary number, the first digit is the first basket, etc.

    To mark that say basket 1 is done, you would use the AND operator. ETC.

  10. #10
    Join Date
    Apr 2007
    Location
    Rimmington
    Posts
    169
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    im going to do it in order figured as Paradoxium siad it would mess with times im just going to make it fill 1 to 23 then 23 to 23 to 1 but random im looking in to making a script go afk atm any ideas on that one?
    Learning To Code - So Excuse the n00b questions!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •