mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Cleaned up LogFile and ByteArrayToHex utils.
This commit is contained in:
@@ -89,9 +89,9 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
}
|
||||
}
|
||||
catch(FileNotFoundException e)
|
||||
{ Log.error("Could not find staticactors file."); return false; }
|
||||
{ Log.Error("Could not find staticactors file."); return false; }
|
||||
|
||||
Log.info(String.Format("Loaded {0} static actors.", mStaticActors.Count()));
|
||||
Log.Info(String.Format("Loaded {0} static actors.", mStaticActors.Count()));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@@ -238,7 +238,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
}
|
||||
catch (MySqlException e)
|
||||
{
|
||||
Log.error(e.ToString());
|
||||
Log.Error(e.ToString());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@@ -642,7 +642,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
Database.savePlayerPlayTime(this);
|
||||
Database.savePlayerPosition(this);
|
||||
|
||||
Log.info(String.Format("{0} has been logged out and saved.", this.customDisplayName));
|
||||
Log.Info(String.Format("{0} has been logged out and saved.", this.customDisplayName));
|
||||
}
|
||||
|
||||
public Area getZone()
|
||||
|
@@ -68,7 +68,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
{
|
||||
if (bitIndex >= 32)
|
||||
{
|
||||
Log.error(String.Format("Tried to access bit flag >= 32 for questId: {0}", actorId));
|
||||
Log.Error(String.Format("Tried to access bit flag >= 32 for questId: {0}", actorId));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
{
|
||||
if (bitIndex >= 32)
|
||||
{
|
||||
Log.error(String.Format("Tried to access bit flag >= 32 for questId: {0}", actorId));
|
||||
Log.Error(String.Format("Tried to access bit flag >= 32 for questId: {0}", actorId));
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user