Jump to content

H0rA

Members
  • Posts

    21
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About H0rA

Profile Information

  • Gender
    Not Telling

H0rA's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. package net.sf.l2j.gameserver.handler.admincommandhandlers; import java.util.Collection; import net.sf.l2j.gameserver.handler.IAdminCommandHandler; import net.sf.l2j.gameserver.model.L2Object; import net.sf.l2j.gameserver.model.actor.L2Character; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance; import net.sf.l2j.gameserver.model.actor.instance.L2SummonInstance; /** * @author Ventic * */ public class AdminSit implements IAdminCommandHandler { private static final String[] ADMIN_COMMANDS = { "admin_sit" , "admin_stand", "admin_rangesit", "admin_rangestand" }; @Override public boolean useAdminCommand(String command, L2PcInstance activeChar) { if (command.startsWith("admin_sit")) { L2Object target = activeChar.getTarget(); if (target instanceof L2NpcInstance) { activeChar.sendMessage("You can not use it on NPCs!"); return false; } L2Object targetm = activeChar.getTarget(); if (targetm instanceof L2MonsterInstance) { activeChar.sendMessage("You can not use it on Monsters/RaidBosses!"); return false; } L2Object targets = activeChar.getTarget(); if (targets instanceof L2SummonInstance) { activeChar.sendMessage("You can not use it on Summons!"); return false; } else if (target == null) { activeChar.sendMessage("You have no target!"); return false; } else { ((L2PcInstance) target).sitDown(); } } if (command.startsWith("admin_stand")) { L2Object target = activeChar.getTarget(); if (target instanceof L2NpcInstance) { activeChar.sendMessage("You can not use it on NPCs!"); return false; } L2Object targetm = activeChar.getTarget(); if (targetm instanceof L2MonsterInstance) { activeChar.sendMessage("You can not use it on Monsters/RaidBosses!"); return false; } L2Object targets = activeChar.getTarget(); if (targets instanceof L2SummonInstance) { activeChar.sendMessage("You can not use it on Summons!"); return false; } else if (target == null) { activeChar.sendMessage("You have no target!"); return false; } else { ((L2PcInstance) target).standUp(); } } if (command.startsWith("admin_rangesit")) { Collection<L2Character> players = activeChar.getKnownList().getKnownTypeInRadius(L2Character.class, 480); for (L2Character p : players) { if (p instanceof L2PcInstance) { ((L2PcInstance) p).sitDown(); } } } if (command.startsWith("admin_rangestand")) { Collection <L2Character> players = activeChar.getKnownList().getKnownTypeInRadius(L2Character.class, 480); for (L2Character p : players) { if (p instanceof L2PcInstance) { ((L2PcInstance) p).standUp(); } } } return true; } @Override public String[] getAdminCommandList() { return ADMIN_COMMANDS; } } I just fixed a bit for acis and added some check for summons and monsters now.
  2. My eyes !!! All that info to read ... Why u just couldnt write normal ?
  3. It sounds nice, i`ll try it :)
  4. OMG, its not an exploit
  5. it`s very old trick and it doesnt work in most servers
  6. It is working in a lot of servers lol :D Just try to use skills with lower and higher atk spd and you will see that reuse is faster when you use skill with higher atk speed. And it works in every l2 server ^^
  7. Yes it is fixed, when u try it you got kicked at the moment :)
  8. it sucks. Its just stun but costs too much
  9. ACP clickers are much better lol
  10. In which chronicle these bugs works?
  11. This program works on any game or something else :)
  12. But i think it`s nice trick :)
×
×
  • Create New...