Jump to content

Recommended Posts

Posted

Hello , this is my 3rd java code i will share to you , i hope everyone like it :)

 

 

With this code when a player in game reach level 80 , automatically he became noblesse ... :)

 

go to L2PcInstance , and find

public void increaseLevel()

 

and paste this in it :

if (!isNoble() && getLevel() == 80)
	{
		setNoble(true);
		rewardSkills();
	}

 

Versus: Corrected some code mistakes.

Posted

if (!activeChar.isNoble() && activeChar.getLevel() == 80)

 

If Char Is Noble And Char Is 80 Lv THEN Make Him Noble

 

:D w0w never will be noble with this code :D

Posted

if (!activeChar.isNoble() && activeChar.getLevel() == 80)

 

If Char Is Noble And Char Is 80 Lv THEN Make Him Noble

 

:D w0w never will be noble with this code :D

lolwrong

dont u see the ! ? it means..

if char is not noble && is level 80 THEN make him noble :)

Posted

lolwrong

dont u see the ! ? it means..

if char is not noble && is level 80 THEN make him noble :)

 

omg! this mean if Char is noble man ..

 

anyway is not same in every pack

 

if (activeChar.isNoble(0=false 1=true) && yourcode)

 

or

 

if (activeChar.isNoble==true && yourcode)

 

just try

Posted

ahahahh...

PATHETIC!

if (!activeChar.......)

{...;}

 

Just view it.. and u`ll get it!

! = false

whatever ,im done dealing with pro developers .

 

anyway is not same in every pack

 

if (activeChar.isNoble(0=false 1=true) && yourcode)

 

or

 

if (activeChar.isNoble==true && yourcode)

so sad to say it ,but its same in every pack.. :D

try with the ==true thing and u`ll see LOL!

btw you should make () too :D

Posted

lol , make up ur mind!

 

if (!activeChar.isNoble() means that the player IS NOT noble -.-

 

&& activeChar.getLevel == 80 and if his level is 80

 

then

 

activeChar.setNoble(true);

 

his code is correct. stop saying crap

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...