Jump to content

Ovenuç®

Members
  • Posts

    533
  • Credits

  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Ovenuç®

  1. i am waiting answer from l2j team and we will see :) from now relax i test so the check is needless
  2. just now i test it i remove the null check and i cant attack without phx and with phx...
  3. ahhaha you say that method is for phx elfo says that method is calling for skills (min me kaneis na balo sinomilia... nomizes oti to doattack elenxei kai ta skills) and intrepid he says the same thing for l2phx ok i will remove the null check != null and i will test it now
  4. i listen here that null method is calling for l2phx and i wander somthing how is possible to attack to null target?
  5. where is the null check? do you know what is the code there? if (!isAlikeDead() && target != null) so the null check is not for phx :)
  6. Actualy you say remove null from doAttack and go cast prominence skills from sorcer class with out that cast.. :)
  7. CT2.5 l2j code... // ========================================================= // Method - Private /** * Launch a physical attack against a target (Simple, Bow, Pole or Dual).<BR><BR> * * <B><U> Actions</U> :</B><BR><BR> * <li>Get the active weapon (always equiped in the right hand) </li><BR><BR> * <li>If weapon is a bow, check for arrows, MP and bow re-use delay (if necessary, equip the L2PcInstance with arrows in left hand)</li> * <li>If weapon is a bow, consume MP and set the new period of bow non re-use </li><BR><BR> * <li>Get the Attack Speed of the L2Character (delay (in milliseconds) before next attack) </li> * <li>Select the type of attack to start (Simple, Bow, Pole or Dual) and verify if SoulShot are charged then start calculation</li> * <li>If the Server->Client packet Attack contains at least 1 hit, send the Server->Client packet Attack to the L2Character AND to all L2PcInstance in the _KnownPlayers of the L2Character</li> * <li>Notify AI with EVT_READY_TO_ACT</li><BR><BR> * * @param target The L2Character targeted * */ protected void doAttack(L2Character target) { if (Config.DEBUG) _log.fine(getName()+" doAttack: target="+target); if (!isAlikeDead() && target != null) { if (this instanceof L2Npc && target.isAlikeDead() || !getKnownList().knowsObject(target)) { getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE); sendPacket(ActionFailed.STATIC_PACKET); return; } else if (this instanceof L2PcInstance) { if (target.isDead()) { getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE); sendPacket(ActionFailed.STATIC_PACKET); return; } L2PcInstance actor = (L2PcInstance)this; /* * Players riding wyvern or with special (flying) transformations can do melee attacks, only with skills */ if ((actor.isMounted() && actor.getMountNpcId() == 12621) || (actor.isTransformed() && !actor.getTransformation().canDoMeleeAttack())) { sendPacket(ActionFailed.STATIC_PACKET); return; } } } if (isAttackingDisabled()) return;
  8. AHAHAHAH I WILL CRY NOW THEY PUT THAT CODE ESI RE ELFO SE PARAKALW MIN PERNIS MEROS SE KOUBENTA PIGENE MA8E TI KANEI TO DOATTACK KAI TO DOCAST KAI META ELA NA BGALIS GNWMI.. AN LEW PSEMATA OTI TO ELEGES ROTAME KAI TRYSKEL.. OSO GIA AUTO TWRA MPIKE KAI PALI EINAI AXRISTO KAI DEN EINAI GIA TO L2PHX EINAI GIA TA MOBS!!!
  9. intrepid you get your answers if i go to post on l2jserver community that they will be lough all with you you know it that allready.. so say yes i am wrong! or i will go now on l2j community to post you code SO YOU ARE BETTER DEV FROM L2J DEVS BECAUSE L2J DEVS THEY DIDNT USE NULL CHECK IN doAttack
  10. ahahah re ta pisteueis auta pou les? EILIKRINA? TA PISTEUEIS? PANTA PANTA PANTA MA PANTA TO PHX XTIPAEI CLIENTPACKETS!!! KAI META PAEI STA INNER CODING ELA EXETE LA8OS KAI DEN TO PARADEXESTE!!! APLA EGINES GELIOS APO TIN STIGMI POU MILISES GIA PHX KAI LES GAMA TA CLIENTPACKETS POS NA GAMISO TA CLIENTPACKETS OTAN TO PHX DOULEUEI MONO ME AUTA KAI TO BAD CODING TOUS!!
  11. SO HOW YOU WILL GO TO INSIDE CODE doAttack IF YOU HAVE CHECK METHOD ON ATTAACKREQUEST CLIENT PACKET SO INSIDE doAttack the code is bad you never use it!!! [GR] ELLINIKA POS 8A PERASIS TO CLIENTPACKET ME TO PHX AN EXEIS IDI EKEI ENA NULL CHECK!!! EFOSON TO PHX DOULEUEI MONO ME CLIENTPACKETS! EXIGISE TO MOU AUTO KAI 8A PW NAI RE EXEIS DIKIO K EXO ADIKO!
  12. i didnt get answer l2phx working with clientpackets? YES OR NO?
  13. [GR] ESI ME DOULEUEIS TIN ALLI FORA SOU EXIGOUSA OTI TO DOATTACK DEN EXEI KAMIA SXESI ME TO DOCAST KAI MOU ELEGES PIGENE NA AFERESIS TO NULL CHECK KAI KANE TO SKILL TOU SORCER XORIS TARGET NA DEIS.. -beep-E ME ELFO.. min mou peis oti ta bgazo apo to mialo mou...
  14. EXPLAIN ME INTREPID WHY YOU NEED DOUBLE NULL CHECK IF YOU CANT BYPASS WITH PHX THE CLIENTPACKETS ALL IN MXC KNOWS L2PHX WORKING WITH CLIENTPACKETS SO YOU ARE WRONG! NOT ME
  15. THAT IS YOUR ANSWER? SO WHY YOU NEED DOUBLE NULL CHECK INSIDE TO DOATTACK IF YOU CANT BYPASS THE CLIENTPACKET! EXPLAIN IT!!
  16. axaxaxaxaxaxa CREATE NOW 1 SCRIPT FOR PHX AND USE IT!! IF YOU WILL TRY TO ATTACK TO SOMEONE YOU WILL BYPASS FIRST AttackRequest.java WAKE UP MORON!!! SO WHY YOU NEED DOUBLE NULL CHECK INSIDE TO DOATTACK IF YOU CANT BYPASS THE CLIENTPACKET! EXPLAIN IT!!
  17. L2PHX WORKING WITH CLIENT PACKETS!! ALL IN MXC KNOWS THAT YOU CANT BYPASS CLIENTPACKETS WITH PHX (PHX FIND BAD CODING IN CLIENTPACKETS AND CALL THE OTHER METHODS!) INSIDE IF YOU HAVE FIXED THE CLIENT PACKETS L2PHX IS DEAD!!! IN YOU SERVER
  18. phx use the same methods to attack l2phx WORKING WITH CLIENTPACKETS ANIMAL!!!!!! NO WITH INSIDE CODING!!! OMG YOU ARE IDIOT OMG FROM THAT GUY THEY GET MY AWARD?
  19. omg you are really stupid!!! IF YOU HAVE NULL TARGET HOW YOU WILL BYPASS THE CLIENT PACKET EXPLAIN IT!!! L2 IS CLIENT PACKETS AND SERVERPACKETS 1 ACTION = 1 CLIENTPACKET METHOD!
  20. OMG? REALLY? if someone is null you cant bypass Attackrequest and the checks there..!!!! if someone is dead then you use that ... if (target.isDead()) { getAI().setIntention(CtrlIntention.ACTIVE); sendPacket(ActionFailed.STATIC_PACKET); return; } ok xdem? so you dont need double null checks for the same method!!
  21. why you need null check in method doAttack explain me that.. first for all.. :) lets learn the people some of l2 java.. .network.clientpackets open AttackRequest.java that is the first step to attack if in there is all complete.. then you to method doAttack for simple hits (no skills) inside file AttackRequest.kava you will find that..
  22. http://maxcheaters.com/forum/index.php?topic=278550.msg2631856#msg2631856 he will spam all time on my topic because he is unskilled? 3 accounts :O
  23. auto sto bgazi to build i sou exei genika error mesa sto eclipse me kokino na fantasto eisai l2jh5?
×
×
  • Create New...