mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
more work on commands
- moved script object to wrapper class to catch and log exceptions - added loggers for basepacket/subpacket (todo: colour and use them in NLog.config) - finished up most commands (todo: !property and !property2) - todo: create and use mysql wrapper class to log exceptions
This commit is contained in:
parent
57b9d5ab99
commit
1ad2b5d7d0
35 changed files with 780 additions and 958 deletions
|
@ -12,13 +12,13 @@ namespace FFXIVClassic_Lobby_Server
|
|||
public static Logger Log;
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
|
||||
// set up logging
|
||||
{
|
||||
|
||||
// set up logging
|
||||
Log = LogManager.GetCurrentClassLogger();
|
||||
#if DEBUG
|
||||
TextWriterTraceListener myWriter = new TextWriterTraceListener(System.Console.Out);
|
||||
Debug.Listeners.Add(myWriter);
|
||||
Debug.Listeners.Add(myWriter);
|
||||
#endif
|
||||
Program.Log.Info("--------FFXIV 1.0 Lobby Server--------");
|
||||
|
||||
|
@ -55,6 +55,9 @@ namespace FFXIVClassic_Lobby_Server
|
|||
{
|
||||
Server server = new Server();
|
||||
server.StartServer();
|
||||
|
||||
while (true)
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
|
||||
Program.Log.Info("Press any key to continue...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue