Краткий и не очень понятный FAQ для тех кто хоть немного шарит в серваках) Этот мануал вам поможет редактировать GM-Shop (добавлять итемы продажи, изменять надиси на кнопках в гм шопах и т.п) За ошибки извеняйте, делал на быструю руку т.к тороплюсь спать Есь вопросы? пишите разберёмся *****************************FAQ*********************************** Знаете? ID своего гм шопа? если знаете то захадите в gameserver/data/html/merchant и найди там файл "ид своего гм шопа".html (например 50000.html и там еще возможно будет 50000-1.html и т.п) потом открывай его и там и будет примерно что то этого : предположим что ID: 50000 Quote <button value=" " action="bypass -h npc_%objectId%_Chat 1- 50000-1.html" width=32 height=32 back="icon.weapon_angel_slayer_i01" fore="icon.weapon_Arcana_mace_i01"> <font color="LEVEL">Weapon - имя которое в гм шопе</font> </center><br> <button value=" " action="bypass -h npc_%objectId%_Chat 2- 50000-2.html" width=32 height=32 back="icon.armor_t62_u_i00" fore="icon.armor_t63_u_i00"> <font color="LEVEL">Armor - имя которое в гм шопе</font> <button value=" " action="bypass -h npc_%objectId%_Chat 3- 50000-1.html" width=32 height=32 back="L2UI_CH3.herotower_deco"fore="Icon.etc_crystal_ball_red_i00"> <font color="LEVEL">Other - имя которое в гм шопе</font> <button value=" " action="bypass -h npc_%objectId%_Chat 4- 50000-1.html" width=32 height=32 back="ct1icon.Armor_t91_uw_i00"fore="ct1icon.Armor_t93_uw_i00"> <font color="LEVEL">Custom armor - имя которое в гм шопе</font> <button value=" " action="bypass -h npc_%objectId%_Chat 5- 50000-1.html" width=32 height=32 back="ct1icon.Weapon_lightning_blaze_i01"fore="ct1icon.weapon_dynasty_bow_i01"> <font color="LEVEL">Custom Weapon - имя которое в гм шопе</font> <button value=" " action="bypass -h npc_%objectId%_Sell" width=32 height=32 back="Icon.utx-skill_i.skill4270_4" fore="Icon.utx-skill_i.skill4270_4"> <font color="LEVEL">Sell - имя которое в гм шопе</font> </center> </body> </html>/html> А теперь всё разъясню в нормальном языке )) Chat 1 - значит это будет ИД нашего нпц с префиксом на которое заканчивается Chat (цифра).html Chat 1 - ИД-1.html Chat 2 - ИД-2.html и т.п в данном случае: Chat 1 - 50000-1.html Chat 2 - 50000-2.html Code -это всё находим в папке merchant- к примеру, открыли 50000-1.html и видим там следующее: Code <TD> <!-- WEAPONS b --> <button value="B-Grade - [color=red]имя которое в гм шопе[/color]" action="bypass -h npc_%objectId%_[b]multisell 55563[/b] [color=red]- это нам и нужно :)[/color]" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> </td> <TD> <TD> <!-- WEAPONS A --> <button value="A-Grade - [color=red]имя которое в гм шопе[/color]" action="bypass -h npc_%objectId%_[b]multisell 55564[/b] [color=red]- это нам и нужно[/color] :)" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> </td> <TD> далее идём в gameserver/data/multisell и ищем там что нам нужно.. например если хотим редактировать страничку "A-Grade" то это "multisell 55564" вот его нам и нужно. ищм 55564.xml и открываем блокнотом ... далее видим что то типо того: Quote <?xml version='1.0' encoding='utf-8'?> <!-- Created with Lineage II - Multisell Manager --> <!-- © 2007 by tReXpert --> <list maintainEnchantment="true"> <!-- Sword of Miracles - Acumen --> <item id="1"> <ingredient id="57" count="50000000"/> <production id="5643" count="1"/> </item> <!-- Sword of Miracles - Magic Power --> <item id="2"> <ingredient id="57" count="50000000"/> <production id="5641" count="1"/> </item> <!-- Sword of Miracles - Magic Silence --> <item id="3"> <ingredient id="57" count="50000000"/> <production id="5642" count="1"/> </item> <!-- Dragon Slayer - Critical Bleed --> <item id="4"> <ingredient id="57" count="50000000"/> <production id="5645" count="1"/> </item> <!-- Dragon Slayer - Critical Drain --> <item id="5"> <ingredient id="57" count="50000000"/> <production id="5646" count="1"/> </item> <!-- Dragon Slayer - Health --> <item id="6"> <ingredient id="57" count="50000000"/> <production id="5644" count="1"/> </item> <!-- Soul Separator - Rsk. Haste --> <item id="7"> <ingredient id="57" count="50000000"/> <production id="5619" count="1"/> </item> <!-- Soul Separator - Guidance --> <item id="8"> <ingredient id="57" count="50000000"/> <production id="5617" count="1"/> </item> <!-- Soul Separator - Critical Damage --> <item id="9"> <ingredient id="57" count="50000000"/> <production id="5618" count="1"/> </item> <!-- Elysian - Anger --> <item id="10"> <ingredient id="57" count="50000000"/> <production id="5603" count="1"/> </item> <!-- Elysian - Health --> <item id="11"> <ingredient id="57" count="50000000"/> <production id="5602" count="1"/> </item> <!-- Elysian - Critical Drain --> <item id="12"> <ingredient id="57" count="50000000"/> <production id="5604" count="1"/> </item> <!-- Carnage Bow - Mana Up --> <item id="13"> <ingredient id="57" count="50000000"/> <production id="4832" count="1"/> </item> <!-- Carnage Bow - Critical Bleed --> <item id="14"> <ingredient id="57" count="45000000"/> <production id="4831" count="1"/> </item> <!-- Carnage Bow - Quick Recovery --> <item id="15"> <ingredient id="57" count="45000000"/> <production id="4833" count="1"/> </item> </list> вот как видите к примеру на последнем итеме : <!-- Carnage Bow - Quick Recovery --> (это изменять не обязательно. так как это не влияет на итем в гм шопе) <item id="15"> - этот пункт обязательно учитывать.. если вы хотите добавить следующий пункт (например свою пуху в этот мультисел) то уже пишем <item id="16"> на +1 больше <ingredient id="57 - итем за который покупаешь" count="45000000 - количество"/> <production id="4833 - итем который продаешь (на данный момент это Carnage Bow - Quick Recovery" count="1 - количество"/> </item> к примеру вы открыли другой multisell, смотрим там и видем последнее это Quote <!-- Carnage Bow - Critical Bleed --> <item id="64"> <ingredient id="57" count="45000000"/> <production id="4831" count="1"/> </item> и вы хотите добавить еще сюда оружие то тогда через пробел с новой строки добавляем следующее : Quote <!-- Carnage Bow - Critical Bleed --> <item id="65"> <ingredient id="4037" count="1"/> <production id="57" count="100000"/> </item> итог - 1кк адены стоит 1 кол (он же обменник) а если хочешь просто создать обменник с нуля то открываешь gameserver/data/html/merchant/50000.html (ид гм-шопа). и ищешь там к примеру раздел Other это Chat 5 - открываешь 50000-5.html и там ищешь например Weapon <!-- WEAPONS A --> <button value="Weapon- имя которое в гм шопе" action="bypass -h npc_%objectId%_multisell 2222 - это нам и нужно :)" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> </td> и надо сделать из него обменник то делаем следующее: имя Weapon меняем на другое ваше имя (например CoL-Adena) заходим в gameserver/data/multisell ищем 2222.xml открываем блокнотом и видим там вот это : (к примеру) Quote <?xml version='1.0' encoding='utf-8'?> <!-- Created with Lineage II - Multisell Manager --> <!-- © 2007 by tReXpert --> <list maintainEnchantment="true"> <!-- Bow of Peril - Cheap Shot --> <item id="1"> <ingredient id="57" count="15000000"/> <production id="4830" count="1"/> </item> <!-- Bow of Peril - Guidance --> <item id="2"> <ingredient id="57" count="15000000"/> <production id="4828" count="1"/> </item> <!-- Bow of Peril - Quick Recovery --> <item id="3"> <ingredient id="57" count="15000000"/> <production id="4829" count="1"/> </item> </list> удаляем все до первого итема и у нас получается : Quote <?xml version='1.0' encoding='utf-8'?> <!-- Created with Lineage II - Multisell Manager --> <!-- © 2007 by tReXpert --> <list maintainEnchantment="true"> <!-- Bow of Peril - Cheap Shot --> <item id="1"> <ingredient id="57" count="15000000"/> <production id="4830" count="1"/> </item> </list> и дальше правим сами : Quote <?xml version='1.0' encoding='utf-8'?> <!-- Created with Lineage II - Multisell Manager --> <!-- © 2007 by tReXpert --> <list maintainEnchantment="true"> <!-- Bow of Peril - Cheap Shot --> <item id="1"> <ingredient id="4037" count="11"/> <production id="57" count="100000000"/> </item> </list> итог: обменник 1 CoL > 100кк адены. в 50000-5.html должно быть так : <!-- WEAPONS A --> <button value="CoL - Adena" action="bypass -h npc_%objectId%_multisell 2222" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> </td> ну или как нить подругому ... Помог ? поставьте "+" не жоптесь Добавлено (25.02.2009, 12:54) --------------------------------------------- ап
|