Jump to content
  • 0

Request for Credit/Donation Coins and Duplicate Items with level restriction


Question

Posted

Hey,

I'm working on my server and I hit a couple of roadblocks. So I'm hoping someone can help me on the same

Firstly, I wanted to include stuff into my database, like Credit/Donation coins. These would be sold seperately by an NPC or directly mailed to the player.

Secondly, I wanted to duplicate a few equipments in the original database, but put in a level restriction and make them account-bound as well as non-tradeable, non-dropable, non-vendable.

I posted this accidently in the scripting request section. Hope someone here can help me with the same.

Cheers!

1 answer to this question

Recommended Posts

Posted

Donation / Credits:

You could use the FluxCP donation panel. The coins would be in a sql table and can be used by various npcs.

Like Euphy´s beautiful Quest Shop:

http://rathena.org/board/topic/64394-%E2%9C%B0-euphys-scripts-%E2%9C%B0/

Items:

Just copy the item you want from your itemdb into your itemdb2 and edit it.

This will help you: http://rathena.org/wiki/Custom_Items

Don´t forget to change the itemid

Account Bound:

Find the item_trade.txt inside your db.

And add the items like its explained in the header.

//Item Trading Restrictions File
//Specify here special rules for item trading.
//Item ID, TradeMask, GM-Level Override
//Trading mask values:
//1:Item can't be droped
//2:Item can't be traded (nor vended)
//4:Wedded partner can override restriction 2.
//8:Item can't be sold to npcs
//16:Item can't be placed in the cart
//32:Item can't be placed in the storage
//64:Item can't be placed in the guild storage
//128:Item can't be attached to mail
//256:Item can't be auctioned
//Example:
//1161,67,50 //Balmung: No drop, No trade, No Guild Store (1+2+64 =67),
//only GMs of GM-level 50 and up can override the setting.

// Wedding Related items
2634,507,100    // Wedding Ring
2635,507,100    // Wedding Ring

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...