Jump to content

Recommended Posts

Posted

Hello folks ...i was searching for those 2 voice  commands .heal and .cansel and i don't find nothing....!!

 

So.. it will be help full to have it .... ;)

 

So there we go .heal

 

/**
*@author:Cobra 
*
*/ 
package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.L2Character;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

public class heal implements IVoicedCommandHandler
{
private static final String[] VOICED_COMMANDS =
{
	"heal"
};
public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
	if (command.equalsIgnoreCase("heal") && (activeChar.isInsideZone(L2Character.ZONE_PEACE)))
    {
		activeChar.stopSkillEffects(176);
		activeChar.stopSkillEffects(139);
		activeChar.stopSkillEffects(420);
		activeChar.stopSkillEffects(406);
        	activeChar.getStatus().setCurrentHp(activeChar.getMaxHp());
        	activeChar.getStatus().setCurrentMp(activeChar.getMaxMp());
        	activeChar.getStatus().setCurrentCp(activeChar.getMaxCp());
    }

	return true;

}

public String[] getVoicedCommandList()
{
	return VOICED_COMMANDS;
}
}

 

And .cancel

 

/**
* @author:Cobra 
*
*/ package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.L2Character;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

public class cancel implements IVoicedCommandHandler
{
private static final String[] VOICED_COMMANDS =
{
	"cancel"
};
public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
	if (command.equalsIgnoreCase("cancel") && (activeChar.isInsideZone(L2Character.ZONE_PEACE)));
    {
		activeChar.stopAllEffects();
    }

	return true;

}

public String[] getVoicedCommandList()
{
	return VOICED_COMMANDS;
}
}

 

well i know is nothing special  :P ... but it helps some guy's who have l2j ...!!!

 

I'm //done

 

How to register voice command  http://www.maxcheaters.com/forum/index.php?topic=44325.0

 

If you don't know how to compile ...watch the A-Style Video..http://www.maxcheaters.com/forum/index.php?topic=44734.0 !!

 

p.s:If you find those here delete mine ...maybe i don't search very good :P

Posted

Leeching is an art?

What about add credits?

 

bohh??? give me timeline or post where you find it?? and i will give you a shot !!

 

Have nice day!!

 

This is my modify ..and you come here with 7 post to tell about credits... ??

 

 

  • 5 weeks later...
Posted

cool share! keep it up!

 

bohh??? give me timeline or post where you find it?? and i will give you a shot !!

 

Have nice day!!

 

This is my modify ..and you come here with 7 post to tell about credits... ??

 

 

 

since when new users with low posts cant ask for credits or what else.. that why lots of people leave. just behave nicely

  • 3 months later...
Posted

nC share man it just *rocks*..but you said that the commands work only if you are in a town

 

Boh you can change it .... btw ...both commands  work only at town's !! ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • HELLO EVERYONE. WE ARE SELLING A LOT OF ADENA ON L2 REBORN / E-Global x Lu4 DISCORD - GODDARDSHOP   HURRY TO BUY OR YOU MAY NOT MAKE IT!!!
    • Added: 🎁 Seasonal Bonus System When the seasonal bonus is enabled, players receive additional bonus coins equal to bonus_season_percent of their donation amount. 💡 How it works (example): A player donates through their personal account and immediately receives regular coins. At the same time, bonus coins equal to 30% of the donation are credited. Example: Donation: 1000 coins → Bonus: 300 coins (30%) These bonus coins are not available immediately — they can be claimed later when the next season begins. 📅 When the bonus can be claimed: bonus_season_claim_start_date – the date when the "Claim" button becomes available. bonus_season_claim_end_date – the date after which the bonus can no longer be claimed. During this time window, the "Claim" button will appear in the personal account, allowing players to collect their accumulated bonus. 'bonus_season_enabled' => true, // Enable/disable the seasonal bonus system 'bonus_season_percent' => 30, // Percentage of the donation to be given as bonus coins (30 = 30%) 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Date when the Claim button becomes available in the new season   'bonus_season_enabled' => true, // Вкл./Выкл Сезонную бонусную систему? 'bonus_season_percent' => 30, // Процент, при донате получает монеты в процентах 30 = 30%, которые может использовать в следующем открытии 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Дата когда доступна кнопка Claim в новом сезоне 'bonus_season_claim_end_date' => '2025-08-15 20:00:00', // Дата окончания когда кнопка Claim в новом сезоне
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market  
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock