mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-11 06:54:43 +02:00
added launch args for ip/port and default config loading
- fixed char create issues by adding default values to fields (todo: fix actual query) - added post build command to copy scripts folder to bin
This commit is contained in:
parent
f286922974
commit
4a320d7096
13 changed files with 142 additions and 32 deletions
|
@ -25,8 +25,8 @@ namespace FFXIVClassic_Lobby_Server
|
|||
bool startServer = true;
|
||||
|
||||
//Load Config
|
||||
if (!ConfigConstants.Load())
|
||||
startServer = false;
|
||||
ConfigConstants.Load();
|
||||
ConfigConstants.ApplyLaunchArgs(args);
|
||||
|
||||
//Test DB Connection
|
||||
Program.Log.Info("Testing DB connection to \"{0}\"... ", ConfigConstants.DATABASE_HOST);
|
||||
|
@ -51,7 +51,7 @@ namespace FFXIVClassic_Lobby_Server
|
|||
{
|
||||
Server server = new Server();
|
||||
server.StartServer();
|
||||
while (true) Thread.Sleep(10000);
|
||||
while (true) Thread.Sleep(10000);
|
||||
}
|
||||
|
||||
Program.Log.Info("Press any key to continue...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue