Jump to content

Recommended Posts

Posted

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 -beep- 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 -beep-ed.

 

 

I cant make it simpler.

 

just now i test it i remove the null check and i cant attack without phx and with phx...

Posted

okay, change doAttack to throws

 

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

 

Or he should just stop :DDDD

Posted

try

{

    doAttack();

}

catch (NullPointerException e)

{

    final boolean sucker = true;

    while(sucker)

      System.out.println("I suck");

}

 

L2J Prim Private source, the way to be the best

Guest Elfocrash
Posted

 

 

 

 

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

 

You little bastard you made me fall of my chair laughing. What a stalker hahahhaha

 

 

just now i test it i remove the null check and i cant attack without phx and with phx...

Oh god you cannot test this null check and expect you get a straight NPE in console. You need 200 players hitting so you might get the chance to get one or too.

Fuck phx, you are talking about java coding now

Posted

just now i test it i remove the null check and i cant attack without phx and with phx...

 

XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

Posted

 

 

 

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA

 

You little -leeching- you made me fall of my chair laughing. What a stalker hahahhaha

 

Oh god you cannot test this null check and expect you get a straight NPE in console. You need 200 players hitting so you might get the chance to get one or too.

-beep- phx, you are talking about java coding now

 

so if i fix 1 code  i need 200 players online to test it.. yes you are right go to learn the method for the skills what he did doCast and what doAttack did and come to talk..

 

 

We should reply there.

 

go and replay... but i will get the true answer from devs not from you..

 

lets see somthing so Trance he make 1 mistace here is not dev?

 

http://maxcheaters.com/forum/index.php?topic=279515.msg2631199#msg2631199

Posted

try

{

    doAttack();

}

catch (NullPointerException e)

{

    final boolean sucker = true;

    while(sucker)

      System.out.println("I suck");

}

 

L2J Prim Private source, the way to be the best

 

ovenuc put this, u avoid the != null check, it imporve perfomance

 

l2jprim.png

 

:lied:

Guest Elfocrash
Posted

so if i fix 1 code  i need 200 players online to test it.. yes you are right go to learn the method for the skills what he did doCast and what doAttack did and come to talk..

Why do i evne try to help you understand something your brain cannot process. Once a retard always a retard.

Posted

Why do i evne try to help you understand something your brain cannot process. Once a retard always a retard.

 

True.

 

Lets go to the main point of the thread, Ovenuc forget about doAttack please, and prove us ur knowledge and the staffers will give you the reward back asap

Guest
This topic is now closed to further replies.

×
×
  • Create New...