Thread: Cache unzip

Results 1 to 10 of 10
  1. #1 Cache unzip 
    Registered Member rainedx's Avatar
    Join Date
    Mar 2017
    Posts
    53
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    heey rune server,

    i added a custom mediafire link in to my ruse based cachedownloader.java

    public class CacheDownloader {

    private static final String CACHE_FILE_NAME = "NecroticCache.zip"; //The name of the actual .zip file
    private static final String CACHE_URL = "http://download1338.mediafire.com/y4odsdpi5bhg/6vn1wwqv9qhq3yr/"+CACHE_FILE_NAME; //The url to the .zip file
    private static final String NEWEST_VERSION_FILE_URL = "http://necrotic.org/downloads/cache/cache_version.txt"; //The url to the current cache_versiont txt file
    private static final String CURRENT_VERSION_FILE = "cache_version.txt"; //The location of the local cache_version txt file


    when i delete the old cache from users/home it just download correctly at my own pc.
    but when i send it to a friend and he tries to download it he gets this popped up in the client screen : https://prnt.sc/o28joc
    it unpacks NecroticSettings but the cache doesnt unpack correct in user.home, because The loading percentages are also going fast and then the screen pops up and when it closes in 10 seconds it deletes the cache so its not unpacking/downloading the right way
    also when you just copy and paste the cache in user home , the client removes the cache
    so i think theres something wrong but i cant figure out what...

    Please can somebody help i think its not a hard fix but i cant figure out..

    Thanks

    Rick
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Nov 2017
    Posts
    46
    Thanks given
    46
    Thanks received
    44
    Rep Power
    0
    Quote Originally Posted by rainedx View Post
    heey rune server,

    i added a custom mediafire link in to my ruse based cachedownloader.java

    public class CacheDownloader {

    private static final String CACHE_FILE_NAME = "NecroticCache.zip"; //The name of the actual .zip file
    private static final String CACHE_URL = "http://download1338.mediafire.com/y4odsdpi5bhg/6vn1wwqv9qhq3yr/"+CACHE_FILE_NAME; //The url to the .zip file
    private static final String NEWEST_VERSION_FILE_URL = "http://necrotic.org/downloads/cache/cache_version.txt"; //The url to the current cache_versiont txt file
    private static final String CURRENT_VERSION_FILE = "cache_version.txt"; //The location of the local cache_version txt file


    when i delete the old cache from users/home it just download correctly at my own pc.
    but when i send it to a friend and he tries to download it he gets this popped up in the client screen : https://prnt.sc/o28joc
    it unpacks NecroticSettings but the cache doesnt unpack correct in user.home, because The loading percentages are also going fast and then the screen pops up and when it closes in 10 seconds it deletes the cache so its not unpacking/downloading the right way
    also when you just copy and paste the cache in user home , the client removes the cache
    so i think theres something wrong but i cant figure out what...

    Please can somebody help i think its not a hard fix but i cant figure out..

    Thanks

    Rick
    You need to upload your cache somewhere else, it must be a direct link so that your cachedownloader will be able to access and download the cache directly.
    Reply With Quote  
     

  3. #3  
    Registered Member rainedx's Avatar
    Join Date
    Mar 2017
    Posts
    53
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by DevMadara View Post
    You need to upload your cache somewhere else, it must be a direct link so that your cachedownloader will be able to access and download the cache directly.
    It does, when i copy and paste link in browser it auto downloads,
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Nov 2017
    Posts
    46
    Thanks given
    46
    Thanks received
    44
    Rep Power
    0
    Quote Originally Posted by rainedx View Post
    It does, when i copy and paste link in browser it auto downloads,
    Yeah, because that's "you". How about us? It doesn't download automatically for us, it's generating new download key. So, basically, that's happening to your friend so he can't properly download the cache.
    Reply With Quote  
     

  5. #5  
    Registered Member rainedx's Avatar
    Join Date
    Mar 2017
    Posts
    53
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by DevMadara View Post
    Yeah, because that's "you". How about us? It doesn't download automatically for us, it's generating new download key. So, basically, that's happening to your friend so he can't properly download the cache.
    Ooohh... so what should i change?
    Reply With Quote  
     

  6. #6  
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    Quote Originally Posted by rainedx View Post
    Ooohh... so what should i change?
    Don't you have a website? Upload it to your website. Dropbox is apparently an option as well. (there are many more of course)
    Why would you even use Mediafire to host your cache?
    Reply With Quote  
     

  7. #7  
    Registered Member rainedx's Avatar
    Join Date
    Mar 2017
    Posts
    53
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    ye i found the problem, mediafire doesnt work with ruse i did it on dropbox now and with dl=1 and its working fine ..

    sorry for this.. feeling stupid xd
    Reply With Quote  
     

  8. #8  
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    Quote Originally Posted by rainedx View Post
    mediafire doesnt work with ruse
    Doesn't have anything at all to do with Ruse. Mediafire doesn't work like that for any source.
    Reply With Quote  
     

  9. #9  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Code:
    http://download1338.mediafire.com/y4odsdpi5bhg/6vn1wwqv9qhq3yr/
    ->
    Code:
    http://download1338.mediafire.com/pmbakktukuag/6vn1wwqv9qhq3yr/
    would work as it is a direct download without extra steps aka what you need for your cache.
    However dropbox is easier to use and you can just change something at the end to be direct or not direct download.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  10. #10  
    Registered Member rainedx's Avatar
    Join Date
    Mar 2017
    Posts
    53
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by arch337 View Post
    Code:
    http://download1338.mediafire.com/y4odsdpi5bhg/6vn1wwqv9qhq3yr/
    ->
    Code:
    http://download1338.mediafire.com/pmbakktukuag/6vn1wwqv9qhq3yr/
    would work as it is a direct download without extra steps aka what you need for your cache.
    However dropbox is easier to use and you can just change something at the end to be direct or not direct download.
    yes mate i found out, but still thanks for this !
    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. Cache unzipping error.
    By Jishy in forum Help
    Replies: 3
    Last Post: 04-13-2013, 03:42 PM
  2. Cache unzips wrongly - help me - reward
    By Xanthus in forum Help
    Replies: 0
    Last Post: 06-04-2011, 01:15 PM
  3. [PI] Cache Unzipping Fix?
    By Hydroph in forum Help
    Replies: 0
    Last Post: 05-20-2011, 03:10 AM
  4. [PI] Need help with cache unzipping.
    By etf80 in forum Help
    Replies: 6
    Last Post: 04-18-2011, 07:42 PM
  5. Need help with cache unzipping (webclient)
    By drop down in forum Help
    Replies: 6
    Last Post: 10-20-2010, 02:34 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •