New networking.

This commit is contained in:
MobiusDevelopment
2022-11-05 23:24:59 +00:00
parent c5a38016a2
commit 7af4aa035d
852 changed files with 9374 additions and 13343 deletions

View File

@@ -31,6 +31,49 @@ GameserverHostname = 0.0.0.0
# Default: 7777
GameserverPort = 7777
# Client pool size for reading client packets.
# Each pool is executed on a separate thread.
# Default: 100
ClientReadPoolSize = 100
# Client pool size for executing client packets.
# Each pool is executed on a separate thread.
# Default: 50
ClientExecutePoolSize = 50
# Expected client packet count queued by the server.
# Default: 80
PacketQueueLimit = 80
# Disconnect client when queue has reached the queue packet limit.
# Default: False
PacketFloodDisconnect = False
# Drop packets when queue has reached the queue packet limit.
# Default: False
PacketFloodDrop = False
# Log message when queue has reached the queue packet limit.
# Default: True
PacketFloodLogged = True
# Nagle's algorithm tries to conserve bandwidth by minimizing the number of segments that are sent.
# When applications wish to decrease network latency, they can disable Nagle's algorithm (by enabling TcpNoDelay).
# Data will be sent earlier, at the cost of an increase in bandwidth consumption.
# Default: True (disabled)
TcpNoDelay = True
# Connection timeout in milliseconds.
# Default 800
ConnectionTimeout = 800
# Packet encryption.
# By default packets sent or received are encrypted using the Blowfish algorithm.
# Disabling this reduces the resources needed to process any packets transfered,
# also broadcasted packets do not need to be re-encrypted for each client sent.
# Retail: True
PacketEncryption = False
# ---------------------------------------------------------------------------
# Database
@@ -138,8 +181,11 @@ InstantThreadPoolCount = -1
# Specifies how many threads will be in a single instant pool.
ThreadsPerInstantThreadPool = 2
# Urgent packet thread core size.
UrgentPacketThreadCoreSize = -1
# Use threads to run client packets individually.
# Less lag when using threads, but more CPU consumption.
# Can try disabling it when server is highly populated and CPU is high.
# Default: True
ThreadsForClientPackets = True
# Use threads to decrease startup time.
# Default: False

View File

@@ -1,31 +0,0 @@
# ---------------------------------------------------------------------------
# Telnet Settings
# ---------------------------------------------------------------------------
# The defaults are set to be retail-like. If you modify any of these settings your server will deviate from being retail-like.
# Warning:
# Please take extreme caution when changing anything. Also please understand what you are changing before you do so on a live server.
# ---------------------------------------------------------------------------
# Allows text based monitoring and administration of L2J GS
# by using a telnet client. Communication protocol is insecure
# and you should use SSL tunnels, VPN, etc. if you plan to connect
# over non-trusted channels.
# Default: False
EnableTelnet = False
# This is the hostname address on which telnet server will be listening.
# Note for all adapters use: *
# Default: 127.0.0.1
BindAddress = 127.0.0.1
# This is the port L2J should listen to for incoming telnet
# requests.
# Default: 54321
Port = 54321
# If the following is not set, a random password is generated on server startup.
Password = somepassword
# This list can contain IPs or Hosts of clients you wish to allow. Hostnames must be resolvable to an IP.
# Example: 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# Default: 127.0.0.1,localhost,::1
ListOfHosts = 127.0.0.1,localhost,::1

View File

@@ -38,8 +38,8 @@ import org.l2jmobius.gameserver.model.skill.Skill;
import org.l2jmobius.gameserver.network.NpcStringId;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
import org.l2jmobius.gameserver.network.serverpackets.NpcSay;
import org.l2jmobius.gameserver.network.serverpackets.ServerPacket;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
@@ -672,7 +672,7 @@ public class HallOfErosionAttack extends AbstractNpcAI
}
}
protected void broadCastPacket(HEAWorld world, IClientOutgoingPacket packet)
protected void broadCastPacket(HEAWorld world, ServerPacket packet)
{
for (Player player : world.getAllowed())
{

View File

@@ -38,8 +38,8 @@ import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.network.NpcStringId;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
import org.l2jmobius.gameserver.network.serverpackets.NpcSay;
import org.l2jmobius.gameserver.network.serverpackets.ServerPacket;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
@@ -665,7 +665,7 @@ public class HallOfErosionDefence extends AbstractNpcAI
}
}
protected void broadCastPacket(HEDWorld world, IClientOutgoingPacket packet)
protected void broadCastPacket(HEDWorld world, ServerPacket packet)
{
for (Player player : world.getAllowed())
{

View File

@@ -42,8 +42,8 @@ import org.l2jmobius.gameserver.model.skill.Skill;
import org.l2jmobius.gameserver.network.NpcStringId;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
import org.l2jmobius.gameserver.network.serverpackets.NpcSay;
import org.l2jmobius.gameserver.network.serverpackets.ServerPacket;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
@@ -855,7 +855,7 @@ public class HeartInfinityAttack extends AbstractNpcAI
}
}
protected void broadCastPacket(HIAWorld world, IClientOutgoingPacket packet)
protected void broadCastPacket(HIAWorld world, ServerPacket packet)
{
for (Player player : world.getAllowed())
{

View File

@@ -40,8 +40,8 @@ import org.l2jmobius.gameserver.model.zone.ZoneType;
import org.l2jmobius.gameserver.network.NpcStringId;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
import org.l2jmobius.gameserver.network.serverpackets.NpcSay;
import org.l2jmobius.gameserver.network.serverpackets.ServerPacket;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import org.l2jmobius.gameserver.util.Util;
@@ -749,7 +749,7 @@ public class HeartInfinityDefence extends AbstractNpcAI
return null;
}
protected void broadCastPacket(HIDWorld world, IClientOutgoingPacket packet)
protected void broadCastPacket(HIDWorld world, ServerPacket packet)
{
for (Player player : world.getAllowed())
{

View File

@@ -36,7 +36,6 @@ import org.l2jmobius.gameserver.handler.PunishmentHandler;
import org.l2jmobius.gameserver.handler.TargetHandler;
import org.l2jmobius.gameserver.handler.UserCommandHandler;
import org.l2jmobius.gameserver.handler.VoicedCommandHandler;
import org.l2jmobius.gameserver.network.telnet.TelnetServer;
import handlers.actionhandlers.ArtefactAction;
import handlers.actionhandlers.DecoyAction;
@@ -254,30 +253,6 @@ import handlers.targethandlers.Servitor;
import handlers.targethandlers.Summon;
import handlers.targethandlers.TargetParty;
import handlers.targethandlers.Unlockable;
import handlers.telnethandlers.chat.Announce;
import handlers.telnethandlers.chat.GMChat;
import handlers.telnethandlers.chat.Msg;
import handlers.telnethandlers.player.AccessLevel;
import handlers.telnethandlers.player.Ban;
import handlers.telnethandlers.player.BanChat;
import handlers.telnethandlers.player.Enchant;
import handlers.telnethandlers.player.GMList;
import handlers.telnethandlers.player.Give;
import handlers.telnethandlers.player.Jail;
import handlers.telnethandlers.player.Kick;
import handlers.telnethandlers.player.SendMail;
import handlers.telnethandlers.player.Unban;
import handlers.telnethandlers.player.UnbanChat;
import handlers.telnethandlers.player.Unjail;
import handlers.telnethandlers.server.ForceGC;
import handlers.telnethandlers.server.Memusage;
import handlers.telnethandlers.server.Performance;
import handlers.telnethandlers.server.Purge;
import handlers.telnethandlers.server.Reload;
import handlers.telnethandlers.server.ServerAbort;
import handlers.telnethandlers.server.ServerRestart;
import handlers.telnethandlers.server.ServerShutdown;
import handlers.telnethandlers.server.Status;
import handlers.usercommandhandlers.ChannelDelete;
import handlers.usercommandhandlers.ChannelInfo;
import handlers.usercommandhandlers.ChannelLeave;
@@ -653,35 +628,6 @@ public class MasterHandler
}
}
if (Config.TELNET_ENABLED)
{
TelnetServer.getInstance().addHandler(new Announce());
TelnetServer.getInstance().addHandler(new GMChat());
TelnetServer.getInstance().addHandler(new Msg());
TelnetServer.getInstance().addHandler(new AccessLevel());
TelnetServer.getInstance().addHandler(new Ban());
TelnetServer.getInstance().addHandler(new BanChat());
TelnetServer.getInstance().addHandler(new Enchant());
TelnetServer.getInstance().addHandler(new Give());
TelnetServer.getInstance().addHandler(new GMList());
TelnetServer.getInstance().addHandler(new Jail());
TelnetServer.getInstance().addHandler(new Kick());
TelnetServer.getInstance().addHandler(new Unban());
TelnetServer.getInstance().addHandler(new UnbanChat());
TelnetServer.getInstance().addHandler(new Unjail());
TelnetServer.getInstance().addHandler(new ForceGC());
TelnetServer.getInstance().addHandler(new Memusage());
TelnetServer.getInstance().addHandler(new Performance());
TelnetServer.getInstance().addHandler(new Purge());
TelnetServer.getInstance().addHandler(new Reload());
TelnetServer.getInstance().addHandler(new SendMail());
TelnetServer.getInstance().addHandler(new ServerAbort());
TelnetServer.getInstance().addHandler(new ServerRestart());
TelnetServer.getInstance().addHandler(new ServerShutdown());
TelnetServer.getInstance().addHandler(new Status());
TelnetServer.getInstance().addHandler(new handlers.telnethandlers.server.Debug());
}
for (IHandler<?, ?> loadInstance : LOAD_INSTANCES)
{
LOGGER.log(Level.INFO, loadInstance.getClass().getSimpleName() + ": Loaded " + loadInstance.size() + " handlers.");

View File

@@ -1042,7 +1042,7 @@ public class AdminEditChar implements IAdminCommandHandler
}
else
{
ip = client.getConnectionAddress().getHostAddress();
ip = client.getIp();
// if (client.getHWID() != null)
// {
// hwid = client.getHWID();
@@ -1263,7 +1263,7 @@ public class AdminEditChar implements IAdminCommandHandler
continue;
}
ip = client.getConnectionAddress().getHostAddress();
ip = client.getIp();
if (!ip.equals(ipAdress))
{
continue;
@@ -1357,7 +1357,7 @@ public class AdminEditChar implements IAdminCommandHandler
continue;
}
ip = client.getConnectionAddress().getHostAddress();
ip = client.getIp();
if (ipMap.get(ip) == null)
{
ipMap.put(ip, new ArrayList<>());
@@ -1410,7 +1410,7 @@ public class AdminEditChar implements IAdminCommandHandler
continue;
}
final IpPack pack = new IpPack(client.getConnectionAddress().getHostAddress(), client.getTrace());
final IpPack pack = new IpPack(client.getIp(), client.getTrace());
if (ipMap.get(pack) == null)
{
ipMap.put(pack, new ArrayList<>());

View File

@@ -31,11 +31,11 @@ import org.l2jmobius.gameserver.model.skill.AbnormalVisualEffect;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.Earthquake;
import org.l2jmobius.gameserver.network.serverpackets.ExRedSky;
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse;
import org.l2jmobius.gameserver.network.serverpackets.OnEventTrigger;
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
import org.l2jmobius.gameserver.network.serverpackets.SSQInfo;
import org.l2jmobius.gameserver.network.serverpackets.ServerPacket;
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
import org.l2jmobius.gameserver.network.serverpackets.SunRise;
import org.l2jmobius.gameserver.network.serverpackets.SunSet;
@@ -655,7 +655,7 @@ public class AdminEffects implements IAdminCommandHandler
*/
private void adminAtmosphere(String type, String state, int duration, Player activeChar)
{
IClientOutgoingPacket packet = null;
ServerPacket packet = null;
if (type.equals("signsky"))
{
if (state.equals("dawn"))

View File

@@ -1,56 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.chat;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Broadcast;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Announce implements ITelnetCommand
{
@Override
public String getCommand()
{
return "announce";
}
@Override
public String getUsage()
{
return "Announce <text>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final StringBuilder sb = new StringBuilder();
for (String str : args)
{
sb.append(str + " ");
}
Broadcast.toAllOnlinePlayers(sb.toString());
return "Announcement sent!";
}
}

View File

@@ -1,58 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.chat;
import org.l2jmobius.gameserver.data.xml.AdminData;
import org.l2jmobius.gameserver.enums.ChatType;
import org.l2jmobius.gameserver.network.serverpackets.CreatureSay;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class GMChat implements ITelnetCommand
{
@Override
public String getCommand()
{
return "gmchat";
}
@Override
public String getUsage()
{
return "Gmchat <text>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final StringBuilder sb = new StringBuilder();
for (String str : args)
{
sb.append(str + " ");
}
AdminData.getInstance().broadcastToGMs(new CreatureSay(null, ChatType.ALLIANCE, "Telnet GM Broadcast", sb.toString()));
return "GMChat sent!";
}
}

View File

@@ -1,64 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.chat;
import org.l2jmobius.gameserver.enums.ChatType;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.network.serverpackets.CreatureSay;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Msg implements ITelnetCommand
{
@Override
public String getCommand()
{
return "msg";
}
@Override
public String getUsage()
{
return "Msg <player> <text>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length < 2) || args[0].isEmpty())
{
return null;
}
final Player player = World.getInstance().getPlayer(args[0]);
if (player != null)
{
final StringBuilder sb = new StringBuilder();
for (int i = 1; i < args.length; i++)
{
sb.append(args[i] + " ");
}
player.sendPacket(new CreatureSay(null, ChatType.WHISPER, "Telnet Priv", sb.toString()));
return "Announcement sent!";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,59 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class AccessLevel implements ITelnetCommand
{
@Override
public String getCommand()
{
return "accesslevel";
}
@Override
public String getUsage()
{
return "AccessLevel <player name> <access level>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length < 2) || args[0].isEmpty() || !Util.isDigit(args[1]))
{
return null;
}
final Player player = World.getInstance().getPlayer(args[0]);
if (player != null)
{
final int level = Integer.parseInt(args[1]);
player.setAccessLevel(level);
return "Player " + player.getName() + "'s access level has been changed to: " + level;
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,84 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.data.sql.CharNameTable;
import org.l2jmobius.gameserver.instancemanager.PunishmentManager;
import org.l2jmobius.gameserver.model.punishment.PunishmentAffect;
import org.l2jmobius.gameserver.model.punishment.PunishmentTask;
import org.l2jmobius.gameserver.model.punishment.PunishmentType;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Ban implements ITelnetCommand
{
@Override
public String getCommand()
{
return "ban";
}
@Override
public String getUsage()
{
return "Ban <player name> [time in minutes]";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final int objectId = CharNameTable.getInstance().getIdByName(args[0]);
if (objectId > 0)
{
if (PunishmentManager.getInstance().hasPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.BAN))
{
return "Player is already banned.";
}
long time = -1;
String reason = "You have been banned by telnet admin.";
if (args.length > 1)
{
final String token = args[1];
if (Util.isDigit(token))
{
time = Integer.parseInt(token) * 60 * 1000;
time += System.currentTimeMillis();
}
if (args.length > 2)
{
reason = args[2];
for (int i = 3; i < args.length; i++)
{
reason += " " + args[i];
}
}
}
PunishmentManager.getInstance().startPunishment(new PunishmentTask(objectId, PunishmentAffect.CHARACTER, PunishmentType.BAN, time, reason, "Telnet Admin"));
return "Player has been successfully banned.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,84 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.data.sql.CharNameTable;
import org.l2jmobius.gameserver.instancemanager.PunishmentManager;
import org.l2jmobius.gameserver.model.punishment.PunishmentAffect;
import org.l2jmobius.gameserver.model.punishment.PunishmentTask;
import org.l2jmobius.gameserver.model.punishment.PunishmentType;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author lion
*/
public class BanChat implements ITelnetCommand
{
@Override
public String getCommand()
{
return "ban_chat";
}
@Override
public String getUsage()
{
return "ban_chat <player name> [time in minutes]";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final int objectId = CharNameTable.getInstance().getIdByName(args[0]);
if (objectId > 0)
{
if (PunishmentManager.getInstance().hasPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.CHAT_BAN))
{
return "Player is already chat banned.";
}
long time = -1;
String reason = "Your chat have been banned by telnet admin.";
if (args.length > 1)
{
final String token = args[1];
if (Util.isDigit(token))
{
time = Integer.parseInt(token) * 60 * 1000;
time += System.currentTimeMillis();
}
if (args.length > 2)
{
reason = args[2];
for (int i = 3; i < args.length; i++)
{
reason += " " + args[i];
}
}
}
PunishmentManager.getInstance().startPunishment(new PunishmentTask(objectId, PunishmentAffect.CHARACTER, PunishmentType.CHAT_BAN, time, reason, "Telnet Admin"));
return "Player has been successfully banned.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,198 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.item.instance.Item;
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
import org.l2jmobius.gameserver.network.serverpackets.InventoryUpdate;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.GMAudit;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Enchant implements ITelnetCommand
{
@Override
public String getCommand()
{
return "enchant";
}
@Override
public String getUsage()
{
return "Enchant <player name> <item id> [item amount] [item enchant]";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length < 3) || args[0].isEmpty() || !Util.isDigit(args[1]) || !Util.isDigit(args[2]))
{
return null;
}
final Player player = World.getInstance().getPlayer(args[0]);
if (player != null)
{
int itemType = Integer.parseInt(args[1]);
int enchant = Integer.parseInt(args[2]);
enchant = Math.min(enchant, 127);
enchant = Math.max(enchant, 0);
switch (itemType)
{
case 1:
{
itemType = Inventory.PAPERDOLL_HEAD;
break;
}
case 2:
{
itemType = Inventory.PAPERDOLL_CHEST;
break;
}
case 3:
{
itemType = Inventory.PAPERDOLL_GLOVES;
break;
}
case 4:
{
itemType = Inventory.PAPERDOLL_FEET;
break;
}
case 5:
{
itemType = Inventory.PAPERDOLL_LEGS;
break;
}
case 6:
{
itemType = Inventory.PAPERDOLL_RHAND;
break;
}
case 7:
{
itemType = Inventory.PAPERDOLL_LHAND;
break;
}
case 8:
{
itemType = Inventory.PAPERDOLL_LEAR;
break;
}
case 9:
{
itemType = Inventory.PAPERDOLL_REAR;
break;
}
case 10:
{
itemType = Inventory.PAPERDOLL_LFINGER;
break;
}
case 11:
{
itemType = Inventory.PAPERDOLL_RFINGER;
break;
}
case 12:
{
itemType = Inventory.PAPERDOLL_NECK;
break;
}
case 13:
{
itemType = Inventory.PAPERDOLL_UNDER;
break;
}
case 14:
{
itemType = Inventory.PAPERDOLL_CLOAK;
break;
}
case 15:
{
itemType = Inventory.PAPERDOLL_BELT;
break;
}
default:
{
itemType = 0;
break;
}
}
final boolean success = setEnchant(player, enchant, itemType);
return success ? "Item has been successfully enchanted." : "Failed to enchant player's item!";
}
return "Couldn't find player with such name.";
}
private boolean setEnchant(Player player, int ench, int armorType)
{
// now we need to find the equipped weapon of the targeted character...
int curEnchant = 0; // display purposes only
Item itemInstance = null;
// only attempt to enchant if there is a weapon equipped
Item parmorInstance = player.getInventory().getPaperdollItem(armorType);
if ((parmorInstance != null) && (parmorInstance.getLocationSlot() == armorType))
{
itemInstance = parmorInstance;
}
else
{
// for bows/crossbows and double handed weapons
parmorInstance = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND);
if ((parmorInstance != null) && (parmorInstance.getLocationSlot() == Inventory.PAPERDOLL_RHAND))
{
itemInstance = parmorInstance;
}
}
if (itemInstance != null)
{
curEnchant = itemInstance.getEnchantLevel();
// set enchant value
player.getInventory().unEquipItemInSlot(armorType);
itemInstance.setEnchantLevel(ench);
player.getInventory().equipItem(itemInstance);
// send packets
final InventoryUpdate iu = new InventoryUpdate();
iu.addModifiedItem(itemInstance);
player.sendPacket(iu);
player.broadcastUserInfo();
// informations
player.sendMessage("Changed enchantment of " + player.getName() + "'s " + itemInstance.getTemplate().getName() + " from " + curEnchant + " to " + ench + ".");
player.sendMessage("Admin has changed the enchantment of your " + itemInstance.getTemplate().getName() + " from " + curEnchant + " to " + ench + ".");
// log
GMAudit.auditGMAction("TelnetAdmin", "enchant", player.getName(), itemInstance.getTemplate().getName() + "(" + itemInstance.getObjectId() + ") from " + curEnchant + " to " + ench);
return true;
}
return false;
}
}

View File

@@ -1,58 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.data.xml.AdminData;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class GMList implements ITelnetCommand
{
@Override
public String getCommand()
{
return "gmlist";
}
@Override
public String getUsage()
{
return "GMList";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
int i = 0;
String gms = "";
for (String player : AdminData.getInstance().getAllGmNames(true))
{
gms += player + ", ";
i++;
}
if (!gms.isEmpty())
{
gms = gms.substring(0, gms.length() - 2) + ".";
}
return "There are currently " + i + " GM(s) online..." + Config.EOL + gms;
}
}

View File

@@ -1,85 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.data.ItemTable;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.item.instance.Item;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Give implements ITelnetCommand
{
@Override
public String getCommand()
{
return "give";
}
@Override
public String getUsage()
{
return "Give <player name> <item id> [item amount] [item enchant] [donators]";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length < 2) || args[0].isEmpty() || !Util.isDigit(args[1]))
{
return null;
}
final Player player = World.getInstance().getPlayer(args[0]);
if (player != null)
{
final int itemId = Integer.parseInt(args[1]);
long amount = 1;
int enchanted = 0;
if (args.length > 2)
{
String token = args[2];
if (Util.isDigit(token))
{
amount = Long.parseLong(token);
}
if (args.length > 3)
{
token = args[3];
if (Util.isDigit(token))
{
enchanted = Integer.parseInt(token);
}
}
}
final Item item = ItemTable.getInstance().createItem("Telnet-Admin", itemId, amount, player, null);
if (enchanted > 0)
{
item.setEnchantLevel(enchanted);
}
player.addItem("Telnet-Admin", item, null, true);
return "Item has been successfully given to the player.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,84 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.data.sql.CharNameTable;
import org.l2jmobius.gameserver.instancemanager.PunishmentManager;
import org.l2jmobius.gameserver.model.punishment.PunishmentAffect;
import org.l2jmobius.gameserver.model.punishment.PunishmentTask;
import org.l2jmobius.gameserver.model.punishment.PunishmentType;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Jail implements ITelnetCommand
{
@Override
public String getCommand()
{
return "jail";
}
@Override
public String getUsage()
{
return "Jail <player name> [time in minutes]";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final int objectId = CharNameTable.getInstance().getIdByName(args[0]);
if (objectId > 0)
{
if (PunishmentManager.getInstance().hasPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.JAIL))
{
return "Player is already jailed.";
}
String reason = "You have been jailed by telnet admin.";
long time = -1;
if (args.length > 1)
{
final String token = args[1];
if (Util.isDigit(token))
{
time = Integer.parseInt(token) * 60 * 1000;
time += System.currentTimeMillis();
}
if (args.length > 2)
{
reason = args[2];
for (int i = 3; i < args.length; i++)
{
reason += " " + args[i];
}
}
}
PunishmentManager.getInstance().startPunishment(new PunishmentTask(objectId, PunishmentAffect.CHARACTER, PunishmentType.JAIL, time, reason, "Telnet Admin"));
return "Player has been successfully jailed.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,59 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.network.Disconnection;
import org.l2jmobius.gameserver.network.serverpackets.LeaveWorld;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Kick implements ITelnetCommand
{
@Override
public String getCommand()
{
return "kick";
}
@Override
public String getUsage()
{
return "Kick <player name>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final Player player = World.getInstance().getPlayer(args[0]);
if (player != null)
{
Disconnection.of(player).defaultSequence(LeaveWorld.STATIC_PACKET);
return "Player has been successfully kicked.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,97 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import java.util.ArrayList;
import java.util.List;
import org.l2jmobius.gameserver.data.sql.CharNameTable;
import org.l2jmobius.gameserver.enums.MessageSenderType;
import org.l2jmobius.gameserver.instancemanager.MailManager;
import org.l2jmobius.gameserver.model.Message;
import org.l2jmobius.gameserver.model.holders.ItemHolder;
import org.l2jmobius.gameserver.model.itemcontainer.Mail;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author Mobius
*/
public class SendMail implements ITelnetCommand
{
@Override
public String getCommand()
{
return "sendmail";
}
@Override
public String getUsage()
{
return "sendmail <player name> <mail subject (use _ for spaces)> <mail message (use _ for spaces)> <item(s) (optional) e.g. 57x1000000>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length < 3) || args[0].isEmpty())
{
return null;
}
final int objectId = CharNameTable.getInstance().getIdByName(args[0]);
if (objectId > 0)
{
final Message msg = new Message(objectId, args[1].replace("_", " "), args[2].replace("_", " "), MessageSenderType.NEWS);
final List<ItemHolder> itemHolders = new ArrayList<>();
int counter = -1;
for (String str : args)
{
counter++;
if (counter < 3)
{
continue;
}
if (str.toLowerCase().contains("x"))
{
final String itemId = str.toLowerCase().split("x")[0];
final String itemCount = str.toLowerCase().split("x")[1];
if (Util.isDigit(itemId) && Util.isDigit(itemCount))
{
itemHolders.add(new ItemHolder(Integer.parseInt(itemId), Long.parseLong(itemCount)));
}
}
else if (Util.isDigit(str))
{
itemHolders.add(new ItemHolder(Integer.parseInt(str), 1));
}
}
if (!itemHolders.isEmpty())
{
final Mail attachments = msg.createAttachments();
for (ItemHolder itemHolder : itemHolders)
{
attachments.addItem("Telnet-Mail", itemHolder.getId(), itemHolder.getCount(), null, null);
}
}
MailManager.getInstance().sendMessage(msg);
return "An ingame mail has been sent to " + args[0] + ".";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,63 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.data.sql.CharNameTable;
import org.l2jmobius.gameserver.instancemanager.PunishmentManager;
import org.l2jmobius.gameserver.model.punishment.PunishmentAffect;
import org.l2jmobius.gameserver.model.punishment.PunishmentType;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Unban implements ITelnetCommand
{
@Override
public String getCommand()
{
return "unban";
}
@Override
public String getUsage()
{
return "Unban <player name>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final int objectId = CharNameTable.getInstance().getIdByName(args[0]);
if (objectId > 0)
{
if (!PunishmentManager.getInstance().hasPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.BAN))
{
return "Player is not banned at all.";
}
PunishmentManager.getInstance().stopPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.BAN);
return "Player has been successfully unbanned.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,63 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.data.sql.CharNameTable;
import org.l2jmobius.gameserver.instancemanager.PunishmentManager;
import org.l2jmobius.gameserver.model.punishment.PunishmentAffect;
import org.l2jmobius.gameserver.model.punishment.PunishmentType;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class UnbanChat implements ITelnetCommand
{
@Override
public String getCommand()
{
return "unban_chat";
}
@Override
public String getUsage()
{
return "unban_chat <player name>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final int objectId = CharNameTable.getInstance().getIdByName(args[0]);
if (objectId > 0)
{
if (!PunishmentManager.getInstance().hasPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.CHAT_BAN))
{
return "Player is not banned at all.";
}
PunishmentManager.getInstance().stopPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.CHAT_BAN);
return "Player chat has been successfully unbanned.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,63 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.player;
import org.l2jmobius.gameserver.data.sql.CharNameTable;
import org.l2jmobius.gameserver.instancemanager.PunishmentManager;
import org.l2jmobius.gameserver.model.punishment.PunishmentAffect;
import org.l2jmobius.gameserver.model.punishment.PunishmentType;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Unjail implements ITelnetCommand
{
@Override
public String getCommand()
{
return "unjail";
}
@Override
public String getUsage()
{
return "Unjail <player name>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
final int objectId = CharNameTable.getInstance().getIdByName(args[0]);
if (objectId > 0)
{
if (!PunishmentManager.getInstance().hasPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.JAIL))
{
return "Player is not jailed at all.";
}
PunishmentManager.getInstance().stopPunishment(objectId, PunishmentAffect.CHARACTER, PunishmentType.JAIL);
return "Player has been successfully unjailed.";
}
return "Couldn't find player with such name.";
}
}

View File

@@ -1,366 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import java.io.File;
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadInfo;
import java.lang.management.ThreadMXBean;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.StandardOpenOption;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.gameserver.GameServer;
import org.l2jmobius.gameserver.LoginServerThread;
import org.l2jmobius.gameserver.data.xml.AdminData;
import org.l2jmobius.gameserver.enums.ItemLocation;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.WorldObject;
import org.l2jmobius.gameserver.model.actor.Creature;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.actor.instance.Monster;
import org.l2jmobius.gameserver.model.item.instance.Item;
import org.l2jmobius.gameserver.network.serverpackets.AdminForgePacket;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.taskmanager.DecayTaskManager;
import org.l2jmobius.gameserver.taskmanager.GameTimeTaskManager;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Debug implements ITelnetCommand
{
private static final Logger LOGGER = Logger.getLogger(Debug.class.getName());
@Override
public String getCommand()
{
return "debug";
}
@Override
public String getUsage()
{
return "Debug <decay/packetsend/full>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
switch (args[0])
{
case "decay":
{
return DecayTaskManager.getInstance().toString();
}
case "packetsend":
{
if (args.length < 4)
{
return "Usage: debug packetsend <charName> <packetData>";
}
final Player player = World.getInstance().getPlayer(args[1]);
if (player == null)
{
return "Couldn't find player with such name.";
}
final AdminForgePacket sp = new AdminForgePacket();
for (int i = 2; i < args.length; i++)
{
final String b = args[i];
if (!b.isEmpty())
{
sp.addPart("C".getBytes()[0], "0x" + b);
}
}
player.sendPacket(sp);
return "Packet has been sent!";
}
case "full":
{
final Calendar cal = Calendar.getInstance();
final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z");
final StringBuilder sb = new StringBuilder();
sb.append(sdf.format(cal.getTime()));
sb.append("\r\nServer");
sb.append("\r\n");
sb.append(getServerStatus());
sb.append("\r\n");
sb.append("\r\n## Java Platform Information ##");
sb.append("\r\nJava Runtime Name: " + System.getProperty("java.runtime.name"));
sb.append("\r\nJava Version: " + System.getProperty("java.version"));
sb.append("\r\nJava Class Version: " + System.getProperty("java.class.version"));
sb.append("\r\n");
sb.append("\r\n## Virtual Machine Information ##");
sb.append("\r\nVM Name: " + System.getProperty("java.vm.name"));
sb.append("\r\nVM Version: " + System.getProperty("java.vm.version"));
sb.append("\r\nVM Vendor: " + System.getProperty("java.vm.vendor"));
sb.append("\r\nVM Info: " + System.getProperty("java.vm.info"));
sb.append("\r\n");
sb.append("\r\n## OS Information ##");
sb.append("\r\nName: " + System.getProperty("os.name"));
sb.append("\r\nArchiteture: " + System.getProperty("os.arch"));
sb.append("\r\nVersion: " + System.getProperty("os.version"));
sb.append("\r\n");
sb.append("\r\n## Runtime Information ##");
sb.append("\r\nCPU Count: " + Runtime.getRuntime().availableProcessors());
sb.append("\r\nCurrent Free Heap Size: " + (Runtime.getRuntime().freeMemory() / 1024 / 1024) + " mb");
sb.append("\r\nCurrent Heap Size: " + (Runtime.getRuntime().totalMemory() / 1024 / 1024) + " mb");
sb.append("\r\nMaximum Heap Size: " + (Runtime.getRuntime().maxMemory() / 1024 / 1024) + " mb");
sb.append("\r\n");
sb.append("\r\n## Class Path Information ##\r\n");
final String cp = System.getProperty("java.class.path");
final String[] libs = cp.split(File.pathSeparator);
for (String lib : libs)
{
sb.append(lib);
sb.append("\r\n");
}
sb.append("\r\n");
sb.append("## Threads Information ##\r\n");
final Map<Thread, StackTraceElement[]> allThread = Thread.getAllStackTraces();
final List<Entry<Thread, StackTraceElement[]>> entries = new ArrayList<>(allThread.entrySet());
Collections.sort(entries, (e1, e2) -> e1.getKey().getName().compareTo(e2.getKey().getName()));
for (Entry<Thread, StackTraceElement[]> entry : entries)
{
final StackTraceElement[] stes = entry.getValue();
final Thread t = entry.getKey();
sb.append("--------------\r\n");
sb.append(t + " (" + t.getId() + ")\r\n");
sb.append("State: " + t.getState() + "\r\n");
sb.append("isAlive: " + t.isAlive() + " | isDaemon: " + t.isDaemon() + " | isInterrupted: " + t.isInterrupted() + "\r\n");
sb.append("\r\n");
for (StackTraceElement ste : stes)
{
sb.append(ste.toString());
sb.append("\r\n");
}
sb.append("\r\n");
}
sb.append("\r\n");
final ThreadMXBean mbean = ManagementFactory.getThreadMXBean();
final long[] ids = findDeadlockedThreads(mbean);
if ((ids != null) && (ids.length > 0))
{
final Thread[] threads = new Thread[ids.length];
for (int i = 0; i < threads.length; i++)
{
threads[i] = findMatchingThread(mbean.getThreadInfo(ids[i]));
}
sb.append("Deadlocked Threads:\r\n");
sb.append("-------------------\r\n");
for (Thread thread : threads)
{
System.out.println(thread);
for (StackTraceElement ste : thread.getStackTrace())
{
sb.append("\t" + ste);
sb.append("\r\n");
}
}
}
sb.append("\r\n## Thread Pool Manager Statistics ##\r\n");
for (String line : ThreadPool.getStats())
{
sb.append(line);
sb.append("\r\n");
}
int i = 0;
File f = new File("./log/Debug-" + i + ".txt");
while (f.exists())
{
i++;
f = new File("./log/Debug-" + i + ".txt");
}
f.getParentFile().mkdirs();
try
{
Files.write(f.toPath(), sb.toString().getBytes(StandardCharsets.UTF_8), StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE);
}
catch (IOException e)
{
LOGGER.log(Level.WARNING, "Couldn't write packet tp.", e);
}
return "Debug output saved to log/" + f.getName();
}
}
return null;
}
private long[] findDeadlockedThreads(ThreadMXBean mbean)
{
// JDK 1.5 only supports the findMonitorDeadlockedThreads()
// method, so you need to comment out the following three lines
if (mbean.isSynchronizerUsageSupported())
{
return mbean.findDeadlockedThreads();
}
return mbean.findMonitorDeadlockedThreads();
}
private Thread findMatchingThread(ThreadInfo inf)
{
for (Thread thread : Thread.getAllStackTraces().keySet())
{
if (thread.getId() == inf.getThreadId())
{
return thread;
}
}
throw new IllegalStateException("Deadlocked Thread not found");
}
static String getServerStatus()
{
int playerCount = 0;
int objectCount = 0;
final int max = LoginServerThread.getInstance().getMaxPlayer();
playerCount = World.getInstance().getPlayers().size();
objectCount = World.getInstance().getVisibleObjectsCount();
int itemCount = 0;
int itemVoidCount = 0;
int monsterCount = 0;
int minionCount = 0;
int minionsGroupCount = 0;
int npcCount = 0;
int charCount = 0;
int pcCount = 0;
int detachedCount = 0;
int doorCount = 0;
int summonCount = 0;
int aiCount = 0;
for (WorldObject obj : World.getInstance().getVisibleObjects())
{
if (obj == null)
{
continue;
}
if (obj.isCreature() && ((Creature) obj).hasAI())
{
aiCount++;
}
if (obj.isItem())
{
if (((Item) obj).getItemLocation() == ItemLocation.VOID)
{
itemVoidCount++;
}
else
{
itemCount++;
}
}
else if (obj.isMonster())
{
monsterCount++;
if (((Monster) obj).hasMinions())
{
minionCount += ((Monster) obj).getMinionList().countSpawnedMinions();
minionsGroupCount += ((Monster) obj).getMinionList().lazyCountSpawnedMinionsGroups();
}
}
else if (obj.isNpc())
{
npcCount++;
}
else if (obj.isPlayer())
{
pcCount++;
if ((((Player) obj).getClient() != null) && ((Player) obj).getClient().isDetached())
{
detachedCount++;
}
}
else if (obj.isSummon())
{
summonCount++;
}
else if (obj.isDoor())
{
doorCount++;
}
else if (obj.isCreature())
{
charCount++;
}
}
final StringBuilder sb = new StringBuilder();
sb.append("Server Status: ");
sb.append("\r\n ---> Player Count: " + playerCount + "/" + max);
sb.append("\r\n ---> Offline Count: " + detachedCount + "/" + playerCount);
sb.append("\r\n +--> Object Count: " + objectCount);
sb.append("\r\n +--> AI Count: " + aiCount);
sb.append("\r\n +.... Item(Void): " + itemVoidCount);
sb.append("\r\n +.......... Item: " + itemCount);
sb.append("\r\n +....... Monster: " + monsterCount);
sb.append("\r\n +......... Minions: " + minionCount);
sb.append("\r\n +.. Minions Groups: " + minionsGroupCount);
sb.append("\r\n +........... Npc: " + npcCount);
sb.append("\r\n +............ Player: " + pcCount);
sb.append("\r\n +........ Summon: " + summonCount);
sb.append("\r\n +.......... Door: " + doorCount);
sb.append("\r\n +.......... Creature: " + charCount);
sb.append("\r\n ---> Ingame Time: " + gameTime());
sb.append("\r\n ---> Server Uptime: " + GameServer.getInstance().getUptime());
sb.append("\r\n ---> GM Count: " + getOnlineGMS());
sb.append("\r\n ---> Threads: " + Thread.activeCount());
sb.append("\r\n RAM Used: " + ((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / 1048576)); // 1024 * 1024 = 1048576
sb.append("\r\n");
return sb.toString();
}
private static int getOnlineGMS()
{
return AdminData.getInstance().getAllGms(true).size();
}
private static String gameTime()
{
final int t = GameTimeTaskManager.getInstance().getGameTime();
final int h = t / 60;
final int m = t % 60;
final SimpleDateFormat format = new SimpleDateFormat("H:mm");
final Calendar cal = Calendar.getInstance();
cal.set(Calendar.HOUR_OF_DAY, h);
cal.set(Calendar.MINUTE, m);
return format.format(cal.getTime());
}
}

View File

@@ -1,46 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class ForceGC implements ITelnetCommand
{
@Override
public String getCommand()
{
return "forcegc";
}
@Override
public String getUsage()
{
return "ForceGC";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
System.gc();
return "RAM Used: " + ((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / 1048576);
}
}

View File

@@ -1,69 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import java.text.DecimalFormat;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Memusage implements ITelnetCommand
{
@Override
public String getCommand()
{
return "memusage";
}
@Override
public String getUsage()
{
return "MemUsage";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
final double max = Runtime.getRuntime().maxMemory() / 1024; // maxMemory is the upper
// limit the jvm can use
final double allocated = Runtime.getRuntime().totalMemory() / 1024; // totalMemory the
// size of the current allocation pool
final double nonAllocated = max - allocated; // non allocated memory till jvm limit
final double cached = Runtime.getRuntime().freeMemory() / 1024; // freeMemory the
// unused memory in the allocation pool
final double used = allocated - cached; // really used memory
final double useable = max - used; // allocated, but non-used and non-allocated memory
final StringBuilder sb = new StringBuilder();
final DecimalFormat df = new DecimalFormat(" (0.0000'%')");
final DecimalFormat df2 = new DecimalFormat(" # 'KB'");
sb.append("+----" + Config.EOL); // ...
sb.append("| Allowed Memory:" + df2.format(max) + Config.EOL);
sb.append("| |= Allocated Memory:" + df2.format(allocated) + df.format((allocated / max) * 100) + Config.EOL);
sb.append("| |= Non-Allocated Memory:" + df2.format(nonAllocated) + df.format((nonAllocated / max) * 100) + Config.EOL);
sb.append("| Allocated Memory:" + df2.format(allocated) + Config.EOL);
sb.append("| |= Used Memory:" + df2.format(used) + df.format((used / max) * 100) + Config.EOL);
sb.append("| |= Unused (cached) Memory:" + df2.format(cached) + df.format((cached / max) * 100) + Config.EOL);
sb.append("| Useable Memory:" + df2.format(useable) + df.format((useable / max) * 100) + Config.EOL); // ...
sb.append("+----" + Config.EOL);
return sb.toString();
}
}

View File

@@ -1,53 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import org.l2jmobius.Config;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Performance implements ITelnetCommand
{
@Override
public String getCommand()
{
return "performance";
}
@Override
public String getUsage()
{
return "Performance";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
// ThreadPoolManager.purge();
final StringBuilder sb = new StringBuilder();
for (String line : ThreadPool.getStats())
{
sb.append(line + Config.EOL);
}
return sb.toString();
}
}

View File

@@ -1,53 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import org.l2jmobius.Config;
import org.l2jmobius.commons.threads.ThreadPool;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Purge implements ITelnetCommand
{
@Override
public String getCommand()
{
return "purge";
}
@Override
public String getUsage()
{
return "Purge";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
ThreadPool.purge();
final StringBuilder sb = new StringBuilder("STATUS OF THREAD POOLS AFTER PURGE COMMAND:" + Config.EOL);
for (String line : ThreadPool.getStats())
{
sb.append(line + Config.EOL);
}
return sb.toString();
}
}

View File

@@ -1,226 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import java.io.File;
import java.nio.file.Paths;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.commons.enums.ServerMode;
import org.l2jmobius.gameserver.cache.HtmCache;
import org.l2jmobius.gameserver.data.ItemTable;
import org.l2jmobius.gameserver.data.sql.CrestTable;
import org.l2jmobius.gameserver.data.xml.AdminData;
import org.l2jmobius.gameserver.data.xml.ArmorSetData;
import org.l2jmobius.gameserver.data.xml.BuyListData;
import org.l2jmobius.gameserver.data.xml.DoorData;
import org.l2jmobius.gameserver.data.xml.EnchantItemData;
import org.l2jmobius.gameserver.data.xml.EnchantItemGroupsData;
import org.l2jmobius.gameserver.data.xml.MultisellData;
import org.l2jmobius.gameserver.data.xml.NpcData;
import org.l2jmobius.gameserver.data.xml.SkillData;
import org.l2jmobius.gameserver.data.xml.TransformData;
import org.l2jmobius.gameserver.instancemanager.QuestManager;
import org.l2jmobius.gameserver.instancemanager.WalkingManager;
import org.l2jmobius.gameserver.instancemanager.ZoneManager;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.scripting.ScriptEngineManager;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Reload implements ITelnetCommand
{
private static final Logger LOGGER = Logger.getLogger(Reload.class.getName());
@Override
public String getCommand()
{
return "reload";
}
@Override
public String getUsage()
{
return "Reload <zone/multisell/teleport/skill/npc/htm/item/config/npcwalkers/access/quests/door/primeshop/html/script>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || args[0].isEmpty())
{
return null;
}
switch (args[0])
{
case "config":
{
Config.load(ServerMode.GAME);
return "Telnet Admin: Reloaded Configs.";
}
case "access":
{
AdminData.getInstance().load();
return "Telnet Admin: Reloaded Access.";
}
case "npc":
{
NpcData.getInstance().load();
return "Telnet Admin: Reloaded Npcs.";
}
case "quest":
{
if (args.length > 1)
{
final String value = args[1];
if (!Util.isDigit(value))
{
QuestManager.getInstance().reload(value);
return "Telnet Admin: Reloaded Quest Name:" + value + ".";
}
final int questId = Integer.parseInt(value);
QuestManager.getInstance().reload(questId);
return "Telnet Admin: Reloaded Quest ID:" + questId + ".";
}
QuestManager.getInstance().reloadAllScripts();
return "Telnet Admin: Reloaded Quests.";
}
case "walker":
{
WalkingManager.getInstance().load();
return "Telnet Admin: Reloaded Walkers.";
}
case "htm":
case "html":
{
if (args.length > 1)
{
final String path = args[1];
final File file = new File(Config.DATAPACK_ROOT, "data/html/" + path);
if (file.exists())
{
HtmCache.getInstance().reload(file);
return "Telnet Admin: Reloaded Htm File:" + file.getName() + ".";
}
return "File or Directory does not exist.";
}
HtmCache.getInstance().reload();
return "Cache[HTML]: " + HtmCache.getInstance().getMemoryUsage() + " megabytes on " + HtmCache.getInstance().getLoadedFiles() + " files loaded";
}
case "multisell":
{
MultisellData.getInstance().load();
return "Telnet Admin: Reloaded Multisells.";
}
case "buylist":
{
BuyListData.getInstance().load();
return "Telnet Admin: Reloaded Buylists.";
}
case "skill":
{
SkillData.getInstance().reload();
return "Telnet Admin: Reloaded Skills.";
}
case "item":
{
ItemTable.getInstance().reload();
return "Telnet Admin: Reloaded Items.";
}
case "door":
{
DoorData.getInstance().load();
return "Telnet Admin: Reloaded Doors.";
}
case "zone":
{
ZoneManager.getInstance().reload();
return "Telnet Admin: Reloaded Zones.";
}
case "crest":
{
CrestTable.getInstance().load();
return "Telnet Admin: Reloaded Crests.";
}
case "effect":
{
try
{
ScriptEngineManager.getInstance().executeScript(ScriptEngineManager.EFFECT_MASTER_HANDLER_FILE);
return "Telnet Admin: Reloaded effect master handler.";
}
catch (Exception e)
{
LOGGER.log(Level.WARNING, "Failed executing effect master handler!", e);
return "Error reloading effect master handler: " + e.getMessage();
}
}
case "handler":
{
try
{
ScriptEngineManager.getInstance().executeScript(ScriptEngineManager.MASTER_HANDLER_FILE);
return "Telnet Admin: Reloaded master handler.";
}
catch (Exception e)
{
LOGGER.log(Level.WARNING, "Failed executing master handler!", e);
return "Error reloading master handler: " + e.getMessage();
}
}
case "enchant":
{
EnchantItemGroupsData.getInstance().load();
EnchantItemData.getInstance().load();
return "Telnet Admin: Reloaded item enchanting data.";
}
case "transform":
{
TransformData.getInstance().load();
return "Telnet Admin: Reloaded transform data.";
}
case "sets":
{
ArmorSetData.getInstance().load();
return "Telnet Admin: Reloaded Armor sets data.";
}
case "script":
{
if (args.length < 2)
{
return "Syntax: reload script <path>";
}
try
{
ScriptEngineManager.getInstance().executeScript(Paths.get(args[1]));
return "Script " + args[1] + " has been reloaded successfuly.";
}
catch (Exception e)
{
return "Couldn't reload script: " + args[1] + " err: " + e.getMessage();
}
}
}
return null;
}
}

View File

@@ -1,47 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import org.l2jmobius.gameserver.Shutdown;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class ServerAbort implements ITelnetCommand
{
@Override
public String getCommand()
{
return "abort";
}
@Override
public String getUsage()
{
return "Abort";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
Shutdown.getInstance().abort(null);
return "Server shutdown/restart aborted!";
}
}

View File

@@ -1,53 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import org.l2jmobius.gameserver.Shutdown;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class ServerRestart implements ITelnetCommand
{
@Override
public String getCommand()
{
return "restart";
}
@Override
public String getUsage()
{
return "Restart <time in seconds>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || !Util.isDigit(args[0]))
{
return null;
}
final int time = Integer.parseInt(args[0]);
Shutdown.getInstance().startShutdown(null, time, true);
return "Server will restart in " + time + " seconds!";
}
}

View File

@@ -1,53 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import org.l2jmobius.gameserver.Shutdown;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import org.l2jmobius.gameserver.util.Util;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class ServerShutdown implements ITelnetCommand
{
@Override
public String getCommand()
{
return "shutdown";
}
@Override
public String getUsage()
{
return "Shutdown <time in seconds>";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
if ((args.length == 0) || !Util.isDigit(args[0]))
{
return null;
}
final int time = Integer.parseInt(args[0]);
Shutdown.getInstance().startShutdown(null, time, false);
return "Server will shutdown in " + time + " seconds!";
}
}

View File

@@ -1,45 +0,0 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.telnethandlers.server;
import org.l2jmobius.gameserver.network.telnet.ITelnetCommand;
import io.netty.channel.ChannelHandlerContext;
/**
* @author UnAfraid
*/
public class Status implements ITelnetCommand
{
@Override
public String getCommand()
{
return "status";
}
@Override
public String getUsage()
{
return "Status";
}
@Override
public String handle(ChannelHandlerContext ctx, String[] args)
{
return Debug.getServerStatus();
}
}

View File

@@ -55,9 +55,9 @@ import org.l2jmobius.gameserver.network.NpcStringId;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.Earthquake;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
import org.l2jmobius.gameserver.network.serverpackets.MagicSkillCanceled;
import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse;
import org.l2jmobius.gameserver.network.serverpackets.ServerPacket;
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
import org.l2jmobius.gameserver.network.serverpackets.SpecialCamera;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
@@ -1305,7 +1305,7 @@ public class FinalEmperialTomb extends AbstractInstance implements IXmlReader
}
}
private void sendPacketX(IClientOutgoingPacket packet1, IClientOutgoingPacket packet2, int x)
private void sendPacketX(ServerPacket packet1, ServerPacket packet2, int x)
{
for (Player player : _world.getAllowed())
{
@@ -1411,7 +1411,7 @@ public class FinalEmperialTomb extends AbstractInstance implements IXmlReader
}
}
protected void broadCastPacket(InstanceWorld world, IClientOutgoingPacket packet)
protected void broadCastPacket(InstanceWorld world, ServerPacket packet)
{
for (Player player : world.getAllowed())
{

View File

@@ -34,7 +34,7 @@ import org.l2jmobius.gameserver.model.siege.Fort;
import org.l2jmobius.gameserver.network.NpcStringId;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
import org.l2jmobius.gameserver.network.serverpackets.ServerPacket;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
import quests.Q00727_HopeWithinTheDarkness.Q00727_HopeWithinTheDarkness;
@@ -418,7 +418,7 @@ public class Q00726_LightWithinTheDarkness extends Quest
}
}
protected void broadCastPacket(PAWORLD world, IClientOutgoingPacket packet)
protected void broadCastPacket(PAWORLD world, ServerPacket packet)
{
for (Player player : world.getAllowed())
{

View File

@@ -1 +1 @@
-server -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.l2jmobius.log.ServerLogManager -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Xmx4g -Xms2g
-server -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.l2jmobius.log.ServerLogManager -Xmx4g -Xms2g

View File

@@ -0,0 +1,2 @@
[04 Ξ<>οΏ½Ξ<C2BD>Ξ<EFBFBD>Ξ<EFBFBD>Βµ 11:42:53] Logged in, [Character: admin[268482829] - Account: admin - IP: 127.0.0.1]
[04 Ξ<>οΏ½Ξ<C2BD>Ξ<EFBFBD>Ξ<EFBFBD>Βµ 11:43:57] Logged out, [Character: admin[268482829] - Account: admin - IP: 127.0.0.1]

View File

@@ -0,0 +1,259 @@
2022.11.04 11:40:29,450 INFO 1 org.l2jmobius.commons.util.IXmlReader Network Config: ipconfig.xml doesn't exists using automatic configuration...
2022.11.04 11:40:29,789 INFO 1 org.l2jmobius.commons.util.IXmlReader Network Config: Adding new subnet: 127.0.0.0/8 address: 127.0.0.1
2022.11.04 11:40:29,797 INFO 1 org.l2jmobius.commons.util.IXmlReader Network Config: Adding new subnet: 192.168.2.0/24 address: 192.168.2.6
2022.11.04 11:40:29,812 INFO 1 org.l2jmobius.commons.util.IXmlReader Network Config: Adding new subnet: 0.0.0.0/0 address: 46.198.204.56
2022.11.04 11:40:29,823 INFO 1 org.l2jmobius.Config Loaded 6 Filter Words.
2022.11.04 11:40:29,833 INFO 1 org.l2jmobius.gameserver.GameServer ------------------------------------------------=[ Database ]
2022.11.04 11:40:29,996 INFO 1 org.l2jmobius.commons.database.DatabaseFactory Database: Initialized.
2022.11.04 11:40:29,997 INFO 1 org.l2jmobius.gameserver.GameServer ----------------------------------------------=[ ThreadPool ]
2022.11.04 11:40:29,997 INFO 1 org.l2jmobius.commons.threads.ThreadPool ThreadPool: Initialized
2022.11.04 11:40:29,998 INFO 1 org.l2jmobius.commons.threads.ThreadPool ...20 scheduled pool executors with 80 total threads.
2022.11.04 11:40:30,002 INFO 1 org.l2jmobius.commons.threads.ThreadPool ...20 instant pool executors with 40 total threads.
2022.11.04 11:40:30,011 INFO 1 org.l2jmobius.gameserver.GameServer -----------------------------------------------=[ IdManager ]
2022.11.04 11:40:30,012 INFO 1 org.l2jmobius.gameserver.instancemanager.IdManager Updated characters online status.
2022.11.04 11:40:30,018 INFO 1 org.l2jmobius.gameserver.instancemanager.IdManager IdManager: Cleaned 0 elements from database in 0 seconds.
2022.11.04 11:40:30,021 INFO 1 org.l2jmobius.gameserver.instancemanager.IdManager IdManager: Cleaned 0 expired timestamps from database.
2022.11.04 11:40:30,022 INFO 1 org.l2jmobius.gameserver.instancemanager.IdManager IdManager: 102912 id's available.
2022.11.04 11:40:30,022 INFO 1 org.l2jmobius.gameserver.GameServer ----------------------------------------=[ Scripting Engine ]
2022.11.04 11:40:30,203 INFO 1 org.l2jmobius.gameserver.scripting.ScriptEngineManager Loaded 411 files to exclude.
2022.11.04 11:40:30,203 INFO 1 org.l2jmobius.gameserver.GameServer ---------------------------------------------------=[ World ]
2022.11.04 11:40:30,213 INFO 1 org.l2jmobius.commons.util.IXmlReader InstanceManager: Multiverse Instance created.
2022.11.04 11:40:30,213 INFO 1 org.l2jmobius.commons.util.IXmlReader InstanceManager: Universe Instance created.
2022.11.04 11:40:30,226 INFO 1 org.l2jmobius.commons.util.IXmlReader InstanceManager: Loaded 160 instance names.
2022.11.04 11:40:30,272 INFO 35 org.l2jmobius.gameserver.model.World World: (256 by 272) World Region Grid set up.
2022.11.04 11:40:30,513 INFO 1 org.l2jmobius.commons.util.IXmlReader InstanceManager: Loaded 126 instance templates.
2022.11.04 11:40:30,570 INFO 1 org.l2jmobius.commons.util.IXmlReader MapRegionManager: Loaded 57 map regions.
2022.11.04 11:40:30,577 INFO 1 org.l2jmobius.gameserver.instancemanager.GlobalVariablesManager GlobalVariablesManager: Loaded 12 variables.
2022.11.04 11:40:30,577 INFO 1 org.l2jmobius.gameserver.GameServer ----------------------------------------------------=[ Data ]
2022.11.04 11:40:30,596 INFO 1 org.l2jmobius.gameserver.data.xml.CategoryData CategoryData: Loaded 180 categories.
2022.11.04 11:40:30,600 INFO 1 org.l2jmobius.commons.util.IXmlReader SecondaryAuthData: Loaded 328 forbidden passwords.
2022.11.04 11:40:30,600 INFO 1 org.l2jmobius.gameserver.GameServer --------------------------------------------------=[ Skills ]
2022.11.04 11:40:31,162 INFO 1 handlers.EffectMasterHandler EffectMasterHandler: Loaded 160 effect handlers.
2022.11.04 11:40:31,171 INFO 1 org.l2jmobius.commons.util.IXmlReader EnchantSkillGroupsData: Loaded 4 groups and 90 routes.
2022.11.04 11:40:31,515 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 17176 Class Skills for 103 class skill trees.
2022.11.04 11:40:31,515 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 76 sub-class skills.
2022.11.04 11:40:31,515 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 77 transfer skills for 3 transfer skill trees.
2022.11.04 11:40:31,515 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 117 fishing skills, 8 Dwarven only fishing skills.
2022.11.04 11:40:31,515 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 3 collect skills.
2022.11.04 11:40:31,515 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 74 clan skills, 44 for clan and 30 residential.
2022.11.04 11:40:31,515 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 18 sub-pledge skills.
2022.11.04 11:40:31,516 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 32 transform skills.
2022.11.04 11:40:31,516 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 8 noble skills.
2022.11.04 11:40:31,516 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 5 hero skills.
2022.11.04 11:40:31,516 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 46 game master skills.
2022.11.04 11:40:31,516 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillTreeData: Loaded 46 game master aura skills.
2022.11.04 11:40:34,275 INFO 1 org.l2jmobius.gameserver.data.xml.SkillData SkillData: Loaded 65962 Skill templates from XML files.
2022.11.04 11:40:34,309 INFO 1 org.l2jmobius.gameserver.data.xml.PetSkillData PetSkillData: Loaded 881 skills.
2022.11.04 11:40:34,309 INFO 1 org.l2jmobius.gameserver.GameServer ---------------------------------------------------=[ Items ]
2022.11.04 11:40:34,834 INFO 1 org.l2jmobius.gameserver.data.ItemTable ItemTable: Highest item id used: 22567
2022.11.04 11:40:34,837 INFO 1 org.l2jmobius.gameserver.data.ItemTable ItemTable: Loaded 11481 etc items.
2022.11.04 11:40:34,837 INFO 1 org.l2jmobius.gameserver.data.ItemTable ItemTable: Loaded 3825 armor items.
2022.11.04 11:40:34,837 INFO 1 org.l2jmobius.gameserver.data.ItemTable ItemTable: Loaded 3893 weapon items.
2022.11.04 11:40:34,837 INFO 1 org.l2jmobius.gameserver.data.ItemTable ItemTable: Loaded 19199 items in total.
2022.11.04 11:40:34,841 INFO 1 org.l2jmobius.commons.util.IXmlReader EnchantItemGroupsData: Loaded 4 item group templates.
2022.11.04 11:40:34,841 INFO 1 org.l2jmobius.commons.util.IXmlReader EnchantItemGroupsData: Loaded 1 scroll group templates.
2022.11.04 11:40:34,845 INFO 1 org.l2jmobius.commons.util.IXmlReader EnchantItemData: Loaded 63 enchant scrolls.
2022.11.04 11:40:34,845 INFO 1 org.l2jmobius.commons.util.IXmlReader EnchantItemData: Loaded 20 support items.
2022.11.04 11:40:34,852 INFO 1 org.l2jmobius.commons.util.IXmlReader EnchantItemOptionsData: Loaded 23 items and 1093 options.
2022.11.04 11:40:34,855 INFO 1 org.l2jmobius.commons.util.IXmlReader ElementalAttributeData: Loaded 30 elemental attribute items.
2022.11.04 11:40:35,355 INFO 1 org.l2jmobius.gameserver.data.xml.OptionData OptionData: Loaded 24985 options.
2022.11.04 11:40:35,366 INFO 1 org.l2jmobius.commons.util.IXmlReader EnchantItemHPBonusData: Loaded 6 enchant HP bonuses.
2022.11.04 11:40:35,368 INFO 1 org.l2jmobius.gameserver.data.MerchantPriceConfigTable MerchantPriceConfigTable: Loaded 28 merchant price configs.
2022.11.04 11:40:36,035 INFO 1 org.l2jmobius.gameserver.data.xml.BuyListData BuyListData: Loaded 760 buyLists.
2022.11.04 11:40:36,315 INFO 1 org.l2jmobius.commons.util.IXmlReader MultisellData: Loaded 199 multisell lists.
2022.11.04 11:40:36,341 INFO 1 org.l2jmobius.commons.util.IXmlReader RecipeData: Loaded 1000 recipes.
2022.11.04 11:40:36,370 INFO 1 org.l2jmobius.commons.util.IXmlReader ArmorSetData: Loaded 198 armor sets.
2022.11.04 11:40:36,376 INFO 1 org.l2jmobius.commons.util.IXmlReader FishData: Loaded 278 fishes.
2022.11.04 11:40:36,378 INFO 1 org.l2jmobius.commons.util.IXmlReader FishingMonstersData: Loaded 8 fishing monsters.
2022.11.04 11:40:36,380 INFO 1 org.l2jmobius.commons.util.IXmlReader FishingRodsData: Loaded 6 fishing rods.
2022.11.04 11:40:36,394 INFO 1 org.l2jmobius.commons.util.IXmlReader HennaData: Loaded 180 henna data.
2022.11.04 11:40:36,396 INFO 1 org.l2jmobius.gameserver.GameServer ----------------------------------------------=[ Characters ]
2022.11.04 11:40:36,398 INFO 1 org.l2jmobius.commons.util.IXmlReader ClassListData: Loaded 103 class data.
2022.11.04 11:40:36,401 INFO 1 org.l2jmobius.commons.util.IXmlReader InitialEquipmentData: Loaded 11 initial equipment data.
2022.11.04 11:40:36,404 INFO 1 org.l2jmobius.commons.util.IXmlReader InitialShortcutData: Loaded 5 initial global shortcut data.
2022.11.04 11:40:36,404 INFO 1 org.l2jmobius.commons.util.IXmlReader InitialShortcutData: Loaded 4 initial shortcut data.
2022.11.04 11:40:36,404 INFO 1 org.l2jmobius.commons.util.IXmlReader InitialShortcutData: Loaded 0 macro presets.
2022.11.04 11:40:36,406 INFO 1 org.l2jmobius.gameserver.data.xml.ExperienceData ExperienceData: Loaded 86 levels.
2022.11.04 11:40:36,406 INFO 1 org.l2jmobius.gameserver.data.xml.ExperienceData ExperienceData: Max Player Level is 85.
2022.11.04 11:40:36,406 INFO 1 org.l2jmobius.gameserver.data.xml.ExperienceData ExperienceData: Max Pet Level is 85.
2022.11.04 11:40:36,409 INFO 1 org.l2jmobius.commons.util.IXmlReader KarmaData: Loaded 85 karma modifiers.
2022.11.04 11:40:36,411 INFO 1 org.l2jmobius.commons.util.IXmlReader HitConditionBonusData: Loaded hit condition bonuses.
2022.11.04 11:40:36,597 INFO 1 org.l2jmobius.gameserver.data.xml.PlayerTemplateData PlayerTemplateData: Loaded 103 character templates.
2022.11.04 11:40:36,598 INFO 1 org.l2jmobius.gameserver.data.xml.PlayerTemplateData PlayerTemplateData: Loaded 52530 level up gain records.
2022.11.04 11:40:36,600 INFO 1 org.l2jmobius.gameserver.data.sql.CharNameTable CharNameTable: Loaded 4 char names.
2022.11.04 11:40:36,603 INFO 1 org.l2jmobius.commons.util.IXmlReader AdminData: Loaded 10 access levels.
2022.11.04 11:40:36,606 INFO 1 org.l2jmobius.commons.util.IXmlReader AdminData: Loaded 438 access commands.
2022.11.04 11:40:36,607 INFO 1 org.l2jmobius.gameserver.instancemanager.RaidBossPointsManager RaidBossPointsManager: Loaded 2 Characters Raid Points.
2022.11.04 11:40:36,815 INFO 1 org.l2jmobius.commons.util.IXmlReader PetDataTable: Loaded 49 pets.
2022.11.04 11:40:36,817 INFO 1 org.l2jmobius.gameserver.GameServer ---------------------------------------------------=[ Clans ]
2022.11.04 11:40:36,824 INFO 1 org.l2jmobius.gameserver.communitybbs.Manager.ForumsBBSManager ForumsBBSManager: Loaded 6 forums. Last forum id used: 6
2022.11.04 11:40:36,831 INFO 1 org.l2jmobius.gameserver.data.sql.ClanTable ClanTable: Restored 2 clans from the database.
2022.11.04 11:40:36,837 INFO 1 org.l2jmobius.gameserver.instancemanager.CHSiegeManager CHSiegeManager: Loaded 6 conquerable clan halls.
2022.11.04 11:40:36,848 INFO 1 org.l2jmobius.gameserver.instancemanager.ClanHallAuctionManager ClanHallAuctionManager: Loaded 38 auction(s)
2022.11.04 11:40:36,849 INFO 1 org.l2jmobius.gameserver.data.sql.ClanHallTable ClanHallTable: Loaded 0 clan halls
2022.11.04 11:40:36,849 INFO 1 org.l2jmobius.gameserver.data.sql.ClanHallTable ClanHallTable: Loaded 38 free clan halls
2022.11.04 11:40:36,849 INFO 1 org.l2jmobius.gameserver.GameServer -------------------------------------------------=[ Geodata ]
2022.11.04 11:40:36,900 INFO 1 org.l2jmobius.gameserver.geoengine.GeoEngine GeoEngine: Loaded 0 regions.
2022.11.04 11:40:36,900 INFO 1 org.l2jmobius.gameserver.GameServer ----------------------------------------------------=[ NPCs ]
2022.11.04 11:40:36,931 INFO 1 org.l2jmobius.gameserver.instancemanager.ZoneManager ZoneManager 17 by 18 Zone Region Grid set up.
2022.11.04 11:40:38,569 INFO 1 org.l2jmobius.commons.util.IXmlReader NpcData: Loaded 10461 NPCs.
2022.11.04 11:40:38,579 INFO 1 org.l2jmobius.commons.util.IXmlReader NpcData: Loaded 15 custom NPCs.
2022.11.04 11:40:38,584 INFO 1 org.l2jmobius.commons.util.IXmlReader SkillLearnData: Loaded 256 skill learn data.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Gigantic Chaos Golem(25512) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Queen Ant(29001) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Core(29006) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Orfen(29014) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Baium(29020) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Valakas(29028) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Antharas(29068) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Beleth(29118) status is 0.
2022.11.04 11:40:38,586 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Loaded 8 Instances
2022.11.04 11:40:38,698 INFO 1 org.l2jmobius.gameserver.instancemanager.ZoneManager ZoneManager: Loaded 30 zone classes and 2856 zones.
2022.11.04 11:40:38,701 INFO 1 org.l2jmobius.gameserver.instancemanager.ZoneManager ZoneManager: Last static id 200105.
2022.11.04 11:40:38,754 INFO 1 org.l2jmobius.commons.util.IXmlReader DoorData: Loaded 1301 doors.
2022.11.04 11:40:38,758 INFO 1 FenceData FenceData: Loaded 1 fences.
2022.11.04 11:40:38,759 INFO 1 org.l2jmobius.gameserver.data.xml.FakePlayerData FakePlayerData: Disabled.
2022.11.04 11:40:38,760 INFO 1 org.l2jmobius.gameserver.instancemanager.FakePlayerChatManager FakePlayerChatManager: Disabled.
2022.11.04 11:40:38,869 INFO 1 org.l2jmobius.gameserver.instancemanager.WalkingManager WalkingManager: Loaded 123 walking routes.
2022.11.04 11:40:38,875 INFO 1 org.l2jmobius.commons.util.IXmlReader StaticObjectData: Loaded 51 static object templates.
2022.11.04 11:40:38,886 INFO 1 org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance ItemAuctionInstance: Loaded 82 item(s) and registered 3 auction(s) for instance 32320.
2022.11.04 11:40:38,888 INFO 1 org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance ItemAuctionInstance: Schedule next auction 94 on 17:00:00 04.11.22 for instance 32320
2022.11.04 11:40:38,890 INFO 1 org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance ItemAuctionInstance: Loaded 82 item(s) and registered 3 auction(s) for instance 32321.
2022.11.04 11:40:38,890 INFO 1 org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance ItemAuctionInstance: Schedule next auction 95 on 17:00:00 07.11.22 for instance 32321
2022.11.04 11:40:38,892 INFO 1 org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance ItemAuctionInstance: Loaded 82 item(s) and registered 3 auction(s) for instance 32322.
2022.11.04 11:40:38,892 INFO 1 org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance ItemAuctionInstance: Schedule next auction 96 on 17:00:00 09.11.22 for instance 32322
2022.11.04 11:40:38,892 INFO 1 org.l2jmobius.gameserver.instancemanager.ItemAuctionManager ItemAuctionManager: Loaded 3 instance(s).
2022.11.04 11:40:38,901 INFO 1 org.l2jmobius.gameserver.instancemanager.CastleManager CastleManager: Loaded 9 castles
2022.11.04 11:40:38,906 INFO 1 org.l2jmobius.gameserver.data.SchemeBufferTable SchemeBufferTable: Loaded 1 players schemes and 60 available buffs.
2022.11.04 11:40:38,907 INFO 1 org.l2jmobius.gameserver.instancemanager.GrandBossManager GrandBossManager: Initialized 12 Grand Boss Zones
2022.11.04 11:40:38,908 INFO 1 org.l2jmobius.gameserver.GameServer ------------------------------------------------=[ Olympiad ]
2022.11.04 11:40:38,913 INFO 1 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: Loading....
2022.11.04 11:40:38,913 INFO 1 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: Currently in Olympiad Period
2022.11.04 11:40:38,913 INFO 1 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: 27 days, 0 hours and 19 mins until period ends.
2022.11.04 11:40:38,913 INFO 1 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: Next weekly change is in 6 days, 15 hours and 48 mins.
2022.11.04 11:40:38,913 INFO 1 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: Loaded 0 Nobles
2022.11.04 11:40:38,916 INFO 1 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: Competition Period Starts in 0 days, 6 hours and 20 mins.
2022.11.04 11:40:38,922 INFO 1 org.l2jmobius.gameserver.model.olympiad.Olympiad Olympiad System: Event starts/started: Fri Nov 04 18:00:38 EET 2022
2022.11.04 11:40:38,925 INFO 1 org.l2jmobius.gameserver.model.olympiad.Hero Hero System: Loaded 0 Heroes.
2022.11.04 11:40:38,925 INFO 1 org.l2jmobius.gameserver.model.olympiad.Hero Hero System: Loaded 0 all time Heroes.
2022.11.04 11:40:38,925 INFO 1 org.l2jmobius.gameserver.GameServer ---------------------------------------------=[ Seven Signs ]
2022.11.04 11:40:38,929 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSigns SevenSigns: Currently in the Seal Validation period!
2022.11.04 11:40:38,929 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSigns SevenSigns: The Seal of Avarice remains unclaimed.
2022.11.04 11:40:38,929 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSigns SevenSigns: The Seal of Gnosis remains unclaimed.
2022.11.04 11:40:38,929 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSigns SevenSigns: The Seal of Strife remains unclaimed.
2022.11.04 11:40:38,929 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSigns SevenSigns: The competition ended with a tie last week.
2022.11.04 11:40:38,929 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSigns SevenSigns: Next period change set to Mon Nov 07 18:00:38 EET 2022
2022.11.04 11:40:38,930 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSigns SevenSigns: Next period begins in 3 days, 6 hours and 19 mins.
2022.11.04 11:40:38,930 INFO 1 org.l2jmobius.gameserver.GameServer ---------------------------------------------------=[ Cache ]
2022.11.04 11:40:38,931 INFO 1 org.l2jmobius.gameserver.cache.HtmCache Html cache start...
2022.11.04 11:40:42,632 INFO 1 org.l2jmobius.gameserver.cache.HtmCache Cache[HTML]: 9,279 megabytes on 20654 files loaded.
2022.11.04 11:40:42,634 INFO 1 org.l2jmobius.gameserver.data.sql.CrestTable CrestTable: Loaded 0 Crests.
2022.11.04 11:40:42,637 INFO 1 org.l2jmobius.gameserver.data.sql.TeleportLocationTable TeleportLocationTable: Loaded 957 teleport location templates.
2022.11.04 11:40:42,641 INFO 1 org.l2jmobius.gameserver.data.xml.UIData UIData: Loaded 4 keys 5 categories.
2022.11.04 11:40:42,690 INFO 1 org.l2jmobius.gameserver.data.AugmentationData AugmentationData: Loaded 33960 augmentations.
2022.11.04 11:40:42,690 INFO 1 org.l2jmobius.gameserver.data.AugmentationData AugmentationData: Loaded 2754 accessory augmentations.
2022.11.04 11:40:42,694 INFO 1 org.l2jmobius.gameserver.instancemanager.CursedWeaponsManager CursedWeaponsManager: Loaded : 2 cursed weapon(s).
2022.11.04 11:40:42,933 INFO 1 org.l2jmobius.commons.util.IXmlReader TransformData: Loaded 111 transform templates.
2022.11.04 11:40:42,938 INFO 1 org.l2jmobius.gameserver.data.BotReportTable BotReportTable: Loaded 0 bot reports
2022.11.04 11:40:42,939 INFO 1 org.l2jmobius.gameserver.GameServer -------------------------------------------------=[ Scripts ]
2022.11.04 11:40:42,942 INFO 1 org.l2jmobius.gameserver.instancemanager.AirShipManager AirShipManager: Loaded 0 private airships
2022.11.04 11:40:42,943 INFO 1 org.l2jmobius.gameserver.instancemanager.SoDManager Seed of Destruction Manager: Loaded. Current stage is: 1
2022.11.04 11:40:42,944 INFO 1 org.l2jmobius.gameserver.instancemanager.SoIManager Seed of Infinity Manager: Loaded. Current stage is: 1
2022.11.04 11:40:42,944 INFO 1 org.l2jmobius.gameserver.GameServer Loading server scripts...
2022.11.04 11:40:43,232 INFO 1 handlers.MasterHandler Loading Handlers...
2022.11.04 11:40:43,306 INFO 1 handlers.MasterHandler ActionHandler: Loaded 10 handlers.
2022.11.04 11:40:43,306 INFO 1 handlers.MasterHandler ActionShiftHandler: Loaded 6 handlers.
2022.11.04 11:40:43,306 INFO 1 handlers.MasterHandler AdminCommandHandler: Loaded 443 handlers.
2022.11.04 11:40:43,306 INFO 1 handlers.MasterHandler BypassHandler: Loaded 47 handlers.
2022.11.04 11:40:43,306 INFO 1 handlers.MasterHandler ChatHandler: Loaded 14 handlers.
2022.11.04 11:40:43,306 INFO 1 handlers.MasterHandler CommunityBoardHandler: Loaded 24 handlers.
2022.11.04 11:40:43,307 INFO 1 handlers.MasterHandler ItemHandler: Loaded 30 handlers.
2022.11.04 11:40:43,307 INFO 1 handlers.MasterHandler PunishmentHandler: Loaded 3 handlers.
2022.11.04 11:40:43,307 INFO 1 handlers.MasterHandler UserCommandHandler: Loaded 17 handlers.
2022.11.04 11:40:43,307 INFO 1 handlers.MasterHandler VoicedCommandHandler: Loaded 7 handlers.
2022.11.04 11:40:43,307 INFO 1 handlers.MasterHandler TargetHandler: Loaded 34 handlers.
2022.11.04 11:40:43,307 INFO 1 handlers.MasterHandler Handlers Loaded...
2022.11.04 11:40:57,947 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Handy's Block Checker Event is enabled
2022.11.04 11:40:57,950 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Fantasy Isle: Parade starting at 2022/11/04 13:20 and is scheduled each next 1 hours.
2022.11.04 11:40:57,952 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Fantasy Isle: MC show script starting at 05/11/2022 10:05:57 and is scheduled each next 4 hours.
2022.11.04 11:40:57,977 INFO 1 ai.areas.Gracia.GraciaLoader GraciaLoader: Loading Gracia related scripts.
2022.11.04 11:40:58,052 INFO 1 ai.areas.Hellbound.HellboundLoader HellboundLoader: Loading Hellbound related scripts:
2022.11.04 11:40:58,055 INFO 1 org.l2jmobius.commons.util.IXmlReader HellboundPointData: Loaded 47 trust point reward data.
2022.11.04 11:40:58,071 INFO 1 org.l2jmobius.commons.util.IXmlReader HellboundSpawns: Loaded 598 Hellbound spawns.
2022.11.04 11:40:58,073 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript HellboundEngine: Level: 11
2022.11.04 11:40:58,073 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript HellboundEngine: Trust: 4000000
2022.11.04 11:40:58,073 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript HellboundEngine: Status: unlocked.
2022.11.04 11:40:58,122 INFO 1 org.l2jmobius.gameserver.instancemanager.RaidBossSpawnManager RaidBossSpawnManager: Loaded 187 Instances
2022.11.04 11:40:58,122 INFO 1 org.l2jmobius.gameserver.instancemanager.RaidBossSpawnManager RaidBossSpawnManager: Scheduled 0 Instances
2022.11.04 11:40:58,210 INFO 1 org.l2jmobius.commons.util.IXmlReader NpcBuffersData: Loaded 33 buffers data.
2022.11.04 11:40:58,252 CONFIG 1 org.l2jmobius.gameserver.model.events.AbstractScript Devastated Castle siege scheduled for Thu Nov 10 12:00:00 EET 2022.
2022.11.04 11:40:58,254 CONFIG 1 org.l2jmobius.gameserver.model.events.AbstractScript Bandit StrongHold siege scheduled for Thu Nov 10 12:00:00 EET 2022.
2022.11.04 11:40:58,256 CONFIG 1 org.l2jmobius.gameserver.model.events.AbstractScript Beast Farm siege scheduled for Thu Nov 10 12:00:00 EET 2022.
2022.11.04 11:40:58,257 CONFIG 1 org.l2jmobius.gameserver.model.events.AbstractScript Fortress of Resistance siege scheduled for Thu Nov 10 12:00:00 EET 2022.
2022.11.04 11:40:58,259 CONFIG 1 org.l2jmobius.gameserver.model.events.AbstractScript Fortress of the Dead siege scheduled for Thu Nov 10 12:00:00 EET 2022.
2022.11.04 11:40:58,261 CONFIG 1 org.l2jmobius.gameserver.model.events.AbstractScript Rainbow Springs siege scheduled for Thu Nov 10 12:00:00 EET 2022.
2022.11.04 11:40:58,285 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event Freya Celebration has passed... Ignored
2022.11.04 11:40:58,288 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event Gift of Vitality has passed... Ignored
2022.11.04 11:40:58,290 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event Heavy Medal has passed... Ignored
2022.11.04 11:40:58,299 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event L2 Day has passed... Ignored
2022.11.04 11:40:58,301 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event Love Your Gatekeeper has passed... Ignored
2022.11.04 11:40:58,303 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event Master of Enchanting has passed... Ignored
2022.11.04 11:40:58,306 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event Saving Santa has passed... Ignored
2022.11.04 11:40:58,308 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript Event Valentine Event has passed... Ignored
2022.11.04 11:40:58,327 INFO 1 instances.FinalEmperialTomb.FinalEmperialTomb [Final Emperial Tomb] Loaded 26 spawn zones data.
2022.11.04 11:40:58,328 INFO 1 instances.FinalEmperialTomb.FinalEmperialTomb [Final Emperial Tomb] Loaded 94 spawns data.
2022.11.04 11:40:58,591 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript [EnhanceYourWeapon] Loaded 54 Soul Crystal data.
2022.11.04 11:40:58,591 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript [EnhanceYourWeapon] Loaded 240 npc Leveling info data.
2022.11.04 11:40:58,619 INFO 1 org.l2jmobius.gameserver.model.events.AbstractScript TerritoryWarSuperClass: Siege date: Sat Nov 05 20:00:00 EET 2022
2022.11.04 11:40:58,637 INFO 1 org.l2jmobius.gameserver.data.SpawnTable SpawnTable: Initializing spawns...
2022.11.04 11:40:59,080 INFO 58 org.l2jmobius.gameserver.model.events.AbstractScript HellboundEngine: Spawned 424 NPCs.
2022.11.04 11:40:59,755 INFO 1 org.l2jmobius.gameserver.data.SpawnTable SpawnTable: 40912 spawns have been initialized!
2022.11.04 11:40:59,756 INFO 1 org.l2jmobius.gameserver.instancemanager.DayNightSpawnManager DayNightSpawnManager: Removed 0 night creatures
2022.11.04 11:40:59,759 INFO 1 org.l2jmobius.gameserver.instancemanager.DayNightSpawnManager DayNightSpawnManager: Spawned 232 day creatures
2022.11.04 11:40:59,762 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: loaded 20 Mysterious-Box spawns.
2022.11.04 11:40:59,771 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: loaded 716 Physical type monsters spawns.
2022.11.04 11:40:59,779 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: loaded 716 Magical type monsters spawns.
2022.11.04 11:40:59,781 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: loaded 92 Church of duke monsters spawns.
2022.11.04 11:40:59,783 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: loaded 68 Emperor's grave NPC spawns.
2022.11.04 11:40:59,783 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: spawned Conquerors' Sepulcher Manager
2022.11.04 11:40:59,783 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: spawned Emperors' Sepulcher Manager
2022.11.04 11:40:59,783 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: spawned Great Sages' Sepulcher Manager
2022.11.04 11:40:59,784 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: spawned Judges' Sepulcher Manager
2022.11.04 11:40:59,784 INFO 1 org.l2jmobius.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: Beginning in Attack time
2022.11.04 11:40:59,787 INFO 1 org.l2jmobius.gameserver.instancemanager.DimensionalRiftManager DimensionalRiftManager: Loaded 7 room types with 56 rooms.
2022.11.04 11:40:59,790 INFO 1 org.l2jmobius.gameserver.instancemanager.DimensionalRiftManager DimensionalRiftManager: Loaded 462 dimensional rift spawns, 0 errors.
2022.11.04 11:40:59,790 INFO 1 org.l2jmobius.gameserver.GameServer ---------------------------------------------------=[ Siege ]
2022.11.04 11:40:59,795 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Gludio: Sun Nov 06 16:00:00 EET 2022
2022.11.04 11:40:59,796 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Dion: Sun Nov 06 20:00:00 EET 2022
2022.11.04 11:40:59,797 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Giran: Sun Nov 06 16:00:00 EET 2022
2022.11.04 11:40:59,797 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Oren: Sun Nov 06 20:00:00 EET 2022
2022.11.04 11:40:59,797 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Aden: Sun Nov 06 16:00:00 EET 2022
2022.11.04 11:40:59,797 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Innadril: Sun Nov 06 20:00:00 EET 2022
2022.11.04 11:40:59,797 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Goddard: Sun Nov 06 16:00:00 EET 2022
2022.11.04 11:40:59,798 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Rune: Sun Nov 06 20:00:00 EET 2022
2022.11.04 11:40:59,798 INFO 1 org.l2jmobius.gameserver.model.siege.Siege Siege of Schuttgart: Sun Nov 06 16:00:00 EET 2022
2022.11.04 11:40:59,831 INFO 1 org.l2jmobius.gameserver.instancemanager.FortManager FortManager: Loaded 21 fortress
2022.11.04 11:40:59,872 INFO 1 org.l2jmobius.gameserver.data.xml.SiegeScheduleData SiegeScheduleData: Loaded 9 siege schedulers.
2022.11.04 11:40:59,877 INFO 1 org.l2jmobius.commons.util.IXmlReader CastleManorManager: Loaded 258 seeds.
2022.11.04 11:40:59,880 INFO 1 org.l2jmobius.commons.util.IXmlReader CastleManorManager: Manor data loaded.
2022.11.04 11:40:59,882 INFO 1 org.l2jmobius.gameserver.instancemanager.MercTicketManager MercTicketManager: Loaded 0 Mercenary Tickets
2022.11.04 11:40:59,882 INFO 1 org.l2jmobius.gameserver.instancemanager.QuestManager QuestManager: Loaded 526 quests.
2022.11.04 11:40:59,882 INFO 1 org.l2jmobius.gameserver.instancemanager.QuestManager QuestManager: Loaded 293 scripts.
2022.11.04 11:40:59,884 INFO 1 org.l2jmobius.gameserver.instancemanager.games.MonsterRace MonsterRace: loaded 33 records, currently on race #34
2022.11.04 11:40:59,904 INFO 1 org.l2jmobius.gameserver.model.sevensigns.SevenSignsFestival SevenSignsFestival: Initialization bypassed due to Seal Validation in effect.
2022.11.04 11:40:59,904 INFO 1 org.l2jmobius.gameserver.GameServer AutoSpawnHandler: Loaded 129 handlers in total.
2022.11.04 11:40:59,913 INFO 1 org.l2jmobius.gameserver.taskmanager.TaskManager TaskManager: Loaded 12 Tasks.
2022.11.04 11:40:59,915 INFO 1 org.l2jmobius.gameserver.instancemanager.MailManager MailManager: Loaded 0 messages.
2022.11.04 11:40:59,916 INFO 1 org.l2jmobius.gameserver.instancemanager.PunishmentManager PunishmentManager: Loaded 0 active and 0 expired punishments.
2022.11.04 11:40:59,917 INFO 1 org.l2jmobius.gameserver.GameServer IdManager: Free ObjectID's remaining: 1879000971
2022.11.04 11:40:59,919 INFO 1 org.l2jmobius.gameserver.data.sql.OfflineTraderTable OfflineTraderTable: Loading offline traders...
2022.11.04 11:40:59,973 INFO 1 org.l2jmobius.gameserver.data.sql.OfflineTraderTable OfflineTraderTable: Loaded 1 offline traders.
2022.11.04 11:41:00,147 INFO 1 org.l2jmobius.gameserver.GameServer GameServer: Started, using 555 of 16352 MB total memory.
2022.11.04 11:41:00,147 INFO 1 org.l2jmobius.gameserver.GameServer GameServer: Maximum number of connected players is 2000.
2022.11.04 11:41:00,147 INFO 1 org.l2jmobius.gameserver.GameServer GameServer: Server loaded in 31 seconds.
2022.11.04 11:41:00,155 INFO 165 org.l2jmobius.commons.network.NetServer GameServer: Listening on port 7777 for incoming connections.
2022.11.04 11:41:00,157 INFO 166 org.l2jmobius.gameserver.LoginServerThread LoginServerThread: Connecting to login on 127.0.0.1:9014
2022.11.04 11:41:00,187 INFO 166 org.l2jmobius.gameserver.LoginServerThread LoginServerThread: Registered on login as Server 2: Sieghardt
2022.11.04 11:42:53,125 WARNING 137 org.l2jmobius.gameserver.model.actor.Creature Master access level set for character admin! Just a warning to be careful ;)
2022.11.04 11:43:01,244 INFO 35 org.l2jmobius.gameserver.ui.SystemPanel New maximum connected count of 2!
2022.11.04 11:49:19,920 INFO 80 org.l2jmobius.gameserver.instancemanager.GlobalVariablesManager GlobalVariablesManager: Stored 12 variables.

View File

@@ -1 +1 @@
-server -Dfile.encoding=UTF-8 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Xms128m -Xmx256m
-server -Dfile.encoding=UTF-8 -Xms128m -Xmx256m

View File

@@ -0,0 +1,15 @@
2022.11.04 11:40:31,849 INFO 1 org.l2jmobius.commons.database.DatabaseFactory Database: Initialized.
2022.11.04 11:40:31,881 INFO 1 org.l2jmobius.loginserver.LoginController Loading LoginController...
2022.11.04 11:40:32,150 INFO 1 org.l2jmobius.loginserver.LoginController Cached 10 KeyPairs for RSA communication.
2022.11.04 11:40:32,209 INFO 1 org.l2jmobius.loginserver.GameServerTable Loaded 127 server names.
2022.11.04 11:40:32,210 INFO 1 org.l2jmobius.loginserver.GameServerTable Loaded 1 registered Game Servers.
2022.11.04 11:40:32,259 INFO 1 org.l2jmobius.loginserver.GameServerTable Cached 10 RSA keys for Game Server communication.
2022.11.04 11:40:32,261 INFO 1 org.l2jmobius.loginserver.LoginServer Loaded 2 IP Bans.
2022.11.04 11:40:32,262 INFO 1 org.l2jmobius.loginserver.LoginServer Listening for GameServers on 127.0.0.1:9014
2022.11.04 11:40:32,266 INFO 37 org.l2jmobius.commons.network.NetServer LoginServer: Listening on port 2106 for incoming connections.
2022.11.04 11:41:00,185 INFO 40 org.l2jmobius.loginserver.GameServerThread Updated Gameserver [2] Sieghardt IP's:
2022.11.04 11:41:00,185 INFO 40 org.l2jmobius.loginserver.GameServerThread 127.0.0.1/127.0.0.0/8
2022.11.04 11:41:00,185 INFO 40 org.l2jmobius.loginserver.GameServerThread 192.168.2.6/192.168.2.0/24
2022.11.04 11:41:00,186 INFO 40 org.l2jmobius.loginserver.GameServerThread 46.198.204.56/0.0.0.0/0
2022.11.04 11:49:21,940 INFO 40 org.l2jmobius.loginserver.GameServerThread GameServer [2] Sieghardt: Connection lost: Connection reset
2022.11.04 11:49:21,941 INFO 40 org.l2jmobius.loginserver.GameServerThread Server [2] Sieghardt is now set as disconnected.