Jump to content
  • 0

I search a command to go to player with pvp kills, 10 kills for examples


dark5

Question

Recommended Posts

  • 0

I search that for this system of pvp or other system pvp,http://www.maxcheaters.com/forum/index.php?topic=78071.0

I want it for l2j server

please help me

thanks =)

 

This code is for l2j.But for what client do you want it?

Link to comment
Share on other sites

  • 0

Wait.

 

Go again at this link : http://www.maxcheaters.com/forum/index.php?topic=78071.0

 

And look again what Maestro says :

 

This is for last rev l2j CT3 but it can be made for other chronicles too

Link to comment
Share on other sites

  • 0

Wait.

 

Go again at this link : http://www.maxcheaters.com/forum/index.php?topic=78071.0

 

And look again what Maestro says :

 

This is for last rev l2j CT3 but it can be made for other chronicles too

 

yeah but I search a command to go to player with pvp kills no pvp system :S

Link to comment
Share on other sites

  • 0
/*

* 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 com.equal.gameserver.handler.voicedcommandhandlers;

 

import com.equal.gameserver.handler.IVoicedCommandHandler;

import com.equal.gameserver.instancemanager.CastleManager;

import com.equal.gameserver.model.L2World;

import com.equal.gameserver.model.actor.instance.L2PcInstance;

 

 

/**

* @author VaGo

* @rework Leeroy

*/

public class wannapwn implements IVoicedCommandHandler

{

   private static final String[] VOICED_COMMANDS = { "wannapwn" };

 

   public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)

   {  

     

       if (command.equalsIgnoreCase("wannapwn"))

       {

 

          if (activeChar == null)

             {

                return false;

             }

     

           L2PcInstance player;

           String targetName = command.substring(17);

           player =  L2World.getInstance().getPlayer(targetName);

 

           if(player == null)

           {

               activeChar.sendMessage("Your target is not online.");

               return false;

           }

           else if(player.isInJail())

           {

               activeChar.sendMessage("Your target is in Jail.");

               return false;

           }

           else if(player.isInOlympiadMode())

           {

               activeChar.sendMessage("Your target is in the Olympiad now.");

               return false;

           }

           else if(player.atEvent)

           {

               activeChar.sendMessage("Your target is in an event.");

               return false;

           }

           else  if (player.isInDuel())

           {

               activeChar.sendMessage("Your target is in a duel.");

               return false;

           }

           else if (player.isFestivalParticipant())

           {

               activeChar.sendMessage("Your target is in a festival.");

               return false;

           }

           else if (player.isInParty() && player.getParty().isInDimensionalRift())

           {

               activeChar.sendMessage("Your target is in dimensional rift.");

               return false;

           }

           else if (player.inObserverMode())

           {

              activeChar.sendMessage("Your target is in the observation.");

           }

           else if(player.getClan() != null

                 && CastleManager.getInstance().getCastleByOwner(player.getClan()) != null

                 && CastleManager.getInstance().getCastleByOwner(player.getClan()).getSiege().getIsInProgress())

           {

              activeChar.sendMessage("Your target is in siege, you can't go to your leader.");

              return false;

           }

 

           else if(activeChar.isInJail())

           {

               activeChar.sendMessage("You are in Jail!");

               return false;

           }

           else if(activeChar.isInOlympiadMode())

           {

               activeChar.sendMessage("You are in the Olympiad now.");

               return false;

           }

           else if(activeChar.atEvent)

           {

               activeChar.sendMessage("You are in an event.");

               return false;

           }

           else  if (activeChar.isInDuel())

           {

               activeChar.sendMessage("You are in a duel!");

               return false;

           }

           else if (activeChar.inObserverMode())

           {

              activeChar.sendMessage("You are in the observation.");

           }

           else if(activeChar.getClan() != null

                 && CastleManager.getInstance().getCastleByOwner(activeChar.getClan()) != null

                 && CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).getSiege().getIsInProgress())

           {

              activeChar.sendMessage("You are in siege, you can't go to your target.");

              return false;

           }

           else if (activeChar.isFestivalParticipant())

           {

               activeChar.sendMessage("You are in a festival.");

               return false;

           }

           else if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift())

           {

               activeChar.sendMessage("You are in the dimensional rift.");

               return false;

           }

           else if (activeChar == player)

           {

               activeChar.sendMessage("You cannot teleport to yourself.");

               return false;

           }

 

              int playerx;

              int playery;

              int playerz;

             

              playerx = player.getX();

              playery = player.getY();

              playerz = player.getZ();

             

              activeChar.teleToLocation(playerx,playery,playerz);

    activeChar.sendMessage("You have been teleported to fight!");

       }

       return true;

   }

   public String[] getVoicedCommandList()

   {

       return VOICED_COMMANDS;

   }

 

}

