Jump to content

Recommended Posts

Posted (edited)

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
Posted

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)
{
}

Posted

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

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