1.

Solve : Automatic updater?

Answer»

Hey I'm pretty rusty on dos but I had an IDEA the other day and I thought Id share it with you guys to see if it is doable. Basically I have this game that stores client side data. I will be running the sever the clients connect to but I need to DEVISE a WAY to ensure all clients have up to date client data. I have been trying to think of a user friendly way to allow a batch file to trigger before the client to check for updates and download only if the files on the client side are different than those on the server side. Is this possible? If so any ideas?

Seems like it could work. What kind of server is it? My guess is that it is an FTP server. I think it would be nicer to code it as an actual program though, not just a batch because you are adding it to your game.

If you are sure about the batch, look here: http://www.robvanderwoude.com/ftp.php

Otherwise, I would use the wininet.dll API as part of your game.Heh yeah, i looked a LITTLE to messy to do with a batch and I actually ended up routing my updates though dropbox with some quick python work. Thanks for the reply though http://pastebin.com/vqiF5zHE WELL thats the rough draft anyway Ill clean it up a bit hopefully.



Discussion

No Comment Found