Jump to content

Official Ovenuç® Flame topic (L2J Professionals)


xdem

Recommended Posts

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!!!

 

So you say that you are better than everyone right? Okay sir.

 

L2jfree:

 

protected void doAttack(final L2Character target)

{

if (_log.isDebugEnabled())

_log.debug(getName() + " doAttack: target=" + target);

 

if (isAlikeDead() || target == null || (this instanceof L2Npc && target.isAlikeDead())

|| (this instanceof L2PcInstance && target.isDead() && !target.isFakeDeath()))

{

// If L2PcInstance is dead or the target is dead, the action is stoped

getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);

 

sendPacket(ActionFailed.STATIC_PACKET);

return;

}

 

And before you call l2jfree devs noobs, think about the fact that l2jfree in private is now a multiplatform, multichronicle supported, lindvior pack with things that l2j never seen before. Also they make the code you make(can be anything) faster and code it much better. So either you admit that your wrong and you crawl back to the hole you came from or we are just going to rip your ego apart. :)

Link to comment
Share on other sites

Guest Elfocrash

if (!isAlikeDead() && target != null)

{

if (this instanceof L2Npc && target.isAlikeDead()

 

 

from what you linked. What are you trying to say?

 

 

Actualy you say remove null from doAttack and go cast prominence skills from sorcer class with out that cast.. :)

Yeah and i said what it does while you doattack at the same time. Nvm i wont stick on that.

Link to comment
Share on other sites

where is the null check?

 

Im laughing so hard! Man please continue with this your making my day! :DDDDDDDDDDDDDDDDDDDDDDDDDDDD

Link to comment
Share on other sites

Guest Elfocrash

where is the null check?

Are you blind?

 

// =========================================================

// 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;

 

 

God i though you were not so stupid...

Link to comment
Share on other sites

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 :)

 

1555682.jpg

Link to comment
Share on other sites

i listen here that null method is calling for l2phx and i wander somthing how is possible to attack to null target?

 

if it's null, it returns (it breaks it).

Link to comment
Share on other sites

i listen here that null method is calling for l2phx and i wander somthing how is possible to attack to null target?

 

thats why the null check is there, to make it impossible to attack null target  :you serious?: :you serious?: :you serious?: :you serious?:

Link to comment
Share on other sites

1555682.jpg

 

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

Link to comment
Share on other sites

Guest Elfocrash

i listen here that null method is calling for l2phx and i wander somthing how is possible to attack to null target?

Pfff let me explain it in even simpler words. This is not a Double check because the one is in the AttackRequest fine and the other is in the L2Character or whatever file. Yeah it passes through

both files so it might be a double check for L2phx BUT for java coding as a sum it is a MUST check to prevent NPEs which will cuz memory leaks and fuck up your stability. Dont think what

you do as a player and that this might look impossible. L2Char or PcInst are huge classes with 24/7 used methods. If these methods are not null checked then you are fucked.

 

 

I cant make it simpler.

Link to comment
Share on other sites

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

 

okay, change doAttack to throws

 

protected void doAttack(L2Character target) throws NullPointerException  :troll: :troll:

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • We remind you that the opening will take place today, on September 28 at: 19:00 (UTC+3) - server time Check current server time(UTC +3) On 17:00 (UTC +3) We allow you login to create character! Dear friends, this topic important! So please take time to read it. First we want to thank all players who took part in the Open Beta testing, was good activity and nice Olympiad Event yesterday, we all get a lot of fun  Thanks to all who conducted tests with us and prepared this game world! You are amazing!  On 17:00 (UTC +3) We allow you to login for create character! To restrict your name and transfer ToDs/Season Pack to your character. Make it before start! On start, we can have problems with WEB! Everything you need to start on the server: It is IMPORTANT to prepare everything for starting the game RIGHT NOW, do not postpone for later, during the opening there may be problems with the web part of the project, and you simply can not register. - Registration and files Download archive unzip it, run launcher, choose SEASON x25 server and press FULL CHECK What you need to know at the start: Registration for 7 seals from Monday, September 30, full cycle 1 week. First Mammons on Friday October 4 All Epic Raid Bosses dead on start. First epic QA will appear on Monday, next day Core + Zaken + QA and so on by schedule All other RBs alive on server start (including Sub and Nobl RB) - Full RoadMap   About possible attacks on server start. We have prepared as good as we can. We will control the start of the server together with you. Want to ask you, in the case of a problem, don't panic, panic is the worst possible thing that could be, even worse than any attack. We have enough specialists to solve any problems, all that will need from you is patience and trust. Wish you all a smooth start and months of enjoyable play in new Season Interlude x25! Have a fun!
    • 🚨🇦🇷🇧🇷🇪🇸🇸🇰🇺🇳🇨🇱🚨 Devianne - Lineage 2 Interlude  Client - Classic. 🔷Rates 🔸Experience (EXP) - 10x 🔸Skill Points (SP) - 10x 🔸Adena - 6x 🔸Drop Items - 3x 🔸Spoil - 3x 🔸Quest Experience (EXP) - 1x 🔸Quest Skill Points (SP) - 1x 🔸Quest Adena - 1x 🔸Quest Items Drop - 1x 🔸Seal stone Drop - 1x 🔸Epic raid - 1x 🔸Raid Drop - 2.0x 🔸Manor - 5x 🔷Dynamic Rates XP/SP 🔸Lv. 1-52 EXP/SP X10 (x7 without VIP or vote reward) 🔸Lv. 52-61 EXP/SP X7(x5 without VIP or vote reward) 🔸Lv. 61-76 EXP-SP X5 (x3 without VIP or vote reward) 🔸Lv. 76-78 EXP/SP X3 (x2 without VIP or vote reward) 🔸Lv. 78-80 EXP/SP X2 (x1 without VIP or vote reward) ⚠️Extra Settings⚠️ 🔸Server time, site - GMT -3 🔸Buffs, Dances, and Songs duration - 1 hour 🔸Max Buffs Slots - 22 + 4 divine 🔸Maximum Slots Dances and Songs - 12 🔸GmShop Grade - C 🔸Global teleport 🔸Grade B-A-S - Craft 🔸Mana potion recharge 🔸1000 (9 seconds delay) 🔸Raid HP - x1.4 🔸Raid epic HP - x1 🔸Blacksmith Mammon - 24/7 🔸Champions System - Yes chance respawn 0.5% 🔸Offline mode Shop - Yes 🔸Auto Learn Skills - Yes 🔸Auto Learn Loot - Yes 🔸Auto Learn Raid & Grand 🔸Boss Loot - No 🔸Buffer offline - Yes 🔸Wedding System - Yes 🔸Max level diff distribution drop in party - 14 🔸Limit the number of active gaming clients on one PC - 2 🔸Limit the number of active gaming clients on one PC for Premium - 3 🔸The clan leader will be replaced after server restart ⚠️Class and Subclass Change⚠️ 🔸1st profession Quest - No 🔸2nd profession Quest - No 🔸3rd profession Quest - Yes 🔸Sub Class Quest- Yes 🔸Sub Class Raid - 8 hours +-30m random 🔸Nobility and Olympiads Nobility Quest - Yes 🔸Olympiads (duration) - 14 days 🔸Max enchant - +6 🔸Respawn Barakiel 6 hours - +-15 min random 🔸Olympiad schedule - 13:00 to 00:00 🔸Minimum players to start olympiad - 11 Clans and Sieges Penalty duration - 8 hours 🔸Sieges every - 15 days Max Ally - 2 🔸Max Members - 36 🔸Slots for academies in clan - 40 ⚠️Enchants Rate⚠️ 🔸Blessed Scroll chance 60% 1-10 11-16 40% 🔸Crystal Scroll chance 65% 1-10 11-16 40% 🔸Normal Scroll chance - 55% 🔸Safe Enchant - +4 ⚠️Premium Info⚠️ 🔅+20% xp sp drop spoil adena 🔅+5% additional enchant rate (premium 30 days)   Free autofarm ⚠️Starter Pack⚠️ 🔅Free Premium - 24 hours 🔅Free Autofarm - 24 hours ❇️Raid boss Info❇️ 🔸Anakim/Lilith respawn 18 hours +1:30min random 🔸Tyrannosaurus - respawn 8 min drop Tl 76 🔸Queen Ant (LVL 80) - Respawn Monday and Saturday 22:00 🔸CORE (LVL 80) - Respawn Tuesday-Friday 20:00 🔸ORFEN (LVL 80) - Respawn Tuesday-Friday 21:00 🔸BAIUM (LVL 80) - Respawn Saturday 21:00 🔸ZAKEN (LVL 80) - Respawn Wednesday-Thursday 22:00 🔸FRINTEZZA (LVL 85) - Sunday 19:45 ⚔️Quest Details⚔️ QUEST WEAPON RECIPES: - Relics of the Old Empire x1: - Gather the Flames x1 x1: QUEST ARMOR RECIPES: - Alliance with Varka Silenos x1 - Alliance with Ketra Orcs x1 - War with Ketra x1 - War with Varka x1 - Gather the Exploration of the Giants’ Cave Part 1 x3 - Exploration of the Giants’ Cave Part 2 x1 - Whispers of Dream part 2 x2 - Legacy of Insolence x1 QUEST RECIPES JEWERLY - The Finest Food x1 QUEST RESOURCES - The Zero Hour x2 - Golden Ram Mercenary x2 - An Ice Merchant dream x2 QUEST FOR FABRIC: - Whispers of Dream part 1 x1 BEAST FARM : - Delicious Top Choice Meat x2 👁️OTHER QUEST👁️ 👁️- Yoke of the Past x2 👁️- In Search of Fragments of Dimension x2 👁️- The finest Ingredients x3 👁️- Supplier of reagents x3 - 👁️3rd class Halisha Marks drop x3 - 👁️Into the flames x3 - 👁️Audience with the land dragon x3 - 👁️An Arrogant Search x3 - 👁️Last Imperial Prince x3 🚨Soul Crystal Details🚨 🔸- Level up crystals to 11, 12, 13 🔸- All epics can level up crystals for the whole party (Queen Ant, Core, Orfen, Zaken, Baium, Antharas, Valakas, Frintezza). - 🔸Bosses in PVP zone: Master Anays, High Priest Van Halter. 👁️🔸- Anakim/Lilith, Uruka. - You can level up crystals in Rift, but only 1 party can challenge Anakazel (10%)PARTY_RANDOM at the same time (if one party is in the boss, you need wait them to go out). 👁️🔸- You can level up crystals in Primeval Island by killing tyrannosaurus with 10% chance PARTY_ALL for the person who cast the crystal and makes last hit. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ WEB: https://devianne-l2.com/ DISCORD: https://discord.gg/Q3HAMzasUk 🔥🔥SERVER TEST OPEN !!🔥🔥🔥
    • I am here for the plank jumps and the cookies any news about that?
    • the links are offiline, could you reupload them please, if you have other versions of h5 or c6 could you share them too, thanks!
    • Good afternoon everyone, we’ll get a couple of strong players in the CP, more details can be found here https://mw2.community/topic/211276-awr-team/  
  • Topics

×
×
  • Create New...