Jump to content

Komnis

Members
  • Posts

    194
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Komnis

  1. nai ein to monadiko auto p exei... ta ipolipa dn ta exei... entaksi sorry p ginomai ligo pri3as alla dn kserw polla k eim lg epifilaktikos... miso... paw na to dokimasw...
  2. wraia to vrika. alla to simio auto dn mporw na vrw g na pros8esw ton kodika... olo k olo pou mou exei mesa ekei einai auto edw: /* * 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.network.clientpackets; import java.util.logging.Logger; import net.sf.l2j.Config; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.model.L2Skill; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.templates.skills.L2SkillType; /** * This class ... * * @version $Revision: 1.7.2.1.2.3 $ $Date: 2005/03/27 15:29:30 $ */ public final class RequestMagicSkillUse extends L2GameClientPacket { private static final String _C__2F_REQUESTMAGICSKILLUSE = "[C] 2F RequestMagicSkillUse"; private static Logger _log = Logger.getLogger(RequestMagicSkillUse.class.getName()); private int _magicId; private boolean _ctrlPressed; private boolean _shiftPressed; @Override protected void readImpl() { _magicId = readD(); // Identifier of the used skill _ctrlPressed = readD() != 0; // True if it's a ForceAttack : Ctrl pressed _shiftPressed = readC() != 0; // True if Shift pressed } @Override protected void runImpl() { // Get the current L2PcInstance of the player L2PcInstance activeChar = getClient().getActiveChar(); if (activeChar == null) return; // Get the level of the used skill int level = activeChar.getSkillLevel(_magicId); if (level <= 0) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } // Get the L2Skill template corresponding to the skillID received from the client L2Skill skill = SkillTable.getInstance().getInfo(_magicId, level); // Check the validity of the skill if (skill != null) { if ((activeChar.isTransformed() || activeChar.isInStance()) && !activeChar.containsAllowedTransformSkill(skill.getId())) { activeChar.sendPacket(ActionFailed.STATIC_PACKET); return; } // _log.fine(" skill:"+skill.getName() + " level:"+skill.getLevel() + " passive:"+skill.isPassive()); // _log.fine(" range:"+skill.getCastRange()+" targettype:"+skill.getTargetType()+" optype:"+skill.getOperateType()+" power:"+skill.getPower()); // _log.fine(" reusedelay:"+skill.getReuseDelay()+" hittime:"+skill.getHitTime()); // _log.fine(" currentState:"+activeChar.getCurrentState()); //for debug // If Alternate rule Karma punishment is set to true, forbid skill Return to player with Karma if (skill.getSkillType() == L2SkillType.RECALL && !Config.ALT_GAME_KARMA_PLAYER_CAN_TELEPORT && activeChar.getKarma() > 0) return; // players mounted on pets cannot use any toggle skills if (skill.isToggle() && activeChar.isMounted()) return; // activeChar.stopMove(); activeChar.useMagic(skill, _ctrlPressed, _shiftPressed); } else { activeChar.sendPacket(ActionFailed.STATIC_PACKET); _log.warning("No skill found with id " + _magicId + " and level " + level + " !!"); } } /* (non-Javadoc) * @see net.sf.l2j.gameserver.clientpackets.ClientBasePacket#getType() */ @Override public String getType() { return _C__2F_REQUESTMAGICSKILLUSE; } @Override protected boolean triggersOnActionRequest() { return true; } }
  3. den iparxei to requestmagicskilluse.java to pack m apo edw to eftiaksa... http://maxcheaters.com/forum/index.php?topic=145109.0 ean mporeis na me voi8iseis parakalw :)
  4. oxi egw 8elw na min exoun target. na min exoun tipota epileksi k na to kanei tote epanw tous. otan dld dn exoun target oti skill na patisei px buff i heal na to kanei epanw tou
  5. oxi den einai kati tetio... to exw psaksei... kai 2 fores piga na to valw alla kai pali tipota. :P
  6. nai re c filos auto to kserw. den kserw na ftiaksw diko mou java code. auto psaxnw. java codes gia auta pou zitaw...
  7. to kserw auto alla ti codes na perasw. eimai newbiw kai den kserw polla. eimai kainourios sti piatsa :P kai xriazomai voi8ia... ksereis mipos kati pou na me voi8isei? :-\
  8. den kserw filos... apo edw to pira... http://maxcheaters.com/forum/index.php?topic=145109.0 ean se voi8aei auto kalos. ean ginete kiolas pes mou kai ti na apantaw se auti tin erwtisi. :P
  9. epeidi psaxnw kairo kai den nomizw na iparxei kati tetio... mipos ginete na mou pei kapoios pws na valw na deixnei poios pernei kai poios xanei ena castle se announcement? px. (name clan) has take the castle! (name clan) has lost the castle! kai otan mpei kapoios se siege area... kata tin diarkia tou siege kai i clan tou den exei dilosei sto castle ite ws attacker ite ws defender na ton petaei pisw sto town molis paei na perasei sto siege zone.
  10. pws mporw na valw otan den exoun target oi players na kanoun ta skills epanw tous... Diladi otan enas Bishop den exei kanena target na kanei ta heal epanw tou. Ligi voi8ia paidia. Eimai Newbie. :-\
  11. me to Dark Form skill otan to kanw kai to vgazei sta buffs m(logiko :P) mou vgazei floges(effect) ston char epanw... pws mporw na to vgalw? mono ston server mou ginete auto xD (pro dev :O)
  12. paidia akiro... to vrika kai to eftiaksa monos m. euxaristw polu pantos gia tin voi8ia sas. vasistika panw se auta pou mou eipate kai to eftiaksa :)
  13. nai... me apla logia mporei kaneis na mou pei ti na kanw? eimai newbie opos exete katalavei kai den niw8w polla polla... ean mporite pite mou ti na kanw sas parakalw :S
  14. pira protovoulia k to ekana :P ... alla exei minei ena p grafei: Copyright 2004-2009
  15. emena m vgazei sigkekrimena auto: if (Config.DISPLAY_SERVER_VERSION) { if (Config.SERVER_VERSION != null) activeChar.sendMessage(getText("TDJKIFNlcnZlciBWZXJzaW9uOg==")+" "+Config.SERVER_VERSION); if (Config.DATAPACK_VERSION != null) activeChar.sendMessage(getText("TDJKIERhdGFwYWNrIFZlcnNpb246")+" "+Config.DATAPACK_VERSION); apla to svinw opos m to eipes?
  16. μπορει κανεις να με βοηθησει, να μου πει πως να τα αφαιρεσω αυτα?
  17. Telika kapoios na me voi8isei kapoios me ta automatical ss&bss kai ta arrows iparxei? -_- :/
  18. To testara kai douleuei mono gia ta bow. Mipos ginete na to kaneis kai gia ta crossbow?
  19. telika to testara kai dn douleuei. Ama mporeis ksana des to mia plz ean ginete.
  20. Mia erwtisi. Mporw na to kanw copy paste oses fores 8elw gia na mporesw na valw ola ta grade apo ss kai bss?
  21. ok. Euxaristw kai pali. 8a to dokimasw aurio gt auti tin stigmi dn mporw kai 8a c pw ean douleuei :D
  22. Ok euxaristw polu alla p akrivos na ta pros8esw? eimai new kai dn gnwrizw polla... :P
  23. nai, pisteuw... me voi8ise to paidi gia to topic p exeis dimiourgisei. Ean ginete des to post m ekei kai ean mporeis voi8ise me. Pisteuw to topic dn xriazete allo pia. Euxaristw polu kai pali.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock