Originally Posted by
Polack
Thanks, but what is the purpose of breaks? Is it only for antiban or as a method to stop getting force-logged (or both)? I'm generally not too worried about getting banned, as where I bot there are rarely any people, and the account I bot is expendable.
It's for both. It's really not much trouble for the benefit and the breaks can be only a few minutes every couple hours if you wanted. If you truly don't care about a ban then no need, though depending on how your script works 6 hour logs could lead to it getting stuck. Breaks give you more control over when the account logs and leads to less problems.
Originally Posted by
Polack
On a separate but related note, how do you add anti-ban
during a wait period. Say for instance I have to wait between clicks for 10000 ms, how do I make it so any antiban my script has is in between those 10000 ms and not after it? Do I have to make a another begin-end statement after the wait or what?
i.e.
Code:
begin
if not LoggedIn then LoginPlayer else
begin
(Code to click object);
Wait(10000);
begin
(antiban);
end;
end;
end;
Sorry if I'm not making much sense! I just started scripting a few days ago, and while I'm quite proud of my progress I know that I have a lot to learn.
In that case, you wouldn't call Wait(10000), you would call an antiban procedure that does whatever antiban you want. If you just wait it will do nothing for that duration ( you can include waits in your antiban of course). You should also try to use Wait( randomrange( 8000, 12000)) instead of static sleeps. Make the range whatever works.
Code:
procedure doAntiBan();
begin
//
//do antiban things
//
end;
begin
if not LoggedIn then LoginPlayer else
begin
(Code to click object);
doAntiBan();
end;
end;
Originally Posted by
KeepBotting
Hmm, I know the RS3 limit was changed to 23 hours but I'm not sure if that holds true for OSRS.
still 6 for osrs