ThyroDree 3 Posted November 10, 2013 Help me make the Headgear Untradable, you can't put on storage, and can't drop. THANKS Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted November 10, 2013 help please Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted November 10, 2013 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. Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted November 10, 2013 Yes! Thanks! Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted November 10, 2013 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. Quote Share this post Link to post Share on other sites
0 Leecher 1 Posted June 3, 2014 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. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted June 3, 2014 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 Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted June 3, 2014 Item_trade.txt has been merged along with other item restrictions in item_db.conf Renewal item_db.conf example: https://raw.githubusercontent.com/HerculesWS/Hercules/master/db/re/item_db.conf Quote Share this post Link to post Share on other sites
0 Leecher 1 Posted June 4, 2014 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 Quote Share this post Link to post Share on other sites
Help me make the Headgear Untradable, you can't put on storage, and can't drop. THANKS
Share this post
Link to post
Share on other sites