[EP8] Server in Docker

Two three time setup debian11 and debian 12, still problem login root password any solution to fix this issue? Pls help
 
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.
 
Hello,

the Client (TGCabal) cant connect to the Server. Didn´t know why. All Ports are open, Logs are okay, IP is correct...I tried with breaklee and husky (and yea all language.enc edited via enctool), but no luck. Is there a hide IP?
 
Hello,

the Client (TGCabal) cant connect to the Server. Didn´t know why. All Ports are open, Logs are okay, IP is correct...I tried with breaklee and husky (and yea all language.enc edited via enctool), but no luck. Is there a hide IP?
You need to provide more data.
Logs.
Files WorldSvr_01_01.ini and LoginSvr_01.ini.
File Language.dec

Are you connecting via local IP or external? If external - have you forwarded ports on the router?
 
1723227203427 - [EP8] Server in Docker - RaGEZONE Forums

1723227231553 - [EP8] Server in Docker - RaGEZONE Forums

1723227253458 - [EP8] Server in Docker - RaGEZONE Forums
 
Hi artem i got an issue unrecognized 's' but i solve it by adding a semicolon i think this is due to different docker version, please see the attached changes

1727458405923 - [EP8] Server in Docker - RaGEZONE Forums
1727458418395 - [EP8] Server in Docker - RaGEZONE Forums
 
Mmm, something seems wrong with the 8.5 config. Seems global_mgr_svr tries to connect to 0.0.0.0 at some point.
same here

2024-10-20 09:14:29 [Sun Oct 20 2024 12:14:29.350134 4152022912]: Last Daily Quest Reset Time: 2024-10-20 00:00 (Start: 0, Duration: 1440)
2024-10-20 09:14:29 [Sun Oct 20 2024 12:14:29.350159 4152022912]: Next Daily Quest Reset Time: 2024-10-21 00:00 (Start: 0, Duration: 1440)
2024-10-20 09:14:29 [Sun Oct 20 2024 12:14:29.350433 4126038848]: CProcessLayer(0)::svc Start [4126038848]
2024-10-20 09:14:29 [Sun Oct 20 2024 12:14:29.350972 4152022912]: try connect 172.18.0.9:32001, Sync
2024-10-20 09:14:29 [Sun Oct 20 2024 12:14:29.351284 4152022912]: sock 7 ->LinkHandler Open
2024-10-20 09:14:29 [Sun Oct 20 2024 12:14:29.351324 4152022912]: SendIPSConnect2Svr (246:253:00:00)
2024-10-20 09:14:39 [Sun Oct 20 2024 12:14:39.367686 4152022912]: run_event_loop exited. resumeEvent
2024-10-20 09:14:39 [Sun Oct 20 2024 12:14:39.567835 4152022912]: run_event_loop exited. resumeEvent
2024-10-20 09:14:39 [Sun Oct 20 2024 12:14:39.567896 4152022912]: try connect 0.0.0.0:0, Sync
2024-10-20 09:14:39 [Sun Oct 20 2024 12:14:39.567975 4152022912]: sock -1 ->LinkHandler close
2024-10-20 09:14:39 [Sun Oct 20 2024 12:14:39.568014 4152022912]: [##ERROR##] connect 0.0.0.0:0 fail
2024-10-20 09:14:39 [Sun Oct 20 2024 12:14:39.568044 4152022912]: [##ERROR##] Link(): link open fail(Automatic), Exit
2024-10-20 09:14:39 [Sun Oct 20 2024 12:14:39.568070 4152022912]: [##ERROR##] active fail
2024-10-20 09:14:40 [Sun Oct 20 2024 12:14:40.368412 4126038848]: CProcessLayer(0)::svc Terminated [4126038848]
 
Last edited:
Hi Alek,

i use your client and i able to login but i cant find any server list. can you advice for this?

server and channel not showing

1734342275919 - [EP8] Server in Docker - RaGEZONE Forums
 
Last edited:
where is the channel log? i cant find on /var/log/cabal

or which .log i need to provided on here? sorry im not really understand the channel or server log goes to.
 
Last edited:
[###INVALID###] 'range.maxLev > 0 && range.maxLev <= g_pServerCtxEx->maxLevel' Failed : File: SpecialInventory.scp, Table: LevelRange, Row: 5 [Game/SpecialInventory.cpp:120]
2025-02-20 19:58:50 ACE_ASSERT: file Game/SpecialInventory.cpp, line 120 assertion failed for 'range.maxLev > 0 && range.maxLev <= g_pServerCtxEx->maxLevel'.Aborting...

Anyone?.. i got this error
 
[###INVALID###] 'range.maxLev > 0 && range.maxLev <= g_pServerCtxEx->maxLevel' Failed : File: SpecialInventory.scp, Table: LevelRange, Row: 5 [Game/SpecialInventory.cpp:120]
2025-02-20 19:58:50 ACE_ASSERT: file Game/SpecialInventory.cpp, line 120 assertion failed for 'range.maxLev > 0 && range.maxLev <= g_pServerCtxEx->maxLevel'.Aborting...

Anyone?.. i got this error
It's already telling you the logs itself.
 
Hi bro, I tried to open your client file in google drive but my window throw this warning popup, is it normal in setup progress?

1749627738171 - [EP8] Server in Docker - RaGEZONE Forums
 
Back