![](https://forummaxi.ru/uploads/set_resources_8/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
SwiftIV
Пользователи-
Публикаций
0 -
Зарегистрирован
-
Посещение
-
Отзывы
0%
Репутация
0Информация о SwiftIV
-
Звание
Только пришел
-
Закрыто. Решено. И так на будущие. Самое первое Не забываем про <? и ?> <?xml version='1.0' encoding='utf-8'?> Так же не забываем про слеш "/" <item id="1"> <ingredient id="57" count="1000000"/> <production id="6576" count="1"/> </item> В прицепи вот и все, и будет вам счастье. А так же внимательности по больше предъявлять нужно
-
taste, Все заработало, Спасибо Огромнейшие. А где то ошибки были, (выдели пожалуйста) а то мне надо еще парочку .xml исправить.
-
†DeMoN†™, прописано без .xml
-
Удалил, без изменений. Прости конечно же, но там сражу же написано. " Error loading file K:\Lineage2 Project\Platform Java\gameserver\data\multisell\3 2231.xml " Давно уже понятно Как бы это решить ?
-
Скрытый текст<?xml version='1.0' encoding='utf-8'?> <list> !-- Scroll: Enchant Armor (Grade D ) -- <item id="1"> <ingredient id="4037" count="60"/> <production id="956" count="1"/> </item> !-- Scroll: Enchant Armor (Grade C ) -- <item id="2"> <ingredient id="4037" count="70"/> <production id="952" count="1"/> </item> !-- Scroll: Enchant Armor (Grade B ) -- <item id="3"> <ingredient id="4037" count="80"/> <production id="948" count="1"/> </item> !-- Scroll: Enchant Armor (Grade A ) -- <item id="4"> <ingredient id="4037" count="90"/> <production id="730" count="1"/> </item> !-- Scroll: Enchant Armor (Grade S ) -- <item id="5"> <ingredient id="4037" count="100"/> <production id="960" count="1"/> !-- Scroll: Enchant Weapon (Grade D ) -- <item id="6"> <ingredient id="4037" count="60"/> <production id="955" count="1"/> </item> !-- Scroll: Enchant Weapon (Grade C ) -- <item id="7"> <ingredient id="4037" count="70"/> <production id="951" count="1"/> </item> !-- Scroll: Enchant Weapon (Grade B ) -- <item id="8"> <ingredient id="4037" count="80"/> <production id="947" count="1"/> </item> !-- Scroll: Enchant Weapon (Grade A ) -- <item id="9"> <ingredient id="4037" count="90"/> <production id="729" count="1"/> </item> !-- Scroll: Enchant Weapon (Grade S ) -- <item id="10"> <ingredient id="4037" count="100"/> <production id="959" count="1"/> </item> !-- Blessed Scroll: Enchant Armor (Grade D ) -- <item id="11"> <ingredient id="4037" count="160"/> <production id="6576" count="1"/> </item> !-- Blessed Scroll: Enchant Armor (Grade C ) -- <item id="12"> <ingredient id="4037" count="170"/> <production id="952" count="1"/> </item> !-- Blessed Scroll: Enchant Armor (Grade B ) -- <item id="13"> <ingredient id="4037" count="180"/> <production id="6572" count="1"/> </item> !-- Blessed Scroll: Enchant Armor (Grade A ) -- <item id="14"> <ingredient id="4037" count="190"/> <production id="6570" count="1"/> </item> !-- Blessed Scroll: Enchant Armor (Grade S ) -- <item id="15"> <ingredient id="4037" count="200"/> <production id="6578" count="1"/> </item> !-- Blessed Scroll: Enchant Weapon (Grade D ) -- <item id="16"> <ingredient id="4037" count="160"/> <production id="6575" count="1"/> </item> !-- Blessed Scroll: Enchant Weapon (Grade C ) -- <item id="17"> <ingredient id="4037" count="170"/> <production id="951" count="1"/> </item> !-- Blessed Scroll: Enchant Weapon (Grade B ) -- <item id="18"> <ingredient id="4037" count="180"/> <production id="6571" count="1"/> </item> !-- Blessed Scroll: Enchant Weapon (Grade A ) -- <item id="19"> <ingredient id="4037" count="190"/> <production id="729" count="1"/> </item> !-- Blessed Scroll: Enchant Weapon (Grade S ) -- <item id="20"> <ingredient id="4037" count="200"/> <production id="959" count="1"/> </item> </list>
-
Скрытый текстВот Game Server, может быть кто то, что то тут поймет [Fatal Error] 32231.xml:1:1: Content is not allowed in prolog. Error loading file K:\Lineage2 Project\Platform Java\gameserver\data\multisell\3 2231.xml org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk nown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at net.sf.l2j.gameserver.model.L2Multisell.parse(L2Multisell.java:519) at net.sf.l2j.gameserver.model.L2Multisell.parseData(L2Multisell.java:80 ) at net.sf.l2j.gameserver.model.L2Multisell.<init>(L2Multisell.java:64) at net.sf.l2j.gameserver.model.L2Multisell.<clinit>(L2Multisell.java:44) at net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance.onBypas sFeedback(L2MerchantInstance.java:150) at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.run Impl(RequestBypassToServer.java:117) at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2 GameClientPacket.java:74) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) [Fatal Error] 32232.xml:7:4: The element type "production" must be terminated by the matching end-tag "</production>". Error loading file K:\Lineage2 Project\Platform Java\gameserver\data\multisell\3 2232.xml org.xml.sax.SAXParseException: The element type "production" must be terminated by the matching end-tag "</production>". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk nown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at net.sf.l2j.gameserver.model.L2Multisell.parse(L2Multisell.java:519) at net.sf.l2j.gameserver.model.L2Multisell.parseData(L2Multisell.java:80 ) at net.sf.l2j.gameserver.model.L2Multisell.<init>(L2Multisell.java:64) at net.sf.l2j.gameserver.model.L2Multisell.<clinit>(L2Multisell.java:44) at net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance.onBypas sFeedback(L2MerchantInstance.java:150) at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.run Impl(RequestBypassToServer.java:117) at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2 GameClientPacket.java:74) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) [Fatal Error] 689.xml:120:4: The element type "item" must be terminated by the m atching end-tag "</item>". Error loading file K:\Lineage2 Project\Platform Java\gameserver\data\multisell\6 89.xml org.xml.sax.SAXParseException: The element type "item" must be terminated by the matching end-tag "</item>". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk nown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at net.sf.l2j.gameserver.model.L2Multisell.parse(L2Multisell.java:519) at net.sf.l2j.gameserver.model.L2Multisell.parseData(L2Multisell.java:80 ) at net.sf.l2j.gameserver.model.L2Multisell.<init>(L2Multisell.java:64) at net.sf.l2j.gameserver.model.L2Multisell.<clinit>(L2Multisell.java:44) at net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance.onBypas sFeedback(L2MerchantInstance.java:150) at net.sf.l2j.gameserver.network.clientpackets.RequestBypassToServer.run Impl(RequestBypassToServer.java:117) at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2 GameClientPacket.java:74) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
-
1mp, да. Даже кому интересно можете по ТВ подключится и убедится что все правильно стоит. Я сам вполне удивлен, такого еще не было
-
taste, не-а никаких изменений.
-
Это не L2day, а Enchant скроллы, но разницы нету, он у меня так же не правильно работает, как и L2day.
-
<?xml version='1.0' encoding='utf-8'?> <list> !-- Scroll: Enchant Armor (Grade D ) -- <item id="1"> <ingredient id="4037" count="60"> <production id="956" count="1"> </item> !-- Scroll: Enchant Armor (Grade C ) -- <item id="2"> <ingredient id="4037" count="70"> <production id="952" count="1"> </item> !-- Scroll: Enchant Armor (Grade B ) -- <item id="3"> <ingredient id="4037" count="80"> <production id="948" count="1"> </item> !-- Scroll: Enchant Armor (Grade A ) -- <item id="4"> <ingredient id="4037" count="90"> <production id="730" count="1"> </item> !-- Scroll: Enchant Armor (Grade S ) -- <item id="5"> <ingredient id="4037" count="100"> <production id="960" count="1"> !-- Scroll: Enchant Weapon (Grade D ) -- <item id="6"> <ingredient id="4037" count="60"> <production id="955" count="1"> </item> !-- Scroll: Enchant Weapon (Grade C ) -- <item id="7"> <ingredient id="4037" count="70"> <production id="951" count="1"> </item> !-- Scroll: Enchant Weapon (Grade B ) -- <item id="8"> <ingredient id="4037" count="80"> <production id="947" count="1"> </item> !-- Scroll: Enchant Weapon (Grade A ) -- <item id="9"> <ingredient id="4037" count="90"> <production id="729" count="1"> </item> !-- Scroll: Enchant Weapon (Grade S ) -- <item id="10"> <ingredient id="4037" count="100"> <production id="959" count="1"> </item> !-- Blessed Scroll: Enchant Armor (Grade D ) -- <item id="11"> <ingredient id="4037" count="160"> <production id="6576" count="1" </item> !-- Blessed Scroll: Enchant Armor (Grade C ) -- <item id="12"> <ingredient id="4037" count="170"> <production id="952" count="1"> </item> !-- Blessed Scroll: Enchant Armor (Grade B ) -- <item id="13"> <ingredient id="4037" count="180"> <production id="6572" count="1"> </item> !-- Blessed Scroll: Enchant Armor (Grade A ) -- <item id="14"> <ingredient id="4037" count="190"> <production id="6570" count="1"> </item> !-- Blessed Scroll: Enchant Armor (Grade S ) -- <item id="15"> <ingredient id="4037" count="200"> <production id="6578" count="1"> </item> !-- Blessed Scroll: Enchant Weapon (Grade D ) -- <item id="16"> <ingredient id="4037" count="160"> <production id="6575" count="1"> </item> !-- Blessed Scroll: Enchant Weapon (Grade C ) -- <item id="17"> <ingredient id="4037" count="170"> <production id="951" count="1"> </item> !-- Blessed Scroll: Enchant Weapon (Grade B ) -- <item id="18"> <ingredient id="4037" count="180"> <production id="6571" count="1"> </item> !-- Blessed Scroll: Enchant Weapon (Grade A ) -- <item id="19"> <ingredient id="4037" count="190"> <production id="729" count="1"> </item> !-- Blessed Scroll: Enchant Weapon (Grade S ) -- <item id="20"> <ingredient id="4037" count="200"> <production id="959" count="1"> </item> </list>
-
Столкнулся с такой проблемой. Нарисовал GemaShop, создал разделы, в таком виде " <a action="bypass -h npc_%objectId%_multisell номер .xml">Текст</a><br> " создал xml, по стандартному, с разделом L2day скроллы. ID правильные. Захожу в GameShop в игре, ( Под Администратором ) Выбираю созданный раздел, у меня это "L2day скроллы" Там какие-то не непонятные вещи, пересматривал на ID L2day, на разных сайтах, одни и те же, ошибки не может быть. НО, когда я создавал .xml я дал ему, любое название 32231, чисто спонтанно. И еще показывает ошибку в Game Server'e. (Ошибка загрузки файла) Так же файл залит, заливаю в \data\multisell Может надо куда то прописывать, .xml ? Сохраняю в UTF-8. P.S. Искал на форуме ничего подобного не нашел. Спасибо за внимание. Вот сама ошибка.
-
Нашел команду. <font color="LEVEL"></font>
-
Точно utf-8 же. Подскажите, какая команда для изменения цвета. Пробовал: [colo r=#Номер цвета][/color] [colo r=Номер цвета][/color] <color="#Номер цвета></color> <color=Номер цвета><color> <color=Yellow></color> Ну и т.д. но цвет текста не изменяется.
-
Такова вот проблема. Начал писать Game Shop, создаю оболочку merchant htm, в ней разделы, по простому принципу, без всяких там рисунков, и кнопок. <a action="bypass -h npc_%objectId%_multisell (номер multisell)">Текст</a><br> Но, возникает такова проблема, на Английском языке он показывает разделы, на Русском нет. Вот в таком виде: