Перейти к содержанию

Saick

Заблокирован
  • Публикаций

    731
  • Зарегистрирован

  • Посещение

  • Победитель дней

    1
  • Отзывы

    0%

Весь контент Saick

  1. Saick

    Saick Отзовись

    В файл GameServer.java добавить import net.sf.l2j.gameserver.handler.voicedcommandhandlers.menu; if(Config.ENABLE_MENU) _voicedCommandHandler.registerVoicedCommandHandler(new menu()); В файл frozen.properties добавить # Разрешить использование .menu? EnableMenu = True В файл Config.java добавить public static boolean ENABLE_MENU; ENABLE_MENU = Boolean.parseBoolean(frozenSettings.getProperty("EnableMenu", "true")); Закинуть файл menu.java по пути gameserver.handler.voicedcommandhandlers И хтмл Импорты правьте сами файлы найдете в сборке еон
  2. Saick

    Saick Отзовись

    Я его вытянул с еон как я вам его кину могу дать menu.java Попоже напишу как прикрутить
  3. Saick

    Нужна Помощь !

    xml скила шмота?
  4. Saick

    Нужна Помощь !

    к армору скил есть?
  5. Saick

    Argument Shop (frozen)

    import sys from com.l2jfrozen.gameserver.datatables import SkillTable from com.l2jfrozen.gameserver.model import L2Augmentation from com.l2jfrozen.gameserver.model.quest import QuestState from com.l2jfrozen.gameserver.model.quest import State from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest from com.l2jfrozen.gameserver.network.serverpackets import InventoryUpdate from com.l2jfrozen.gameserver.templates import L2Item QUEST_NUMBER, QUEST_NAME, QUEST_DESCRIPTION = 920, "920_Augment", "Custom" NPC = 31391 def validateItem(rHand): if rHand == None: return "augment-02.htm" if rHand.isWear() or rHand.getItem().getItemGrade() < L2Item.CRYSTAL_C or rHand.getItem().getType2() != L2Item.TYPE2_WEAPON or rHand.isDestroyable() == False: return "augment-03.htm" if rHand.isAugmented(): return "augment-04.htm" return "ok" def augmentItem(player, priceId, priceCount, rHand, augmentId, skillId, skillLvl): qs = player.getQuestState(QUEST_NAME) if qs.getQuestItemsCount(priceId) < priceCount: return "augment-05.htm" qs.takeItems(priceId, priceCount) player.disarmWeapons() rHand.setAugmentation(L2Augmentation(rHand, augmentId, SkillTable.getInstance().getInfo(skillId, skillLvl), True)) iu = InventoryUpdate() iu.addModifiedItem(rHand) player.sendPacket(iu) return "augment-06.htm" class Quest (JQuest): def __init__(self, id, name, descr): JQuest.__init__(self, id, name, descr) def onTalk (self, npc, player): return "augment-01.htm" def onAdvEvent (self, event, npc, player): if event == "no": return "augment-01.htm" rHand = player.getInventory().getPaperdollItemByL2ItemId(0x80) htmltext = validateItem(rHand) if htmltext == "ok": if event == "A1": htmltext = "augment-A1.htm" elif event == "A2": htmltext = "augment-A2.htm" elif event == "A3": htmltext = "augment-A3.htm" elif event == "A4": htmltext = "augment-A4.htm" elif event == "A5": htmltext = "augment-A5.htm" elif event == "A6": htmltext = "augment-A6.htm" elif event == "A7": htmltext = "augment-A7.htm" elif event == "A8": htmltext = "augment-A8.htm" elif event == "A9": htmltext = "augment-A9.htm" elif event == "A10": htmltext = "augment-A10.htm" elif event == "A11": htmltext = "augment-A11.htm" elif event == "A12": htmltext = "augment-A12.htm" elif event == "A13": htmltext = "augment-A13.htm" elif event == "A14": htmltext = "augment-A14.htm" elif event == "A15": htmltext = "augment-A15.htm" elif event == "YES-A1": # Параметры метода: # 1) player - не менять # 2) 57 - ид итема цены # 3) 1000 - количество итемов # 4) rHand - не менять # 5) Ид аугмента # 6) Ид скила этого аугмента # 7) Уровень скила htmltext = augmentItem(player, 57, 1000, rHand, 956632560, 3124, 10) elif event == "YES-A2": # Параметры метода: # 1) player - не менять # 2) 57 - ид итема цены # 3) 1000 - количество итемов # 4) rHand - не менять # 5) Ид аугмента # 6) Ид скила этого аугмента # 7) Уровень скила htmltext = augmentItem(player, 57, 1000, rHand, 956698096, 3128, 10) elif event == "YES-A3": # Параметры метода: # 1) player - не менять # 2) 57 - ид итема цены # 3) 1000 - количество итемов # 4) rHand - не менять # 5) Ид аугмента # 6) Ид скила этого аугмента # 7) Уровень скила htmltext = augmentItem(player, 57, 1000, rHand, 956501488, 3131, 10) elif event == "YES-A4": htmltext = augmentItem(player, 57, 1000, rHand, 957091312, 3132, 10) elif event == "YES-A5": htmltext = augmentItem(player, 57, 1000, rHand, 956435952, 3133, 10) elif event == "YES-A6": htmltext = augmentItem(player, 57, 1000, rHand, 957222384, 3135, 10) elif event == "YES-A7": htmltext = augmentItem(player, 57, 1000, rHand, 956763632, 3136, 10) elif event == "YES-A8": htmltext = augmentItem(player, 57, 1000, rHand, 955452912, 3139, 10) elif event == "YES-A9": htmltext = augmentItem(player, 57, 1000, rHand, 956042736, 3140, 10) elif event == "YES-A10": htmltext = augmentItem(player, 57, 1000, rHand, 962399728, 3141, 10) elif event == "YES-A11": htmltext = augmentItem(player, 57, 1000, rHand, 962858480, 3142, 10) elif event == "YES-A12": htmltext = augmentItem(player, 57, 1000, rHand, 957484528, 3146, 1) elif event == "YES-A13": htmltext = augmentItem(player, 57, 1000, rHand, 954666480, 3157, 1) elif event == "YES-A14": htmltext = augmentItem(player, 57, 1000, rHand, 958074352, 3191, 10) elif event == "YES-A15": htmltext = augmentItem(player, 57, 1000, rHand, 957156848, 3192, 10) return htmltext QUEST = Quest(QUEST_NUMBER, QUEST_NAME, QUEST_DESCRIPTION) QUEST.addStartNpc(NPC) QUEST.addTalkId(NPC)
  6. Saick

    Help :)

    бери стандартный редактор виндовс и обрезай
  7. Saick

    Важно! Эвент!

    MOBS = [18008, 20830, 21087, 22123, 22126, 22132] замени свой етим
  8. Saick

    Dynasty Armor. Help!

    http://rghost.ru/32770381
  9. Saick

    Сборка С Исходниками

    ну запуск не очень файлы сами
  10. Saick

    Автолут И L2jfrozen 899 Warc222

    /* * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place - Suite 330, Boston, MA 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package com.l2jfrozen.gameserver.handler.voicedcommandhandlers; import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; /** * @author StarCOM */ public class AutoLoot implements IVoicedCommandHandler { private static String[] _voicedCommands = { "looton", "lootoff" }; public String[] getVoicedCommandList() { return _voicedCommands; } public boolean useVoicedCommand(String command, L2PcInstance activeChar, String text) { if (command.equalsIgnoreCase("looton")) { activeChar.setAutoLootEnabled(true); activeChar.sendMessage("Авто лут Включен."); } else if (command.equalsIgnoreCase("lootoff")) { activeChar.setAutoLootEnabled(false); activeChar.sendMessage("Авто лут Выключен."); } return true; } } AutoLoot.java своровал?
  11. Saick

    Проблема В Линукс

    тоже хочу узнать тот же трабл
  12. Saick

    Сборка С Исходниками

    бери eon или software они на исходах eon
  13. Saick

    Community Board Emurt

    так как минимум по ошибкам видно что импорты не правлены
  14. Saick

    Геройство

    а просто прописать //sethero nick дни не песать по моему снимает
  15. со скидкой 96% можно купить
  16. Saick

    Помогите Перевести

    IINSERT INTO `weapon` VALUES ('16009', 'Aion Blade', 'rhand', 'true', '1500', '1', '1', 'adamantaite', 's', '297', '10', 'sword', '8', '0', '0', '0', '0', '379', '0', '137', '-1', '0', '10394', 'true', 'true', 'true', 'true', '3578', '1', '0', '0', '0', '0', '0', '3579', '0', '0');
  17. Saick

    Помогите Перевести

    INSERT INTO `weapon` VALUES ('16009', 'Aion Blade', 'rhand', 'true', '1500', '1', '1', 'adamantaite', 's', '297', '10', 'sword', '8', '0', '0', '0', '0', '379', '0', '137', '-1', '0', '10394', 'true', 'true', 'true', 'true', '3578', '1', '0', '0', '0', '0', '0', '3579', '0', '0');
  18. нету поиска идем к окулисту и просим очки http://forummaxi.ru/index.php?act=Search
  19. Saick

    Хелп

    Не успел ы))
  20. Saick

    Хелп

    Убил ответ 2 причём ини к заточке Скачай новый env.int и закинь в сустем
  21. Saick

    Вывод Конфигов

    я это все лично с 1 раза понел легче наверное нету
  22. # On / off infinite nipples (SS/BSS) DontDestroySS = True конфиг altsettings.properties
  23. внимательно смотри она есть
  24. вот лутче диф http://rghost.ru/32156311
×
×
  • Создать...