Jump to content
  • 0

[Request].pvp voice command


Question

8 answers to this question

Recommended Posts

  • 0
Posted

1. Create File with Name (PvPTeleport)

 

/*
* 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.
*/
package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

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

public class PvPTeleport implements IVoicedCommandHandler
{
private static final String[] _voicedCommands =
{
	"pvp",
};

public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{
	if (command.equalsIgnoreCase("pvp"))
	{
		activeChar.teleToLocation(Config.PVP_X, Config.PVP_Y, Config.PVP_Z);
		activeChar.sendMessage("You have teleport in PvP Area");
	}

	return true;
}

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

  • 0
Posted

Buildfile: C:\Users\User\Desktop\Lineage2Java\L2_GameServer_It\build.xml

clean:

init:

version:

    [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified

compile:

    [javac] Compiling 9 source files to C:\Users\User\Desktop\Lineage2Java\L2_GameServer_It\build\classes

    [javac] C:\Users\User\Desktop\Lineage2Java\L2_GameServer_It\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\PvPTeleport.java:32: cannot find symbol

    [javac] symbol  : variable PVP_83358

    [javac] location: class net.sf.l2j.Config

    [javac] activeChar.teleToLocation(Config.PVP_83358, Config.PVP_147947, Config.PVP_-3405);

    [javac]                                 ^

    [javac] C:\Users\User\Desktop\Lineage2Java\L2_GameServer_It\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\PvPTeleport.java:32: cannot find symbol

    [javac] symbol  : variable PVP_147947

    [javac] location: class net.sf.l2j.Config

    [javac] activeChar.teleToLocation(Config.PVP_83358, Config.PVP_147947, Config.PVP_-3405);

    [javac]                                                   ^

    [javac] C:\Users\User\Desktop\Lineage2Java\L2_GameServer_It\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\PvPTeleport.java:32: cannot find symbol

    [javac] symbol  : variable PVP_

    [javac] location: class net.sf.l2j.Config

    [javac] activeChar.teleToLocation(Config.PVP_83358, Config.PVP_147947, Config.PVP_-3405);

    [javac]                                                                     ^

    [javac] 3 errors

 

BUILD FAILED

C:\Users\User\Desktop\Lineage2Java\L2_GameServer_It\build.xml:67: Compile failed; see the compiler error output for details.

 

Total time: 1 second

 

 

Look What i get if i try to compile :(

  • 0
Posted

Not simple like that need to add checks because with this they can cheat it and need to add a teleport timer too.

is a only one example :D

 

is not a serius work. :D

  • 0
Posted

K I'm waiting you man :)

 

Plz do it faaster ;D

 

EDITED :

 

Thx man for help :)

 

Problem solved..

 

@HeyHops

 

Already banned ^^

 

*Locked*

 

 

Guest
This topic is now closed to further replies.


  • Posts

    • Thank you very much. It would also be good if you looked into this issue. UnknownSoldier has been manipulating me to make me look bad. He deleted all the evidence I uploaded and left all the insults against me. You'll also see that on April 26th, he reopened the thread and then locked it again just so his friend from Argentina could post: links down :l XD   In the thread: https://maxcheaters.com/topic/253997-sourceservercliente-l2devs-files-l2devscom/page/2/ They do this so they can later tell people that I deleted the links because it was a lie, and so on. Realize that all the damage you're causing is related to this same person. Regards and thank you very much! 🙂 PS: I would like UnknownSoldier to publish the evidence for why he has repeatedly called me a SCAMMER and explain why he also says that to other people. This person is using forum privileges to smear and discredit those who don't work with him. I WANT ALL THE EVIDENCE OF WHAT HE'S SAYING.  
    • Theres a lot of drama going on about Guytis scamming people. I want real, solid proof showing that he scammed anyone attach everything you have.   About reputation: we’re all adults here, yet some are acting like kids fighting over pixels. Think before spreading rumors. False claims don’t make you look better they make you look worse.   I’m waiting for actual evidence that he scammed any user. If there’s nothing to back it up, I’ll deal with it myself. Time’s running out this has been going on long enough.
    • I’ve read the whole topic about Baylee and Protojah. From what I can see, Baylee wanted to buy some htmls and they agreed on a price. Later, Baylee changed her mind and decided not to go through with it. The product wasn’t delivered because Baylee changed her mind. Even if she initially agreed to the price, to avoid confusion. if the files had been sent and payment not made, I would call it a scam. But since they weren’t sent, this isn’t a scam.   I want to stress that I try to be fair to everyone, no matter the situation.   Yeah, Protojah did put in time and effort, and that’s fine, but disagreements happen all the time, even in real life jobs, no matter what the work is. I’m going to lock this topic to avoid more drama. Please keep all personal issues in private messages. And before anyone says anything else I’m not taking sides. I don’t protect scammers and I ban them, but since this isn’t a scam, you both should resolve this situation in DMs.
  • 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..