Add database setup (LosaGame, LosaGame_log, LosaLogData, Backup, backup/restore) and the tested one-PC server config
This commit is contained in:
1 parent
224e4bc926
commit
16966077f1
373 files changed
+2411724
-448
No files matched your search
+22
-18
@@ -1,27 +1,31 @@
|
||||
# Server config set (2014 source, 178 heroes)
|
||||
# Server config (2014, one PC)
|
||||
|
||||
A complete server config set taken from a **community-run 2014 private server** (2022), including:
|
||||
A complete config for running all nine 2014 servers on one Windows PC, taken from the tested local setup (2026-11-07: three accounts reach the lobby, tutorial and market work). Ports `14xxx`. `_original-release\` keeps what this folder held before (the config set of a modified private server, with gameplay tables).
|
||||
|
||||
- Infrastructure configs for every server (`global_define.ini`, `ls_*` ini files, `ls_config_*.ini`)
|
||||
- `ls_dbagent\ls_query.ini`, the full query map for the DB agent
|
||||
- `ls_gamesvr\config\` and `ls_mainsvr\config\`, the gameplay tables
|
||||
## Folder layout
|
||||
|
||||
This is **not** an official default set. That server had its own changes, for example a custom
|
||||
anti-cheat switch (`[KamuEAC]` in `ls_config_game.ini`) and an `ExternalIP` key in the game
|
||||
server ini. Values like event dates, shop items and prices are that server's choices.
|
||||
Each folder is one server process. Copy the built `.exe` into its folder plus the DLLs it needs from `src\lib\`. `global_define.ini` stays in the parent folder of the server folders.
|
||||
|
||||
## What was changed before publishing
|
||||
| Folder | Program |
|
||||
|---|---|
|
||||
| `ls_dbagent_game` | `ls_dbagent.exe` (database `LosaGame`) |
|
||||
| `ls_dbagent_log` | `ls_dbagent.exe` (database `LosaLogData`) |
|
||||
| `ls_dbagent_logsvr` | `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 |
|
||||
|
||||
Only these things, everything else is byte-for-byte as it was:
|
||||
Start each from its own folder with `-c <its ini>`, in this order: the three DB agents, main, billing, game, relay, login, file write.
|
||||
|
||||
- Real IP addresses were replaced with `127.0.0.1` (including the guild mark and custom texture URLs).
|
||||
- SQL logins and passwords in the `ls_dbagent` ini files were replaced with placeholders.
|
||||
Encode your own password with `ls_dbagent.exe -x yourpassword`.
|
||||
- Publisher URLs, keys and hashes in `ls_billingsvr\ls_config_billingsvr.ini` were emptied.
|
||||
- `ls_mainsvr\ls_auth.ini` (GM tool accounts) was emptied. Add your own accounts.
|
||||
- Publisher and operator host names were replaced (2026-11-07): URLs now start with `http://127.0.0.1/` (same path), in `ls_gamesvr\config\` `config.ini`, `sp2_guild.ini`, `sp2_custom_texture.ini`, `sp2_channeling_wemade.ini`, `sp2_shop_item_chr_info.ini` and `sp2_shop_item_extra1_info.ini` (1 584 URLs, mostly the old image CDN).
|
||||
## Before the first start
|
||||
|
||||
Files are encoded in CP949 (Korean). Edit them with an editor that keeps that encoding.
|
||||
1. Create the databases with `database\setup-db.bat` (see `database\README.md`).
|
||||
2. `PW=` in `ls_dbagent_game\ls_dbagent.ini` and `ls_dbagent_log\ls_dbagent.ini` (`CHANGE_ME` now) takes the **encoded** password: `ls_dbagent.exe -x <password>`. `ID=lstggame`, `Port=1433` (SQL Server port).
|
||||
3. The 2014 servers bind to the PC's LAN address, not to `127.0.0.1`. `192.168.1.10` in this set stands for that address: replace it everywhere (`global_define.ini`, the server lists, `LogServerIP`, `FileWriteServerInfo.ini`) with your PC's IPv4 address.
|
||||
|
||||
## Values that matter
|
||||
|
||||
The shop, gacha, gear and medal files and `sp2_mode_select.ini` in `ls_gamesvr\config\` were matched to the 2014 client on 2026-11-07. Maps the client lacks were removed from the mode lists. Files with server-only keys stay as they were: `sp2_item.ini`, `sp2_etcitem_info.ini`, `sp2_shop.ini`, `sp2_super_gashapon_present.ini`, `sp2_medalitem_info.ini`.
|
||||
- The Indonesia mode of this source expired in 2016 (license date), so the servers run the **Korea** locale `119483910`.
|
||||
- `ls_dbagent_game\ls_query.ini`: query `7=game_login_get_data STR` (the 2014 server sends one value).
|
||||
- GM: nickname under `[ID]` in `ls_gamesvr\config\sp2_developerID.ini`.
|
||||
- Plaza maps the 2014 client does not have were removed from `ls_gamesvr\config\sp2_mode_select.ini`; Shuffle Bonus and Factory are switched off there.
|
||||
|
||||
The client launch line and the login key tool are on the wiki page "2014 Source", section "Run it locally".
|
||||
Reference in new issue
Block a user