It teleports you to the player you've chose via .wannapwn <player>

not tested ,no idea if it works.

Thanx VaGo for the ready-to-go code which i edited from his .cl share :]

Register the command and you're done..

I didnt rly get this part

"who has pvp kills"

alot of them have? kewl.

Explain it better and i`ll rework it ^^

Link to comment
Share on other sites

  • 0

Dont use google translator for gods sake..

i didnt get a single word of ur post -_-"

xD I'm spanish and my english are very bad xD

 

I search this command for people do to other people with 10 kills

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Diablo III, the action-packed hack-and-slash RPG developed by Blizzard Entertainment, has captivated gamers worldwide since its release in 2012. Now, imagine a world where Diablo III's source code is opened up to the community, inviting developers and enthusiasts alike to enhance and refine this beloved game. This topic delves into the possibilities, challenges, and community desires surrounding the idea of Diablo III as an open-source project.   Key Points: 1. Defining Diablo III: Diablo III is an action role-playing game set in the dark fantasy world of Sanctuary. Players traverse through randomized dungeons, battling hordes of demons and collecting loot to strengthen their characters. With its compelling storyline, addictive gameplay mechanics, and rich lore, Diablo III has amassed a dedicated fanbase over the years.   2. Open Source Potential: Opening up the source code of Diablo III could unlock a wealth of opportunities for the game's future. Community developers could introduce new features, enhance existing gameplay elements, and address long-standing issues. The modding community, known for its creativity and innovation, could breathe new life into the game by creating custom content, game modes, and user interface improvements. 3. Community Interest: The question arises - would the gaming community welcome the idea of Diablo III becoming open source? Many players are eager to see the game evolve beyond its current state, with enhancements such as improved balance, expanded end-game content, and enhanced multiplayer features. By involving the community in the development process, Diablo III could foster a stronger sense of ownership and collaboration among its players. 4. Challenges and Considerations: While the concept of Diablo III as an open source is enticing, it also presents several challenges. Ensuring the integrity of the game's balance and preventing cheating would be paramount concerns. Additionally, coordinating development efforts and maintaining a cohesive vision for the game could prove challenging in a community-driven environment. However, with proper oversight and collaboration, these obstacles can be overcome. 5. Is Diablo III an MMORPG? Diablo III is often categorized as an action RPG rather than a traditional MMORPG (massively multiplayer online role-playing game). While it does feature online multiplayer elements, including cooperative play and player-versus-player combat, it lacks the persistent open world typically associated with MMORPGs. Instead, Diablo III focuses on instanced dungeons and smaller-scale multiplayer interactions. The Benefits of Improvement: Improving Diablo III through open-source development could revitalize the game, attracting new players and re-engaging existing fans. By embracing community-driven innovation, Diablo III could remain relevant and enjoyable for years to come. Additionally, fostering an active modding community could extend the game's longevity and create new opportunities for player expression and creativity.   Source code  
    • Good evening, can someone help me, I'm looking for client classic zaken eu protocol 110, is there a download link?  thank you
    • Great developer made my changes in less than 2 weeks. Has full knowledge from start to finish. Definitely recommend. 
    • We are giving out promo codes for 3GBs for testing Asocks proxy. All you need to do is post a reply in this thread.
  • Topics

×
×
  • Create New...