Evol Online : Jeux de Rôle Massivement Multi-Joueur En-Ligne

Evol Online : Jeux de Rôle Massivement Multi-joueur En-ligne.

Version 2.0

1/ Répertoire de travail.

➜  ~ mkdir -p JEUX/EVOL
➜  ~ cd JEUX/EVOL 
➜  EVOL

2/ Créer un compte sur ‘Gitlab‘.

https://gitlab.com/users/sign_in

3/ Génération d’une clé ssh.

– Génération de la clé :

➜  ~ ssh-keygen -t rsa -C "lesanglierdesardennes@gmail.com"
Generating public/private rsa key pair.
..
Your public key has been saved in /home/pi/.ssh/id_rsa.pub.
...
The key's randomart image is:
...
➜  ~ 

– Via la compte Gitlab, dans [Settings][SSH Keys] :
Copier la clé publique : ~/.ssh/id_rsa.pub

4/ Téléchargement du code source.

– Téléchargement du script de téléchargement du code source :

➜  EVOL git clone git@gitlab.com:evol/evol-all.git            
Cloning into 'evol-all'...
...
Receiving objects: 100% (244/244), 37.34 KiB | 0 bytes/s, done.
...
Checking connectivity... done.
➜  EVOL cd evol-all 
➜  evol-all git:(master) 

– Téléchargement du code source :

➜  evol-all git:(master) ./init.sh all
Cloning into 'client-data'...
...
Cloning into 'server-code'...
...
Cloning into 'server-data'...
...
Cloning into 'tools'...
...
Cloning into 'server-code/src/evol'...
...
Cloning into 'server-local'...
...
Cloning into 'docs'...
...
Cloning into 'music'...
...
Cloning into 'manaplus'...
...
Cloning into 'media'...
...
➜  evol-all git:(master) 

5/ Compilation du serveur.

– Installation des paquets de développement :

➜  evol-all git:(master) sudo apt-get install libmysqlclient-dev

– Installation de la configuration :

➜  evol-all git:(master) cd tools/localserver 
➜  localserver git:(master) ./installconfigs.sh 

– Compilation :

➜  localserver git:(master) ./build.sh
...
make[1]: Leaving directory '/home/pi/JEUX/EVOL/evol-all/server-code/src/evol/build'
/home/pi/JEUX/EVOL/evol-all/server-code/src/evol
OK
➜  localserver git:(master) 

6/ Initialisation de base de données.

➜  localserver git:(master) ./initdb.sh
Creating db and user...
Enter mysql root password:
Enter password: 
Creating tables...
➜  localserver git:(master) 

7/ Lancement du serveur.

– Lancement de screen :

➜ localserver git:(master) cd ~/JEUX/EVOL/evol-all/server-data/
➜ server-data git:(master) screen

– Lancement du serveur de connexion :

➜  server-data git:(master) ./login-server 
[Status]: Memory manager initialized: log/login-server.leaks
...
[Status]: The login-server is ready (Server is listening on the port 6901).

– Lancement du serveur de personnage :

Création d’un terminal Screen : [Ctrl]+[A] [C]

➜  evol-all git:(master) cd ~/JEUX/EVOL/evol-all/server-data/
➜  server-data git:(master) ./char-server
[Status]: Memory manager initialized: log/char-server.leaks
...
[Status]: The char-server is ready (Server is listening on the port 6122).

[Info]: Attempt to connect to login-server...
[Status]: Connecting to 192.168.1.18:6901
[Status]: Connected to login-server (connection #6).
[Status]: Awaiting maps from map-server.

– Lancement du serveur de carte :

Création d’un terminal Screen : [Ctrl]+[A] [C]

➜  server-data git:(master) ./map-server 
[Status]: Memory manager initialized: log/map-server.leaks
...
[Status]: Server is 'ready' and listening on port '5122'.
...
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.

8/ Compilation du client Mana Plus.

➜  ~ cd JEUX/EVOL/evol-all/manaplus 
➜  manaplus git:(master) ./build.sh 

9/ Lancement du client.

– Lancement du client :

➜  ~ cd JEUX/EVOL/evol-all/tools/manaplus 
➜  manaplus git:(master) ./connect_local_server.sh 

10/ Liens.

http://wiki.evolonline.org/guidelines/firstdevstep
http://wiki.evolonline.org/guidelines/localserver
https://miniordi.hacktech.dev/jeu-evolonline/