Results 1 to 6 of 6

Thread: 6 Hour OSRS logout?

  1. #1
    Join Date
    Mar 2015
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default 6 Hour OSRS logout?

    I'm not sure if there's still a 6 hour log-out for OSRS, but my script just logged out at pretty much exactly 6 hours of perfect running, so I'm assuming there is and it's not a fluke.

    Anyways, I know this is probably REALLY basic for most of you guys, but I just was wondering if this simple little code would work for the 6 hour logout (as it not only logs you out but refreshes client right?):

    Code:
    begin
      if not LoggedIn then LoginPlayer else
      begin
       (REST OF CODE)
      end;
    end;
    Above procedure is part of main loop.

    Customary apologies if this is the wrong section.

  2. #2
    Join Date
    Dec 2011
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by Polack View Post
    I'm not sure if there's still a 6 hour log-out for OSRS, but my script just logged out at pretty much exactly 6 hours of perfect running, so I'm assuming there is and it's not a fluke.

    Anyways, I know this is probably REALLY basic for most of you guys, but I just was wondering if this simple little code would work for the 6 hour logout (as it not only logs you out but refreshes client right?):

    Code:
    begin
      if not LoggedIn then LoginPlayer else
      begin
       (REST OF CODE)
      end;
    end;
    Above procedure is part of main loop.

    Customary apologies if this is the wrong section.

    yea that will work, but you should try to take breaks before you hit 6 hours if possible

    I use aerolib's breakhandler to do that in my scripts. Just remember to ReflectPlayer.Create after logging back in if you are using lape reflection as well.

  3. #3
    Join Date
    Mar 2015
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Myke View Post
    yea that will work, but you should try to take breaks before you hit 6 hours if possible

    I use aerolib's breakhandler to do that in my scripts. Just remember to ReflectPlayer.Create after logging back in if you are using lape reflection as well.
    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. However, I do plan on possibly adding a world hopper if a player does show up.
    And my script is completely color, but thanks for your answer!

    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.

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,205
    Mentioned
    112 Post(s)
    Quoted
    1858 Post(s)

    Default

    Hmm, I know the RS3 limit was changed to 23 hours but I'm not sure if that holds true for OSRS.
    GitLab projects | Simba for Linux | Find me on IRC or Discord | OSRS scripts | Come play ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  5. #5
    Join Date
    Dec 2011
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by Polack View Post
    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.



    Quote Originally Posted by Polack View Post

    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;
    Quote Originally Posted by KeepBotting View Post
    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

  6. #6
    Join Date
    Mar 2015
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Thanks for your help Myke. My script requires a precise amount of time to elapse between clicks, and too short of an antiban or too long of an antiban would both drastically reduce its' efficiency.
    I think I'll stick with the bare minimum basics and hope for the best.

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
  •