Jump to content
mangojkee

Auto Updater [program]

Recommended Posts

Auto-update program v1

1.png

Program for automatic client updates. Very easy to use.
 
How to use:
1) Throw the program in the folder with client;
2) Run;
3) Set up;
 -Version Patch (version for which is currently set to check the patch to the server, the server and its value will change when a new update available);
 -link to patch (file - zip, which contains all the necessary files you updates with the matching folder structure as the client);
 -link to ver.ini - file that will generate the same program, by pressing the save button, the file must also reside on the server and the client - pay attention to the version of the client should be less on the server respectively with each patch increases;
-link to changelog.txt - a text file that contains any information you want to be displayed in the "News", the file must be the same on the server;

2.png

All this can be done by you, an example of ver.ini, below.
Example generated ver.ini, for the client (server version value must be different!)

[Settings]
Patch=http://piratia-a.do.am/patch.zip
Ver=http://piratia-a.do.am/ver.ini
Changelog=http://piratia-a.do.am/changelog.txt
[Main]
Version=0.0

4) Throw all the necessary files to the server (patch.zip, ver.ini, changelog.txt)

As a result, we will get 2 files: ver.ini and Auto-update program v1.exe must to be expanded in the client.
 

 

The program auto-update v2 [server with dynamic ip]


 
Added function to check the current  ip address of the server and respectively substituted for the actual in serverset.bin. (Supports clients version 1.3x)
 
Using the auto-update program is similar to the previous version, there is one small feature:
In ver.ini file it will add one more line for editing which, added to the item meets both in the settings menu.

3.png

The process of inspection and replacement of the address takes place when you start the program, compare the value in ver.ini the client and server respectively, and being replaced in serverset.bin and ver.ini (the client).
Example ver.ini:

[Settings]
Patch=http://piratia-a.do.am/patch.zip
Ver=http://piratia-a.do.am/ver.ini
Changelog=http://piratia-a.do.am/changelog.txt
[Main]
Version=1.0
[Server]
IP=127.0.0.0

When replacing the client address, the program - show message:

4.png

 

Download - dropbox

 

Translate from russian by google translate.

Edited by mangojkee
  • Like 4

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...