Differences
This shows you the differences between two versions of the page.
| en:installation_d_un_serveur_de_patchs [2016/11/22 22:39] – [How it works!] Domperss | en:installation_d_un_serveur_de_patchs [2021/12/03 18:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== How it works! ===== | ===== How it works! ===== | ||
| - | The patching commences when the client(**on startup**) compares it's own **Lirria.version**(residing in folder: ''/ | + | The patching commences when the client(**on startup**) compares it's own **Lirria.version**(residing in folder: ''/ |
| **IF** the patch version(of this file) has a: + value(**bigger value**), the client then receives the updated content | **IF** the patch version(of this file) has a: + value(**bigger value**), the client then receives the updated content | ||
| - | to it's folder: ''/ | + | to it's folder: ''/ |
| It then **unpacks** the " | It then **unpacks** the " | ||
| Line 85: | Line 85: | ||
| ~/ | ~/ | ||
| </ | </ | ||
| - | |||
| - | Detailed " | ||
| And now, we will simply create the implementation of the file: '' | And now, we will simply create the implementation of the file: '' | ||
| - | Our configuration file will look like this: | + | |
| + | <WRAP center round info 90%> | ||
| + | Now you need to(if you haven' | ||
| + | This because the patch service needs to know WHAT files to offer to the client(as an update). | ||
| + | |||
| + | Detailed " | ||
| + | It explains how to configure the file for proper operation. | ||
| + | This guide will continue with the DEFAULT example below(and is only for testing purpose). | ||
| + | </ | ||
| + | |||
| + | |||
| + | Our(DEFAULT) | ||
| <code xml ryzom.xml> | <code xml ryzom.xml> | ||
| <xml> | <xml> | ||
| Line 150: | Line 159: | ||
| </ | </ | ||
| - | <WRAP center round info 90%> | ||
| - | OBS: It is possible that you will encounter a warning during this operation, but it is not considered | ||
| - | a serious one(so just ignore it): | ||
| - | |||
| - | WRN a8ded740 patch_gen_common.cpp 59 GeneratePatch < | ||
| - | |||
| - | Of importance here is to get to the end: '' | ||
| - | </ | ||
| === Creating the Release Note === | === Creating the Release Note === | ||
| - | Now, let's continue and create a info file(at the root directory of the patch) that will serve to disseminate information about patched data. This will be a .php file.. and it will be able to receive | + | Now, let's continue and create a info file(at the root directory of the patch) that will serve to disseminate information about patched data. This will be a .php file.. and it will be able to receive |
| * version: The patch version ; | * version: The patch version ; | ||
| * lang: The language of the client ; | * lang: The language of the client ; | ||
| * ca: The Shard connection | * ca: The Shard connection | ||
| * startPage : <wrap tip>to define</ | * startPage : <wrap tip>to define</ | ||
| - | So.. let's create a simple | + | So.. let's create a simple |
| <code bash> | <code bash> | ||
| ~/ | ~/ | ||
| Line 190: | Line 191: | ||
| We will assume that you already have a functional Apache server, and that you just have created a new VirtualHost. If the " | We will assume that you already have a functional Apache server, and that you just have created a new VirtualHost. If the " | ||
| - | Our wish here is to have a simple address(without | + | Our wish here is to have a simple address(with port for the patch server), which will be in the form of: |
| <code bash> | <code bash> | ||
| - | http:// | + | http:// |
| (Our game server being installed at): http:// | (Our game server being installed at): http:// | ||
| Line 244: | Line 245: | ||
| <code bash> | <code bash> | ||
| - | cd ~/ | + | cd && sudo chown -R compil: |
| </ | </ | ||
| Line 250: | Line 251: | ||
| We must then notify the customers that the patch number " | We must then notify the customers that the patch number " | ||
| - | This will be done by using the file '' | + | This will be done by using the file '' |
| <code bash> | <code bash> | ||
| cd ~/ | cd ~/ | ||
| Line 275: | Line 276: | ||
| <code xml|client_default.cfg> | <code xml|client_default.cfg> | ||
| PatchWanted | PatchWanted | ||
| - | PatchUrl = " | + | PatchUrl = " |
| RingReleaseNotePath = " | RingReleaseNotePath = " | ||
| </ | </ | ||
| Line 299: | Line 300: | ||
| <code xml|client_default.cfg> | <code xml|client_default.cfg> | ||
| PatchWanted | PatchWanted | ||
| - | PatchUrl = " | + | PatchUrl = " |
| RingReleaseNotePath = " | RingReleaseNotePath = " | ||
| </ | </ | ||





