Update Helper
#1

Hello, I am working on an application to facilitate the process of creating updates, it is in alpha stage so it is possible that there are errors (none dangerous should not delete system32, but you never know), it is quite simple to operate

° Open the application and define the path of your game client.

° In the Actions menu, precious Stage 1 (Start), this will start a file system watcher, when you finish editing your client's files, go back to precious Stage 1 (Stop) this time, with that you will have created your list of files for the update .

° After completing the first stage, stage 2 will be enabled, this stage will be in charge of copying the files from the list to a temporary folder.

° Once you have your files copied, stage 3 will be enabled, this will be in charge of making different preliminary checks, then it will create the ZIP file and version.txt, if these 2 files are uploaded to the ftp server, the values will be updated in the database data. More information soon.

Notes


To avoid external problems, remember to give all the permissions to the ftp user. Verify that the defined path really exists, the application will not create folders.


If the file 'version.txt' is missing, one will be automatically created with the value 0 by default.


If the table 't_clientversion' is missing, it will be created automatically, the columns a_min and a_max will also be created. And they will be assigned 0 as the default value.


2

2

Sorry for my bad english

#2

Update Helper 2022/3 (Beta)

This version is completely different, I have tried to simplify the application as much as possible, it is in beta stage, so some failure/error is to be expected.



Setting:

1) You must define the path to the work folder. (Example: D:\myfiles\lc_client)

2) Set up your FTP server. You must create a user, assign a home folder and give all permissions to that user.

3) For example, you can define your home folder as follows: "www/lc_update". Inside the lc_update folder there must be a patches folder. Inside the patches folder there should be the version.txt file. Next to this the .zip files will be loaded.

4) Finally in the Settings.ini file you must configure ip, username and password to establish the connection to the FTP Server. (The FTPPath value can be left as default, if you use the previously mentioned folder structure)

5) You must configure the data to be able to establish the connection with the Database Server. (Upon successful completion of the "Push Update" process, the value of the a_min column in the t_clientversion table will be altered)

Once you have done all the configuration, run the application (It is recommended to run it as Administrator, otherwise it may not work)

How to Use:

Once the application is open, it is as simple as pressing the "Watch Directory" button. And start working on your folder, whenever any change is detected in the files within the defined path, the application will add the file/folder path to the list. You can clear the list, or remove items from the list, when you finish working. You have 2 options:

Option 1) Press "Create Patch File", This will create a .zip file with all the items on the list.

Option 2) Press "Push Update", This will create a .zip file. It will upload to your FTP server. After it will update the value inside the version.txt file and the value of the a_min column in t_clientversion.

 

2

2

It may be a bit of a rushed release.



Forum Jump:


Users browsing this thread: 1 Guest(s)