Search the Community

Showing results for tags 'voice command'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • Lineage II Development [L2J]
    • Sources
    • Addons & Mods
    • Tools
  • Lineage II Development [L2OFF]
    • Package Files
    • Mods & Extenders
    • Tools
  • Lineage II Client Development
    • Equipments
    • Npcs
    • Maps
    • Tools
  • Lineage II Bots & Tools
    • Bot Systems
    • Bot Scripts
    • Tools
  • Website Templates
  • DenArt Designs's Demo Updater

Forums

  • General Zone
    • Announcements and News
    • Newbies Introduce Urself
    • Maxcheaters Competitions & Events
    • Votes/Polls Area
    • Report Section
    • Downloads Section
  • Lineage II General Section
    • General Discussion [English]
    • Request Support [English]
  • Lineage II Hacks,Cheats and Bots
    • Hacks & Cheats [English]
    • Request Hacks & Cheats [English]
    • Botting [English]
    • Request Botting [English]
  • Lineage II Private Servers
    • ELMORE X5 - CLASSIC 1.5 SERVER (L2OFF) - THIS APRIL!
    • Private Servers
    • Buy Advertising Link #2
    • [Previews] L2 Private Servers
    • Clans and Alliances
  • Lineage II Marketplace
    • Marketplace [Items & Chars]
    • Marketplace [L2Packs & Files]
    • Marketplace [Powerlvl & Support]
  • Lineage II OFF Server Development
    • Server Development Discussion [L2OFF]
    • Request Server Development Help [L2OFF]
    • Server Shares & Files [L2OFF]
  • Lineage II Java Server Development
    • Server Development Discussion [L2J]
    • Request Server Development Help [L2J]
    • Server Shares & Files [L2J]
    • Private Projects [L2J]
  • Lineage II Client Development
    • Client Development Discussion
  • MMO Games
    • Fortnite
    • PlayerUnknown's Battlegrounds PUBG
    • League of Legends
    • World Of Warcraft Area
    • Other Multiplayer Games
  • General Section
  • Graphics/GFX Zone
  • VIP/Donators Zone
  • MaxCheaters Corner
  • TEST's Topics
  • L2Classic Club's Just trying this thing out
  • Lineage 2 Revolution Club's Discussions
  • Lineage 2 Revolution Club's Tutorials
  • Lineage 2 Revolution Club's Request Help
  • DenArt Designs's Hello and welcome to my club!
  • DenArt Designs's News
  • `Kara for staff's Topics
  • `Kara for staff's Kara`

