Logo Khaganat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:installation_d_un_serveur_de_patchs [2016/11/22 23:46] – [Creating the Release Note] Domperssen:installation_d_un_serveur_de_patchs [2021/12/03 19: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: ''/unpack'' or ''/data'') file **against the patch server**(residing in: ''/patch_service/patch_game/Lirria.version'').+The patching commences when the client(**on startup**) compares it's own **Lirria.version**(residing in folder: ''/unpack'' or ''/data'') file **against the patch server**(residing in: ''/patch_service/patch_game/patch/Lirria.version'').
 **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: ''/unpack'' __OR__ ''/data'' (__or both depending on configuration__).+to it's folder: ''/unpack'' __or__ ''/data'' (__or both depending on configuration__).
 It then **unpacks** the "data" and **installs** it accordingly to the information given by the "patch". It then **unpacks** the "data" and **installs** it accordingly to the information given by the "patch".
  
Line 85: Line 85:
 ~/patch_service$ nano patch_game/ryzom.xml ~/patch_service$ nano patch_game/ryzom.xml
 </code> </code>
- 
-Detailed "syntax explanation" of this file are given in another article: ([[https://khaganat.net/wikhan/en:syntaxexmlpatchserver|The syntax of the patch server .xml files]]). 
  
 And now, we will simply create the implementation of the file: '' patch_lirria.bnp '', intended for copying into the client data subdirectory: '' /user ''  to do tests. And now, we will simply create the implementation of the file: '' patch_lirria.bnp '', intended for copying into the client data subdirectory: '' /user ''  to do tests.
-Our configuration file will look like this:+ 
 +<WRAP center round info 90%> 
 +Now you need to(if you haven't done so already)edit the ryzom.xml file. 
 +This because the patch service needs to know WHAT files to offer to the client(as an update). 
 + 
 +Detailed "syntax explanation" about this file(ryzom.xml) are given in another article: ([[https://khaganat.net/wikhan/en:syntaxexmlpatchserver|The syntax of the patch server .xml files]]). 
 +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). 
 +</WRAP> 
 + 
 + 
 +Our(DEFAULT) configuration file will look like this:
 <code xml ryzom.xml> <code xml ryzom.xml>
 <xml> <xml>
Line 182: Line 191:
 We will assume that you already have a functional Apache server, and that you just have created a new VirtualHost. If the "home" directory(of the user who manages the server) is named "compil", it must have these parameters(if not, needed to be adapted according to your own parameters): We will assume that you already have a functional Apache server, and that you just have created a new VirtualHost. If the "home" directory(of the user who manages the server) is named "compil", it must have these parameters(if not, needed to be adapted according to your own parameters):
  
-Our wish here is to have a simple address(without port for the patch server), which will be in the form of: +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://lirria.khaganat.net/patch+http://lirria.khaganat.net:43435
  
 (Our game server being installed at): http://lirria.khaganat.net (Our game server being installed at): http://lirria.khaganat.net
Line 236: Line 245:
  
 <code bash> <code bash>
-cd ~/patch_service && sudo chown -R compil:www-data patch_service | chmod g+w -R patch_service+cd && sudo chown -R compil:www-data patch_service | chmod g+w -R patch_service
 </code> </code>
  
Line 242: Line 251:
  
 We must then notify the customers that the patch number "1" is ready to be distributed. We must then notify the customers that the patch number "1" is ready to be distributed.
-This will be done by using the file ''Lirria.version''(There will be two including the one previously created) located in the directory ''patch'', served by Apache:+This will be done by using the file ''Lirria.version'' located in the directory ''/patch'', served by Apache:
 <code bash> <code bash>
 cd ~/patch_service && nano patch_game/patch/Lirria.version cd ~/patch_service && nano patch_game/patch/Lirria.version
Line 267: Line 276:
 <code xml|client_default.cfg> <code xml|client_default.cfg>
 PatchWanted          = 1; PatchWanted          = 1;
-PatchUrl = "http://lirria.khaganat.net/patch";+PatchUrl = "http://lirria.khaganat.net:43435";
 RingReleaseNotePath = "http://lirria.khaganat.net/patch/index.php"; RingReleaseNotePath = "http://lirria.khaganat.net/patch/index.php";
 </code> </code>
Line 291: Line 300:
 <code xml|client_default.cfg> <code xml|client_default.cfg>
 PatchWanted          = 1; PatchWanted          = 1;
-PatchUrl = "http://lirria.khaganat.net/patch";+PatchUrl = "http://lirria.khaganat.net:43435";
 RingReleaseNotePath = "http://lirria.khaganat.net/patch/index.php"; RingReleaseNotePath = "http://lirria.khaganat.net/patch/index.php";
 </code> </code>
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/installation_d_un_serveur_de_patchs.1479854772.txt.gz · Last modified: 2021/12/03 19:18 (external edit)

Licences Mentions légales Accueil du site Contact