After testing the Server - i can login but now i am presented with a problem:
Code:
27/01/2016 05:32:11
System.NullReferenceException: Object reference not set to an instance of an object.
at Zepheus.World.Program.Load() in C:\Users\Owner\Documents\Estrella-master\Zepheus.World\Program.cs:line 151
at Zepheus.World.Program.Main(String[] args) in C:\Users\Owner\Documents\Estrella-master\Zepheus.World\Program.cs:line 29
In the Program.cs line 151:
Code:
DatabaseManager = new DatabaseManager(Settings.Instance.WorldMysqlServer, (uint)Settings.Instance.WorldMysqlPort, Settings.Instance.WorldMysqlUser, Settings.Instance.WorldMysqlPassword, Settings.Instance.WorldMysqlDatabase, Settings.Instance.WorldDBMinPoolSize, Settings.Instance.WorldDBMaxPoolSize, Settings.Instance.QuerCachePerClient,Settings.Instance.OverloadFlags);
The Other Part:
Code:
if (Load())
{
Log.IsDebug = Settings.Instance.Debug;
Zones = new ConcurrentDictionary<byte, ZoneConnection>();
while (HandleCommands)
{
string line = Console.ReadLine();
try
{
HandleCommand(line);
}
catch (Exception ex)
{
Log.WriteLine(LogLevel.Exception, "Could not parse: {0}; Error: {1}", line, ex.ToString());
}
}
Log.WriteLine(LogLevel.Warn, "Shutting down the server..");
CleanUp();
Log.WriteLine(LogLevel.Info, "Server has been cleaned up. Program will now exit.");
}
else
{
Log.WriteLine(LogLevel.Error, "Errors occured starting server. Press RETURN to exit.");
Console.ReadLine();
}
}
Where am i going wrong??