Product Groups

  • Advertisements
  • Special Groups

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Hello, i was searching for this command but i didnt found it in our forum so i decided to share it, below you can preview the html's How to install it? EASY: 1. GameServer\data\html\mods (add here the repair FOLDER not only the files) 2. GameServer\data\scripts\handlers\voicedcommandhandlers (only the file Repair.java) (dont forget to edit your masterhandler.java script) [Hidden Content] Credits: Szponiasty
  2. Voice Command .gmshop i tried to change multisell and html files everything is visible but when i tried to buy something and press "Yes I am sure" exchange just not happen gameserver does not show any error just nothing happens All others Voice Commands are working fine /* * L2jFrozen Project - www.l2jfrozen.com * * 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.powerpak.gmshop; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.cache.HtmCache; import com.l2jfrozen.gameserver.handler.IBBSHandler; import com.l2jfrozen.gameserver.handler.ICustomByPassHandler; import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; import com.l2jfrozen.gameserver.model.L2Character; import com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.entity.event.CTF; import com.l2jfrozen.gameserver.model.entity.event.DM; import com.l2jfrozen.gameserver.model.entity.event.TvT; import com.l2jfrozen.gameserver.model.entity.olympiad.Olympiad; import com.l2jfrozen.gameserver.model.multisell.L2Multisell; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.powerpak.PowerPakConfig; import com.l2jfrozen.gameserver.taskmanager.AttackStanceTaskManager; /** * @author L2JFrozen */ public class GMShop implements IVoicedCommandHandler, ICustomByPassHandler, IBBSHandler { @Override public String[] getVoicedCommandList() { return new String[] { PowerPakConfig.GMSHOP_COMMAND }; } private boolean checkAllowed(final L2PcInstance activeChar) { String msg = null; if (activeChar.isSitting()) msg = "GMShop is not available when you sit"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("ALL")) msg = "GMShop is not available in this area"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("CURSED") && activeChar.isCursedWeaponEquiped()) msg = "GMShop is not available with the cursed sword"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("ATTACK") && AttackStanceTaskManager.getInstance().getAttackStanceTask(activeChar)) msg = "GMShop is not available during the battle"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("DUNGEON") && activeChar.isIn7sDungeon()) msg = "GMShop is not available in the catacombs and necropolis"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("RB") && activeChar.isInsideZone(L2Character.ZONE_NOSUMMONFRIEND)) msg = "GMShop is not available in this area"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("PVP") && activeChar.isInsideZone(L2Character.ZONE_PVP)) msg = "GMShop is not available in this area"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("PEACE") && activeChar.isInsideZone(L2Character.ZONE_PEACE)) msg = "GMShop is not available in this area"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("SIEGE") && activeChar.isInsideZone(L2Character.ZONE_SIEGE)) msg = "GMShop is not available in this area"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("OLYMPIAD") && (activeChar.isInOlympiadMode() || activeChar.isInsideZone(L2Character.ZONE_OLY) || Olympiad.getInstance().isRegistered(activeChar) || Olympiad.getInstance().isRegisteredInComp(activeChar))) msg = "GMShop is not available at Olympiad"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("EVENT") && (activeChar._inEvent)) msg = "GMShop is not available at the opening event"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("TVT") && activeChar._inEventTvT && TvT.is_started()) msg = "GMShop is not available in TVT"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("CTF") && activeChar._inEventCTF && CTF.is_started()) msg = "GMShop is not available in CTF"; else if (PowerPakConfig.GMSHOP_EXCLUDE_ON.contains("DM") && activeChar._inEventDM && DM.is_started()) msg = "GMShop is not available in DM"; if (msg != null) activeChar.sendMessage(msg); return msg == null; } @Override public boolean useVoicedCommand(final String command, final L2PcInstance activeChar, final String params) { if (activeChar == null) return false; if (!checkAllowed(activeChar)) return false; if (command.compareTo(PowerPakConfig.GMSHOP_COMMAND) == 0) { String index = ""; if (params != null && params.length() != 0) if (!params.equals("0")) index = "-" + params; final String text = HtmCache.getInstance().getHtm("data/html/gmshop/gmshop" + index + ".htm"); final NpcHtmlMessage htm = new NpcHtmlMessage(activeChar.getLastQuestNpcObject()); htm.setHtml(text); activeChar.sendPacket(htm); } return false; } private static String[] _CMD = { "gmshop" }; @Override public String[] getByPassCommands() { return _CMD; } @Override public void handleCommand(final String command, final L2PcInstance player, final String parameters) { if (player == null) return; if (parameters == null || parameters.length() == 0) return; if (!checkAllowed(player)) return; if (!PowerPakConfig.GMSHOP_USEBBS && !PowerPakConfig.GMSHOP_USECOMMAND) { L2NpcInstance gmshopnpc = null; if (player.getTarget() != null) if (player.getTarget() instanceof L2NpcInstance) { gmshopnpc = (L2NpcInstance) player.getTarget(); if (gmshopnpc.getTemplate().getNpcId() != PowerPakConfig.GMSHOP_NPC) gmshopnpc = null; } // Possible fix to Buffer - 1 if (gmshopnpc == null) return; // Possible fix to Buffer - 2 if (!player.isInsideRadius(gmshopnpc, L2NpcInstance.INTERACTION_DISTANCE, false, false)) return; }// else (voice and bbs) if (parameters.startsWith("multisell")) { try { L2Multisell.getInstance().SeparateAndSend(Integer.parseInt(parameters.substring(9).trim()), player, false, 0); } catch (final Exception e) { if (Config.ENABLE_ALL_EXCEPTIONS) e.printStackTrace(); player.sendMessage("This list does not exist"); } } else if (parameters.startsWith("Chat")) useVoicedCommand("", player, parameters.substring(4).trim()); } @Override public String[] getBBSCommands() { return _CMD; } }