Jump to content
  • 0

[help]Teleport Command


Question

Posted

hello maxcheaters! i have question

 

i have add .farm command at my server. it's working perfect! and i want to add effect of teleport.

for example as /unstuck command!

because flagged players can use .farm command and escepe from battle!

how to add unstuck effect to .farm command?

 

 

p.s sorry for my english

6 answers to this question

Recommended Posts

  • 0
Posted

Check Escape.java (For example from L2J Datapack SVN)

 

		activeChar.setTarget(activeChar);
	activeChar.disableAllSkills();

	MagicSkillUse msk = new MagicSkillUse(activeChar, 1050, 1, unstuckTimer, 0);
	Broadcast.toSelfAndKnownPlayersInRadius(activeChar, msk, 810000/*900*/);
	SetupGauge sg = new SetupGauge(0, unstuckTimer);
	activeChar.sendPacket(sg);
	//End SoE Animation section

	EscapeFinalizer ef = new EscapeFinalizer(activeChar);
	// continue execution later
	activeChar.setSkillCast(ThreadPoolManager.getInstance().scheduleGeneral(ef, unstuckTimer));

	return true;

  • 0
Posted

i have some errors

    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:28: cannot find symbol
    [javac] symbol  : class IvoicedCommandHandler
    [javac] location: package net.sf.l2j.gameserver.handler
    [javac] import net.sf.l2j.gameserver.handler.IvoicedCommandHandler;
    [javac]                                     ^
    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:46: cannot find symbol
    [javac] symbol: class IVoicedCommandHandler
    [javac] public class farm implements IVoicedCommandHandler
    [javac]                              ^
    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:100: cannot find symbol
    [javac] symbol  : variable unstuckTimer
    [javac] location: class net.sf.l2j.gameserver.handler.voicedcommandhandlers.
farm
    [javac]         MagicSkillUser msk = new MagicSkillUser(activeChar, Config.U
NSTUCK_ANIMATION_ID, 1, unstuckTimer, 0);
    [javac]
                        ^
    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:102: cannot find symbol
    [javac] symbol  : variable unstuckTimer
    [javac] location: class net.sf.l2j.gameserver.handler.voicedcommandhandlers.
farm
    [javac]         SetupGauge sg = new SetupGauge(0, unstuckTimer);
    [javac]                                           ^
    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:106: cannot find symbol
    [javac] symbol  : class EscapeFinalizer
    [javac] location: class net.sf.l2j.gameserver.handler.voicedcommandhandlers.
farm
    [javac]         EscapeFinalizer ef = new EscapeFinalizer(activeChar);
    [javac]         ^
    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:106: cannot find symbol
    [javac] symbol  : class EscapeFinalizer
    [javac] location: class net.sf.l2j.gameserver.handler.voicedcommandhandlers.
farm
    [javac]         EscapeFinalizer ef = new EscapeFinalizer(activeChar);
    [javac]                                  ^
    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:108: cannot find symbol
    [javac] symbol  : variable unstuckTimer
    [javac] location: class net.sf.l2j.gameserver.handler.voicedcommandhandlers.
farm
    [javac]         activeChar.setSkillCast(ThreadPoolManager.getInstance().sche
duleGeneral(ef, unstuckTimer));
    [javac]
                ^
    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\handler\voicedcomma
ndhandlers\farm.java:109: cannot find symbol
    [javac] symbol  : variable unstuckTimer
    [javac] location: class net.sf.l2j.gameserver.handler.voicedcommandhandlers.
farm
    [javac]         activeChar.setSkillCastEndTime(10+GameTimeController.getGame
Ticks()+unstuckTimer/GameTimeController.MILLIS_IN_TICK);
    [javac]

  • 0
Posted

You can't just add this code..

 

I told you look at this class: Escape.java from latest L2J Datapack (from SVN)

 

And check how does it work.

  • 0
Posted

I told you, Check Escape.java (For example from L2J Datapack SVN) and check how does it work.

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

    • 📦 Running out of Google Drive space? Upgrade to 5TB + Gemini Pro instantly on your own email.
    • Then its a fake one propably
    • Honestly, I think L2ETINA is worth keeping an eye on again. With the new team coming in, it feels like there’s finally some fresh energy around the project. They’ve got skilled people working on it now, and from what I’ve seen, they’re actually focused on bringing the project back to life and expanding it instead of just making empty promises. I also like the transparency so far. They’re communicating with the community and being open about what they’re working on and where they want to take L2ETINA. Obviously, there’s still a lot to prove and nobody can predict how things will turn out. But compared to before, I’m definitely more optimistic about the project now. I’m going to keep watching the progress and see what the new team can deliver. So far, I like the direction they’re taking.
    • [RED-TEAM REVERSECODE]LINEAGE2 ESSENCE SAMURAI CROW 542 KR [DEVMODE works tested100%pv+sv+nv] ✯✯✯✯✯✯✯✯✯✯✯ UPDATE ✯✯✯✯✯✯✯✯✯✯✯✯✯✯ LINEAGE2 ESSENCE  SAMURAI CROW 542 EU [UPDATE 09.12.2025][LANG:EUROPE-ORIGINAL] Clean System Patch Lineage 2 Core.dll + Engine.dll unpacked*super clean 100% [unpacked  RED-TEAM REVERSECODE-TEAM ] [ Kill game guard ][ Kill FROST ] [ Kill AwesomiumProcess ] [SELL WTS PM ME ] DEVMODE - works tested 100% pv+sv+nv ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯   ================================================== ✯✯✯✯✯✯✯✯✯✯✯ UPDATE ✯✯✯✯✯✯✯✯✯✯✯✯✯✯ LINEAGE2 ESSENCE  SAMURAI CROW 547 KR [UPDATE 27.01.2026][LANG:KOREAN-ORIGINAL] Clean System Patch Lineage 2 Core.dll + Engine.dll unpacked*super clean 100% [unpacked  RED-TEAM REVERSECODE-TEAM ] [ Kill game guard ][ Kill FROST ] [ Kill AwesomiumProcess ] [SELL WTS PM ME ] DEVMODE - works tested 100% pv+sv+nv ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯ ================================================== LINEAGE2 Server War: Age of the Legion Protocols:558 [UPDATE 17 03 2026][LANG:KOREAN-ORIGINAL] ✯✯✯✯✯✯✯✯✯✯✯ UPDATE ✯✯✯✯✯✯✯✯✯✯✯✯✯✯ [MAIN] LINEAGE2   Server War: Age of the Legion 558 KR [UPDATE 11 03 2026]][LANG:KOREAN-ORIGINAL] Clean System Patch Lineage 2 Core.dll + Engine.dll unpacked*super clean 100% [unpacked  RED-TEAM REVERSECODE-TEAM ] [ Kill game guard ][ Kill FROST ] [ Kill AwesomiumProcess ] [SELL WTS PM ME ] DEVMODE - works tested 100% pv+sv+nv ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯   ================================================== [REVERSECODE RED-TEAM]L2 ESSENCE Echo of Elements 557 EU[UPDATE 15.04.2026][LANG:EUROPE-ORIGINAL] ✯✯✯✯✯✯✯✯✯✯✯ UPDATE ✯✯✯✯✯✯✯✯✯✯✯✯✯✯ LINEAGE2 ESSENCE Echo of Elements 557 EU [UPDATE 15.04.2026][LANG:EUROPE-ORIGINAL] Clean System Patch Lineage 2 Core.dll + Engine.dll unpacked*super clean 100% [unpacked  RED-TEAM REVERSECODE-TEAM ] [ Kill game guard ][ Kill FROST ] [ Kill AwesomiumProcess ] [SELL WTS PM ME ] DEVMODE - works tested 100% pv+sv+nv ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯ ================================================== [REVERSECODE RED-TEAM]L2 ESSENCE Echo of Elements 557 EU[UPDATE 20.04.2026][LANG:EUROPE-ORIGINAL] ✯✯✯✯✯✯✯✯✯✯✯ UPDATE ✯✯✯✯✯✯✯✯✯✯✯✯✯✯ LINEAGE2 ESSENCE Echo of Elements 557 EU [UPDATE 20.04.2026][LANG:EUROPE-ORIGINAL] Clean System Patch Lineage 2 Core.dll + Engine.dll unpacked*super clean 100% [ unpacked  REVERSECODE RED-TEAM ] [ Kill game guard ][ Kill FROST ] [ Kill AwesomiumProcess ] [SELL WTS PM ME ] DEVMODE - works tested 100% pv+sv+nv ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯ ✯✯✯✯✯✯✯✯✯✯✯ UPDATE ✯✯✯✯✯✯✯✯✯✯✯✯✯✯ LINEAGE2 ESSENCE Celestial Destiny 563 EU [UPDATE 28.07.2026][LANG:EUROPE-ORIGINAL] Clean System Patch Lineage 2 Martial Art: Dragon Attacks the Heavens Unpack NCGuard (Anti-Tamper Protected)  Core.dll + Engine.dll + NWindow.dll super clean 100% [ unpacked  REVERSECODE RED-TEAM ] [ Kill game guard ][ Kill FROST ][ LCID FIX ] [ Kill AwesomiumProcess ] + DEVMODE works tested 100% pv+sv+nv [SELL WTS PM ME ] ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯ new products in development updates information [MAIN] IRON MASTERS Protocols:591 KR [UPDATE 25.08.2026][LANG:KOREAN-ORIGINAL] ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯ in my profile there is a link to my discord group  we write all the questions there - if you are interested in something ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯   PATCH DEVELOPER LABORATORY  REVERSECODE  RED-TEAM  Service Creating Full Clean Patched Systems  Unreal Scripts / Reverse Enginering / Game Client Modifications Portfolio Discord Group https://discord.gg/56EuZyFJj2   ✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯✯   [  A large selection of Products In our group at the link in the Discord   ] DO NOT LEAVE POSTS IN THIS SECTION IF YOU HAVE ANY QUESTIONS, CONTACT US IN THE DISCORD AND ASK YOUR QUESTIONS. ( prices are shown in green text in the first post ) You can also write in a private message. ( pm forum personal messgame ) those who write about non-existent goods or write insults will be denied services.      
  • 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..