Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Break Profiles?


    thiccthighs

    Recommended Posts

    Hello, 

     

    I would love to see a "profiles" section on the breaks page, so that I can easily apply different break schedules to different clients on the same machine. Would this be a feature that could be easily implemented? Or is there a way to do this now without a VPS? 

     

    Thanks 

    Link to comment
    Share on other sites

    I thought of this several times in the past.
    This should be easy enough to implement ( I'm a programmer )

    It would be good to see this feature in DB as its sorely needed.

     

    For now you can use an automation tool such as Bun Automation which supports Timed Actions such as Account Swap and Breaks etc to do the same thing!

    Link to comment
    Share on other sites

    So for the Devs:
     

    class Break // Just an Example
    {
    Time start; 
    Time end;
    }
    
    class BreakInfo // Literally this is an old style struct but just use a class. You could have a constructor which just takes in "Name" and a Break;
    {
    string name 
    Break break
    }
    
    Dictionary<string,BreakInfo>() breaks; // You could store the Break with a Key of the Breaks name ( set by the user in the GUI ) or as an ID number generated when the user inputs a new Break profile
      
    // You could store the current break as a BreakInfo reference or just a break  
    BreakInfo currentBreak;
    //Or
    Break currentBreak;
      
    
      
      
    
     

     

    The advantage of storing the Dictionary KeyValuePair is that you wont need to lookup the Break by Key in the Dictionary but seeing as looking up a key is actually a O(1) operation so it will always take.. eg 14 Nanoseconds no matter how big the dictionary gets, its not really an issue. Obviously the look up time negligible for a single use case like looking up break profiles once in a while ( whenever the user clicks ) but if it was for something running thousands of times a frame you'd obviously want to store the reference to BreakInfo itself.

     

     

    Devs HMU if you want a prototype break system. I could probably write one very quickly that is fully featured and has per account and per profile break settings.

    I do stuff in C# but you can easily re syntax it. I would just leave out the GUI calls and place comments where they should be.

     

    :)

    Link to comment
    Share on other sites

    • 1 month later...
    • 2 months later...

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.