Thread: [Creativescape How does the auto updater work?

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 [Creativescape How does the auto updater work? 
    Registered Member
    Join Date
    Jun 2010
    Posts
    129
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Fixed.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2010
    Posts
    129
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Bump
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2010
    Posts
    129
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Anyone? ..
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2010
    Posts
    129
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Bump!
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Mar 2010
    Posts
    1,048
    Thanks given
    239
    Thanks received
    226
    Rep Power
    0
    Look for cacheDir and that should answer your question. Upload the link to your website, then change the present link with that one (client.java).
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2010
    Posts
    129
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    I was just asking if this was an autoupdater, the cache version crap.

    I already know how to make people download my cache, lol.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Apr 2008
    Posts
    150
    Thanks given
    4
    Thanks received
    2
    Rep Power
    5
    Quote Originally Posted by `The One View Post
    Look for cacheDir and that should answer your question. Upload the link to your website, then change the present link with that one (client.java).
    do you see a link part in that code?

    "I could be wrong what this means, but I absolutely SUCK with client side work so please, can anyone kindly tell me what this code does, or even if it IS a auto updater lol. I am just trying to understand it more (Not interested in hosting my own server, no time for that ladies and gents)" he's only looking to see how this works..



    ontopic: well i believe that takes the version in the client and compares it to the .dat file in the cache and if its off it will download the new cache from the link provided, its not all there and i could be wrong hopefully someone can correct me also sorry i noticed you already posted but i wanted to make my point.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2010
    Posts
    129
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Thats what I thought, but I am not to sure how it works...
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Apr 2008
    Posts
    150
    Thanks given
    4
    Thanks received
    2
    Rep Power
    5
    well if you look most of it is just functions that return stuff but the real magic is in File version = new File(getCacheDir() + "cacheVers" + getCacheVersion() + ".dat");
    of which i believe tells it to get cache dir (link) and cache version and getcacheversion (2 different versions to compare with i think) and then the dat.. so i dont know entirely either
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Jun 2010
    Posts
    129
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Yea I hear you.

    Theres also 3 cacheverion.dat files in my cache folder..

    cacheVer1.dat
    cacheVersion1.dat
    cacheVersion2.dat
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

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