Removed main server debug config.
This commit is contained in:
parent
5b8e5b462d
commit
e7ab6986cf
@ -684,13 +684,6 @@ AllowReportsFromSameClanMembers = False
|
||||
# Do not touch these if you do not know what you are doing.
|
||||
# These settings are for debugging servers ONLY. They are not meant for LIVE servers.
|
||||
|
||||
# Default: False
|
||||
Debug = False
|
||||
|
||||
# Instances debugging
|
||||
# Default: False
|
||||
InstanceDebug = False
|
||||
|
||||
# Html action cache debugging
|
||||
# Default: False
|
||||
HtmlActionCacheDebug = False
|
||||
|
@ -20,7 +20,6 @@ import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.database.DatabaseFactory;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.AdminData;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
@ -93,10 +92,6 @@ public final class AdminChangeAccessLevel implements IAdminCommandHandler
|
||||
catch (SQLException se)
|
||||
{
|
||||
activeChar.sendMessage("SQLException while changing character's access level");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
se.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1197,10 +1197,6 @@ public class AdminEditChar implements IAdminCommandHandler
|
||||
sm.addInt(newReputation);
|
||||
player.sendPacket(sm);
|
||||
activeChar.sendMessage("Successfully Changed karma for " + player.getName() + " from (" + oldReputation + ") to (" + newReputation + ").");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("[SET KARMA] [GM]" + activeChar.getName() + " Changed karma for " + player.getName() + " from (" + oldReputation + ") to (" + newReputation + ").");
|
||||
}
|
||||
}
|
||||
|
||||
private void editCharacter(L2PcInstance activeChar, String targetName)
|
||||
|
@ -19,7 +19,6 @@ package handlers.admincommandhandlers;
|
||||
import java.util.Arrays;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillData;
|
||||
import com.l2jmobius.gameserver.enums.Movie;
|
||||
import com.l2jmobius.gameserver.enums.Team;
|
||||
@ -513,10 +512,6 @@ public class AdminEffects implements IAdminCommandHandler
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (command.startsWith("admin_ave_abnormal"))
|
||||
|
@ -17,9 +17,7 @@
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.ClassListData;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
@ -36,8 +34,6 @@ import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||
*/
|
||||
public class AdminExpSp implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminExpSp.class.getName());
|
||||
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_add_exp_sp_to_character",
|
||||
@ -150,10 +146,6 @@ public class AdminExpSp implements IAdminCommandHandler
|
||||
player.addExpAndSp(expval, spval);
|
||||
// Admin information
|
||||
activeChar.sendMessage("Added " + expval + " xp and " + spval + " sp to " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") added " + expval + " xp and " + spval + " sp to " + player.getObjectId() + ".");
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -197,10 +189,6 @@ public class AdminExpSp implements IAdminCommandHandler
|
||||
player.removeExpAndSp(expval, spval);
|
||||
// Admin information
|
||||
activeChar.sendMessage("Removed " + expval + " xp and " + spval + " sp from " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") removed " + expval + " xp and " + spval + " sp from " + player.getObjectId() + ".");
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -122,10 +122,6 @@ public class AdminHeal implements IAdminCommandHandler
|
||||
{
|
||||
target.setCurrentCp(target.getMaxCp());
|
||||
}
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") healed character " + target.getName());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -16,9 +16,6 @@
|
||||
*/
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
@ -30,7 +27,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
*/
|
||||
public class AdminInvul implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminInvul.class.getName());
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_invul",
|
||||
@ -86,19 +82,11 @@ public class AdminInvul implements IAdminCommandHandler
|
||||
{
|
||||
activeChar.setIsInvul(false);
|
||||
text = activeChar.getName() + " is now mortal.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm removed invul mode from character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
activeChar.setIsInvul(true);
|
||||
text = activeChar.getName() + " is now invulnerable.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm activated invul mode for character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
activeChar.sendMessage(text);
|
||||
}
|
||||
@ -110,19 +98,11 @@ public class AdminInvul implements IAdminCommandHandler
|
||||
{
|
||||
activeChar.setUndying(false);
|
||||
text = activeChar.getName() + " is now mortal.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm removed undying mode from character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
activeChar.setUndying(true);
|
||||
text = activeChar.getName() + " is now undying.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm activated undying mode for character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
activeChar.sendMessage(text);
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
@ -36,7 +35,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
*/
|
||||
public class AdminKill implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminKill.class.getName());
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_kill",
|
||||
@ -154,10 +152,6 @@ public class AdminKill implements IAdminCommandHandler
|
||||
target.setIsInvul(true);
|
||||
}
|
||||
}
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") killed character " + target.getObjectId());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -16,9 +16,6 @@
|
||||
*/
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.L2World;
|
||||
@ -34,7 +31,6 @@ import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
*/
|
||||
public class AdminRes implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminRes.class.getName());
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_res",
|
||||
@ -123,11 +119,6 @@ public class AdminRes implements IAdminCommandHandler
|
||||
}
|
||||
|
||||
doResurrect((L2Character) obj);
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") resurrected character " + obj.getObjectId());
|
||||
}
|
||||
}
|
||||
|
||||
private void handleNonPlayerRes(L2PcInstance activeChar)
|
||||
|
@ -21,7 +21,6 @@ import java.util.StringTokenizer;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.ClassListData;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillData;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillTreesData;
|
||||
@ -538,10 +537,6 @@ public class AdminSkill implements IAdminCommandHandler
|
||||
player.sendSkillList();
|
||||
// Admin info.
|
||||
activeChar.sendMessage("You gave the skill " + name + " to " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("[GM]" + activeChar.getName() + " gave skill " + name + " to " + player.getName() + ".");
|
||||
}
|
||||
activeChar.sendSkillList();
|
||||
}
|
||||
else
|
||||
@ -573,10 +568,6 @@ public class AdminSkill implements IAdminCommandHandler
|
||||
player.removeSkill(skill);
|
||||
// Admin information
|
||||
activeChar.sendMessage("You removed the skill " + skillname + " from " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("[GM]" + activeChar.getName() + " removed skill " + skillname + " from " + player.getName() + ".");
|
||||
}
|
||||
activeChar.sendSkillList();
|
||||
}
|
||||
else
|
||||
|
@ -23,7 +23,6 @@ import java.util.NoSuchElementException;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.database.DatabaseFactory;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.NpcData;
|
||||
@ -135,10 +134,6 @@ public class AdminTeleport implements IAdminCommandHandler
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("admin_walk: " + e);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (command.startsWith("admin_move_to"))
|
||||
@ -564,12 +559,6 @@ public class AdminTeleport implements IAdminCommandHandler
|
||||
spawn.init();
|
||||
|
||||
activeChar.sendMessage("Created " + template1.getName() + " on " + target.getObjectId() + ".");
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Spawn at X=" + spawn.getX() + " Y=" + spawn.getY() + " Z=" + spawn.getZ());
|
||||
_log.warning("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") moved NPC " + target.getObjectId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -18,7 +18,6 @@ package handlers.bypasshandlers;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -85,11 +84,6 @@ public class PrivateWarehouse implements IBypassHandler
|
||||
}
|
||||
|
||||
player.sendPacket(new WareHouseWithdrawalList(player, WareHouseWithdrawalList.PRIVATE));
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Source: L2WarehouseInstance.java; Player: " + player.getName() + "; Command: showRetrieveWindow; Message: Showing stored items.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.chathandlers;
|
||||
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.enums.ChatType;
|
||||
@ -38,8 +37,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
*/
|
||||
public final class ChatGeneral implements IChatHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(ChatGeneral.class.getName());
|
||||
|
||||
private static final ChatType[] CHAT_TYPES =
|
||||
{
|
||||
ChatType.GENERAL,
|
||||
@ -63,10 +60,6 @@ public final class ChatGeneral implements IChatHandler
|
||||
else
|
||||
{
|
||||
command = text.substring(1);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Command: " + command);
|
||||
}
|
||||
}
|
||||
vch = VoicedCommandHandler.getInstance().getHandler(command);
|
||||
if (vch != null)
|
||||
@ -76,10 +69,6 @@ public final class ChatGeneral implements IChatHandler
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("No handler registered for bypass '" + command + "'");
|
||||
}
|
||||
vcd_used = false;
|
||||
}
|
||||
}
|
||||
|
@ -125,11 +125,3 @@ LoginRestartSchedule = False
|
||||
# Time in hours.
|
||||
# Default: 24
|
||||
LoginRestartTime = 24
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Developer Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Default: False
|
||||
Debug = False
|
||||
|
@ -419,8 +419,6 @@ public final class Config
|
||||
public static boolean SKILL_CHECK_ENABLE;
|
||||
public static boolean SKILL_CHECK_REMOVE;
|
||||
public static boolean SKILL_CHECK_GM;
|
||||
public static boolean DEBUG;
|
||||
public static boolean DEBUG_INSTANCES;
|
||||
public static boolean HTML_ACTION_CACHE_DEBUG;
|
||||
public static boolean PACKET_HANDLER_DEBUG;
|
||||
public static boolean DEVELOPER;
|
||||
@ -1823,8 +1821,6 @@ public final class Config
|
||||
SKILL_CHECK_ENABLE = General.getBoolean("SkillCheckEnable", false);
|
||||
SKILL_CHECK_REMOVE = General.getBoolean("SkillCheckRemove", false);
|
||||
SKILL_CHECK_GM = General.getBoolean("SkillCheckGM", true);
|
||||
DEBUG = General.getBoolean("Debug", false);
|
||||
DEBUG_INSTANCES = General.getBoolean("InstanceDebug", false);
|
||||
HTML_ACTION_CACHE_DEBUG = General.getBoolean("HtmlActionCacheDebug", false);
|
||||
PACKET_HANDLER_DEBUG = General.getBoolean("PacketHandlerDebug", false);
|
||||
DEVELOPER = General.getBoolean("Developer", false);
|
||||
@ -2883,8 +2879,6 @@ public final class Config
|
||||
DATAPACK_ROOT = new File(".");
|
||||
}
|
||||
|
||||
DEBUG = ServerSettings.getBoolean("Debug", false);
|
||||
|
||||
ACCEPT_NEW_GAMESERVER = ServerSettings.getBoolean("AcceptNewGameServer", true);
|
||||
|
||||
LOGIN_TRY_BEFORE_BAN = ServerSettings.getInt("LoginTryBeforeBan", 5);
|
||||
|
@ -23,7 +23,6 @@ import org.w3c.dom.Document;
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.IGameXmlReader;
|
||||
import com.l2jmobius.gameserver.GameTimeController;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
@ -42,6 +41,7 @@ public final class HitConditionBonusData implements IGameXmlReader
|
||||
private int highBonus = 0;
|
||||
private int lowBonus = 0;
|
||||
private int darkBonus = 0;
|
||||
@SuppressWarnings("unused")
|
||||
private int rainBonus = 0;
|
||||
|
||||
/**
|
||||
@ -57,16 +57,6 @@ public final class HitConditionBonusData implements IGameXmlReader
|
||||
{
|
||||
parseDatapackFile("data/stats/hitConditionBonus.xml");
|
||||
LOGGER.info(getClass().getSimpleName() + ": Loaded Hit Condition bonuses.");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Front bonus: " + frontBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Side bonus: " + sideBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Back bonus: " + backBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": High bonus: " + highBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Low bonus: " + lowBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Dark bonus: " + darkBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Rain bonus: " + rainBonus);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -914,10 +914,6 @@ public class AugmentationData
|
||||
}
|
||||
stat12 = Rnd.get(offset, (offset + STAT_SUBBLOCKSIZE) - 1);
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Augmentation success: stat12=" + stat12 + "; stat34=" + stat34 + "; resultColor=" + resultColor + "; level=" + lifeStoneLevel + "; grade=" + lifeStoneGrade);
|
||||
}
|
||||
return new Augmentation(((stat34 << 16) + stat12));
|
||||
}
|
||||
|
||||
@ -1047,10 +1043,6 @@ public class AugmentationData
|
||||
// stat12 has stats only
|
||||
stat12 = base + skillsLength + (ACC_STAT_SUBBLOCKSIZE * resultColor) + stat12;
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Accessory augmentation success: stat12=" + stat12 + "; stat34=" + stat34 + "; level=" + lifeStoneLevel);
|
||||
}
|
||||
final int augmentationId = ((stat34 << 16) + stat12);
|
||||
return getAugmentation(augmentationId);
|
||||
}
|
||||
|
@ -234,11 +234,6 @@ public class ItemTable
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.finer(getClass().getSimpleName() + ": Item created: " + item);
|
||||
}
|
||||
|
||||
// Add the L2ItemInstance object to _allObjects of L2world
|
||||
L2World.getInstance().storeObject(item);
|
||||
|
||||
|
@ -108,12 +108,6 @@ public final class CastleManorManager implements IGameXmlReader, IStorable
|
||||
{
|
||||
ThreadPoolManager.scheduleAtFixedRate(this::storeMe, Config.ALT_MANOR_SAVE_PERIOD_RATE * 60 * 60 * 1000, Config.ALT_MANOR_SAVE_PERIOD_RATE * 60 * 60 * 1000);
|
||||
}
|
||||
|
||||
// Send debug message
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Current mode " + _mode);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -435,10 +429,6 @@ public final class CastleManorManager implements IGameXmlReader, IStorable
|
||||
}
|
||||
}
|
||||
scheduleModeChange();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Manor mode changed to " + _mode + "!");
|
||||
}
|
||||
}
|
||||
|
||||
public final void setNextSeedProduction(List<SeedProduction> list, int castleId)
|
||||
|
@ -448,10 +448,6 @@ public final class InstanceManager implements IGameXmlReader
|
||||
{
|
||||
if (_currentInstanceId == Integer.MAX_VALUE)
|
||||
{
|
||||
if (Config.DEBUG_INSTANCES)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Instance id owerflow, starting from zero.");
|
||||
}
|
||||
_currentInstanceId = 0;
|
||||
}
|
||||
_currentInstanceId++;
|
||||
|
@ -472,11 +472,6 @@ public class CursedWeapon implements INamable
|
||||
|
||||
public void saveData()
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("CursedWeapon: Saving data to disk.");
|
||||
}
|
||||
|
||||
try (Connection con = DatabaseFactory.getInstance().getConnection();
|
||||
PreparedStatement del = con.prepareStatement("DELETE FROM cursed_weapons WHERE itemId = ?");
|
||||
PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, playerReputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)"))
|
||||
|
@ -987,10 +987,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps.setInt(9, getNewLeaderId());
|
||||
ps.setInt(10, getId());
|
||||
ps.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("New clan leader saved in db: " + getId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -1032,10 +1028,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps.setInt(12, getAllyCrestId());
|
||||
ps.setInt(13, getNewLeaderId());
|
||||
ps.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("New clan saved in db: " + getId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -1060,10 +1052,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps1.setLong(3, clanCreateExpiryTime);
|
||||
ps1.setInt(4, member.getObjectId());
|
||||
ps1.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("clan member removed in db: " + getId());
|
||||
}
|
||||
// Remove apprentice.
|
||||
ps2.setInt(1, member.getObjectId());
|
||||
ps2.execute();
|
||||
@ -1141,11 +1129,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.DEBUG && (getName() != null))
|
||||
{
|
||||
_log.info("Restored clan data for \"" + getName() + "\" from database.");
|
||||
}
|
||||
|
||||
restoreSubPledges();
|
||||
restoreRankPrivs();
|
||||
restoreSkills();
|
||||
@ -1909,11 +1892,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
// TODO: clan lvl9 or more can reinforce knights cheaper if first knight unit already created, use Config.KNIGHT_REINFORCE_COST
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("New sub_clan saved in db: " + getId() + "; " + pledgeType);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -1979,10 +1957,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps.setInt(3, getId());
|
||||
ps.setInt(4, pledgeType);
|
||||
ps.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Subpledge updated in db: " + getId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -2427,11 +2401,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
return;
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer(player.getObjectId() + "(" + player.getName() + ") requested ally creation from ");
|
||||
}
|
||||
|
||||
if (!player.isClanLeader())
|
||||
{
|
||||
player.sendPacket(SystemMessageId.ONLY_CLAN_LEADERS_MAY_CREATE_ALLIANCES);
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.model.actor.instance;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.enums.InstanceType;
|
||||
import com.l2jmobius.gameserver.geoengine.GeoEngine;
|
||||
@ -104,10 +103,6 @@ public class L2DefenderInstance extends L2Attackable
|
||||
}
|
||||
if (!isInsideRadius(getSpawn(), 40, false, false))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info(getObjectId() + ": moving home");
|
||||
}
|
||||
setisReturningToSpawnPoint(true);
|
||||
clearAggroList();
|
||||
|
||||
@ -147,11 +142,6 @@ public class L2DefenderInstance extends L2Attackable
|
||||
// Check if the L2PcInstance already target the L2NpcInstance
|
||||
if (this != player.getTarget())
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("new target selected:" + getObjectId());
|
||||
}
|
||||
|
||||
// Set the target of the L2PcInstance player
|
||||
player.setTarget(this);
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package com.l2jmobius.gameserver.model.actor.instance;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ThreadPoolManager;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.enums.ChatType;
|
||||
@ -99,10 +98,6 @@ public class L2FortCommanderInstance extends L2DefenderInstance
|
||||
{
|
||||
if (!isInsideRadius(getSpawn(), 200, false, false))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info(getObjectId() + ": moving home");
|
||||
}
|
||||
setisReturningToSpawnPoint(true);
|
||||
clearAggroList();
|
||||
|
||||
|
@ -442,10 +442,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Mp editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -493,10 +489,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Mp editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -544,10 +536,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Exp editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -719,10 +707,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Tele editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -770,10 +754,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Support editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
|
@ -16,8 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.model.actor.instance;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.enums.InstanceType;
|
||||
@ -36,8 +34,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
||||
*/
|
||||
public class L2GuardInstance extends L2Attackable
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(L2GuardInstance.class.getName());
|
||||
|
||||
/**
|
||||
* Constructor of L2GuardInstance (use L2Character and L2NpcInstance constructor).<br>
|
||||
* <B><U> Actions</U> :</B>
|
||||
@ -172,11 +168,6 @@ public class L2GuardInstance extends L2Attackable
|
||||
// Check if the L2PcInstance is in the _aggroList of the L2GuardInstance
|
||||
if (containsTarget(player))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer(player.getObjectId() + ": Attacked guard " + getObjectId());
|
||||
}
|
||||
|
||||
// Set the L2PcInstance Intention to AI_INTENTION_ATTACK
|
||||
player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this);
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ package com.l2jmobius.gameserver.model.actor.instance;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillTreesData;
|
||||
import com.l2jmobius.gameserver.enums.InstanceType;
|
||||
import com.l2jmobius.gameserver.model.L2SkillLearn;
|
||||
@ -61,11 +60,6 @@ public class L2NpcInstance extends L2Npc
|
||||
*/
|
||||
public static void showSkillList(L2PcInstance player, L2Npc npc, ClassId classId)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("SkillList activated on: " + npc.getObjectId());
|
||||
}
|
||||
|
||||
final int npcId = npc.getTemplate().getId();
|
||||
if (npcId == 32611) // Tolonis (Officer)
|
||||
{
|
||||
|
@ -3885,20 +3885,11 @@ public final class L2PcInstance extends L2Playable
|
||||
final L2Summon pet = getPet();
|
||||
if (((pet != null) && (pet.getControlObjectId() == objectId)) || (getMountObjectID() == objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ": player tried to " + action + " item controling pet");
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
if (isProcessingItem(objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ":player tried to " + action + " an enchant scroll he was using");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -10570,20 +10561,11 @@ public final class L2PcInstance extends L2Playable
|
||||
final L2Summon pet = getPet();
|
||||
if (((pet != null) && (pet.getControlObjectId() == objectId)) || (getMountObjectID() == objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ": player tried to " + action + " item controling pet");
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isProcessingItem(objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ":player tried to " + action + " an enchant scroll he was using");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,6 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ThreadPoolManager;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -207,11 +206,6 @@ public class CharStatus
|
||||
{
|
||||
if ((_regTask == null) && !getActiveChar().isDead())
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("HP/MP regen started");
|
||||
}
|
||||
|
||||
// Get the Regeneration period
|
||||
final int period = Formulas.getRegeneratePeriod(getActiveChar());
|
||||
|
||||
@ -232,11 +226,6 @@ public class CharStatus
|
||||
{
|
||||
if (_regTask != null)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("HP/MP regen stop");
|
||||
}
|
||||
|
||||
// Stop the HP/MP/CP Regeneration task
|
||||
_regTask.cancel(false);
|
||||
_regTask = null;
|
||||
|
@ -24,7 +24,6 @@ import java.util.concurrent.ScheduledFuture;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.Rnd;
|
||||
import com.l2jmobius.gameserver.ThreadPoolManager;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.NpcData;
|
||||
@ -307,11 +306,6 @@ public final class BlockCheckerEngine
|
||||
_abnormalEnd = true;
|
||||
|
||||
ThreadPoolManager.execute(new EndEvent());
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Handys Block Checker Event at arena " + _arena + " ended due lack of players!");
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -128,12 +128,6 @@ public final class Instance implements IIdentifiable, INamable
|
||||
// Notify DP scripts
|
||||
EventDispatcher.getInstance().notifyEventAsync(new OnInstanceCreated(this, player), _template);
|
||||
}
|
||||
|
||||
// Debug logger
|
||||
if (Config.DEBUG_INSTANCES)
|
||||
{
|
||||
LOGGER.info("Instance " + _template.getName() + " (" + _template.getId() + ") has been created with instance id " + getId());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1297,11 +1297,6 @@ public abstract class Inventory extends ItemContainer
|
||||
*/
|
||||
public L2ItemInstance unEquipItemInBodySlot(int slot)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info("Unequip body slot: " + slot);
|
||||
}
|
||||
|
||||
int pdollSlot = -1;
|
||||
|
||||
switch (slot)
|
||||
|
@ -264,10 +264,6 @@ public final class Skill implements IIdentifiable
|
||||
|
||||
if (Config.ENABLE_MODIFY_SKILL_REUSE && Config.SKILL_REUSE_LIST.containsKey(_id))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("*** Skill " + _name + " (" + _level + ") changed reuse from " + set.getInt("reuseDelay", 0) + " to " + Config.SKILL_REUSE_LIST.get(_id) + " seconds.");
|
||||
}
|
||||
_reuseDelay = Config.SKILL_REUSE_LIST.get(_id);
|
||||
}
|
||||
else
|
||||
|
@ -170,10 +170,6 @@ public final class L2GameClient extends ChannelInboundHandler<L2GameClient>
|
||||
@Override
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.log(Level.WARNING, "Network exception caught for: " + toString(), cause);
|
||||
}
|
||||
}
|
||||
|
||||
public Channel getChannel()
|
||||
|
@ -32,8 +32,11 @@ import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
||||
public final class Action implements IClientIncomingPacket
|
||||
{
|
||||
private int _objectId;
|
||||
@SuppressWarnings("unused")
|
||||
private int _originX;
|
||||
@SuppressWarnings("unused")
|
||||
private int _originY;
|
||||
@SuppressWarnings("unused")
|
||||
private int _originZ;
|
||||
private int _actionId;
|
||||
|
||||
@ -51,11 +54,6 @@ public final class Action implements IClientIncomingPacket
|
||||
@Override
|
||||
public void run(L2GameClient client)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info(getClass().getSimpleName() + ": " + (_actionId == 0 ? "Simple-click" : "Shift-click") + " Target object ID: " + _objectId + " orignX: " + _originX + " orignY: " + _originY + " orignZ: " + _originZ);
|
||||
}
|
||||
|
||||
// Get the current L2PcInstance of the player
|
||||
final L2PcInstance activeChar = client.getActiveChar();
|
||||
if (activeChar == null)
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.LoginServerThread;
|
||||
import com.l2jmobius.gameserver.LoginServerThread.SessionKey;
|
||||
@ -60,11 +59,6 @@ public final class AuthLogin implements IClientIncomingPacket
|
||||
}
|
||||
|
||||
final SessionKey key = new SessionKey(_loginKey1, _loginKey2, _playKey1, _playKey2);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("user:" + _loginName);
|
||||
_log.info("key:" + key);
|
||||
}
|
||||
|
||||
// avoid potential exploits
|
||||
if (client.getAccountName() == null)
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.ai.CtrlEvent;
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
@ -53,10 +52,6 @@ public final class CannotMoveAnymore implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("client: x:" + _x + " y:" + _y + " z:" + _z + " server x:" + player.getX() + " y:" + player.getY() + " z:" + player.getZ());
|
||||
}
|
||||
if (player.getAI() != null)
|
||||
{
|
||||
player.getAI().notifyEvent(CtrlEvent.EVT_ARRIVED_BLOCKED, new Location(_x, _y, _z, _heading));
|
||||
|
@ -92,11 +92,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
// Last Verified: May 30, 2009 - Gracia Final - Players are able to create characters with names consisting of as little as 1,2,3 letter/number combinations.
|
||||
if ((_name.length() < 1) || (_name.length() > 16))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: Character name " + _name + " is invalid. Message generated: Your title cannot exceed 16 characters in length. Please try again.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_16_ENG_CHARS));
|
||||
return;
|
||||
}
|
||||
@ -122,11 +117,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
// Last Verified: May 30, 2009 - Gracia Final
|
||||
if (!Util.isAlphaNumeric(_name) || !isValidName(_name))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: Character name " + _name + " is invalid. Message generated: Incorrect name. Please try again.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_INCORRECT_NAME));
|
||||
return;
|
||||
}
|
||||
@ -165,21 +155,11 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
{
|
||||
if ((CharNameTable.getInstance().getAccountCharacterCount(client.getAccountName()) >= Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT) && (Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT != 0))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Max number of characters reached. Creation failed.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_TOO_MANY_CHARACTERS));
|
||||
return;
|
||||
}
|
||||
else if (CharNameTable.getInstance().doesCharNameExist(_name))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: Message generated: You cannot create another character. Please delete the existing character and try again.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_NAME_ALREADY_EXISTS));
|
||||
return;
|
||||
}
|
||||
@ -187,11 +167,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
template = PlayerTemplateData.getInstance().getTemplate(_classId);
|
||||
if ((template == null) || (ClassId.getClassId(_classId).level() > 0))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: " + _name + " classId: " + _classId + " Template: " + template + " Message generated: Your character creation has failed.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED));
|
||||
return;
|
||||
}
|
||||
@ -286,11 +261,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
|
||||
private void initNewChar(L2GameClient client, L2PcInstance newChar)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character init start");
|
||||
}
|
||||
|
||||
L2World.getInstance().storeObject(newChar);
|
||||
|
||||
if (Config.STARTING_ADENA > 0)
|
||||
@ -350,11 +320,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
|
||||
for (L2SkillLearn skill : SkillTreesData.getInstance().getAvailableSkills(newChar, newChar.getClassId(), false, true))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Adding starter skill:" + skill.getSkillId() + " / " + skill.getSkillLevel());
|
||||
}
|
||||
|
||||
newChar.addSkill(SkillData.getInstance().getSkill(skill.getSkillId(), skill.getSkillLevel()), true);
|
||||
}
|
||||
|
||||
@ -372,10 +337,5 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
|
||||
final CharSelectionInfo cl = new CharSelectionInfo(client.getAccountName(), client.getSessionId().playOkID1);
|
||||
client.setCharSelection(cl.getCharInfo());
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character init end");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.enums.CharacterDeleteFailType;
|
||||
import com.l2jmobius.gameserver.model.CharSelectInfoPackage;
|
||||
@ -55,11 +54,6 @@ public final class CharacterDelete implements IClientIncomingPacket
|
||||
// return;
|
||||
// }
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("deleting slot:" + _charSlot);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
final CharacterDeleteFailType failType = client.markToDeleteChar(_charSlot);
|
||||
|
@ -145,12 +145,6 @@ public class CharacterSelect implements IClientIncomingPacket
|
||||
}
|
||||
}
|
||||
|
||||
// The L2PcInstance must be created here, so that it can be attached to the L2GameClient
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("selected slot:" + _charSlot);
|
||||
}
|
||||
|
||||
// load up character from disk
|
||||
final L2PcInstance cha = client.loadCharFromDisk(_charSlot);
|
||||
if (cha == null)
|
||||
|
@ -165,13 +165,10 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
vars.remove("INSTANCE_RESTORE");
|
||||
}
|
||||
|
||||
if (L2World.getInstance().findObject(activeChar.getObjectId()) != null)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("User already exists in Object ID map! User " + activeChar.getName() + " is a character clone.");
|
||||
}
|
||||
}
|
||||
// if (L2World.getInstance().findObject(activeChar.getObjectId()) != null)
|
||||
// {
|
||||
// _log.warning("User already exists in Object ID map! User " + activeChar.getName() + " is a character clone.");
|
||||
// }
|
||||
|
||||
if (Config.PVP_COLOR_SYSTEM_ENABLED && !Config.FACTION_SYSTEM_ENABLED)
|
||||
{
|
||||
|
@ -149,20 +149,12 @@ public final class RequestDropItem implements IClientIncomingPacket
|
||||
|
||||
if ((L2Item.TYPE2_QUEST == item.getItem().getType2()) && !activeChar.canOverrideCond(PcCondOverride.DROP_ALL_ITEMS))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(activeChar.getObjectId() + ":player tried to drop quest item");
|
||||
}
|
||||
activeChar.sendPacket(SystemMessageId.THAT_ITEM_CANNOT_BE_DISCARDED_OR_EXCHANGED);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!activeChar.isInsideRadius(_x, _y, 0, 150, false, false) || (Math.abs(_z - activeChar.getZ()) > 50))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(activeChar.getObjectId() + ": trying to drop too far away");
|
||||
}
|
||||
activeChar.sendPacket(SystemMessageId.YOU_CANNOT_DISCARD_SOMETHING_THAT_FAR_AWAY_FROM_YOU);
|
||||
return;
|
||||
}
|
||||
@ -173,11 +165,6 @@ public final class RequestDropItem implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("requested drop item " + _objectId + "(" + item.getCount() + ") at " + _x + "/" + _y + "/" + _z);
|
||||
}
|
||||
|
||||
if (item.isEquipped())
|
||||
{
|
||||
activeChar.getInventory().unEquipItemInSlot(item.getLocationSlot());
|
||||
@ -187,11 +174,6 @@ public final class RequestDropItem implements IClientIncomingPacket
|
||||
|
||||
final L2ItemInstance dropedItem = activeChar.dropItem("Drop", _objectId, _count, _x, _y, _z, null, false, false);
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("dropping " + _objectId + " item(" + _count + ") at: " + _x + " " + _y + " " + _z);
|
||||
}
|
||||
|
||||
// activeChar.broadcastUserInfo();
|
||||
|
||||
if (activeChar.isGM())
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.ThreadPoolManager;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.FakePlayerData;
|
||||
@ -193,11 +192,6 @@ public final class RequestDuelStart implements IClientIncomingPacket
|
||||
activeChar.onTransactionRequest(partyLeader);
|
||||
partyLeader.sendPacket(new ExDuelAskStart(activeChar.getName(), _partyDuel));
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer(activeChar.getName() + " requested a duel with " + partyLeader.getName());
|
||||
}
|
||||
|
||||
SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.C1_S_PARTY_HAS_BEEN_CHALLENGED_TO_A_DUEL);
|
||||
msg.addString(partyLeader.getName());
|
||||
activeChar.sendPacket(msg);
|
||||
@ -222,11 +216,6 @@ public final class RequestDuelStart implements IClientIncomingPacket
|
||||
activeChar.onTransactionRequest(targetChar);
|
||||
targetChar.sendPacket(new ExDuelAskStart(activeChar.getName(), _partyDuel));
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer(activeChar.getName() + " requested a duel with " + targetChar.getName());
|
||||
}
|
||||
|
||||
SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.C1_HAS_BEEN_CHALLENGED_TO_A_DUEL);
|
||||
msg.addString(targetChar.getName());
|
||||
activeChar.sendPacket(msg);
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.data.sql.impl.ClanTable;
|
||||
import com.l2jmobius.gameserver.model.L2Clan;
|
||||
@ -48,10 +47,6 @@ public final class RequestPledgeInfo implements IClientIncomingPacket
|
||||
final L2Clan clan = ClanTable.getInstance().getClan(_clanId);
|
||||
if (clan == null)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning(getClass().getSimpleName() + ": Clan data for clanId " + _clanId + " is missing for player " + activeChar);
|
||||
}
|
||||
return; // we have no clan data ?!? should not happen
|
||||
}
|
||||
|
||||
|
@ -67,11 +67,6 @@ public final class RequestRestart implements IClientIncomingPacket
|
||||
|
||||
if (AttackStanceTaskManager.getInstance().hasAttackStanceTask(player) && !(player.isGM() && Config.GM_RESTART_FIGHTING))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Player " + player.getName() + " tried to logout while fighting.");
|
||||
}
|
||||
|
||||
player.sendPacket(SystemMessageId.YOU_CANNOT_RESTART_WHILE_IN_COMBAT);
|
||||
client.sendPacket(RestartResponse.FALSE);
|
||||
return;
|
||||
|
@ -99,11 +99,6 @@ public final class Say2 implements IClientIncomingPacket
|
||||
@Override
|
||||
public void run(L2GameClient client)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Say2: Msg Type = '" + _type + "' Text = '" + _text + "'.");
|
||||
}
|
||||
|
||||
final L2PcInstance activeChar = client.getActiveChar();
|
||||
if (activeChar == null)
|
||||
{
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.model.L2World;
|
||||
import com.l2jmobius.gameserver.model.TradeList;
|
||||
@ -56,10 +55,6 @@ public final class TradeDone implements IClientIncomingPacket
|
||||
final TradeList trade = player.getActiveTradeList();
|
||||
if (trade == null)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("player.getTradeList == null in " + getClass().getSimpleName() + " for player " + player.getName());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -195,10 +195,6 @@ public final class TradeRequest implements IClientIncomingPacket
|
||||
|
||||
if (player.isProcessingTransaction())
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Already trading with someone else.");
|
||||
}
|
||||
client.sendPacket(SystemMessageId.YOU_ARE_ALREADY_TRADING_WITH_SOMEONE);
|
||||
return;
|
||||
}
|
||||
@ -206,10 +202,6 @@ public final class TradeRequest implements IClientIncomingPacket
|
||||
SystemMessage sm;
|
||||
if (partner.isProcessingRequest() || partner.isProcessingTransaction())
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Transaction already in progress.");
|
||||
}
|
||||
sm = SystemMessage.getSystemMessage(SystemMessageId.C1_IS_ON_ANOTHER_TASK_PLEASE_TRY_AGAIN_LATER);
|
||||
sm.addString(partner.getName());
|
||||
client.sendPacket(sm);
|
||||
|
@ -281,10 +281,6 @@ public final class UseItem implements IClientIncomingPacket
|
||||
{
|
||||
_log.warning("Unmanaged Item handler: " + etcItem.getHandlerName() + " for Item Id: " + _itemId + "!");
|
||||
}
|
||||
else if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("No Item handler registered for Item Id: " + _itemId + "!");
|
||||
}
|
||||
}
|
||||
else if (handler.useItem(activeChar, item, _ctrlPressed))
|
||||
{
|
||||
|
@ -18,7 +18,6 @@ package com.l2jmobius.gameserver.util;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.Rnd;
|
||||
@ -35,8 +34,6 @@ import com.l2jmobius.gameserver.model.holders.MinionHolder;
|
||||
*/
|
||||
public class MinionList
|
||||
{
|
||||
private static final Logger _log = Logger.getLogger(MinionList.class.getName());
|
||||
|
||||
protected final L2MonsterInstance _master;
|
||||
/** List containing the current spawned minions */
|
||||
private final List<L2MonsterInstance> _minionReferences = new CopyOnWriteArrayList<>();
|
||||
@ -385,11 +382,6 @@ public class MinionList
|
||||
|
||||
minion.spawnMe(newX, newY, master.getZ());
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Spawned minion template " + minion.getId() + " with objid: " + minion.getObjectId() + " to boss " + master.getObjectId() + " ,at: " + minion.getX() + " x, " + minion.getY() + " y, " + minion.getZ() + " z");
|
||||
}
|
||||
|
||||
return minion;
|
||||
}
|
||||
|
||||
|
@ -28,8 +28,6 @@ import java.util.Set;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.CommonUtil;
|
||||
import com.l2jmobius.commons.util.crypt.NewCrypt;
|
||||
import com.l2jmobius.commons.util.network.BaseSendablePacket;
|
||||
import com.l2jmobius.loginserver.GameServerTable.GameServerInfo;
|
||||
@ -125,11 +123,6 @@ public class GameServerThread extends Thread
|
||||
return;
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("[C]" + Config.EOL + CommonUtil.printData(data));
|
||||
}
|
||||
|
||||
L2JGameServerPacketHandler.handlePacket(data, this);
|
||||
}
|
||||
}
|
||||
@ -235,10 +228,6 @@ public class GameServerThread extends Thread
|
||||
{
|
||||
final byte[] data = sl.getContent();
|
||||
NewCrypt.appendChecksum(data);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest("[S] " + sl.getClass().getSimpleName() + ":" + Config.EOL + CommonUtil.printData(data));
|
||||
}
|
||||
_blowfish.crypt(data, 0, data.length);
|
||||
|
||||
final int len = data.length + 2;
|
||||
|
@ -223,11 +223,6 @@ public class LoginController
|
||||
{
|
||||
if (rset.next())
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Account '" + login + "' exists.");
|
||||
}
|
||||
|
||||
final AccountInfo info = new AccountInfo(rset.getString("login"), rset.getString("password"), rset.getInt("accessLevel"), rset.getInt("lastServer"));
|
||||
if (!info.checkPassHash(hashBase64))
|
||||
{
|
||||
|
@ -24,7 +24,6 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.Rnd;
|
||||
import com.l2jmobius.commons.util.crypt.LoginCrypt;
|
||||
import com.l2jmobius.commons.util.crypt.ScrambledKeyPair;
|
||||
@ -261,11 +260,6 @@ public final class L2LoginClient extends MMOClient<MMOConnection<L2LoginClient>>
|
||||
@Override
|
||||
public void onDisconnection()
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("DISCONNECTED: " + toString());
|
||||
}
|
||||
|
||||
if (!hasJoinedGS() || ((getConnectionStartTime() + LoginController.LOGIN_TIMEOUT) < System.currentTimeMillis()))
|
||||
{
|
||||
LoginController.getInstance().removeAuthedLoginClient(getAccount());
|
||||
|
@ -22,7 +22,6 @@ import java.util.logging.Logger;
|
||||
|
||||
import javax.crypto.Cipher;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.crypt.NewCrypt;
|
||||
import com.l2jmobius.commons.util.network.BaseRecievePacket;
|
||||
import com.l2jmobius.loginserver.GameServerThread;
|
||||
@ -64,10 +63,6 @@ public class BlowFishKey extends BaseRecievePacket
|
||||
System.arraycopy(tempDecryptKey, i, key, 0, len - i);
|
||||
|
||||
server.SetBlowFish(new NewCrypt(key));
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("New BlowFish key received, Blowfih Engine initialized:");
|
||||
}
|
||||
server.setLoginConnectionState(GameServerState.BF_CONNECTED);
|
||||
}
|
||||
catch (GeneralSecurityException e)
|
||||
|
@ -78,19 +78,10 @@ public class GameServerAuth extends BaseRecievePacket
|
||||
_hosts[i] = readS();
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Auth request received");
|
||||
}
|
||||
|
||||
if (handleRegProcess())
|
||||
{
|
||||
final AuthResponse ar = new AuthResponse(server.getGameServerInfo().getId());
|
||||
server.sendPacket(ar);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Authed: id: " + server.getGameServerInfo().getId());
|
||||
}
|
||||
server.setLoginConnectionState(GameServerState.AUTHED);
|
||||
}
|
||||
}
|
||||
|
@ -16,9 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.loginserver.network.gameserverpackets;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.network.BaseRecievePacket;
|
||||
import com.l2jmobius.loginserver.GameServerThread;
|
||||
import com.l2jmobius.loginserver.LoginController;
|
||||
@ -30,8 +27,6 @@ import com.l2jmobius.loginserver.network.loginserverpackets.PlayerAuthResponse;
|
||||
*/
|
||||
public class PlayerAuthRequest extends BaseRecievePacket
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(PlayerAuthRequest.class.getName());
|
||||
|
||||
/**
|
||||
* @param decrypt
|
||||
* @param server
|
||||
@ -47,28 +42,14 @@ public class PlayerAuthRequest extends BaseRecievePacket
|
||||
final SessionKey sessionKey = new SessionKey(loginKey1, loginKey2, playKey1, playKey2);
|
||||
|
||||
PlayerAuthResponse authResponse;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("auth request received for Player " + account);
|
||||
}
|
||||
final SessionKey key = LoginController.getInstance().getKeyForAccount(account);
|
||||
if ((key != null) && key.equals(sessionKey))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("auth request: OK");
|
||||
}
|
||||
LoginController.getInstance().removeAuthedLoginClient(account);
|
||||
authResponse = new PlayerAuthResponse(account, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("auth request: NO");
|
||||
_log.info("session key from self: " + key);
|
||||
_log.info("session key sent: " + sessionKey);
|
||||
}
|
||||
authResponse = new PlayerAuthResponse(account, false);
|
||||
}
|
||||
server.sendPacket(authResponse);
|
||||
|
@ -16,11 +16,7 @@
|
||||
*/
|
||||
package com.l2jmobius.loginserver.network.gameserverpackets;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.network.BaseRecievePacket;
|
||||
import com.l2jmobius.loginserver.GameServerTable;
|
||||
import com.l2jmobius.loginserver.GameServerThread;
|
||||
|
||||
/**
|
||||
@ -28,8 +24,6 @@ import com.l2jmobius.loginserver.GameServerThread;
|
||||
*/
|
||||
public class PlayerInGame extends BaseRecievePacket
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(PlayerInGame.class.getName());
|
||||
|
||||
/**
|
||||
* @param decrypt
|
||||
* @param server
|
||||
@ -42,10 +36,6 @@ public class PlayerInGame extends BaseRecievePacket
|
||||
{
|
||||
final String account = readS();
|
||||
server.addAccountOnGameServer(account);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Account " + account + " logged in GameServer: [" + server.getServerId() + "] " + GameServerTable.getInstance().getServerNameById(server.getServerId()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,9 +18,7 @@ package com.l2jmobius.loginserver.network.gameserverpackets;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.network.BaseRecievePacket;
|
||||
import com.l2jmobius.loginserver.GameServerTable;
|
||||
import com.l2jmobius.loginserver.GameServerThread;
|
||||
|
||||
/**
|
||||
@ -40,9 +38,5 @@ public class PlayerLogout extends BaseRecievePacket
|
||||
final String account = readS();
|
||||
|
||||
server.removeAccountOnGameServer(account);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Player " + account + " logged out from gameserver [" + server.getServerId() + "] " + GameServerTable.getInstance().getServerNameById(server.getServerId()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package com.l2jmobius.loginserver.network.gameserverpackets;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.network.BaseRecievePacket;
|
||||
import com.l2jmobius.loginserver.LoginController;
|
||||
|
||||
@ -43,9 +42,5 @@ public class PlayerTracert extends BaseRecievePacket
|
||||
final String hop4 = readS();
|
||||
|
||||
LoginController.getInstance().setAccountLastTracert(account, pcIp, hop1, hop2, hop3, hop4);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Saved " + account + " last tracert");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,8 +18,6 @@ package com.l2jmobius.loginserver.network.serverpackets;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
|
||||
/**
|
||||
* Fromat: d d: response
|
||||
*/
|
||||
@ -33,10 +31,6 @@ public final class GGAuth extends L2LoginServerPacket
|
||||
public GGAuth(int response)
|
||||
{
|
||||
_response = response;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Reason Hex: " + Integer.toHexString(response));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -688,13 +688,6 @@ AllowReportsFromSameClanMembers = False
|
||||
# Do not touch these if you do not know what you are doing.
|
||||
# These settings are for debugging servers ONLY. They are not meant for LIVE servers.
|
||||
|
||||
# Default: False
|
||||
Debug = False
|
||||
|
||||
# Instances debugging
|
||||
# Default: False
|
||||
InstanceDebug = False
|
||||
|
||||
# Html action cache debugging
|
||||
# Default: False
|
||||
HtmlActionCacheDebug = False
|
||||
|
@ -20,7 +20,6 @@ import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.database.DatabaseFactory;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.AdminData;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
@ -93,10 +92,6 @@ public final class AdminChangeAccessLevel implements IAdminCommandHandler
|
||||
catch (SQLException se)
|
||||
{
|
||||
activeChar.sendMessage("SQLException while changing character's access level");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
se.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1217,10 +1217,6 @@ public class AdminEditChar implements IAdminCommandHandler
|
||||
sm.addInt(newReputation);
|
||||
player.sendPacket(sm);
|
||||
activeChar.sendMessage("Successfully Changed karma for " + player.getName() + " from (" + oldReputation + ") to (" + newReputation + ").");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("[SET KARMA] [GM]" + activeChar.getName() + " Changed karma for " + player.getName() + " from (" + oldReputation + ") to (" + newReputation + ").");
|
||||
}
|
||||
}
|
||||
|
||||
private void editCharacter(L2PcInstance activeChar, String targetName)
|
||||
|
@ -19,7 +19,6 @@ package handlers.admincommandhandlers;
|
||||
import java.util.Arrays;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillData;
|
||||
import com.l2jmobius.gameserver.enums.Movie;
|
||||
import com.l2jmobius.gameserver.enums.Team;
|
||||
@ -513,10 +512,6 @@ public class AdminEffects implements IAdminCommandHandler
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (command.startsWith("admin_ave_abnormal"))
|
||||
|
@ -17,9 +17,7 @@
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.ClassListData;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
@ -36,8 +34,6 @@ import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||
*/
|
||||
public class AdminExpSp implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminExpSp.class.getName());
|
||||
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_add_exp_sp_to_character",
|
||||
@ -150,10 +146,6 @@ public class AdminExpSp implements IAdminCommandHandler
|
||||
player.addExpAndSp(expval, spval);
|
||||
// Admin information
|
||||
activeChar.sendMessage("Added " + expval + " xp and " + spval + " sp to " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") added " + expval + " xp and " + spval + " sp to " + player.getObjectId() + ".");
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -197,10 +189,6 @@ public class AdminExpSp implements IAdminCommandHandler
|
||||
player.removeExpAndSp(expval, spval);
|
||||
// Admin information
|
||||
activeChar.sendMessage("Removed " + expval + " xp and " + spval + " sp from " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") removed " + expval + " xp and " + spval + " sp from " + player.getObjectId() + ".");
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -122,10 +122,6 @@ public class AdminHeal implements IAdminCommandHandler
|
||||
{
|
||||
target.setCurrentCp(target.getMaxCp());
|
||||
}
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") healed character " + target.getName());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -16,9 +16,6 @@
|
||||
*/
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
@ -30,7 +27,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
*/
|
||||
public class AdminInvul implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminInvul.class.getName());
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_invul",
|
||||
@ -86,19 +82,11 @@ public class AdminInvul implements IAdminCommandHandler
|
||||
{
|
||||
activeChar.setIsInvul(false);
|
||||
text = activeChar.getName() + " is now mortal.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm removed invul mode from character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
activeChar.setIsInvul(true);
|
||||
text = activeChar.getName() + " is now invulnerable.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm activated invul mode for character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
activeChar.sendMessage(text);
|
||||
}
|
||||
@ -110,19 +98,11 @@ public class AdminInvul implements IAdminCommandHandler
|
||||
{
|
||||
activeChar.setUndying(false);
|
||||
text = activeChar.getName() + " is now mortal.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm removed undying mode from character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
activeChar.setUndying(true);
|
||||
text = activeChar.getName() + " is now undying.";
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: Gm activated undying mode for character " + activeChar.getName() + "(" + activeChar.getObjectId() + ")");
|
||||
}
|
||||
}
|
||||
activeChar.sendMessage(text);
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
@ -36,7 +35,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
*/
|
||||
public class AdminKill implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminKill.class.getName());
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_kill",
|
||||
@ -154,10 +152,6 @@ public class AdminKill implements IAdminCommandHandler
|
||||
target.setIsInvul(true);
|
||||
}
|
||||
}
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") killed character " + target.getObjectId());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -16,9 +16,6 @@
|
||||
*/
|
||||
package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.L2World;
|
||||
@ -34,7 +31,6 @@ import com.l2jmobius.gameserver.taskmanager.DecayTaskManager;
|
||||
*/
|
||||
public class AdminRes implements IAdminCommandHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(AdminRes.class.getName());
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_res",
|
||||
@ -123,11 +119,6 @@ public class AdminRes implements IAdminCommandHandler
|
||||
}
|
||||
|
||||
doResurrect((L2Character) obj);
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") resurrected character " + obj.getObjectId());
|
||||
}
|
||||
}
|
||||
|
||||
private void handleNonPlayerRes(L2PcInstance activeChar)
|
||||
|
@ -21,7 +21,6 @@ import java.util.StringTokenizer;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.ClassListData;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillData;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillTreesData;
|
||||
@ -538,10 +537,6 @@ public class AdminSkill implements IAdminCommandHandler
|
||||
player.sendSkillList();
|
||||
// Admin info.
|
||||
activeChar.sendMessage("You gave the skill " + name + " to " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("[GM]" + activeChar.getName() + " gave skill " + name + " to " + player.getName() + ".");
|
||||
}
|
||||
activeChar.sendSkillList();
|
||||
}
|
||||
else
|
||||
@ -573,10 +568,6 @@ public class AdminSkill implements IAdminCommandHandler
|
||||
player.removeSkill(skill);
|
||||
// Admin information
|
||||
activeChar.sendMessage("You removed the skill " + skillname + " from " + player.getName() + ".");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("[GM]" + activeChar.getName() + " removed skill " + skillname + " from " + player.getName() + ".");
|
||||
}
|
||||
activeChar.sendSkillList();
|
||||
}
|
||||
else
|
||||
|
@ -23,7 +23,6 @@ import java.util.NoSuchElementException;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.database.DatabaseFactory;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.NpcData;
|
||||
@ -135,10 +134,6 @@ public class AdminTeleport implements IAdminCommandHandler
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("admin_walk: " + e);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (command.startsWith("admin_move_to"))
|
||||
@ -564,12 +559,6 @@ public class AdminTeleport implements IAdminCommandHandler
|
||||
spawn.init();
|
||||
|
||||
activeChar.sendMessage("Created " + template1.getName() + " on " + target.getObjectId() + ".");
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Spawn at X=" + spawn.getX() + " Y=" + spawn.getY() + " Z=" + spawn.getZ());
|
||||
_log.warning("GM: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") moved NPC " + target.getObjectId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -18,7 +18,6 @@ package handlers.bypasshandlers;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.handler.IBypassHandler;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -85,11 +84,6 @@ public class PrivateWarehouse implements IBypassHandler
|
||||
}
|
||||
|
||||
player.sendPacket(new WareHouseWithdrawalList(player, WareHouseWithdrawalList.PRIVATE));
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Source: L2WarehouseInstance.java; Player: " + player.getName() + "; Command: showRetrieveWindow; Message: Showing stored items.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.chathandlers;
|
||||
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.enums.ChatType;
|
||||
@ -38,8 +37,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
*/
|
||||
public final class ChatGeneral implements IChatHandler
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(ChatGeneral.class.getName());
|
||||
|
||||
private static final ChatType[] CHAT_TYPES =
|
||||
{
|
||||
ChatType.GENERAL,
|
||||
@ -63,10 +60,6 @@ public final class ChatGeneral implements IChatHandler
|
||||
else
|
||||
{
|
||||
command = text.substring(1);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Command: " + command);
|
||||
}
|
||||
}
|
||||
vch = VoicedCommandHandler.getInstance().getHandler(command);
|
||||
if (vch != null)
|
||||
@ -76,10 +69,6 @@ public final class ChatGeneral implements IChatHandler
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("No handler registered for bypass '" + command + "'");
|
||||
}
|
||||
vcd_used = false;
|
||||
}
|
||||
}
|
||||
|
@ -125,11 +125,3 @@ LoginRestartSchedule = False
|
||||
# Time in hours.
|
||||
# Default: 24
|
||||
LoginRestartTime = 24
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Developer Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Default: False
|
||||
Debug = False
|
||||
|
@ -419,8 +419,6 @@ public final class Config
|
||||
public static boolean SKILL_CHECK_ENABLE;
|
||||
public static boolean SKILL_CHECK_REMOVE;
|
||||
public static boolean SKILL_CHECK_GM;
|
||||
public static boolean DEBUG;
|
||||
public static boolean DEBUG_INSTANCES;
|
||||
public static boolean HTML_ACTION_CACHE_DEBUG;
|
||||
public static boolean PACKET_HANDLER_DEBUG;
|
||||
public static boolean DEVELOPER;
|
||||
@ -1824,8 +1822,6 @@ public final class Config
|
||||
SKILL_CHECK_ENABLE = General.getBoolean("SkillCheckEnable", false);
|
||||
SKILL_CHECK_REMOVE = General.getBoolean("SkillCheckRemove", false);
|
||||
SKILL_CHECK_GM = General.getBoolean("SkillCheckGM", true);
|
||||
DEBUG = General.getBoolean("Debug", false);
|
||||
DEBUG_INSTANCES = General.getBoolean("InstanceDebug", false);
|
||||
HTML_ACTION_CACHE_DEBUG = General.getBoolean("HtmlActionCacheDebug", false);
|
||||
PACKET_HANDLER_DEBUG = General.getBoolean("PacketHandlerDebug", false);
|
||||
DEVELOPER = General.getBoolean("Developer", false);
|
||||
@ -2885,8 +2881,6 @@ public final class Config
|
||||
DATAPACK_ROOT = new File(".");
|
||||
}
|
||||
|
||||
DEBUG = ServerSettings.getBoolean("Debug", false);
|
||||
|
||||
ACCEPT_NEW_GAMESERVER = ServerSettings.getBoolean("AcceptNewGameServer", true);
|
||||
|
||||
LOGIN_TRY_BEFORE_BAN = ServerSettings.getInt("LoginTryBeforeBan", 5);
|
||||
|
@ -23,7 +23,6 @@ import org.w3c.dom.Document;
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.IGameXmlReader;
|
||||
import com.l2jmobius.gameserver.GameTimeController;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
@ -42,6 +41,7 @@ public final class HitConditionBonusData implements IGameXmlReader
|
||||
private int highBonus = 0;
|
||||
private int lowBonus = 0;
|
||||
private int darkBonus = 0;
|
||||
@SuppressWarnings("unused")
|
||||
private int rainBonus = 0;
|
||||
|
||||
/**
|
||||
@ -57,16 +57,6 @@ public final class HitConditionBonusData implements IGameXmlReader
|
||||
{
|
||||
parseDatapackFile("data/stats/hitConditionBonus.xml");
|
||||
LOGGER.info(getClass().getSimpleName() + ": Loaded Hit Condition bonuses.");
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Front bonus: " + frontBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Side bonus: " + sideBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Back bonus: " + backBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": High bonus: " + highBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Low bonus: " + lowBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Dark bonus: " + darkBonus);
|
||||
LOGGER.info(getClass().getSimpleName() + ": Rain bonus: " + rainBonus);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -914,10 +914,6 @@ public class AugmentationData
|
||||
}
|
||||
stat12 = Rnd.get(offset, (offset + STAT_SUBBLOCKSIZE) - 1);
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Augmentation success: stat12=" + stat12 + "; stat34=" + stat34 + "; resultColor=" + resultColor + "; level=" + lifeStoneLevel + "; grade=" + lifeStoneGrade);
|
||||
}
|
||||
return new Augmentation(((stat34 << 16) + stat12));
|
||||
}
|
||||
|
||||
@ -1047,10 +1043,6 @@ public class AugmentationData
|
||||
// stat12 has stats only
|
||||
stat12 = base + skillsLength + (ACC_STAT_SUBBLOCKSIZE * resultColor) + stat12;
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Accessory augmentation success: stat12=" + stat12 + "; stat34=" + stat34 + "; level=" + lifeStoneLevel);
|
||||
}
|
||||
final int augmentationId = ((stat34 << 16) + stat12);
|
||||
return getAugmentation(augmentationId);
|
||||
}
|
||||
|
@ -234,11 +234,6 @@ public class ItemTable
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.finer(getClass().getSimpleName() + ": Item created: " + item);
|
||||
}
|
||||
|
||||
// Add the L2ItemInstance object to _allObjects of L2world
|
||||
L2World.getInstance().storeObject(item);
|
||||
|
||||
|
@ -108,12 +108,6 @@ public final class CastleManorManager implements IGameXmlReader, IStorable
|
||||
{
|
||||
ThreadPoolManager.scheduleAtFixedRate(this::storeMe, Config.ALT_MANOR_SAVE_PERIOD_RATE * 60 * 60 * 1000, Config.ALT_MANOR_SAVE_PERIOD_RATE * 60 * 60 * 1000);
|
||||
}
|
||||
|
||||
// Send debug message
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Current mode " + _mode);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -435,10 +429,6 @@ public final class CastleManorManager implements IGameXmlReader, IStorable
|
||||
}
|
||||
}
|
||||
scheduleModeChange();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Manor mode changed to " + _mode + "!");
|
||||
}
|
||||
}
|
||||
|
||||
public final void setNextSeedProduction(List<SeedProduction> list, int castleId)
|
||||
|
@ -448,10 +448,6 @@ public final class InstanceManager implements IGameXmlReader
|
||||
{
|
||||
if (_currentInstanceId == Integer.MAX_VALUE)
|
||||
{
|
||||
if (Config.DEBUG_INSTANCES)
|
||||
{
|
||||
LOGGER.info(getClass().getSimpleName() + ": Instance id owerflow, starting from zero.");
|
||||
}
|
||||
_currentInstanceId = 0;
|
||||
}
|
||||
_currentInstanceId++;
|
||||
|
@ -472,11 +472,6 @@ public class CursedWeapon implements INamable
|
||||
|
||||
public void saveData()
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("CursedWeapon: Saving data to disk.");
|
||||
}
|
||||
|
||||
try (Connection con = DatabaseFactory.getInstance().getConnection();
|
||||
PreparedStatement del = con.prepareStatement("DELETE FROM cursed_weapons WHERE itemId = ?");
|
||||
PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, playerReputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)"))
|
||||
|
@ -988,10 +988,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps.setInt(9, getNewLeaderId());
|
||||
ps.setInt(10, getId());
|
||||
ps.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("New clan leader saved in db: " + getId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -1033,10 +1029,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps.setInt(12, getAllyCrestId());
|
||||
ps.setInt(13, getNewLeaderId());
|
||||
ps.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("New clan saved in db: " + getId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -1061,10 +1053,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps1.setLong(3, clanCreateExpiryTime);
|
||||
ps1.setInt(4, member.getObjectId());
|
||||
ps1.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("clan member removed in db: " + getId());
|
||||
}
|
||||
// Remove apprentice.
|
||||
ps2.setInt(1, member.getObjectId());
|
||||
ps2.execute();
|
||||
@ -1142,11 +1130,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.DEBUG && (getName() != null))
|
||||
{
|
||||
_log.info("Restored clan data for \"" + getName() + "\" from database.");
|
||||
}
|
||||
|
||||
restoreSubPledges();
|
||||
restoreRankPrivs();
|
||||
restoreSkills();
|
||||
@ -1910,11 +1893,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
// TODO: clan lvl9 or more can reinforce knights cheaper if first knight unit already created, use Config.KNIGHT_REINFORCE_COST
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("New sub_clan saved in db: " + getId() + "; " + pledgeType);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -1980,10 +1958,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
ps.setInt(3, getId());
|
||||
ps.setInt(4, pledgeType);
|
||||
ps.execute();
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Subpledge updated in db: " + getId());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
@ -2428,11 +2402,6 @@ public class L2Clan implements IIdentifiable, INamable
|
||||
return;
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer(player.getObjectId() + "(" + player.getName() + ") requested ally creation from ");
|
||||
}
|
||||
|
||||
if (!player.isClanLeader())
|
||||
{
|
||||
player.sendPacket(SystemMessageId.ONLY_CLAN_LEADERS_MAY_CREATE_ALLIANCES);
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.model.actor.instance;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.enums.InstanceType;
|
||||
import com.l2jmobius.gameserver.geoengine.GeoEngine;
|
||||
@ -104,10 +103,6 @@ public class L2DefenderInstance extends L2Attackable
|
||||
}
|
||||
if (!isInsideRadius(getSpawn(), 40, false, false))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info(getObjectId() + ": moving home");
|
||||
}
|
||||
setisReturningToSpawnPoint(true);
|
||||
clearAggroList();
|
||||
|
||||
@ -147,11 +142,6 @@ public class L2DefenderInstance extends L2Attackable
|
||||
// Check if the L2PcInstance already target the L2NpcInstance
|
||||
if (this != player.getTarget())
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("new target selected:" + getObjectId());
|
||||
}
|
||||
|
||||
// Set the target of the L2PcInstance player
|
||||
player.setTarget(this);
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package com.l2jmobius.gameserver.model.actor.instance;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ThreadPoolManager;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.enums.ChatType;
|
||||
@ -99,10 +98,6 @@ public class L2FortCommanderInstance extends L2DefenderInstance
|
||||
{
|
||||
if (!isInsideRadius(getSpawn(), 200, false, false))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info(getObjectId() + ": moving home");
|
||||
}
|
||||
setisReturningToSpawnPoint(true);
|
||||
clearAggroList();
|
||||
|
||||
|
@ -442,10 +442,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Mp editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -493,10 +489,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Mp editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -544,10 +536,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Exp editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -719,10 +707,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Tele editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
@ -770,10 +754,6 @@ public class L2FortManagerInstance extends L2MerchantInstance
|
||||
if (st.countTokens() >= 1)
|
||||
{
|
||||
int fee;
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.warning("Support editing invoked");
|
||||
}
|
||||
val = st.nextToken();
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), "data/html/fortress/functions-apply_confirmed.htm");
|
||||
|
@ -16,8 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.model.actor.instance;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.enums.InstanceType;
|
||||
@ -36,8 +34,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
||||
*/
|
||||
public class L2GuardInstance extends L2Attackable
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(L2GuardInstance.class.getName());
|
||||
|
||||
/**
|
||||
* Constructor of L2GuardInstance (use L2Character and L2NpcInstance constructor).<br>
|
||||
* <B><U> Actions</U> :</B>
|
||||
@ -172,11 +168,6 @@ public class L2GuardInstance extends L2Attackable
|
||||
// Check if the L2PcInstance is in the _aggroList of the L2GuardInstance
|
||||
if (containsTarget(player))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer(player.getObjectId() + ": Attacked guard " + getObjectId());
|
||||
}
|
||||
|
||||
// Set the L2PcInstance Intention to AI_INTENTION_ATTACK
|
||||
player.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, this);
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ package com.l2jmobius.gameserver.model.actor.instance;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillTreesData;
|
||||
import com.l2jmobius.gameserver.enums.InstanceType;
|
||||
import com.l2jmobius.gameserver.model.L2SkillLearn;
|
||||
@ -61,11 +60,6 @@ public class L2NpcInstance extends L2Npc
|
||||
*/
|
||||
public static void showSkillList(L2PcInstance player, L2Npc npc, ClassId classId)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("SkillList activated on: " + npc.getObjectId());
|
||||
}
|
||||
|
||||
final int npcId = npc.getTemplate().getId();
|
||||
if (npcId == 32611) // Tolonis (Officer)
|
||||
{
|
||||
|
@ -3885,20 +3885,11 @@ public final class L2PcInstance extends L2Playable
|
||||
final L2Summon pet = getPet();
|
||||
if (((pet != null) && (pet.getControlObjectId() == objectId)) || (getMountObjectID() == objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ": player tried to " + action + " item controling pet");
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
if (isProcessingItem(objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ":player tried to " + action + " an enchant scroll he was using");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -10571,20 +10562,11 @@ public final class L2PcInstance extends L2Playable
|
||||
final L2Summon pet = getPet();
|
||||
if (((pet != null) && (pet.getControlObjectId() == objectId)) || (getMountObjectID() == objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ": player tried to " + action + " item controling pet");
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isProcessingItem(objectId))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finest(getObjectId() + ":player tried to " + action + " an enchant scroll he was using");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,6 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ThreadPoolManager;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -207,11 +206,6 @@ public class CharStatus
|
||||
{
|
||||
if ((_regTask == null) && !getActiveChar().isDead())
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("HP/MP regen started");
|
||||
}
|
||||
|
||||
// Get the Regeneration period
|
||||
final int period = Formulas.getRegeneratePeriod(getActiveChar());
|
||||
|
||||
@ -232,11 +226,6 @@ public class CharStatus
|
||||
{
|
||||
if (_regTask != null)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("HP/MP regen stop");
|
||||
}
|
||||
|
||||
// Stop the HP/MP/CP Regeneration task
|
||||
_regTask.cancel(false);
|
||||
_regTask = null;
|
||||
|
@ -24,7 +24,6 @@ import java.util.concurrent.ScheduledFuture;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.util.Rnd;
|
||||
import com.l2jmobius.gameserver.ThreadPoolManager;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.NpcData;
|
||||
@ -307,11 +306,6 @@ public final class BlockCheckerEngine
|
||||
_abnormalEnd = true;
|
||||
|
||||
ThreadPoolManager.execute(new EndEvent());
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("Handys Block Checker Event at arena " + _arena + " ended due lack of players!");
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -128,12 +128,6 @@ public final class Instance implements IIdentifiable, INamable
|
||||
// Notify DP scripts
|
||||
EventDispatcher.getInstance().notifyEventAsync(new OnInstanceCreated(this, player), _template);
|
||||
}
|
||||
|
||||
// Debug logger
|
||||
if (Config.DEBUG_INSTANCES)
|
||||
{
|
||||
LOGGER.info("Instance " + _template.getName() + " (" + _template.getId() + ") has been created with instance id " + getId());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1327,11 +1327,6 @@ public abstract class Inventory extends ItemContainer
|
||||
*/
|
||||
public L2ItemInstance unEquipItemInBodySlot(int slot)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.info("Unequip body slot: " + slot);
|
||||
}
|
||||
|
||||
int pdollSlot = -1;
|
||||
|
||||
switch (slot)
|
||||
|
@ -264,10 +264,6 @@ public final class Skill implements IIdentifiable
|
||||
|
||||
if (Config.ENABLE_MODIFY_SKILL_REUSE && Config.SKILL_REUSE_LIST.containsKey(_id))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("*** Skill " + _name + " (" + _level + ") changed reuse from " + set.getInt("reuseDelay", 0) + " to " + Config.SKILL_REUSE_LIST.get(_id) + " seconds.");
|
||||
}
|
||||
_reuseDelay = Config.SKILL_REUSE_LIST.get(_id);
|
||||
}
|
||||
else
|
||||
|
@ -170,10 +170,6 @@ public final class L2GameClient extends ChannelInboundHandler<L2GameClient>
|
||||
@Override
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
LOGGER.log(Level.WARNING, "Network exception caught for: " + toString(), cause);
|
||||
}
|
||||
}
|
||||
|
||||
public Channel getChannel()
|
||||
|
@ -32,8 +32,11 @@ import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
||||
public final class Action implements IClientIncomingPacket
|
||||
{
|
||||
private int _objectId;
|
||||
@SuppressWarnings("unused")
|
||||
private int _originX;
|
||||
@SuppressWarnings("unused")
|
||||
private int _originY;
|
||||
@SuppressWarnings("unused")
|
||||
private int _originZ;
|
||||
private int _actionId;
|
||||
|
||||
@ -51,11 +54,6 @@ public final class Action implements IClientIncomingPacket
|
||||
@Override
|
||||
public void run(L2GameClient client)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info(getClass().getSimpleName() + ": " + (_actionId == 0 ? "Simple-click" : "Shift-click") + " Target object ID: " + _objectId + " orignX: " + _originX + " orignY: " + _originY + " orignZ: " + _originZ);
|
||||
}
|
||||
|
||||
// Get the current L2PcInstance of the player
|
||||
final L2PcInstance activeChar = client.getActiveChar();
|
||||
if (activeChar == null)
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.LoginServerThread;
|
||||
import com.l2jmobius.gameserver.LoginServerThread.SessionKey;
|
||||
@ -60,11 +59,6 @@ public final class AuthLogin implements IClientIncomingPacket
|
||||
}
|
||||
|
||||
final SessionKey key = new SessionKey(_loginKey1, _loginKey2, _playKey1, _playKey2);
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.info("user:" + _loginName);
|
||||
_log.info("key:" + key);
|
||||
}
|
||||
|
||||
// avoid potential exploits
|
||||
if (client.getAccountName() == null)
|
||||
|
@ -16,7 +16,6 @@
|
||||
*/
|
||||
package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.ai.CtrlEvent;
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
@ -53,10 +52,6 @@ public final class CannotMoveAnymore implements IClientIncomingPacket
|
||||
return;
|
||||
}
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("client: x:" + _x + " y:" + _y + " z:" + _z + " server x:" + player.getX() + " y:" + player.getY() + " z:" + player.getZ());
|
||||
}
|
||||
if (player.getAI() != null)
|
||||
{
|
||||
player.getAI().notifyEvent(CtrlEvent.EVT_ARRIVED_BLOCKED, new Location(_x, _y, _z, _heading));
|
||||
|
@ -92,11 +92,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
// Last Verified: May 30, 2009 - Gracia Final - Players are able to create characters with names consisting of as little as 1,2,3 letter/number combinations.
|
||||
if ((_name.length() < 1) || (_name.length() > 16))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: Character name " + _name + " is invalid. Message generated: Your title cannot exceed 16 characters in length. Please try again.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_16_ENG_CHARS));
|
||||
return;
|
||||
}
|
||||
@ -122,11 +117,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
// Last Verified: May 30, 2009 - Gracia Final
|
||||
if (!Util.isAlphaNumeric(_name) || !isValidName(_name))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: Character name " + _name + " is invalid. Message generated: Incorrect name. Please try again.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_INCORRECT_NAME));
|
||||
return;
|
||||
}
|
||||
@ -165,21 +155,11 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
{
|
||||
if ((CharNameTable.getInstance().getAccountCharacterCount(client.getAccountName()) >= Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT) && (Config.MAX_CHARACTERS_NUMBER_PER_ACCOUNT != 0))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Max number of characters reached. Creation failed.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_TOO_MANY_CHARACTERS));
|
||||
return;
|
||||
}
|
||||
else if (CharNameTable.getInstance().doesCharNameExist(_name))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: Message generated: You cannot create another character. Please delete the existing character and try again.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_NAME_ALREADY_EXISTS));
|
||||
return;
|
||||
}
|
||||
@ -187,11 +167,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
template = PlayerTemplateData.getInstance().getTemplate(_classId);
|
||||
if ((template == null) || (ClassId.getClassId(_classId).level() > 0))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character Creation Failure: " + _name + " classId: " + _classId + " Template: " + template + " Message generated: Your character creation has failed.");
|
||||
}
|
||||
|
||||
client.sendPacket(new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED));
|
||||
return;
|
||||
}
|
||||
@ -286,11 +261,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
|
||||
private void initNewChar(L2GameClient client, L2PcInstance newChar)
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character init start");
|
||||
}
|
||||
|
||||
L2World.getInstance().storeObject(newChar);
|
||||
|
||||
if (Config.STARTING_ADENA > 0)
|
||||
@ -350,11 +320,6 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
|
||||
for (L2SkillLearn skill : SkillTreesData.getInstance().getAvailableSkills(newChar, newChar.getClassId(), false, true))
|
||||
{
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Adding starter skill:" + skill.getSkillId() + " / " + skill.getSkillLevel());
|
||||
}
|
||||
|
||||
newChar.addSkill(SkillData.getInstance().getSkill(skill.getSkillId(), skill.getSkillLevel()), true);
|
||||
}
|
||||
|
||||
@ -372,10 +337,5 @@ public final class CharacterCreate implements IClientIncomingPacket
|
||||
|
||||
final CharSelectionInfo cl = new CharSelectionInfo(client.getAccountName(), client.getSessionId().playOkID1);
|
||||
client.setCharSelection(cl.getCharInfo());
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("Character init end");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package com.l2jmobius.gameserver.network.clientpackets;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.network.PacketReader;
|
||||
import com.l2jmobius.gameserver.enums.CharacterDeleteFailType;
|
||||
import com.l2jmobius.gameserver.model.CharSelectInfoPackage;
|
||||
@ -55,11 +54,6 @@ public final class CharacterDelete implements IClientIncomingPacket
|
||||
// return;
|
||||
// }
|
||||
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("deleting slot:" + _charSlot);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
final CharacterDeleteFailType failType = client.markToDeleteChar(_charSlot);
|
||||
|
@ -145,12 +145,6 @@ public class CharacterSelect implements IClientIncomingPacket
|
||||
}
|
||||
}
|
||||
|
||||
// The L2PcInstance must be created here, so that it can be attached to the L2GameClient
|
||||
if (Config.DEBUG)
|
||||
{
|
||||
_log.finer("selected slot:" + _charSlot);
|
||||
}
|
||||
|
||||
// load up character from disk
|
||||
final L2PcInstance cha = client.loadCharFromDisk(_charSlot);
|
||||
if (cha == null)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user