Thread: auto cache uploading + updating made easy

Results 1 to 6 of 6
  1. #1 auto cache uploading + updating made easy 
    Registered Member Killer 99's Avatar
    Join Date
    Dec 2007
    Posts
    1,484
    Thanks given
    171
    Thanks received
    503
    Rep Power
    414
    attached with a readme or you can dl it and use this...
    [NON RENAMED] if you want a renamed version please make it yourself i dont have time.
    i did this on my spare time.
    Hello, right now i will be showing you how to make cache uploading go so much more smoothly.

    Ok before we get started move all the java files with your other java files and compile it notice i sed java not class i sed JAVA.

    if you dont have jdk go find a tutorail and get it.

    if you dont have a client well your wasting your time.

    First off where gunna open the main Class...

    find...
    client client1 = new client();
    replace with client1 = new client();
    declare this below public class client extends Appetl_Sub1 {
    public static client client1 = null;

    Find...

    public final void method6()

    the under you see...

    if(signlink.sunjava)
    super.anInt6 = 5;
    if(aBoolean993)
    {
    }

    under that add...

    for (int s = 0; s < f.length; s++) {
    String cacheFiles[] = { "main_file_cache.dat", "main_file_cache.dat0", "main_file_cache.idx0", "main_file_cache.idx1", "main_file_cache.idx02", "main_file_cache.idx3", "main_file_cache.idx4" };
    String cacheLabels[] = { "Loading graphics", "Downloading config", "Loading models", "Loading interfaces", "Loading sounds", "Loading config", "Loading textures" };
    String cd = signlink.findcachedir();
    String cache = cacheFiles[i];
    String cL = cacheLabels[i];
    String s = "http://killerscapepk.com/client/cache/":
    new cacheUpdate(s+cache, cd+cache, Cl, false);
    }

    now.. if you have any other files in the cache just add the label and the file name and if you want to host your own cache (THANK GOD) well and way my website might not be hosting the main file cache any more since im upgrading to the update server i made so i sugest you MOVE IT... well any way IF you absolutly want to use a zip file you can.. just change the new cacheUpdate(s+cache, cd+cache, Cl, false); to new cacheUpdate(s+cache, cd+cache, Cl, true);

    and if you wanna use zip files and normaly files just make another new a(s+cache, cd+cache, Cl, false); but use true at the end for it to know.

    and this wont upload the cache over and over again if you think that.. if you put update in the cache on ur site im not gunna update mine im gunna delete it so make shure you move soon becuase soon i wont have it on my site. now this is a self explained system i made this on my spare time so appricate it.
    THANKY YOU
    - Killer 99...
    PS: i see any god damn posts with this stuff and directions in it i will shut my connector off for this file id which is 78 if you wanna crack it you wont anyway, you can touch and feel but you shall never STEEL...if (dipTard) DONT LEECH!
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jun 2007
    Posts
    117
    Thanks given
    0
    Thanks received
    0
    Rep Power
    87
    Pretty nice, r++, I'll add later.
    Reply With Quote  
     

  3. #3  
    ZachHaley
    Guest
    waste, theres already like 3 others of this and i wouldn't be surprised if its leeched just barely changed...
    Reply With Quote  
     

  4. #4  
    Web Design Nerd
    Mr Steadfast's Avatar
    Join Date
    Feb 2007
    Posts
    100
    Thanks given
    0
    Thanks received
    1
    Rep Power
    17
    Code:
    check.java:8: cannot inherit from final client
    public class check extends client {
                               ^
    loadingBar.java:3: cannot inherit from final client
    public class loadingBar extends client {
                                    ^
    client.java:6798: cannot find symbol
    symbol  : variable f
    location: class client
    for (int s = 0; s < f.length; s++) {
                        ^
    client.java:6802: cannot find symbol
    symbol  : variable i
    location: class client
    String cache = cacheFiles[i];
                              ^
    client.java:6803: cannot find symbol
    symbol  : variable i
    location: class client
    String cL = cacheLabels[i];
                            ^
    client.java:6804: s is already defined in method6()
    String s = "http://killerscapepk.com/client/cache/";
           ^
    client.java:6805: cannot find symbol
    symbol  : variable Cl
    location: class client
    new cacheUpdate(s+cache, cd+cache, Cl, false);
                                       ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    7 errors
    Press any key to continue . . .
    [Only registered and activated users can see links. ]
    Learn something useful. Learn Java, HTML, CSS, and web design.
    Reply With Quote  
     

  5. #5  
    Dutch Knight
    Explorz's Avatar
    Join Date
    Feb 2008
    Age
    27
    Posts
    519
    Thanks given
    10
    Thanks received
    6
    Rep Power
    90
    learn how to use [code] tag..
    Reply With Quote  
     

  6. #6  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,881
    Thanks given
    1,854
    Thanks received
    4,741
    Rep Power
    5000
    Thanks for gravedigging a year old thread.



    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

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
  •