Jump to content

Recommended Posts

Posted
/*

* 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.l2zone.gameserver.handler.voicedcommandhandlers;

 

import com.l2zone.Config;

import com.l2zone.gameserver.handler.IVoicedCommandHandler;

import com.l2zone.gameserver.model.actor.instance.L2ItemInstance;

import com.l2zone.gameserver.model.actor.instance.L2PcInstance;

import com.l2zone.gameserver.model.actor.instance.L2PlayableInstance;

import com.l2zone.gameserver.network.serverpackets.SocialAction;

 

 

/**

*

* @author x.v3ndetta@yahoo.com

*

*/

 

public class noble implements IVoicedCommandHandler

{

   private static final String[] VOICED_COMMANDS = { "iwanttobenoble" };

 

   public boolean useVoicedCommand(L2PlayableInstance playable, L2ItemInstance item)

   {  

     

       {          

           if(!(playable instanceof L2PcInstance))

               return false;

 

           L2PcInstance activeChar = (L2PcInstance)playable;

           

           if(activeChar.isNoble())

               activeChar.sendMessage("You Are Already A Noble!.");

           else

           {

               activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 16));

               activeChar.setNoble(true);

               activeChar.sendMessage("You Are Now a Noble.");

               activeChar.broadcastUserInfo();

               playable.destroyItem("Consume", 57, 10000000, null, false);

           }

        activeChar = null;

 

         }        

       return true;

   }

   public String[] getVoicedCommandList()

   {

       return VOICED_COMMANDS;

   }

 

  public boolean useVoicedCommand(String command, L2PcInstance activeChar,

        String target)

  {

     // TODO Auto-generated method stub

     return false;

  }

}

 

CREDITS : V3ndetta[ME}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Very nice server. Good attention to attention to detail. Bravo.
    • Once, a professor said, "Never trust the ones who claim they worked for Bill Gates." It's all rumors and fake information. If someone had actually worked for Bill Gates, they would have earned a decent salary and wouldn't be struggling to pay a $150 bill. So, if someone couldn't even pay $150, then I'm sorry, but the best I can do is ban both of their accounts from this forum.   Scammers will always remain scammers unless they choose to change. I'm not taking anyone's side this is simply a business decision. That's the best I can do. Peace!
    • Meanwhile today is July 1 and no payment was made past April 26. Like I said: if you do not like my rates you are free to work on it with someone else or yourself. This does not change that you owe me the payment. The "tools" and "access" on your files is like if you gave me a box of dirt from Istanbul, Turkiye. It's utterly worthless.   Anywho.. I added a link for the system in Mediafire. https://www.mediafire.com/file/qms0af7h7l1alo3/ClassicLude_P110_System.7z/file
    • The following user refused to pay his remaining balance for work done on his server. While he has paid prior (2 transactions) it seems he has ran out of money given that he is opening the next Burj Al-Arab in ChatGPT City on Sam Al-Tman Rd with his 5kk€ salary which is paid personally by Bill Gates. The conversation was held on June 4, 2026. Today is July 1. Needless to say, my hope of getting the remaining payment is bleak. While poor people can seethe and be like "wtf Baylee so expensive!!! I can ask robot!!!" - you are free to do it! However if you want to work with one of the best in this field there is always a premium price for a premium service. All work was livestreamed on a private channel as well to keep record. I do not waste time or stall given that I bill hourly.         The "30 mins" has long elapsed. Unless you argue time is a relative construct and works different on Turkiye. Perhaps to him it has only been 5 mins. Or maybe he got lost on his private jet with Bill Gates and Elon Mask like flight 370. Who knows.   Known accounts: https://maxcheaters.com/profile/244683-baba_vanga/ https://maxcheaters.com/profile/245691-l2emerge/  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..