Raised This Month: $ Target: $400
 0% 

Force client to download/overwrite a file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flynn
Senior Member
Join Date: Sep 2009
Old 10-01-2009 , 01:35   Re: Force client to download/overwrite a file
Reply With Quote #1

Quote:
Originally Posted by =MaTi= View Post
I'm using AddFileToDownloadsTable to make the clien't download the file, but the file won't be downloaded if it already exists, even if it's just an empty file.
One of several ways I know of:

1) Update the filename to reflect the version number (doesn't guarentee the file is 'okay' though)
2) Enforce pure 1, use the white-list to perform a crc_check on the file - players with dud or out of date files will not be able to connect until they delete it.
3) Enforce both of the above, players with out of date files won't have to manually delete the file and players with dud files won't be able to play.
Flynn is offline
Send a message via MSN to Flynn Send a message via Skype™ to Flynn
Reply



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 18:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode