mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
PROJECT: added common library to make common files actually common
- renamed sln to FFXIVClassic.sln - threaded logging - todo: print packets using Log.Packet
This commit is contained in:
parent
16d4779970
commit
c23f9c7ca9
53 changed files with 547 additions and 1817 deletions
|
@ -1,4 +1,4 @@
|
|||
using FFXIVClassic_Map_Server.common;
|
||||
using FFXIVClassic.Common;
|
||||
using FFXIVClassic_Map_Server.actors.area;
|
||||
using FFXIVClassic_Map_Server.Actors;
|
||||
using FFXIVClassic_Map_Server.lua;
|
||||
|
@ -67,7 +67,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
catch (MySqlException e)
|
||||
{
|
||||
Log.Error(e.ToString());
|
||||
Program.Log.Error(e.ToString());
|
||||
|
||||
}
|
||||
finally
|
||||
|
@ -117,7 +117,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
catch (MySqlException e)
|
||||
{
|
||||
Log.Error(e.ToString());
|
||||
Program.Log.Error(e.ToString());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -125,7 +125,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
}
|
||||
|
||||
Log.Info(String.Format("Loaded {0} zones and {1} private areas.", count1, count2));
|
||||
Program.Log.Info(String.Format("Loaded {0} zones and {1} private areas.", count1, count2));
|
||||
}
|
||||
|
||||
public void LoadZoneEntranceList()
|
||||
|
@ -170,7 +170,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
catch (MySqlException e)
|
||||
{
|
||||
Log.Error(e.ToString());
|
||||
Program.Log.Error(e.ToString());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -178,7 +178,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
}
|
||||
|
||||
Log.Info(String.Format("Loaded {0} zone spawn locations.", count));
|
||||
Program.Log.Info(String.Format("Loaded {0} zone spawn locations.", count));
|
||||
}
|
||||
|
||||
public void LoadNPCs()
|
||||
|
@ -242,7 +242,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
catch (MySqlException e)
|
||||
{
|
||||
Log.Error(e.ToString());
|
||||
Program.Log.Error(e.ToString());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -250,7 +250,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
}
|
||||
|
||||
Log.Info(String.Format("Loaded {0} npc(s).", count));
|
||||
Program.Log.Info(String.Format("Loaded {0} npc(s).", count));
|
||||
}
|
||||
|
||||
public void LoadNPCs(uint zoneId)
|
||||
|
@ -315,7 +315,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
catch (MySqlException e)
|
||||
{
|
||||
Log.Error(e.ToString());
|
||||
Program.Log.Error(e.ToString());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -323,7 +323,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
}
|
||||
|
||||
Log.Info(String.Format("Loaded {0} npc(s).", count));
|
||||
Program.Log.Info(String.Format("Loaded {0} npc(s).", count));
|
||||
}
|
||||
|
||||
//Moves the actor to the new zone if exists. No packets are sent nor position changed.
|
||||
|
@ -354,7 +354,7 @@ namespace FFXIVClassic_Map_Server
|
|||
{
|
||||
if (!zoneEntranceList.ContainsKey(zoneEntrance))
|
||||
{
|
||||
Log.Error("Given zone entrance was not found: " + zoneEntrance);
|
||||
Program.Log.Error("Given zone entrance was not found: " + zoneEntrance);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -410,7 +410,7 @@ namespace FFXIVClassic_Map_Server
|
|||
{
|
||||
if (!zoneEntranceList.ContainsKey(zoneEntrance))
|
||||
{
|
||||
Log.Error("Given zone entrance was not found: " + zoneEntrance);
|
||||
Program.Log.Error("Given zone entrance was not found: " + zoneEntrance);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue