Jump to content

[Share L2j]Quest change auto equip Armors-Weapons


Recommended Posts

Just look the video:
https://www.youtube.com/watch?v=yfCUu1SP9pU  

here is the codehttp://pastebin.com/U4x09qs3

IF YOU DONT KNOW HOW TO PUT THE CODE JUST REPLY HERE

Credits Me(AbsolutePower)

Edited by AbSoLuTePoWeR
Link to comment
Share on other sites

Suggestion, change it:

public void giveItems(boolean dagger,boolean sagi,boolean mage,boolean duelist,boolean tit,boolean nixas,boolean paladin)

with

public void giveItems(int class)

and then use a switch to check, is cleaner.

switch(class)
{
}

Link to comment
Share on other sites

L2ClassMaster.java here will be the code?

yes...In L2ClassMaster find this:

 

player.setClassId(val);

 

if (player.isSubClassActive())

player.getSubClasses().get(player.getClassIndex()).setClassId(player.getActiveClass());

else

player.setBaseClass(player.getActiveClass());

 

and here add the code

 

then in l2pcinstance add everywhere you want the void :)

Link to comment
Share on other sites

worked..!

looks great share ! i will try it right now

Compile it and done! Gj

work on me too !! thanks

Ty guys :)

 

final ClassId Nixas

:P


cool , keep it.

haha :P ty mate :)
Link to comment
Share on other sites

you could code it better dude(take as example what wyat suggest you),

tho its a good idea.

 

thanks

ty mate :) i don't like the switch. i think this is better :)
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.

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