Jump to content
  • 0
Sign in to follow this  
Legendary

Starter items

Question

How to add starter items for players? and set players level to ten when they first open the game or create their character

Edited by Legendary

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Starting items: conf/char-server.conf: line 97

// Starting items for new characters// Format is: id1,qt1,idn,qtnstart_items: 1201,1,2301,1

If I remember well, you can add up to 64 items in this format, more will crash your server.

 

Setting players level to ten, I recommend you to auto issue an @lvup by script then setting a variable for making people not level up twice.

Share this post


Link to post
Share on other sites
  • 0

Just make an NPC to do this:

-	script	autolvlup	-1,{OnPCLoginEvent:	if ( (BaseLevel == JobLevel == 1) && !newReward) { // Assume new character		set newReward,1;		atcommand "@lvup 9"; // 1 + 9 = 10;	}	end;}

 

P.S.: Right now I'm unsure if this piece will work:

BaseLevel == JobLevel == 1

 

If it doesn't, please change it to:

BaseLevel == 1 && JobLevel == 1 

But remember to keep that inside the parentheses.

Share this post


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

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.