1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug OSRS ChatDialog

Discussion in 'Developer Support' started by Party, May 28, 2016.

  1. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    ChatDialog calls on OSRS are very slow - I have noticed that calls can take upwards of 4500ms each.

    This seems to happen specifically around getting ChatDialog#getOptions() and iterating through them.

    @Vaped @SlashnHax
     
  2. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    @Party, my advice is probably wrong, but why not just set ChatDialog.getOptions() to an array and then iterate through it?
    I dont know if you are doing that already, but i figure i'd try to help, since ChatDialog.getOptions() is only taking about 500ms on my computer...
     
  3. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    I've sped it up by doing that.
     

Share This Page

Loading...