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 !! ;)

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

    • Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • L2-LORENA x100 MID RATE   Interlude Nostalgia Meets Modern Gameplay   OFFICIAL OPENING:  April 4 (Saturday)  19:00 UTC+1 ⸻  MAIN INFORMATION  Adena: x5  Drop: x10  Spoil: x10  Raid Boss: x10  Seal Stones: x2  Quests: x10 ⸻  FEATURES  GM Shop up to B-Grade  Full Buffer  Premium System (x2 bonuses)  AutoFarm – FREE for everyone ⸻  SERVER CONCEPT  Classic Interlude nostalgia  Enhanced with modern interface & mechanics  Balanced PvP & PvE gameplay  Active development & custom features ⸻  WHY JOIN L2-LORENA?  No Pay-to-Win  Smooth gameplay & stable server  Competitive PvP environment  Friendly & active community ⸻  JOIN US NOW L2-LORENA 100X <<< LINK Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr   L2-LORENA Link << Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr
    • https://web.archive.org/web/20260306183214/https://maxcheaters.com/topic/241828-l2j-l2damage/page/3/ https://l2topzone.com/forum/l2-server-support-problems/9/l2damage-stopped/30514 Also we will try to push longer seasons ever ! (1135-100)/9 = 115 online
    • ONE SIDE – AND EVERYTHING BREAKS ▪ Looks like a simple case: Florida DL, back side, barcode – “clean and minimal”. ▪ In reality, these are exactly the tasks that fail most often. – data provided as plain text – request only for the back side – focus on the barcode (PDF417) ▪ And here’s the key point: ▪ A barcode is not just a “picture on the back”. It’s compressed logic of the entire document. ▪ If it doesn’t match the front, format, and data structure – the system flags it instantly. ▪ Many create a “similar-looking” code. But systems don’t read “similar” – they read by specification. ▪ In cases like this, it’s not about design. It’s about correct data assembly and how it behaves inside the format. ▪ Today only – 15% off for verification cases. ▪ Want it to pass, not just look right? Describe your case – we’ll show where even clean files break. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #editing #photoshop #documents #verification #case
  • 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..