Add database setup (LosaGame, LosaGame_log, LosaLogData, Backup, backup/restore) and the tested one-PC server config

This commit is contained in:
LosaDev committed 2026-11-07 20:41:23 +07:00
1 parent 224e4bc926
commit 16966077f1
373 files changed
+2411724 -448

No files matched your search

+5
View File
@@ -202,3 +202,8 @@ Verified 2026-11-07: `ls_billingsvr` Release|Win32 builds with 0 errors with no
The XTrap code is only compiled in Shipping configurations with `XTRAP` defined. Those configurations no longer link without the vendor SDK; build Debug or Release.
Script: `vendor-strip.js` (latin1 byte-safe, CRLF kept).
## Database setup and one-PC server config (added 2026-11-07)
- New `database\`: creates `LosaGame`, `LosaGame_log`, `LosaLogData` and an empty `Backup` (`game_region_backup_*` create their own tables in it), the SQL login `lstggame`, `LosaGame_log` from the 2021 release (no 2014 script exists), the `src\sql\20120504` scripts as UTF-8, the stub procedures, parameter fixes, 2021 features/core procedures and first tournament of the tested local setup, test accounts, `backup.sql` / `restore.sql` with `.bat` wrappers, and `setup-db.bat`. The encode key is asked for instead of a fixed test value. Tested on SQL Server 2022 Express: only the known messages of the 2012 scripts (22 old procedures, one old view); backup + restore OK.
- `server-config\` is now the tested one-PC set (`PW=CHANGE_ME`, `192.168.1.10` = your LAN address). The previous content (a modified private server's set) moved to `server-config\_original-release\`.