I. INSTALARE VDI & SURSA
1. Instaleaza .VDI-ul pe care il las eu in download pe un VM pe PC-ul tau;
2. Dupa instalare, pui arhiva cu sursagame(.tar.gz) in /usr/src
3. Dezarhivezi cu putty (folosind comanda: tar -zxvf sursagame.tar.gz ) si modifici ce vrei in surse.
II. COMPILARE SURSA
Daca ati descarcat si instalat VDI-ul pus de mine nu mai trebuie sa faceti pasii din urmatorul spoiler!
Acum, pentru a compila o sursa folosim comenzile urmatoare:
( si pentru db inlocuiesti cu /db/src ), iar apoi scrii -- in ordinea in care apar mai jos-- :
In caz ca primesti eroarea No rule to make target[...] du-te in /usr/src/sursata/Server/game/src scrie aceste 2 comenzi dupa care compilati din nou: |
3. Asteptati sa se compileze.
III. GAME/DB COMPILATE
Dupa ce s-a compilat game/db te duci in /Server/db & /Server/game vei gasi noile game&db pe care le vei inlocui cu cele deja existente de pe serverul tau(in FileZilla/WinSCP), urmand mai apoi sa le dai permisiuni 777 ( IMPORTANT )!
DOWNLOAD
Link #1 VDI :
https://mega.nz/#!a18hQDRS!3isMLSGQdwTg0Uu6feV_Y741NJd54uV8y1ZtvGafhuE
Link #2 VDI :
http://www.girlshare.ro/3489851157.1
Date .VDI:
User: root
Pass: dev