mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Fixed logs on map.
This commit is contained in:
		| @@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server | ||||
|  | ||||
|             if (!File.Exists("./map_config.ini")) | ||||
|             { | ||||
|                 Program.Log.Error("[FILE NOT FOUND]"); | ||||
|                 Program.Log.Error("FILE NOT FOUND"); | ||||
|                 return false; | ||||
|             } | ||||
|  | ||||
| @@ -40,8 +40,6 @@ namespace FFXIVClassic_Map_Server | ||||
|             ConfigConstants.DATABASE_USERNAME =     configIni.GetValue("Database", "username", ""); | ||||
|             ConfigConstants.DATABASE_PASSWORD =     configIni.GetValue("Database", "password", ""); | ||||
|              | ||||
|             Program.Log.Info("[OK]"); | ||||
|  | ||||
|             return true; | ||||
|         } | ||||
|     } | ||||
|   | ||||
| @@ -28,16 +28,14 @@ namespace FFXIVClassic_Map_Server | ||||
| #endif | ||||
|             bool startServer = true; | ||||
|  | ||||
|             Program.Log.Info("---------FFXIV 1.0 Map Server---------"); | ||||
|             Console.ForegroundColor = ConsoleColor.Cyan; | ||||
|             Console.WriteLine("---------FFXIV 1.0 Map Server---------"); | ||||
|             Console.ForegroundColor = ConsoleColor.Gray; | ||||
|  | ||||
|             //Load Config | ||||
|             if (!ConfigConstants.Load()) | ||||
|                 startServer = false; | ||||
|  | ||||
|             Assembly assem = Assembly.GetExecutingAssembly(); | ||||
|             Version vers = assem.GetName().Version; | ||||
|             Program.Log.Info("Version: " + vers.ToString()); | ||||
|  | ||||
|             //Test DB Connection | ||||
|             Program.Log.Info("Testing DB connection... "); | ||||
|             using (MySqlConnection conn = new MySqlConnection(String.Format("Server={0}; Port={1}; Database={2}; UID={3}; Password={4}", ConfigConstants.DATABASE_HOST, ConfigConstants.DATABASE_PORT, ConfigConstants.DATABASE_NAME, ConfigConstants.DATABASE_USERNAME, ConfigConstants.DATABASE_PASSWORD))) | ||||
|   | ||||
| @@ -116,7 +116,7 @@ namespace FFXIVClassic_Map_Server | ||||
|             } | ||||
|  | ||||
|             Console.ForegroundColor = ConsoleColor.White; | ||||
|             Program.Log.Debug("Map Server has started @ {0}:{1}", (mServerSocket.LocalEndPoint as IPEndPoint).Address, (mServerSocket.LocalEndPoint as IPEndPoint).Port); | ||||
|             Program.Log.Info("Map Server has started @ {0}:{1}", (mServerSocket.LocalEndPoint as IPEndPoint).Address, (mServerSocket.LocalEndPoint as IPEndPoint).Port); | ||||
|             Console.ForegroundColor = ConsoleColor.Gray; | ||||
|  | ||||
|             mProcessor = new PacketProcessor(this, mConnectedPlayerList, mConnectionList); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user