Minor message log improvements.
This commit is contained in:
parent
c227d00aec
commit
6a2296cd32
@ -402,8 +402,8 @@ public class GameServer
|
|||||||
UserCommandHandler.getInstance();
|
UserCommandHandler.getInstance();
|
||||||
VoicedCommandHandler.getInstance();
|
VoicedCommandHandler.getInstance();
|
||||||
|
|
||||||
LOGGER.info("AutoChatHandler : Loaded " + AutoChatHandler.getInstance().size() + " handlers in total.");
|
LOGGER.info("AutoChatHandler: Loaded " + AutoChatHandler.getInstance().size() + " handlers in total.");
|
||||||
LOGGER.info("AutoSpawnHandler : Loaded " + AutoSpawn.getInstance().size() + " handlers in total.");
|
LOGGER.info("AutoSpawnHandler: Loaded " + AutoSpawn.getInstance().size() + " handlers in total.");
|
||||||
|
|
||||||
Runtime.getRuntime().addShutdownHook(Shutdown.getInstance());
|
Runtime.getRuntime().addShutdownHook(Shutdown.getInstance());
|
||||||
|
|
||||||
@ -587,7 +587,7 @@ public class GameServer
|
|||||||
|
|
||||||
Util.printSection("Status");
|
Util.printSection("Status");
|
||||||
System.gc();
|
System.gc();
|
||||||
LOGGER.info("Server Loaded in " + ((System.currentTimeMillis() - serverLoadStart) / 1000) + " seconds");
|
LOGGER.info("Server Loaded in " + ((System.currentTimeMillis() - serverLoadStart) / 1000) + " seconds.");
|
||||||
ServerStatus.getInstance();
|
ServerStatus.getInstance();
|
||||||
|
|
||||||
// Load telnet status
|
// Load telnet status
|
||||||
|
@ -290,7 +290,7 @@ public class OfflineTradeTable
|
|||||||
}
|
}
|
||||||
rs.close();
|
rs.close();
|
||||||
stm.close();
|
stm.close();
|
||||||
LOGGER.info("Loaded: " + nTraders + " offline trader(s)");
|
LOGGER.info("Loaded " + nTraders + " offline traders.");
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
@ -146,8 +146,8 @@ public class AccessLevels
|
|||||||
{
|
{
|
||||||
LOGGER.warning("AccessLevels: Error loading from database " + e);
|
LOGGER.warning("AccessLevels: Error loading from database " + e);
|
||||||
}
|
}
|
||||||
LOGGER.info("AccessLevels: Master Access Level is " + Config.MASTERACCESS_LEVEL);
|
LOGGER.info("AccessLevels: Master Access Level is " + Config.MASTERACCESS_LEVEL + ".");
|
||||||
LOGGER.info("AccessLevels: User Access Level is " + Config.USERACCESS_LEVEL);
|
LOGGER.info("AccessLevels: User Access Level is " + Config.USERACCESS_LEVEL + ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -481,7 +481,7 @@ public class FishingChampionshipManager
|
|||||||
setEndOfChamp();
|
setEndOfChamp();
|
||||||
shutdown();
|
shutdown();
|
||||||
|
|
||||||
LOGGER.info("FishingChampionshipManager : new event period start.");
|
LOGGER.info("FishingChampionshipManager: new event period start.");
|
||||||
ThreadPool.schedule(new finishChamp(), _enddate - System.currentTimeMillis());
|
ThreadPool.schedule(new finishChamp(), _enddate - System.currentTimeMillis());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ public class QuestManager extends ScriptManager<Quest>
|
|||||||
|
|
||||||
public QuestManager()
|
public QuestManager()
|
||||||
{
|
{
|
||||||
LOGGER.info("Initializing QuestManager");
|
LOGGER.info("Initializing QuestManager.");
|
||||||
_questCount = 0;
|
_questCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ public class RaidBossPointsManager
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.warning("RaidPointsManager: Couldnt load raid points ");
|
LOGGER.warning("RaidPointsManager: Could not load raid points.");
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
@ -95,7 +95,7 @@ public class RaidBossPointsManager
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.warning("could not update char raid points: " + e);
|
LOGGER.warning("RaidPointsManager: Could not update char raid points: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ public class RaidBossPointsManager
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.warning("could not clean raid points: " + e);
|
LOGGER.warning("RaidPointsManager: Could not clean raid points: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -105,8 +105,8 @@ public class RaidBossSpawnManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LOGGER.info("RaidBossSpawnManager: Loaded " + _bosses.size() + " Instances");
|
LOGGER.info("RaidBossSpawnManager: Loaded " + _bosses.size() + " instances.");
|
||||||
LOGGER.info("RaidBossSpawnManager: Scheduled " + _schedules.size() + " Instances");
|
LOGGER.info("RaidBossSpawnManager: Scheduled " + _schedules.size() + " instances.");
|
||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
@ -156,7 +156,7 @@ public class RaidBossSpawnManager
|
|||||||
|
|
||||||
_storedInfo.put(bossId, info);
|
_storedInfo.put(bossId, info);
|
||||||
|
|
||||||
GmListTable.broadcastMessageToGMs("Spawning Raid Boss " + raidboss.getName());
|
GmListTable.broadcastMessageToGMs("Spawning Raid Boss " + raidboss.getName() + ".");
|
||||||
if (Config.ANNOUNCE_TO_ALL_SPAWN_RB)
|
if (Config.ANNOUNCE_TO_ALL_SPAWN_RB)
|
||||||
{
|
{
|
||||||
Announcements.getInstance().announceToAll("Raid boss " + raidboss.getName() + " spawned in world.");
|
Announcements.getInstance().announceToAll("Raid boss " + raidboss.getName() + " spawned in world.");
|
||||||
|
Loading…
Reference in New Issue
Block a user