# Thread: Ideas On Script [Help]

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

## 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
carry on picking
Bank
kinda of thing

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

thanks

2. 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. You could make an array and fill the bucket array[random(23)]. Make sure you blacklist the bucket to not fill it twice.

4. SRL Junior Member
Join Date
Apr 2007
Location
Rimmington
Posts
169
Mentioned
0 Post(s)
Quoted
1 Post(s)
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. Wouldn't it be more human to fill the buckets in a pattern (e.g. in order, diagonal)? Try for that.

6. SRL Junior Member
Join Date
Apr 2007
Location
Rimmington
Posts
169
Mentioned
0 Post(s)
Quoted
1 Post(s)
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. Community Clown
Join Date
Mar 2012
Location
127.0.0.1
Posts
1,199
Mentioned
0 Post(s)
Quoted
26 Post(s)
Originally Posted by tubs-12
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:
beginif 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. SRL Junior Member
Join Date
Apr 2007
Location
Rimmington
Posts
169
Mentioned
0 Post(s)
Quoted
1 Post(s)
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. SRL Junior Member
Join Date
Feb 2012
Posts
168
Mentioned
0 Post(s)
Quoted
0 Post(s)
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. SRL Junior Member
Join Date
Apr 2007
Location
Rimmington
Posts
169
Mentioned
0 Post(s)
Quoted
1 Post(s)
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?