когда я захажу в эти конфиги-altsettings. там есть вот класс мастер когда я его включаю на True он при загрузке выдает такие ошибки в гем сервере.
Код:
Starting l2jfree
INFO [17 фхъ 19:59:44,031] logging initialized
INFO [17 фхъ 19:59:44,234]
INFO [17 фхъ 19:59:44,234]
INFO [17 фхъ 19:59:44,234]
INFO [17 фхъ 19:59:44,234] ___ ___ ___
INFO [17 фхъ 19:59:44,234] /\_ \ /'___`\ __ /'___\
INFO [17 фхъ 19:59:44,234] \//\ \ /\_\ /\ \ /\_\/\ \__/ _ __ __ __
INFO [17 фхъ 19:59:44,234] \ \ \ \/_/// /__\/\ \ \ ,__\/\`'__\/'__`\ /'__`\
INFO [17 фхъ 19:59:44,234] \_\ \_ // /_\ \\ \ \ \ \_/\ \ \//\ __//\ __/
INFO [17 фхъ 19:59:44,234] /\____\/\______/_\ \ \ \_\ \ \_\\ \____\ \____\
INFO [17 фхъ 19:59:44,234] \/____/\/_____//\ \_\ \/_/ \/_/ \/____/\/____/
INFO [17 фхъ 19:59:44,234] \ \____/
INFO [17 фхъ 19:59:44,234] \/___/ [starting version: 1.3.0-S
NAPSHOT]
--------------------------------------------------------------------------------
--------------------------------------------------------------={ Configuration }
INFO [17 фхъ 19:59:44,234] loading ./config/server.properties
INFO [17 фхъ 19:59:44,234] loading ./config/hexid.txt
INFO [17 фхъ 19:59:44,234] loading ./config/subnets.properties
INFO [17 фхъ 19:59:44,250] loading ./config/telnet.properties
INFO [17 фхъ 19:59:44,250] loading ./config/idfactory.properties
INFO [17 фхъ 19:59:44,250] loading ./config/datetime.properties
INFO [17 фхъ 19:59:44,250] loading './config/altsettings.properties'
SEVERE [17 фхъ 19:59:44,250] com.l2jfree.L2Config$ConfigLoader.load(): Failed to
load './config/altsettings.properties'!
java.lang.NumberFormatException: For input string: "true"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.l2jfree.Config$ClassMasterSettings.parseConfigLine(Config.java:36
28)
at com.l2jfree.Config$ClassMasterSettings.<init>(Config.java:3618)
at com.l2jfree.Config$AltConfig.loadImpl(Config.java:1730)
at com.l2jfree.L2Config$ConfigLoader.loadReader(L2Config.java:281)
at com.l2jfree.L2Config$ConfigLoader.load(L2Config.java:269)
at com.l2jfree.L2Config.loadConfigs(L2Config.java:228)
at com.l2jfree.Config.load(Config.java:3712)
at com.l2jfree.gameserver.GameServer.main(GameServer.java:171)
WARNING [17 фхъ 19:59:44,250] java.lang.ThreadGroup.uncaughtException(): Excepti
on in thread "main" java.lang.Exception: Failed to load './config/altsettings.pr
operties'!
WARNING [17 фхъ 19:59:44,250] java.lang.ThreadGroup.uncaughtException():
at com.l2jfree.L2Config$ConfigLoader.load(L2Config.java:275)
WARNING [17 фхъ 19:59:44,250] java.lang.ThreadGroup.uncaughtException():
at com.l2jfree.L2Config.loadConfigs(L2Config.java:228)
WARNING [17 фхъ 19:59:44,250] java.lang.ThreadGroup.uncaughtException():
at com.l2jfree.Config.load(Config.java:3712)
WARNING [17 фхъ 19:59:44,250] java.lang.ThreadGroup.uncaughtException():
at com.l2jfree.gameserver.GameServer.main(GameServer.java:171)
Server terminated abnormaly
server terminated
Для продолжения нажмите любую клавишу . . .
потом иду конфиг класс мастера я первую строчку изменяю на true и мне выдает выше указаную ошибку
Код:
Class Master
# -------------------------------------------------------------
# Config for special Class Master npc that can change players occupation
# If you need change occupation only use quest then set this to False (Default)
# Syntax: occupation number;[required item id(count)],[],...;[reward item id(count)],[],...;occupation number...
# Examples:
#
# ConfigClassMaster=1;[57(100000)];[];2;[57(1000000)];[];3;[57(10000000)],[5575(1000000)];[6622(1)]
# 1st occupation change for 100.000 Adena (item id 57)
# 2nd occupation change for 1.000.0000 Adena (item id 57)
# 3rd occupation change for 10.000.0000 Adena (item id 57) and 1.000.000 Ancient Adena (item id 5575)
# on 3rd occupation change player will be rewarded with 1 Book of Giants (item id 6622)
#
# ConfigClassMaster=1;[];[];2;[];[];3;[];[]
# 1st, 2nd, 3rd occupation change for free, without rewards
ConfigClassMaster = true-здесь
# Allows Strider Update
ClassMasterUpdateStrider = False
# Spawn Class Master npc if you have any in spawnlist. Default = False
SpawnClassMaster = False
# Use l2jserver's class master (options below)
L2JClassMaster = False
# Class Masters will allow changing to any occupation on any level inside class tree
# For example, Dwarven Fighter will be able to advance to:
# Artisan, Scavenger, Warsmith, Bounty Hunter, Maestro, Fortune Seeker.
# But Warsmith will be able to change only to Maestro.
ClassMasterEntireTree = False
# Then character reach levels 20,40,76 he will receive tutorial page
# with list of the all possible variants, and can select and immediately
# change to the new occupation, or decide to choose later (on next login).
# Can be used with or without classic Class Masters.
AltClassMaster = False
а когода выключаю эти конфиги сервер падгружаеться без ошибок падскажите что это может быть :?