Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Encoded

Should non-repeating breaks taken into account break time?

Break Handler  

12 members have voted

You do not have permission to vote in this poll, or see the poll results. Please sign in or register to vote in this poll.

Question

Posted (edited)

Currently non-repeating breaks happen based on the start time of the script. So if you set the script to break for a minute after 5 minutes of run time and then another minute after 10 minutes of run time, the second break will occur at 10 minutes rather than 11 minutes. The proposed change is for the break to happen at 11 minutes.

 

In other words the current calculation is just time ran and the proposed calculation is time ran + time spent breaking.

Edited by Encoded

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
Posted (edited)
31 minutes ago, Encoded said:

.....The proposed change is for the break to happen at 11 minutes.

Did you mean 16 minutes?

Because 11 is even more confusing than the current way handling breaks.

 

I suggest making non-repeating breaks independent of each other meaning that after the first break end the break time resets.

Edited by reanox

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)
10 minutes ago, reanox said:

Did you mean 16 minutes?

Because 11 is even more confusing than the current way handling breaks.

No.

You have two breaks. One occurs at 5 minutes and lasts for 1 minute. The second occurs at 10 minutes and the time of that break is irrelevant for this example.
Your break profile would be something like this
image.png.925877771ca64d1e4a9ace462b921e0e.png

5 minutes have passed since you started the script so the first break happens. The break ends and it is now 6 minutes since you started the script, but you've only been in game running the script for 5 minutes because you were logged out for a minute. 
So now 10 minutes have passed it and it takes the second break. When the second break occurs you will have only been running the script for 9 minutes since you were taking a break for 1 minute.

The change is so that the 1 minute of breaking would not be included in the run time. The second break would occur 11 minutes (time ran + time spent breaking) after script start in this example rather than 10 with the break profile shown above.

Edited by Encoded

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Chef Sk1llz said:

I thought it was already like this so thank you for letting me know it isnt might have to adjust the breaks I have keyed. 

Repeating breaks are calculated off of the end of the break rather than run time. This only affects non-repeating breaks.

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)
11 hours ago, Encoded said:

No.

You have two breaks. One occurs at 5 minutes and lasts for 1 minute. The second occurs at 10 minutes and the time of that break is irrelevant for this example.
Your break profile would be something like this
image.png.925877771ca64d1e4a9ace462b921e0e.png

5 minutes have passed since you started the script so the first break happens. The break ends and it is now 6 minutes since you started the script, but you've only been in game running the script for 5 minutes because you were logged out for a minute. 
So now 10 minutes have passed it and it takes the second break. When the second break occurs you will have only been running the script for 9 minutes since you were taking a break for 1 minute.

The change is so that the 1 minute of breaking would not be included in the run time. The second break would occur 11 minutes (time ran + time spent breaking) after script start in this example rather than 10 with the break profile shown above.

This makes sense.

 

 

image.png

Edited by reanox

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • This update features:

      Fixed broken hooks from today's update


      Fix wilderness level with RuneLite (Thanks @Todd)


      Add support for Kotlin .class files in scripts (Thanks @wastedbro)


      Overhaul Inventory API (Thanks @wastedbro)


      Add List support for common methods


      Change method grouping to make more sense (by functionality)


      Refactor methods to utilize Java 8 streams instead of cumbersome loops




      Recognize chatbox minimization (Thanks @JoeDezzy1)


      Fix Screen#isInViewport when NPC chat is open (Thanks @JoeDezzy1)


      Fix login bot bugs (Thanks @erickho123)


      Fix hint arrow return values (Thanks @Encoded)


      Fix depositAllExcept functionality (Thanks @wastedbro)


      Change containing box interface bound and adjust for Y values (Thanks @erickho123)
      • 151 replies
    • This release will:

      Fix prayers and world hopper API (Thanks @JoeDezzy1 and @erickho123)


      Improve banking API (Thanks @Encoded)


      Adds methods for returning and using Java Lists, rather than arrays


      Slightly randomizes some hardcoded behaviour


      Removes sleeps from waitConditions; the efficiency saving potential is negligible in these use-cases, therefore cleaner code is preferable


      Other back-end improvements





      Note: If you are using LG, please restart both the RS client and TRiBot.
      • 90 replies
    • This release will:

      Add new internal framework for capturing exceptions


      Fix issue with not selecting the last column in world hopper (Thanks @Todd)


      Add a message about pin usage in Banking#openBank (Thanks @Todd)


      Disable the firewall by default (Thanks @Todd)


      Fix handling of the welcome screen after login (Thanks @Encoded)


      Fix wrong amount bank withdrawal (Thanks @Encoded)


      Fix Screen#isInViewport


      Fix Game#isInViewport (Thanks @Encoded)


      Call onBreakEnd for ListenerManager Breaking Listeners (Thanks @Encoded)


      Fix Prayer#getPrayerPoints NumberFormatException (Thanks @JoeDezzy1)



      Note: If you are using LG, please restart both the RS client and TRiBot.
      • 28 replies
    • This release will:

      Fix LG for both OSBuddy and RuneLite


      Fix issue where the resizable client isn't able to be made smaller (Thanks @JoeDezzy1)


      Fix detection of the logout game tab when resizable mode and side panels are enabled (Thanks @JoeDezzy1)


      Add initial support for Sentry to allow us to identify and easily debug exceptions happening with all TRiBot users


      Add methods to determine if the bank is actually loaded, and not just the overarching interface (Thanks @wastedbro)



      Upcoming updates:

      Improved CLI support


      Full Sentry support


      Much more
      • 64 replies
    • This release will:

      Fix NPE in Camera API (Thanks @wastedbro)


      Update deposit box interface ids (Thanks @Encoded)


      Add various bank methods (Thanks @wastedbro)


      Banking#getWithdrawXQuantity


      Banking#getDefaultWithdrawQuantity


      Banking#arePlaceholdersOn




      Fix resizeable minimap bug (Thanks @wastedbro)


      Remove Java 8 requirement


      Please note: TRiBot is not yet fully compatible with Java 10+




      Fix the break handler issues by ensuring the break handler thread never gets paused


      Fix broken settings hooks



      Upcoming updates:

      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
      • 68 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...