Thread: adding autochache downloader.

Results 1 to 5 of 5
  1. #1 adding autochache downloader. 
    Registered Member
    Join Date
    Jun 2014
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    so i am gonna show you how to added your automatic cache downloader on your server, this is my first time making a tut. so please comment on how i can improve or if i did good

    difficulty 1/10.
    now what you need..

    Note: make a copy from your client and Cache for if u mess something up.
    1. dropbox.
    2. client files.
    3. Cache. (place on desktop to make it more easy for urself)
    so step 1. Making a dropbox account or log in on ur dropbox.

    So u go to www.dropbox.com and make your account or log in to your account.

    after that u get something like this,



    i Got a Cache already added that's why i have something into it normally it will be empty we are going to place something into in.

    now we are going to your cache since this is the one we want to added.

    go into your cache map so u get something like this.



    okay if u got something like this than ur good (names can be differn't but please go into your map and not use the map itself! )

    now you gonna do the fellowing steps.
    - select it all.
    - right click.
    - added to archive. (not including the name else u get a .rar and we want a .zip)

    if u did this right u get the fellowing screen.



    as you see it says "myserver.zip" on the picture yours will be "myserver.rar" (myserver = servername u use)

    as you see under that i made a some sort of circel on "zip" click on that one if that's not selected already now it will chance into "myserver.zip".

    now press "ok(ay)" now it will be placed on the place where u Cache is, if u did like i have it will be on ur desktop (if u did place ur Cache there)

    Great job! we have "myserver.zip" now we are going to added it to dropbox.

    so open up your dropbox again and click on the " + " where i did put a circle around on the first picture also see picture here under if u dont wanna scroll up



    Chooce the .zip file u just maked and let it dropbox save it in for u. since is gonna take some time.

    after that we are going to want a link to put in our "autocachedownloader" so your client knows what link he needs.

    so we are gonna share it, see picture.



    Mine is dutch so "delen = share"

    now it will make a link like this,

    https://www.dropbox.com/s/0naj135tef...erver.zip?dl=0


    so copy that one.

    Now go to your client files.

    and search for "cachedownloader.java" or "autocachedownloader.java" (autocachedownloader is 9/10 for me it is named cachedownloader)

    open it up and search for,

    Code:
    String cacheLink = "replace this one";
    so i already putted in here "replace this one" this where a link is already added but we dont want that one we want our link!

    so the link u maked with dropbox and did copy is gonna come on the place i putted "replace this one"

    so it will look like this,

    Code:
    String cacheLink = "https://www.dropbox.com/s/0naj135tefiv31o/myserver.zip?dl=0";
    got this? great but there is more.

    we are going to chance the link a little so u get this,

    Code:
    String cacheLink = "https://dl.dropbox.com/s/0naj135tefiv31o/myserver.zip";
    the "www=dl" and after .zip can be deleated. (if u dont do this it wont download!)

    so got that? Great now it downloads automatic already.

    time for the last thing so your autodownloader works.

    save your autocachedownloader first and compile to be 100% u diddn't forget anything.

    now you want to open up "signlink.java" (also in your client files)

    we now need to search for name of the cache it did had.

    do CTRL+F and than search for the Cache name it did use.

    if u dont know go search for,

    Code:
    ("user.home") + "/?????/");
    now we are gonna replace the name i did putted it here as ????? we are replacing that with the name of your Cache that u make a zip file from. Hint: copy the name of your .zip cache

    and place it on the place from the "?????"

    so u get this.

    Code:
    ("user.home") + "/myserver/");
    than a few lines under this u see the same coding.

    Code:
    ("user.home") + "/?????/");
    Do the same as before chance it into,

    Code:
    ("user.home") + "/myserver/");
    than a few lines under that u see something like this,

    Code:
    new File("c:/??????/");
    do the same as before chance the "?????" into your Cache name so u get something like this,

    Code:
    new File("c:/myserver/");
    save it and compile it again.

    Now ur autodownloader needs to work fine.

    to try this out to be 100% sure it works, be sure to place the cache u did use (if u whas passble) to put that on ur desktop.

    than open up ur client and it shall needs to download automatic your cache this can take some time. Aslong u dont get any errors than your fine.

    I hope i helped evryone who doesn't know how to do this and that the now know how it works (a little.)

    I am hope to hear from evryone if this guide whas good or if i can improve some thing alwais open for it.

    Ps: I am learning java also and only know alot of basics so dont expect very difficult things from my guides

    if this helped you out, or if you think pretty nice guide please leave a "thanks"
    Reply With Quote  
     

  2. #2  
    Registered Member Devo's Avatar
    Join Date
    Aug 2013
    Age
    25
    Posts
    514
    Thanks given
    38
    Thanks received
    47
    Rep Power
    70
    Been released, but I'm sure some people could benefit off of this tutorial for a more understandable version.

    Reply With Quote  
     

  3. #3  
    oof


    Join Date
    Aug 2012
    Posts
    3,150
    Thanks given
    2,847
    Thanks received
    857
    Rep Power
    2260
    Classified Dropbox file????

    Could've atleast made a tutorial for a client that uses UpdateCache because CacheDownloader is really bad
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2014
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Vesia View Post
    Classified Dropbox file????

    Could've atleast made a tutorial for a client that uses UpdateCache because CacheDownloader is really bad
    Thanks for reply i will look on to make a improved guide in the near future
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2014
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Devo View Post
    Been released, but I'm sure some people could benefit off of this tutorial for a more understandable version.
    Thanks for the positive feedback
    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: 2
    Last Post: 02-27-2013, 03:23 AM
  2. added auto cache downloader, got errors.
    By SpecRamPaGE in forum Help
    Replies: 0
    Last Post: 04-10-2012, 02:24 PM
  3. Adding perfect cache downloading! NO J-FRAME!
    By Colby in forum Tutorials
    Replies: 42
    Last Post: 07-07-2009, 03:37 AM
  4. Added "Music" Section to Downloads Forum
    By Dharma Initiative in forum Suggestions
    Replies: 3
    Last Post: 04-12-2009, 03:56 PM
  5. [TUT]Adding Downloaded Models[TUT]
    By Olly-B-J in forum Tutorials
    Replies: 5
    Last Post: 10-19-2008, 04:15 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •