mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Zone server now uses the World server's group classes. MotD now shows proper world name. Added party functions to zone server.
This commit is contained in:
parent
ae38ee1bc1
commit
e89b7557b3
22 changed files with 310 additions and 284 deletions
|
@ -1,4 +1,5 @@
|
|||
using MySql.Data.MySqlClient;
|
||||
using FFXIVClassic_World_Server.DataObjects;
|
||||
using MySql.Data.MySqlClient;
|
||||
using NLog;
|
||||
using NLog.Fluent;
|
||||
using System;
|
||||
|
@ -56,6 +57,19 @@ namespace FFXIVClassic_World_Server
|
|||
startServer = false;
|
||||
}
|
||||
}
|
||||
|
||||
//Check World ID
|
||||
DBWorld thisWorld = Database.GetServer(ConfigConstants.DATABASE_WORLDID);
|
||||
if (thisWorld != null)
|
||||
{
|
||||
Program.Log.Info("Successfully pulled world info from DB. Server name is {0}.", thisWorld.name);
|
||||
ConfigConstants.PREF_SERVERNAME = thisWorld.name;
|
||||
}
|
||||
else
|
||||
{
|
||||
Program.Log.Info("World info could not be retrieved from the DB. Welcome and MOTD will not be displayed.");
|
||||
ConfigConstants.PREF_SERVERNAME = "Unknown";
|
||||
}
|
||||
|
||||
//Start server if A-OK
|
||||
if (startServer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue