Starter items

Legendary

New member
Messages
35
Points
0
Location
Philippines
How to add starter items for players? and set players level to ten when they first open the game or create their character

 
Last edited by a moderator:
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.

 
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.

 
Last edited by a moderator:
Back
Top