2.5 KiB
Server config (2019, one PC)
A complete config for running all nine 2019 servers on one Windows PC, taken from the tested local setup (2026-11-07: all servers start, the client logs in to the lobby). Everything uses 127.0.0.1 and ports 19xxx. Gameplay tables in ls_gamesvr\config\ and ls_mainsvr\config\ come from the 2021 config set, with the 2019 client's shop/gacha files synced in. _original-release\ keeps what this folder held before.
Folder layout
Each folder is one server process. Copy the built .exe into its folder plus iocpSocketDLL.dll, frametimerdll.dll, CrashFind.dll (and GAuthClientDLL.dll for billing) from lib\. global_define.ini and global_loadtable.ini stay in the parent folder of the server folders.
| Folder | Program |
|---|---|
ls_dbagent_game |
ls_dbagent.exe (database LosaGame) |
ls_dbagent_logdb |
ls_dbagent.exe (database LosaLogData) |
ls_dbagent_logserver |
ls_dbagent.exe in log server mode |
ls_mainsvr, ls_billingsvr, ls_gamesvr, ls_relaysvr, ls_loginsvr, ls_filewritesvr |
the server of the same name |
Ports are in global_define.ini and each server's ini. Start each from its own folder with -c <its ini>, in this order: the three DB agents, main, billing, game, relay, login, file write.
Before the first start
- Create the databases with
database\setup-db.bat(seedatabase\README.md). - Put the DB agent password in
PW=ofls_dbagent_game\ls_dbagent.iniandls_dbagent_logdb\ls_dbagent.ini(CHANGE_MEnow).Port=1433is the SQL Server port. - The 2019 servers bind to the PC's own IPv4 address (the first address its host name resolves to), not to
127.0.0.1. On one PC, put that address inglobal_define.iniand the relay/login server lists, and let the client connect to it.
Values that matter
- Locale Indonesia:
[Local] Version=938400398inls_config_game.iniandls_config_billingsvr.ini(the 2019 client's packs only open with the Indonesia pack password). ls_billingsvr.ini[Test] TestMode=1: every ID is accepted without a publisher, with a test cash balance. IDs need 6 to 12 characters; a new ID creates its account on the first login.- GM: nickname under
[ID]inls_gamesvr\config\sp2_developerID.ini. ls_gamesvr\config\tables\:LSC_SnakeLadders_Move.datfrom the client and an empty reward table with the version the server expects (dice event without rewards). Practice and excavation stay off.
The client launch line is on the wiki page "2019 Source", section "Run it locally".