Thread: Client Quest Tab CS2 File Loading Speed

Results 1 to 4 of 4
  1. #1 Client Quest Tab CS2 File Loading Speed 
    Renown Programmer
    Greg's Avatar
    Join Date
    Jun 2010
    Posts
    1,179
    Thanks given
    260
    Thanks received
    1,012
    Rep Power
    2003
    I'm deep in a rabbit hole and could use a hand.
    Long story short on loading the quest tab interface, the client fires cs2 script 2165. On my 667 it takes 2.1s on a 666 it takes 0.35s
    Debugging the clients I found 666 is using Inflater to decompress a number of files in cache index 26 each taking 1ms ea where the 667 is decompressing the same files using the inbuilt Class90 decompression which takes 11ms each. (Node_Sub38_Sub26.java getPayload)

    As this is fired 150k-200k~ times the difference adds up

    Example of a used file is id 526

    So I assume this is because one cache is decrypted and repacked and the other is not, can anyone confirm or shead any light?

    Source is https://www.rune-server.ee/runescape...nt-github.html
    Attached imageAttached image
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Dec 2009
    Posts
    774
    Thanks given
    367
    Thanks received
    455
    Rep Power
    927
    Did you compare the scripts them selves? A container/archive in the cache is only being decompressed once. After that the read data is being saved in a 2D object array (depending on which revision you're on though).
    link removed
    Reply With Quote  
     

  3. #3  
    Renown Programmer
    Greg's Avatar
    Join Date
    Jun 2010
    Posts
    1,179
    Thanks given
    260
    Thanks received
    1,012
    Rep Power
    2003
    Quote Originally Posted by Admiral Slee View Post
    Did you compare the scripts them selves? A container/archive in the cache is only being decompressed once. After that the read data is being saved in a 2D object array (depending on which revision you're on though).
    Yes scripts are 100% identical, this script is only ever called when the quest tab is loaded for the first time but aren't caches cleaned on logout? so it happens every time you login.

    The fact that I can knock of 3s off login speed by not having the quest tab used is crazy, but id rather find the real solution.
    Attached imageAttached image
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Dec 2009
    Posts
    774
    Thanks given
    367
    Thanks received
    455
    Rep Power
    927
    Quote Originally Posted by Greg View Post
    Yes scripts are 100% identical, this script is only ever called when the quest tab is loaded for the first time but aren't caches cleaned on logout? so it happens every time you login.

    The fact that I can knock of 3s off login speed by not having the quest tab used is crazy, but id rather find the real solution.
    I have no idea. Did you try another 667 cache?
    link removed
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 9
    Last Post: 01-04-2011, 06:46 PM
  2. 508 loading 525 Quest tab Fix.
    By shassan in forum Snippets
    Replies: 12
    Last Post: 03-27-2010, 12:17 AM
  3. Making Quest Tab Into A Information Tab
    By hyper in forum Tutorials
    Replies: 4
    Last Post: 09-20-2008, 12:47 AM
  4. Achievement Diary/quest tab switch
    By =(Kajakas)= in forum Tutorials
    Replies: 14
    Last Post: 07-11-2008, 07:07 PM
  5. To make use off the quest tab
    By bluurr in forum Tutorials
    Replies: 4
    Last Post: 06-07-2007, 05:22 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •