Dropped MMOCore.
This commit is contained in:
13
L2J_Mobius_C6_Interlude/dist/game/config/default-ipconfig.xml
vendored
Normal file
13
L2J_Mobius_C6_Interlude/dist/game/config/default-ipconfig.xml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! -->
|
||||
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
|
||||
<gameserver address="127.0.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd">
|
||||
<!-- Localhost here -->
|
||||
<define subnet="127.0.0.0/8" address="127.0.0.1" />
|
||||
<!-- Internalhosts here (LANs IPs) -->
|
||||
<define subnet="10.0.0.0/8" address="10.0.0.0" />
|
||||
<define subnet="172.16.0.0/19" address="172.16.0.0" />
|
||||
<define subnet="192.168.0.0/16" address="192.168.0.0" />
|
||||
<define subnet="192.168.0.0/24" address="192.168.0.0" />
|
||||
<define subnet="192.168.1.0/24" address="192.168.1.0" />
|
||||
</gameserver>
|
||||
@@ -8,32 +8,28 @@
|
||||
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
|
||||
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Networking
|
||||
# ---------------------------------------------------------------------------
|
||||
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
|
||||
# Common settings...
|
||||
# 127.0.0.1 - If you are playing alone on a test server
|
||||
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
|
||||
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
|
||||
# If this IP is resolvable by the Login Server, just leave *.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Enter here (ip) address of your game server, or use the symbol *
|
||||
GameserverHostname = *
|
||||
GameserverPort = 7777
|
||||
|
||||
# Configure your external ip
|
||||
ExternalHostname = 127.0.0.1
|
||||
|
||||
# Configure your internal ip
|
||||
InternalHostname = 127.0.0.1
|
||||
# Where's the Login server this gameserver should connect to
|
||||
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
|
||||
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
|
||||
# Default: 127.0.0.1
|
||||
LoginHost = 127.0.0.1
|
||||
|
||||
# TCP port the login server listen to for gameserver connection requests
|
||||
# Default: 9014
|
||||
LoginPort = 9014
|
||||
LoginHost = 127.0.0.1
|
||||
|
||||
# Bind address for gameserver. You should not need to change it in most cases.
|
||||
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
|
||||
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
|
||||
# Default: * (0.0.0.0)
|
||||
GameserverHostname = 0.0.0.0
|
||||
|
||||
# Default: 7777
|
||||
GameserverPort = 7777
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
@@ -130,6 +126,9 @@ ScheduledThreadPoolCount = 160
|
||||
# Default: 120
|
||||
InstantThreadPoolCount = 120
|
||||
|
||||
# Default: 40
|
||||
UrgentPacketThreadCoreSize = 40
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Misc Player Settings
|
||||
|
||||
@@ -46,7 +46,7 @@ import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.spawn.Spawn;
|
||||
import org.l2jmobius.gameserver.model.zone.type.BossZone;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.Earthquake;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.GameServerPacket;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SpecialCamera;
|
||||
|
||||
@@ -560,7 +560,7 @@ public class Antharas extends Quest
|
||||
}
|
||||
}
|
||||
|
||||
protected void broadcastPacket(GameServerPacket mov)
|
||||
protected void broadcastPacket(IClientOutgoingPacket mov)
|
||||
{
|
||||
if (_zone != null)
|
||||
{
|
||||
|
||||
34
L2J_Mobius_C6_Interlude/dist/game/data/xsd/ipconfig.xsd
vendored
Normal file
34
L2J_Mobius_C6_Interlude/dist/game/data/xsd/ipconfig.xsd
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="gameserver">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="1" maxOccurs="1">
|
||||
<xs:element name="define" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="address" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|[.]?.*[.x][a-z]{2,3}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="subnet" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?/\d+)|(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|[.]?.*[.x][a-z]{2,3}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="address" use="required">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|[.]?.*[.x][a-z]{2,3}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user