Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[EP8] Server in Docker

Junior Spellweaver
Joined
Aug 23, 2022
Messages
100
Reaction score
5
Two three time setup debian11 and debian 12, still problem login root password any solution to fix this issue? Pls help
 
Newbie Spellweaver
Joined
Oct 20, 2018
Messages
6
Reaction score
0
Everything works perfect, just cant connect to a channel, anyone know why?
 
Elite Diviner
Joined
Jun 18, 2023
Messages
436
Reaction score
245
Everything works perfect, just cant connect to a channel, anyone know why?
Magickey, look from your xdata.dec by using template and sync it to your LoginSvr.ini and Account>version table in database
 
Initiate Mage
Joined
Dec 29, 2023
Messages
3
Reaction score
0
INSTRUCTION

1. Install docker and git
Ubuntu/Debian

Code:
apt update && apt install git docker-compose
RedHat/CentOS/Fedora
Code:
yum update && yum install git docker-compose
2. Get repository with project
Code:
git clone https://github.com/artem-alekseev/cabal_server.git

3. Go to directory
Code:
cd cabal_server/

4. Copy environment
Code:
cp .env.example .env

5. Get server ip address
Code:
ip addr
View attachment 171355
6. Edit .env file
Code:
DB_PASSWORD=password_from_db //Use a strong password for mssql with special symbols, numbers, and uppercase symbols
CONNECT_IP=192.168.1.1 // IP server
EXP_RATE=100 // Enter EXP rate multiplier, e.g. 5 for 5x
SEXP_RATE=100 // Enter Skill EXP rate multiplier
CEXP_RATE=100 // Enter Craft EXP rate multiplier
DROP_RATE=2 // Enter drop rate multiplier (over 5 is bad)ALZ_RATE=100 // Enter Alz rate multiplierBALZ_RATE=100 // Enter Alz bomb rate multiplier
PEXP_RATE=100 // Enter Pet EXP multiplier
WEXP_RATE=100 // Enter War EXP multiplier
ITEMS_PER_DROP=2 // Enter number of items per drop
7. Build docker containers
Code:
docker-compose build


8. Up mssql container
Code:
docker-compose up -d mssql


9. Restore database
Code:
docker-compose exec mssql sh restoredb.sh
View attachment 171357
10. Up database agents
Code:
docker-compose up -d global_db_agent auth_db_agent cash_db_agent event_db_agent pc_bang_db_agent db_agent_01 rock_and_roll_its

11. Up Global Mgr Server
Code:
docker-compose up -d global_mgr_svr
wait 30 sec

12. Up other services
Code:
docker-compose up -d party_svr_01 chat_node_01 event_mgr_svr login_svr_01 agent_shop_01

13. Start channels
Premium
Code:
[COLOR=#24292F]docker-compose up -d world_svr_01_01[/COLOR]
War
Code:
[COLOR=#24292F]docker-compose up -d world_svr_01_02[/COLOR]
M War
Code:
docker-compose up -d world_svr_01_03 world_svr_01_04 world_svr_01_05 world_svr_01_06 world_svr_01_07

14. Client edit your ip in Cabal/Data/Internal.txt
Code:
[server]
IP=Put.Your.Server.IP
PORT=38101
15. Register Account (Use Cabal Tool - TDChien88 or other tools)
16. Launch client Cabal/start.bat

Thank you! I have followed your guide, with slight modifications, but it works flawlessly. Learned a bit of docker through this project.
 
Back
Top