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

    • We are taking new orders. DM us on Telegram! We are taking new orders. DM us on Telegram!
    • Hello guys.Im looking for a simple autoclicker that works for servers with anticheat
    • Thank you for the reply. I know that this issue is due to L2 being so old. I was just wondering if there was an external way to fix the UI scaling. Like a patch or some settings.
    • Bro the game is so old it doesn't have a native option to scale the UI like in modern MMOs
    • Dear players, From April 19 to April 27 inc., the Bonus Start event will be active. It’s designed to help new and low-level characters get started more easily.   All characters that meet one of the following conditions: — created less than 3 days ago (regardless of level), — currently level 20 or below, — created during the event period, will receive upon login: — 10 sets of buff scrolls (phys or mage, depending on class), — 10 packs of +50% Drop/Spoil runes (2 hours each), — 10 packs of +50% Exp runes (2 hours each). Characters between level 21 and 30 will receive upon login: — 6 sets of buff scrolls, — 6 packs of +50% Drop/Spoil runes (2h each), — 6 packs of +50% Exp runes (2h each).   Event items will be removed approx. 09.05.2025 Server rates will be increased to x2.25. Take this chance to start your journey with ease or bring an old hero back into the fight — it’s the perfect time to test your strength! Open Beta Test is started!  Helper cats are waiting in towns — talk to them to receive the necessary equipment and level up your character. Siege Schedule:  - April 13 at 16:00 (GMT+2) – Innadrile Castle - April 14 at 20:00 (GMT+2) – Bandit Stronghold - April 15 at 20:00 (GMT+2) – Devastated Castle 📌 During the OBT, players who report bugs will receive CoL:   - 1 CoL for each reported staticmeshes bug (e.g., walking through textures, stairs, etc.) - 2 CoL or more for server-related issues (depending on severity) You can report bugs on the forum. The Open Beta Test will run approximately until April 15 at 23:00 (GMT+2). Your activity and feedback will help us improve the game.   Download links: Download client | Download updater 
  • Topics

×
×
  • Create New...