Add database setup (LosaGame, LosaGame_log, LosaLogData, Backup, backup/restore) and the tested one-PC server config
This commit is contained in:
1 parent
c198676e97
commit
17e8463b49
243 files changed
+1405092
No files matched your search
@@ -0,0 +1,8 @@
|
||||
-- LosaDev 2019: the 15-character key the game server reads at start (define_encode_key,
|
||||
-- game_encode_get_fix_key). setup-db.bat asks for it (ENCODE_KEY).
|
||||
USE [LosaGame]
|
||||
GO
|
||||
IF LEN(N'$(ENCODE_KEY)') <> 15 RAISERROR('ENCODE_KEY must be 15 characters', 16, 1)
|
||||
ELSE IF NOT EXISTS (SELECT 1 FROM dbo.define_encode_key WHERE encodeKey = '$(ENCODE_KEY)')
|
||||
INSERT INTO dbo.define_encode_key (encodeKey, regDate) VALUES ('$(ENCODE_KEY)', GETDATE())
|
||||
GO
|
||||
Reference in new issue
Block a user