Bug OSRS ChatDialog

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

  1. Party

    Party The Favourite

    Joined:
    Oct 12, 2015
    Messages:
    1,757
    Likes Received:
    564
    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 Dawg -> Awesome

    Joined:
    Jan 31, 2016
    Messages:
    1,660
    Likes Received:
    386
    @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 The Favourite

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

Share This Page

Loading...