Client Server Updater software
by Thomas Tomo Larsen · 06/15/2005 (12:22 am) · 21 comments
Here is a simple client / server solution I have made to synchronize client with updates from a server.
It will transfer all new and changed files from a server to the clients. (wav, dso, dif, mis etc.)
The software is easy to use and setup. We have used it for a while now in our project, and it seems to work fine.
If you find any bugs please tell me and I will se what I can do about it.
Use at your own risk.
www.tomosoft.dk/downloads/updater.zip
Full source code:
www.tomosoft.dk/downloads/UpdaterSource.zip
Hint:
If you get a lot of disconnects while downloading using the updater client, change Connect(2000) to Connect(5000) in the source code.
It will transfer all new and changed files from a server to the clients. (wav, dso, dif, mis etc.)
The software is easy to use and setup. We have used it for a while now in our project, and it seems to work fine.
If you find any bugs please tell me and I will se what I can do about it.
Use at your own risk.
www.tomosoft.dk/downloads/updater.zip
Full source code:
www.tomosoft.dk/downloads/UpdaterSource.zip
Hint:
If you get a lot of disconnects while downloading using the updater client, change Connect(2000) to Connect(5000) in the source code.
#2
06/15/2005 (8:12 am)
Meh, with Norton Internet Security 2005, even though I click "Allow All Connections" for Updater_Server.exe, any client get's the "Connection Timed Out" error. Unless of course I use a LAN IP (192.168.1.101). But if I use my real IP, it times out. Ah well, good thought. ;)
#3
No source code is provided and thus the word "Code:" is very misleading.
Really good resource, nevertheless. Nice work Thomas.
06/15/2005 (8:15 am)
GG should change the headline of this resource to reflect what it actually is, though.No source code is provided and thus the word "Code:" is very misleading.
Really good resource, nevertheless. Nice work Thomas.
#4
What is your specific setup?
For example:
I am testing it on a windows XP Pro box. This box is behind my firewall. I set port forwarding on my firewall to allow traffic to my XP Pro box on a specific port. Works well.
You might try to open a specific port with Norton. Just a thought.
@Stefan
In his documentation in the .zip he states it's done in Delphi 7 and he'll send you a copy of the program. I'm not certain if that means "source" or not. I assume so, since the actual programs are already included in the .zip. .... but you know what happens when one assumes.. :P
Tim
06/15/2005 (8:16 am)
Chris,What is your specific setup?
For example:
I am testing it on a windows XP Pro box. This box is behind my firewall. I set port forwarding on my firewall to allow traffic to my XP Pro box on a specific port. Works well.
You might try to open a specific port with Norton. Just a thought.
@Stefan
In his documentation in the .zip he states it's done in Delphi 7 and he'll send you a copy of the program. I'm not certain if that means "source" or not. I assume so, since the actual programs are already included in the .zip. .... but you know what happens when one assumes.. :P
Tim
#5
06/15/2005 (12:46 pm)
Ah, I didn't read the document.. Thanks Tim.
#6
Making it run an .exe specified in the .ini file after the update is complete would make this a plug and play resource for online Torque games.
Ari Rule
06/18/2005 (7:04 pm)
Nice, I'm writing one in VB at the moment.Making it run an .exe specified in the .ini file after the update is complete would make this a plug and play resource for online Torque games.
Ari Rule
#7
This could easely be added to the resource if you wan't.
Another quick a dirty solution to this, is to start the updater_Client.exe from a .bat file and in the second line of this .bat file specify your .exe file.
Anyway, send me a mail if you wan't the resource changed to add this feature.
Thomas
06/19/2005 (4:01 am)
Hi Ari Rule.This could easely be added to the resource if you wan't.
Another quick a dirty solution to this, is to start the updater_Client.exe from a .bat file and in the second line of this .bat file specify your .exe file.
Anyway, send me a mail if you wan't the resource changed to add this feature.
Thomas
#8
07/15/2005 (5:19 am)
Nice idea, but am I right in assuming that this runs as a stand-alone program? Why not just have Torque do the job itself?
#9
11/19/2005 (2:13 pm)
This is a really interesting resource.. I always wondered how these things work.. Is there a text file on the server that declares what the latest files are or does it compare the date/time stamp?
#10
In the download zip file there is a Word document describing how it works in basic.
Also if you want the Delphi source code for both the Server and the Client, it
11/20/2005 (2:12 pm)
Hi John.In the download zip file there is a Word document describing how it works in basic.
Also if you want the Delphi source code for both the Server and the Client, it
#11
I'm wondering.. why does the server create the text file with the files it has available in step 1 every time a client connects. Wouldn't it be better to have it only done once by the admin when the server has been updated? Like after they do an update, they run a program that generates the list?
Thanks
11/20/2005 (5:20 pm)
Hi, thanks for your quick response Thomas!I'm wondering.. why does the server create the text file with the files it has available in step 1 every time a client connects. Wouldn't it be better to have it only done once by the admin when the server has been updated? Like after they do an update, they run a program that generates the list?
Thanks
#13
06/27/2006 (9:04 am)
Can someone mail me this file or host it somewhere else? The link appears to be broken.
#14
Sorry. My Computer has been on holiday.
FTP Server up and running again. :-)
Thomas
07/01/2006 (6:42 am)
Hi Kyle.Sorry. My Computer has been on holiday.
FTP Server up and running again. :-)
Thomas
#15
Please can soemone eamil this for me too!!! I think its what my team needs!
Thanks soooo much!
03/23/2007 (12:54 pm)
Hi,Please can soemone eamil this for me too!!! I think its what my team needs!
Thanks soooo much!
#16
08/09/2007 (8:26 pm)
Does someone seem to have this file? The link is borken :( and its way past christmas ;)
#18
12/09/2007 (10:08 pm)
Please re-upload!
#19
New upload has been made.
Source code is now also availble for download.
Kind regards
Thomas
12/10/2007 (1:13 am)
Hi Robie.New upload has been made.
Source code is now also availble for download.
Kind regards
Thomas

Torque 3D Owner Tim Muenstermann
Thanks
Tim