Jump to content

Ke$ha

Members
  • Posts

    285
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Ke$ha

  1. Ke$ha

    leecher

    look here! he gave credits to his self on a Japanese project o.O http://www.maxcheaters.com/forum/index.php?topic=138062.0
  2. lol u can just open l2phx write something on chat! find the packet , use it on send it every 100ms
  3. ok tell me where to give the credits
  4. yeah its kinda stupid
  5. Index: trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/flag.java =================================================================== --- trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/flag.java (revision 0) +++ trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/voicedcommandhandlers/flag.java (revision 0) @@ -0,0 +1,48 @@ +package net.sf.l2j.gameserver.handler.voicedcommandhandlers; + +import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; + +/** + * @Author s + */ + +public class flag implements IVoicedCommandHandler +{ + private static final String[] VOICED_COMMANDS = + { + "noflag" + }; + + public boolean useVoicedCommand(String command, L2PcInstance activeChar, + String target) + { + if (command.equalsIgnoreCase("noflag")) + { + if (activeChar.getPvpFlag() == 0) + { + activeChar.sendMessage("You cannot use this command at this moment."); + activeChar.sendPacket(new ActionFailed()); + return false; + } + else if (activeChar.isDead() || activeChar.isFakeDeath() || activeChar.isAlikeDead() || activeChar.isFestivalParticipant() || activeChar.isInJail() || activeChar.atEvent || activeChar.isInOlympiadMode() || activeChar.inObserverMode() || activeChar.isFlying() || activeChar.isInDuel()) + { + activeChar.sendMessage("You cannot use this command at this moment."); + activeChar.sendPacket(new ActionFailed()); + return false; + } + else if (activeChar.getPvpFlag() != 0) + { + activeChar.setPvpFlag(0); + activeChar.sendMessage("You are not flagged anymore."); + } + } + return true; + } + + public String[] getVoicedCommandList() + { + return VOICED_COMMANDS; + } +} Index: trunk/Eclipse-Game/java/net/sf/l2j/gameserver/GameServer.java =================================================================== --- trunk/Eclipse-Game/java/net/sf/l2j/gameserver/GameServer.java (revision 237) +++ trunk/Eclipse-Game/java/net/sf/l2j/gameserver/GameServer.java (working copy) @@ -200,6 +200,7 @@ import net.sf.l2j.gameserver.handler.voicedcommandhandlers.trade; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.pm; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Info; +import net.sf.l2j.gameserver.handler.voicedcommandhandlers.flag; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Cl; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.karma; import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stat; @@ -615,6 +616,8 @@ _voicedCommandHandler.registerVoicedCommandHandler(new Info()); _voicedCommandHandler.registerVoicedCommandHandler(new karma()); + + _voicedCommandHandler.registerVoicedCommandHandler(new flag()); _log.config("VoicedCommandHandler: Loaded " + _voicedCommandHandler.size() + " handlers."); credits: s
  6. Index: java/config/other.properties =================================================================== --- java/config/other.properties (revision 1780) +++ java/config/other.properties (working copy) @@ -133,6 +136,9 @@ # Color to use for Admin names, if enabled. (access level 100+). # (Must be in hex BGR format: eg. 00FF00 = Green) AdminNameColor = 00FF00 +# Color to use for Admin titles , if access level 100+ +# Retail : ffff77 +AdminTitleColor = ffff77 # Color to use for GM names, if enabled. (access level 75+). # (Must be in hex BGR format: eg. FFFF00 = Yellow) GMNameColor = FFFF00 Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 1780) +++ java/net/sf/l2j/Config.java (working copy) @@ -266,6 +266,7 @@ public static int ALT_PRIVILEGES_DEFAULT_LEVEL; public static boolean GM_NAME_COLOR_ENABLED; public static int ADMIN_NAME_COLOR; + public static int ADMIN_TITLE_COLOR; public static int GM_NAME_COLOR; public static boolean GM_HERO_AURA; public static boolean GM_STARTUP_INVULNERABLE; @@ -1259,6 +1269,7 @@ GM_NAME_COLOR_ENABLED = Boolean.parseBoolean(otherSettings.getProperty("GMNameColorEnabled", "False")); GM_NAME_COLOR = Integer.decode("0x" + otherSettings.getProperty("GMNameColor", "FFFF00")); ADMIN_NAME_COLOR = Integer.decode("0x" + otherSettings.getProperty("AdminNameColor", "00FF00")); + ADMIN_TITLE_COLOR = Integer.decode("0x" + otherSettings.getProperty("AdminTitleColor", "00FF00")); GM_HERO_AURA = Boolean.parseBoolean(otherSettings.getProperty("GMHeroAura", "True")); GM_STARTUP_INVULNERABLE = Boolean.parseBoolean(otherSettings.getProperty("GMStartupInvulnerable", "True")); GM_STARTUP_INVISIBLE = Boolean.parseBoolean(otherSettings.getProperty("GMStartupInvisible", "True")); Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (revision 1780) +++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java (working copy) @@ -167,7 +167,10 @@ { if (activeChar.getAccessLevel() >= 100) // if gm have more than 100 access + { activeChar.getAppearance().setNameColor(Config.ADMIN_NAME_COLOR); + activeChar.getAppearance().setTitleColor(Config.ADMIN_TITLE_COLOR); + } else if (activeChar.getAccessLevel() >= 75) activeChar.getAppearance().setNameColor(Config.GM_NAME_COLOR); } } credits: L2jServer Team
  7. in witch project is based your server?
  8. afto dn einai otan beni kapoios me phx na trwei critical error! an dn kanw lathos einai to fix gia to script to opoio s skaei critical error
  9. prwta apo ola pes mas ti pack xrisimopoihs
  10. how many adena?
  11. you can make the same and with l2phx
  12. mpourdelo - spiti tis julia alexandratou
  13. server may be good but your website sux hard :/
  14. axaxxaxa compile for 20euro! you are so funny! here is a guide how to compile http://www.maxcheaters.com/forum/index.php?topic=84234.0 ! it takes less than 5 minutes
  15. lol retard credits to you? im going to report you
  16. i will test it and feed you back!
  17. can u made this?
  18. file mia paratirisi ekei p les Anti-Helapex System diorthoseto einai Hlapex
  19. sry for double posting! ok it was my wrong! this works fine :D thnx again
  20. ok im w8ting for your pm
  21. add the skill superhaste on your character using //edit_character
  22. team viewer lag with l2! open a test server on your pc and give me ip
  23. prota apo ola katevase to foxy proxy! meta ani3e ton server! mpes me ton prwto sou char! afu mpeis ala3e tin ip sou me to prxy kai ani3e grigora to deftero parathiro! k eisai etimos! na fadasto pezi bnb xD
×
×
  • Create New...