Jump to content
  • 0
ThyroDree

How to make Headgear Untradable

Question

8 answers to this question

Recommended Posts

  • 0

This? db/re/item_trade.txt

//Item Trading Restrictions File//Specify here special rules for item trading.//Item ID, TradeMask, Group-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 groups of group-level 50 and up can override the setting.

Share this post


Link to post
Share on other sites
  • 0

Or if you're using the latest revisions of Hercules you can also use the character-bound or account-bound item feature we recently included on the repo.

Share this post


Link to post
Share on other sites
  • 0

Or if you're using the latest revisions of Hercules you can also use the character-bound or account-bound item feature we recently included on the repo.

 

Where is that located? item_trade.txt is has been deprecated.

Share this post


Link to post
Share on other sites
  • 0

 

Or if you're using the latest revisions of Hercules you can also use the character-bound or account-bound item feature we recently included on the repo.

 

Where is that located? item_trade.txt is has been deprecated.

character and account bound are script-commands and atcommands

ScriptCommand:

*getitembound <item id>,<amount>,<bound type>{,<account ID>};*getitembound "<item name>",<amount>,<bound type>{,<account ID>};This command behaves identically to 'getitem', but the items created will bebound to the target character as specified by the bound type. All items createdin this manner cannot be dropped, sold, vended, auctioned, or mailed, and insome cases cannot be traded or stored.Valid bound types are: 1 - Account Bound 2 - Guild Bound 3 - Party Bound 4 - Character Bound---------------------------------------*getitembound2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>;*getitembound2 "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>;This command behaves identically to 'getitem2', but the items created will bebound to the target character as specified by the bound type. All items createdin this manner cannot be dropped, sold, vended, auctioned, or mailed, and insome cases cannot be traded or stored.For a list of bound types see 'getitembound'.

 

AtCommand:

@itembound <item name/ID> <amount> <bound_type>Creates the specified item and bounds it to the account.bound_type: 1 = Account, 2 = Guild, 3 = Party, 4 = Character---------------------------------------@itembound2 <item name/ID> <quantity> <identify_flag> <refine> <attribute> <card1> <card2> <card3> <card4> <bound_type>Creates an item with the given parameters (the 'cards' can be any item) and bounds it to the account.identify_flag: 0 = unidentified, 1 = identifiedattribute: 0 = not broken, 1 = brokenbound_type: 1 = Account, 2 = Guild, 3 = Party, 4 = Character

Share this post


Link to post
Share on other sites
  • 0

Thanks, that is the reason why I love hercules, its making our lives easier. I hope hercules can keep up to rathenas in terms of NPC scripts, renewal class/homun skills and database

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

×
×
  • Create New...

Important Information

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