Jump to content
  • 0

[SEARCH] - NPC for make level up


Question

5 answers to this question

Recommended Posts

  • 0
Posted

You need to make a new npc instance, that on the bypass there will be:

- add the item you want to the player(player.addItem etc)

- add the player experience for lvl 52(51262204L, on Experience.java), this should work: player.addExpAndSp(Experience.LEVEL[52], 0);

  • 0
Posted

u cant just add the exp, or ppl will just spam that button to get max lvl

 

u need to:

- all chars start with custom undropeable/tradeable/.. item that will be taken from them at using this

 

or

 

- add a boolean var at l2pcInstance to know if that char used this or not

 

or

 

- check settings cos there mght be (i am not sure) somthing like that

 

or

 

- at create char add the exp

  • 0
Posted

give more info , give a full description to help you

 

Ok,i try. At start,u spawn in native village at  level 1, speak with npc near newbie guide (in native spawn) and u make level 52 when u press botton "Make me 52" and u can take equip B grade with some custom item like blue eva from npc (1 blue eva for weapon, 1 blue eva for armor set and 1 blue eva or jewels)

  • 0
Posted

admin_setlevel (or admin_set_level depending of pack) works the same. Just c/p code from it.

 

In the custom NpcInstance you will create, just add a check if the guy is >= 52. If he is, send him on another HTM ("You're already 52 therefore you can't use my services."), else send him HTM with the link and welcome HTM.

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
Answer this question...

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