Game Development Community

Best method for downloading patch content?

by Rodney (OldRod) Burns · in Torque Game Engine · 07/01/2004 (8:55 am) · 3 replies

I need a way for the client to connect to the login server when they sign in to play and the server scans what files they have and checks them against a master list (comparing timestamps or whatever). The server then sends out files as needed to bring the client up to date.

Has anyone done this in Torque yet?

Is there a relatively safe way that insures up to date files, but is quicker than doing a full CRC on every file?

#1
07/01/2004 (8:57 am)
Any particular reason you feel it is necessary to scan against every file each time? Why not just have a 'last update time stamp' file that if not in sync, it then scans every file?
#2
07/01/2004 (9:22 pm)
Rescanning every time can prevent viruses and cheating.

Have you looked at rsync? It's a good solution to this problem. Legends uses it.
#3
07/02/2004 (1:50 am)
I don't really want to scan every single time, but I don't want cheats either. I'll check out rsync, thanks Ben.