View Single Post
  #20  
Unread 23rd March, 2012, 06:50 PM
PizzaMan's Avatar
PizzaMan PizzaMan is offline
Holy Shit!!
 
Join Date: Jun 2004
Location: Bergen - Norway
Posts: 2,389
Default

Quote:
Originally Posted by back4more View Post
..maybe something like this could be used to fixed mismatches?..

http://stackoverflow.com/questions/7...for-comparison
But how would the script know the hash for the file that you want to download, or even the size? The UT server only requests the file by name. You can see it in-game when the download is finished before it reaches 100 % (where 100 % is the size of the uncompressed file).

You would need to write a mutator that does a quick CRC on the file on the UT server, and then talks to the script which in turn downloads each possible file to the web server, then uncompresses it, then performs a CRC on them all until it finds the correct file... and finally lets the client download it *pew*
Reply With Quote