Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra 2 / Rising Storm Forums > RO2/RS General > Ideas and Suggestions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-15-2012, 09:23 AM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is offline
Senior Member
 
Join Date: Sep 2011
Posts: 857
Default Add file hash key in Cache.ini

Looks like players have to manually clear their cache if there are name conflicts. This is unacceptable that the user has to do this, so a fix is required.

Please add a hash key entry in the cache.ini, for each downloaded file. The server should not only tell which file to download, but also transmit the checksum of the file. Before loading an already downloaded file, the client would automatically verify that it has the correct hash key. If not, it will download the new file.
Reply With Quote
  #2  
Old 07-15-2012, 02:05 PM
r5cya's Avatar
r5cya r5cya is offline
Senior Member
 
Join Date: Jan 2011
Location: San Bruno, California
Posts: 4,760
Default

yes! please! do it now! or i drive my IS2 to Georgia!
Reply With Quote
  #3  
Old 07-15-2012, 04:51 PM
Mike_Nomad's Avatar
Mike_Nomad Mike_Nomad is online now
Senior Member
 
Join Date: Feb 2006
Location: Florida, USA
Posts: 4,495
Default

And delete the old file(s).
__________________
Regards,

Reply With Quote
  #4  
Old 07-15-2012, 05:05 PM
I. Kant's Avatar
I. Kant I. Kant is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,495
Default

Quote:
Originally Posted by r5cya View Post
yes! please! do it now! or i drive my IS2 to Georgia!
Free Osetia and Abkhazia from Russian occupation! Sakartvelo power!
__________________
Nie stój w bramie, gdy krowa ryczy!
SteamID: AThousandD
Reply With Quote
  #5  
Old 07-15-2012, 05:11 PM
Ducky's Avatar
Ducky Ducky is online now
Moderator
 
Join Date: May 2011
Location: Netherlands
Posts: 2,727
Default

Quote:
Originally Posted by -=THOR=- View Post
Looks like players have to manually clear their cache if there are name conflicts. This is unacceptable that the user has to do this, so a fix is required.

Please add a hash key entry in the cache.ini, for each downloaded file. The server should not only tell which file to download, but also transmit the checksum of the file. Before loading an already downloaded file, the client would automatically verify that it has the correct hash key. If not, it will download the new file.
The hash used for the files in cache does contain more info than just the file name. You can try it out by building a mutator. Start a server with that mutator and connect to it. Next rebuild the same mutator and do the same procedure. You will now see 2 files in the cache. In you open the cache.ini file, then you will see that both those hashed files do have the same original file name.
Reply With Quote
  #6  
Old 07-15-2012, 05:17 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is offline
Senior Member
 
Join Date: Sep 2011
Posts: 857
Default

Quote:
Originally Posted by Ducky View Post
The hash used for the files in cache does contain more info than just the file name. You can try it out by building a mutator. Start a server with that mutator and connect to it. Next rebuild the same mutator and do the same procedure. You will now see 2 files in the cache. In you open the cache.ini file, then you will see that both those hashed files do have the same original file name.
Hmm maybe it's just a bug then, that people have to manually clear their cache...
Reply With Quote
  #7  
Old 07-15-2012, 06:08 PM
Ducky's Avatar
Ducky Ducky is online now
Moderator
 
Join Date: May 2011
Location: Netherlands
Posts: 2,727
Default

Quote:
Originally Posted by -=THOR=- View Post
Hmm maybe it's just a bug then, that people have to manually clear their cache...
I think the problem occurs when a map requires a secondary upk file. The engine will probably try to load that file based on file name. The correct one is in the cache, but it does not know which one to load or maybe it will load the first one found in the cache.ini file (that file expands to the end).
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:54 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC