mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Some more work on the world server.
This commit is contained in:
parent
c67f74130f
commit
e24a6f99cb
7 changed files with 193 additions and 7 deletions
|
@ -18,15 +18,15 @@ namespace FFXIVClassic_World_Server
|
|||
|
||||
public static bool Load()
|
||||
{
|
||||
Program.Log.Info("Loading config.ini");
|
||||
Program.Log.Info("Loading world_config.ini");
|
||||
|
||||
if (!File.Exists("./config.ini"))
|
||||
if (!File.Exists("./world_config.ini"))
|
||||
{
|
||||
Program.Log.Error("FILE NOT FOUND!");
|
||||
return false;
|
||||
}
|
||||
|
||||
INIFile configIni = new INIFile("./config.ini");
|
||||
INIFile configIni = new INIFile("./world_config.ini");
|
||||
|
||||
ConfigConstants.OPTIONS_BINDIP = configIni.GetValue("General", "server_ip", "127.0.0.1");
|
||||
ConfigConstants.OPTIONS_PORT = configIni.GetValue("General", "server_port", "54994");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue