Jump to content

[Share]Auto noblessed char ...


Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

! = making it FALSE dudes ..

 

 

The correct code is the one i posted on the start ..

 

 

Thanks every1

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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