Incurable
2014-08-25 07:26:28
Sup,
I'm using "wait(randomRange(int, int))" as basic anti-ban between some actions in my scripts, but I think that waiting for a period between two values like "500" and "1000" every time the script goes through the procedure is far too bot-like and would be the exact kind of thing that Jagex would detect. A little bit of searching found that you can add "+ random(int)" inside of randomRange() for even more randomness, like this:
But I'm unsure as to just how much or little would would be necessary. Should I stick to small numbers (20-50) for smaller ranges, and larger numbers (200-500) for larger ranges, or should I be just be sticking to smaller ranges for everything? Or, should I just scrap the idea altogether?
Finally, am I actually understanding random(int) right? I can't find any documentation for it… it does actually return a random int between 0 and the given int, right?
Thanks for the help. ;)
I'm using "wait(randomRange(int, int))" as basic anti-ban between some actions in my scripts, but I think that waiting for a period between two values like "500" and "1000" every time the script goes through the procedure is far too bot-like and would be the exact kind of thing that Jagex would detect. A little bit of searching found that you can add "+ random(int)" inside of randomRange() for even more randomness, like this:
wait(randomRange(500 + random(50), 1000 + random(50)));
But I'm unsure as to just how much or little would would be necessary. Should I stick to small numbers (20-50) for smaller ranges, and larger numbers (200-500) for larger ranges, or should I be just be sticking to smaller ranges for everything? Or, should I just scrap the idea altogether?
Finally, am I actually understanding random(int) right? I can't find any documentation for it… it does actually return a random int between 0 and the given int, right?
Thanks for the help. ;)