Jump to content

Dialog section of my script slows to a crawl over time but fixes if I pause/unpause


Recommended Posts

Posted (edited)
public int onLoop() throws InterruptedException {
    if(getDialogues().inDialogue()) {
        if(getDialogues().isPendingContinuation()) {
            getDialogues().clickContinue();
        } else if(getDialogues().isPendingOption()) {
            getDialogues().selectOption(1);
        }
    }

    return random(1000, 1500);

 

I cut out the part where it talks to the NPC, but this is the gist of it. After like 5 minutes the dialog click through slows down to doing the interaction like once every 5-10 seconds. If I pause and unpause the script it goes back to regular speed. Just trying to figure out why it slows down so much. Is there something wrong with this?

Edited by aeikonic

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...