Chronicle 4 branch.
This commit is contained in:
11
L2J_Mobius_C4/dist/login/LoginServer_loop.sh
vendored
Normal file
11
L2J_Mobius_C4/dist/login/LoginServer_loop.sh
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
err=1
|
||||
until [ $err == 0 ];
|
||||
do
|
||||
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"
|
||||
[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
|
||||
java -Xms128m -Xmx256m -jar LoginServer.jar > log/stdout.log 2>&1
|
||||
err=$?
|
||||
sleep 10;
|
||||
done
|
||||
5
L2J_Mobius_C4/dist/login/RegisterGameServer.bat
vendored
Normal file
5
L2J_Mobius_C4/dist/login/RegisterGameServer.bat
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
title Register Game Server
|
||||
color 17
|
||||
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/*;LoginServer.jar com.l2jmobius.tools.gsregistering.GameServerRegister -c
|
||||
pause
|
||||
2
L2J_Mobius_C4/dist/login/RegisterGameServer.sh
vendored
Normal file
2
L2J_Mobius_C4/dist/login/RegisterGameServer.sh
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/*:LoginServer.jar com.l2jmobius.tools.gsregistering.GameServerRegister -c
|
||||
7
L2J_Mobius_C4/dist/login/banned_ip.cfg
vendored
Normal file
7
L2J_Mobius_C4/dist/login/banned_ip.cfg
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Subnets can be defined like 123.45.0.0
|
||||
# Comments after # are ignored
|
||||
# Expiration timestamp can be added after IP for when to disable the ban
|
||||
# Example:
|
||||
# 192.168.0.0 1237618800000 # Bans all address starting with 192.168 and will expire on 21 Mar 2009 07:00:00 GMT
|
||||
10.255.255.255
|
||||
10.254.254.254
|
||||
81
L2J_Mobius_C4/dist/login/config/loginserver.ini
vendored
Normal file
81
L2J_Mobius_C4/dist/login/config/loginserver.ini
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
# This is the server configuration file. Here you can set up the connection for your server.
|
||||
# Usually you have to change the ExternalHostname option to
|
||||
# - 127.0.0.1 (if you want to play alone / testing purpose)
|
||||
# - LAN IP* (if you want to play from another computer in the network)
|
||||
# - WAN IP** (if you want to play with friends over internet)
|
||||
# - Questions? => http://l2jserver.com
|
||||
#
|
||||
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
|
||||
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
|
||||
# ===================================================================================================
|
||||
|
||||
# ================================================================
|
||||
# General server setting !!! REQUIRED to configure to everyone !!!
|
||||
# ================================================================
|
||||
|
||||
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
|
||||
ExternalHostname=127.0.0.1
|
||||
|
||||
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
|
||||
InternalHostname=127.0.0.1
|
||||
|
||||
# Bind ip of the loginserver, use * to bind on all available IPs
|
||||
LoginserverHostname=*
|
||||
LoginserverPort=2106
|
||||
# How many times you can provide an invalid account/pass before the IP gets banned
|
||||
LoginTryBeforeBan=10
|
||||
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds.
|
||||
# Default 10min. (600)
|
||||
LoginBlockAfterBan=600
|
||||
GMMinLevel=100
|
||||
|
||||
# The address on which login will listen for GameServers, use * to bind on all available IPs
|
||||
LoginHostname=*
|
||||
|
||||
# The port on which login will listen for GameServers
|
||||
LoginPort=9014
|
||||
|
||||
# If set to true any GameServer can register on your login's free slots
|
||||
AcceptNewGameServer = False
|
||||
|
||||
# If false, the licence (after the login) will not be shown
|
||||
# It is highly recommended for Account Security to leave this option as default (True)
|
||||
ShowLicence = True
|
||||
|
||||
# Database info
|
||||
Driver=com.mysql.jdbc.Driver
|
||||
#Driver=org.hsqldb.jdbcDriver
|
||||
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
URL=jdbc:mysql://localhost/l2jmc4?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
|
||||
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
|
||||
Login=root
|
||||
Password=
|
||||
MaximumDbConnections=10
|
||||
|
||||
# Connection close time.
|
||||
# Default: 60000
|
||||
ConnectionCloseTime = 60000
|
||||
|
||||
# Useable values: "true" - "false", use this option to choose whether accounts will be created
|
||||
# automatically or not.
|
||||
AutoCreateAccounts=True
|
||||
|
||||
# Datapack root directory.
|
||||
# Defaults to current directory from which the server is started.
|
||||
DatapackRoot = .
|
||||
|
||||
# ==============================================================
|
||||
# Test server setting, shoudnt be touched in online game server
|
||||
# ==============================================================
|
||||
|
||||
Debug = False
|
||||
Assert = False
|
||||
Developer = False
|
||||
|
||||
#FloodProtection. time in ms
|
||||
EnableFloodProtection=True
|
||||
FastConnectionLimit=15
|
||||
NormalConnectionTime=700
|
||||
FastConnectionTime=350
|
||||
MaxConnectionPerIP=50
|
||||
23
L2J_Mobius_C4/dist/login/config/mmo.ini
vendored
Normal file
23
L2J_Mobius_C4/dist/login/config/mmo.ini
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
#---------------------------------------------------------------
|
||||
# MMO
|
||||
#---------------------------------------------------------------
|
||||
|
||||
# Sleep time for all Selectors
|
||||
# After he finished his job the Selector waits the given time in milliseconds
|
||||
# Lower values will speed up the loop and the Ping is smaller
|
||||
SleepTime = 20
|
||||
|
||||
# Every loop it send a maximum of the given packages to each connection
|
||||
# Lower values will speed up the loop and the Ping is smaller but cause less output
|
||||
# Default: 12
|
||||
MaxSendPerPass = 60
|
||||
|
||||
# Every loop it read a maximum of the given packages from each connection
|
||||
# Lower values will speed up the loop and the Ping is smaller but cause less input
|
||||
# Default: 12
|
||||
MaxReadPerPass = 60
|
||||
|
||||
# Each unfinished read/write need a TEMP storage Buffer
|
||||
# on large player amount we need more Buffers
|
||||
# if there are not enough buffers new ones are generated but not stored for future usage
|
||||
HelperBufferCount = 20
|
||||
21
L2J_Mobius_C4/dist/login/config/telnet.ini
vendored
Normal file
21
L2J_Mobius_C4/dist/login/config/telnet.ini
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#Telnet is disabled by default.
|
||||
EnableTelnet = False
|
||||
|
||||
#This is the port telnet LoginServer will bind to
|
||||
#Must differ from GameStatusPort
|
||||
LoginStatusPort = 12345
|
||||
|
||||
#This is the port telnet GameServer will bind to
|
||||
#Must differ from LoginStatusPort
|
||||
GameStatusPort = 54321
|
||||
|
||||
#If the following is not set, a random password is generated on server startup.
|
||||
# Usage: StatusPW = somePass
|
||||
StatusPW =
|
||||
|
||||
#This list can contain IPs or Hosts of clients you wish to allow.
|
||||
#Hosts must be resolvable to an IP.
|
||||
#The format is as follows:
|
||||
#ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
|
||||
#Make sure there are no spaces between hosts/ips
|
||||
ListOfHosts = 127.0.0.1,localhost,::1
|
||||
7
L2J_Mobius_C4/dist/login/console.cfg
vendored
Normal file
7
L2J_Mobius_C4/dist/login/console.cfg
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Default global logging level.
|
||||
# This specifies which kinds of events are logged across
|
||||
# all loggers. For any given facility this global level
|
||||
# can be overriden by a facility specific level
|
||||
# Note that the ConsoleHandler also has a separate level
|
||||
# setting to limit messages printed to the console.
|
||||
.level=OFF
|
||||
162
L2J_Mobius_C4/dist/login/log.cfg
vendored
Normal file
162
L2J_Mobius_C4/dist/login/log.cfg
vendored
Normal file
@@ -0,0 +1,162 @@
|
||||
############################################################
|
||||
# Global properties
|
||||
############################################################
|
||||
|
||||
# "handlers" specifies a comma separated list of log Handler
|
||||
# classes. These handlers will be installed during VM startup.
|
||||
# Note that these classes must be on the system classpath.
|
||||
# By default we only configure a ConsoleHandler, which will only
|
||||
# show messages at the INFO and above levels.
|
||||
#handlers= java.util.logging.ConsoleHandler
|
||||
|
||||
# To also add the FileHandler, use the following line instead.
|
||||
handlers = java.util.logging.FileHandler,\
|
||||
java.util.logging.ConsoleHandler,\
|
||||
com.l2jmobius.log.handler.ErrorLogHandler
|
||||
chat.handlers = com.l2jmobius.log.handler.ChatLogHandler
|
||||
chat.useParentHandlers = false
|
||||
gmaudit.handlers = com.l2jmobius.log.handler.GMAuditLogHandler
|
||||
gmaudit.useParentHandlers = false
|
||||
item.handlers = com.l2jmobius.log.handler.ItemLogHandler
|
||||
item.useParentHandlers = false
|
||||
audit.handlers = com.l2jmobius.log.handler.AuditLogHandler
|
||||
audit.useParentHandlers = false
|
||||
enchant.handlers = com.l2jmobius.log.handler.EnchantItemLogHandler,\
|
||||
com.l2jmobius.log.handler.EnchantSkillLogHandler
|
||||
enchant.useParentHandlers = false
|
||||
olympiad.handlers = com.l2jmobius.log.handler.OlympiadLogHandler
|
||||
olympiad.useParentHandlers = false
|
||||
damage.handlers = com.l2jmobius.log.handler.AllDamageLogHandler,\
|
||||
com.l2jmobius.log.handler.PDamageLogHandler,\
|
||||
com.l2jmobius.log.handler.MDamageLogHandler
|
||||
damage.useParentHandlers = false
|
||||
accounting.handlers = com.l2jmobius.log.handler.AccountingLogHandler
|
||||
accounting.useParentHandlers = false
|
||||
|
||||
# Default global logging level.
|
||||
# This specifies which kinds of events are logged across
|
||||
# all loggers. For any given facility this global level
|
||||
# can be overriden by a facility specific level
|
||||
# Note that the ConsoleHandler also has a separate level
|
||||
# setting to limit messages printed to the console.
|
||||
.level= CONFIG
|
||||
|
||||
############################################################
|
||||
# Handler specific properties.
|
||||
# Describes specific configuration info for Handlers.
|
||||
############################################################
|
||||
|
||||
# default file output is in user's home directory.
|
||||
java.util.logging.FileHandler.pattern = log/java%g.log
|
||||
java.util.logging.FileHandler.count = 20
|
||||
java.util.logging.FileHandler.limit = 0
|
||||
java.util.logging.FileHandler.formatter = com.l2jmobius.log.formatter.FileLogFormatter
|
||||
java.util.logging.FileHandler.level = CONFIG
|
||||
|
||||
# Limit the message that are printed on the console to INFO and above.
|
||||
java.util.logging.ConsoleHandler.level = FINER
|
||||
java.util.logging.ConsoleHandler.formatter = com.l2jmobius.log.formatter.ConsoleLogFormatter
|
||||
|
||||
# log errors (exceptions)
|
||||
com.l2jmobius.log.handler.ErrorLogHandler.pattern = log/error%g.log
|
||||
com.l2jmobius.log.handler.ErrorLogHandler.count = 20
|
||||
com.l2jmobius.log.handler.ErrorLogHandler.limit = 0
|
||||
com.l2jmobius.log.handler.ErrorLogHandler.formatter = java.util.logging.SimpleFormatter
|
||||
com.l2jmobius.log.handler.ErrorLogHandler.filter = com.l2jmobius.log.filter.ErrorFilter
|
||||
com.l2jmobius.log.handler.ErrorLogHandler.level = CONFIG
|
||||
|
||||
# log chats
|
||||
com.l2jmobius.log.handler.ChatLogHandler.pattern = log/chat.log
|
||||
com.l2jmobius.log.handler.ChatLogHandler.formatter = com.l2jmobius.log.formatter.ChatLogFormatter
|
||||
com.l2jmobius.log.handler.ChatLogHandler.filter = com.l2jmobius.log.filter.ChatFilter
|
||||
com.l2jmobius.log.handler.ChatLogHandler.append = true
|
||||
com.l2jmobius.log.handler.ChatLogHandler.level = INFO
|
||||
|
||||
# log GM Audit
|
||||
com.l2jmobius.log.handler.GMAuditLogHandler.pattern = log/gmaudit.log
|
||||
com.l2jmobius.log.handler.GMAuditLogHandler.formatter = com.l2jmobius.log.formatter.GMAuditFormatter
|
||||
com.l2jmobius.log.handler.GMAuditLogHandler.filter = com.l2jmobius.log.filter.GMAuditFilter
|
||||
com.l2jmobius.log.handler.GMAuditLogHandler.append = true
|
||||
com.l2jmobius.log.handler.GMAuditLogHandler.level = INFO
|
||||
|
||||
# log items
|
||||
com.l2jmobius.log.handler.ItemLogHandler.pattern = log/item.log
|
||||
com.l2jmobius.log.handler.ItemLogHandler.formatter = com.l2jmobius.log.formatter.ItemLogFormatter
|
||||
com.l2jmobius.log.handler.ItemLogHandler.filter = com.l2jmobius.log.filter.ItemFilter
|
||||
com.l2jmobius.log.handler.ItemLogHandler.append = true
|
||||
com.l2jmobius.log.handler.ItemLogHandler.level = INFO
|
||||
|
||||
# audit
|
||||
com.l2jmobius.log.handler.AuditLogHandler.pattern = log/audit.log
|
||||
com.l2jmobius.log.handler.AuditLogHandler.formatter = com.l2jmobius.log.formatter.AuditFormatter
|
||||
com.l2jmobius.log.handler.AuditLogHandler.filter = com.l2jmobius.log.filter.AuditFilter
|
||||
com.l2jmobius.log.handler.AuditLogHandler.append = true
|
||||
com.l2jmobius.log.handler.AuditLogHandler.level = INFO
|
||||
|
||||
# enchant item log
|
||||
com.l2jmobius.log.handler.EnchantItemLogHandler.pattern = log/enchantitem.log
|
||||
com.l2jmobius.log.handler.EnchantItemLogHandler.formatter = com.l2jmobius.log.formatter.EnchantFormatter
|
||||
com.l2jmobius.log.handler.EnchantItemLogHandler.filter = com.l2jmobius.log.filter.EnchantItemFilter
|
||||
com.l2jmobius.log.handler.EnchantItemLogHandler.append = true
|
||||
com.l2jmobius.log.handler.EnchantItemLogHandler.level = INFO
|
||||
|
||||
# enchant skill log
|
||||
com.l2jmobius.log.handler.EnchantSkillLogHandler.pattern = log/enchantskill.log
|
||||
com.l2jmobius.log.handler.EnchantSkillLogHandler.formatter = com.l2jmobius.log.formatter.EnchantFormatter
|
||||
com.l2jmobius.log.handler.EnchantSkillLogHandler.filter = com.l2jmobius.log.filter.EnchantSkillFilter
|
||||
com.l2jmobius.log.handler.EnchantSkillLogHandler.append = true
|
||||
com.l2jmobius.log.handler.EnchantSkillLogHandler.level = INFO
|
||||
|
||||
# olympiad log
|
||||
com.l2jmobius.log.handler.OlympiadLogHandler.pattern = log/olympiad.csv
|
||||
com.l2jmobius.log.handler.OlympiadLogHandler.formatter = com.l2jmobius.log.formatter.OlympiadFormatter
|
||||
com.l2jmobius.log.handler.OlympiadLogHandler.append = true
|
||||
com.l2jmobius.log.handler.OlympiadLogHandler.level = INFO
|
||||
|
||||
# damage logs
|
||||
com.l2jmobius.log.handler.AllDamageLogHandler.pattern = log/game/_all.txt
|
||||
com.l2jmobius.log.handler.AllDamageLogHandler.formatter = com.l2jmobius.log.formatter.DamageFormatter
|
||||
com.l2jmobius.log.handler.AllDamageLogHandler.append = true
|
||||
com.l2jmobius.log.handler.AllDamageLogHandler.level = INFO
|
||||
|
||||
com.l2jmobius.log.handler.PDamageLogHandler.pattern = log/game/damage_pdam.txt
|
||||
com.l2jmobius.log.handler.PDamageLogHandler.formatter = com.l2jmobius.log.formatter.DamageFormatter
|
||||
com.l2jmobius.log.handler.PDamageLogHandler.filter = com.l2jmobius.log.filter.PDamageFilter
|
||||
com.l2jmobius.log.handler.PDamageLogHandler.append = true
|
||||
com.l2jmobius.log.handler.PDamageLogHandler.level = INFO
|
||||
|
||||
com.l2jmobius.log.handler.MDamageLogHandler.pattern = log/game/damage_mdam.txt
|
||||
com.l2jmobius.log.handler.MDamageLogHandler.formatter = com.l2jmobius.log.formatter.DamageFormatter
|
||||
com.l2jmobius.log.handler.MDamageLogHandler.filter = com.l2jmobius.log.filter.MDamageFilter
|
||||
com.l2jmobius.log.handler.MDamageLogHandler.append = true
|
||||
com.l2jmobius.log.handler.MDamageLogHandler.level = INFO
|
||||
|
||||
# accounting
|
||||
com.l2jmobius.log.handler.AccountingLogHandler.pattern = log/accounting.log
|
||||
com.l2jmobius.log.handler.AccountingLogHandler.formatter = com.l2jmobius.log.formatter.AccountingFormatter
|
||||
com.l2jmobius.log.handler.AccountingLogHandler.append = true
|
||||
com.l2jmobius.log.handler.AccountingLogHandler.level = CONFIG
|
||||
|
||||
############################################################
|
||||
# Facility specific properties.
|
||||
# Provides extra control for each logger.
|
||||
############################################################
|
||||
|
||||
# For example, set the com.xyz.foo logger to only log SEVERE
|
||||
# messages:
|
||||
com.l2jmobius.gameserver.level = CONFIG
|
||||
com.l2jmobius.loginserver.level = CONFIG
|
||||
#com.l2jmobius.gameserver.Connection.level = CONFIG
|
||||
com.l2jmobius.gameserver.network.serverpackets.level = FINER
|
||||
com.l2jmobius.gameserver.network.clientpackets.level = FINER
|
||||
com.l2jmobius.gameserver.model.actor.L2Character.level = FINER
|
||||
com.l2jmobius.gameserver.engines.DocumentEngine.level = INFO
|
||||
|
||||
# Alt Privileges Administration
|
||||
AltPrivilegesAdmin.pattern = log/admin-commands.log
|
||||
AltPrivilegesAdmin.formatter = com.l2jmobius.log.formatter.FileLogFormatter
|
||||
AltPrivilegesAdmin.append = true
|
||||
AltPrivilegesAdmin.level = CONFIG
|
||||
|
||||
# c3p0 Logging
|
||||
com.mchange.v2.level = WARNING
|
||||
131
L2J_Mobius_C4/dist/login/servername.xml
vendored
Normal file
131
L2J_Mobius_C4/dist/login/servername.xml
vendored
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<servers_list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="servername.xsd">
|
||||
<!-- server list from C4 (only english names-->
|
||||
<server id="1" name="Bartz" />
|
||||
<server id="2" name="Sieghardt" />
|
||||
<server id="3" name="Kain" />
|
||||
<server id="4" name="Lionna" />
|
||||
<server id="5" name="Erica" />
|
||||
<server id="6" name="Gustin" />
|
||||
<server id="7" name="Devianne" />
|
||||
<server id="8" name="Hindemith" />
|
||||
<server id="9" name="Teon(Euro)" />
|
||||
<server id="10" name="Franz" />
|
||||
<server id="11" name="Luna" />
|
||||
<server id="12" name="Kastien" />
|
||||
<server id="13" name="Airin" />
|
||||
<server id="14" name="Staris" />
|
||||
<server id="15" name="Ceriel" />
|
||||
<server id="16" name="Fehyshar" />
|
||||
<server id="17" name="Elhwynna" />
|
||||
<server id="18" name="Ellikia" />
|
||||
<server id="19" name="Shikken" />
|
||||
<server id="20" name="Scryde" />
|
||||
<server id="21" name="Frikios" />
|
||||
<server id="22" name="Ophylia" />
|
||||
<server id="23" name="Shakdun" />
|
||||
<server id="24" name="Tarziph" />
|
||||
<server id="25" name="Aria" />
|
||||
<server id="26" name="Esenn" />
|
||||
<server id="27" name="Elcardia" />
|
||||
<server id="28" name="Yiana" />
|
||||
<server id="29" name="Seresin" />
|
||||
<server id="30" name="Tarkai" />
|
||||
<server id="31" name="Khadia" />
|
||||
<server id="32" name="Roien" />
|
||||
<server id="33" name="Gallint" />
|
||||
<server id="34" name="Cedric" />
|
||||
<server id="35" name="Nerufa" />
|
||||
<server id="36" name="Asterios" />
|
||||
<server id="37" name="Orfen" />
|
||||
<server id="38" name="Mitrael" />
|
||||
<server id="39" name="Thifiel" />
|
||||
<server id="40" name="Lithra" />
|
||||
<server id="41" name="Lockirin" />
|
||||
<server id="42" name="Kakai" />
|
||||
<server id="43" name="Cadmus" />
|
||||
<server id="44" name="Athebaldt" />
|
||||
<server id="45" name="Blackbird" />
|
||||
<server id="46" name="Ramsheart" />
|
||||
<server id="47" name="Esthus" />
|
||||
<server id="48" name="Vasper" />
|
||||
<server id="49" name="Lancer" />
|
||||
<server id="50" name="Ashton" />
|
||||
<server id="51" name="Waytrel" />
|
||||
<server id="52" name="Waltner" />
|
||||
<server id="53" name="Tahnford" />
|
||||
<server id="54" name="Hunter" />
|
||||
<server id="55" name="Dewell" />
|
||||
<server id="56" name="Rodemaye" />
|
||||
<server id="57" name="Ken Rauhel" />
|
||||
<server id="58" name="Ken Abigail" />
|
||||
<server id="59" name="Ken Orwen" />
|
||||
<server id="60" name="Van Holter" />
|
||||
<server id="61" name="Desperion" />
|
||||
<server id="62" name="Einhovant" />
|
||||
<server id="63" name="Schuneimann" />
|
||||
<server id="64" name="Faris" />
|
||||
<server id="65" name="Tor" />
|
||||
<server id="66" name="Carneiar" />
|
||||
<server id="67" name="Dwyllios" />
|
||||
<server id="68" name="Baium" />
|
||||
<server id="69" name="Hallate" />
|
||||
<server id="70" name="Zaken" />
|
||||
<server id="71" name="Core" />
|
||||
<server id="72" name="72" />
|
||||
<server id="73" name="73" />
|
||||
<server id="74" name="74" />
|
||||
<server id="75" name="75" />
|
||||
<server id="76" name="76" />
|
||||
<server id="77" name="77" />
|
||||
<server id="78" name="78" />
|
||||
<server id="79" name="79" />
|
||||
<server id="80" name="80" />
|
||||
<server id="81" name="81" />
|
||||
<server id="82" name="82" />
|
||||
<server id="83" name="83" />
|
||||
<server id="84" name="84" />
|
||||
<server id="85" name="85" />
|
||||
<server id="86" name="86" />
|
||||
<server id="87" name="87" />
|
||||
<server id="88" name="88" />
|
||||
<server id="89" name="89" />
|
||||
<server id="90" name="90" />
|
||||
<server id="91" name="91" />
|
||||
<server id="92" name="92" />
|
||||
<server id="93" name="93" />
|
||||
<server id="94" name="94" />
|
||||
<server id="95" name="95" />
|
||||
<server id="96" name="96" />
|
||||
<server id="97" name="97" />
|
||||
<server id="98" name="98" />
|
||||
<server id="99" name="99" />
|
||||
<server id="100" name="100" />
|
||||
<server id="101" name="101" />
|
||||
<server id="102" name="102" />
|
||||
<server id="103" name="103" />
|
||||
<server id="104" name="104" />
|
||||
<server id="105" name="105" />
|
||||
<server id="106" name="106" />
|
||||
<server id="107" name="107" />
|
||||
<server id="108" name="108" />
|
||||
<server id="109" name="109" />
|
||||
<server id="110" name="110" />
|
||||
<server id="111" name="111" />
|
||||
<server id="112" name="112" />
|
||||
<server id="113" name="113" />
|
||||
<server id="114" name="114" />
|
||||
<server id="115" name="115" />
|
||||
<server id="116" name="116" />
|
||||
<server id="117" name="117" />
|
||||
<server id="118" name="118" />
|
||||
<server id="119" name="119" />
|
||||
<server id="120" name="120" />
|
||||
<server id="121" name="121" />
|
||||
<server id="122" name="122" />
|
||||
<server id="123" name="123" />
|
||||
<server id="124" name="124" />
|
||||
<server id="125" name="125" />
|
||||
<server id="126" name="126" />
|
||||
<server id="127" name="??" />
|
||||
</servers_list>
|
||||
18
L2J_Mobius_C4/dist/login/servername.xsd
vendored
Normal file
18
L2J_Mobius_C4/dist/login/servername.xsd
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="servers_list">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="server" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute type="xs:byte" name="id" use="optional"/>
|
||||
<xs:attribute type="xs:string" name="name" use="optional"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
30
L2J_Mobius_C4/dist/login/startLoginServer.bat
vendored
Normal file
30
L2J_Mobius_C4/dist/login/startLoginServer.bat
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
@echo off
|
||||
title L2J Mobius - Login Server Console
|
||||
|
||||
:start
|
||||
echo Starting Login Server.
|
||||
echo.
|
||||
|
||||
REM java -Xms128m -Xmx256m -jar LoginServer.jar
|
||||
java -version:1.8 -server -Xms128m -Xmx256m -jar LoginServer.jar
|
||||
|
||||
if ERRORLEVEL 2 goto restart
|
||||
if ERRORLEVEL 1 goto error
|
||||
goto end
|
||||
|
||||
:restart
|
||||
echo.
|
||||
echo Admin Restarted Login Server.
|
||||
echo.
|
||||
goto start
|
||||
|
||||
:error
|
||||
echo.
|
||||
echo Login Server terminated abnormally!
|
||||
echo.
|
||||
|
||||
:end
|
||||
echo.
|
||||
echo Login Server Terminated.
|
||||
echo.
|
||||
pause
|
||||
3
L2J_Mobius_C4/dist/login/startLoginServer.sh
vendored
Normal file
3
L2J_Mobius_C4/dist/login/startLoginServer.sh
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
./LoginServer_loop.sh &
|
||||
22
L2J_Mobius_C4/dist/login/startSQLAccountManager.bat
vendored
Normal file
22
L2J_Mobius_C4/dist/login/startSQLAccountManager.bat
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
@echo off
|
||||
title SQL Account Manager
|
||||
color 17
|
||||
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/*;LoginServer.jar com.l2jmobius.tools.accountmanager.SQLAccountManager
|
||||
if %errorlevel% == 0 (
|
||||
echo.
|
||||
echo Execution successful
|
||||
echo.
|
||||
) else (
|
||||
echo.
|
||||
echo An error has occurred while running the L2J Account Manager!
|
||||
echo.
|
||||
echo Possible reasons for this to happen:
|
||||
echo.
|
||||
echo - Missing .jar files or ../libs directory.
|
||||
echo - MySQL server not running or incorrect MySQL settings:
|
||||
echo check ./config/loginserver.properties
|
||||
echo - Wrong data types or values out of range were provided:
|
||||
echo specify correct values for each required field
|
||||
echo.
|
||||
)
|
||||
pause
|
||||
2
L2J_Mobius_C4/dist/login/startSQLAccountManager.sh
vendored
Normal file
2
L2J_Mobius_C4/dist/login/startSQLAccountManager.sh
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/*:LoginServer.jar com.l2jmobius.tools.accountmanager.SQLAccountManager
|
||||
Reference in New Issue
Block a user