Thread: 667/7** Making certain Items Tradable & Untradable

Results 1 to 4 of 4
  1. #1 667/7** Making certain Items Tradable & Untradable 
    Member
    Join Date
    May 2012
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    well basically i have items that are untradable and want to make them tradable, what file must i go into to change this
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jun 2012
    Age
    23
    Posts
    711
    Thanks given
    521
    Thanks received
    86
    Rep Power
    0
    Ever tried searching?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2012
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Any item that has the option to be destroyed will be un-tradable, so you'd have to edit the inventory options in an itemdefeditor.
    Or...

    If you head to itemconstants.java search for this code.

    Code:
    public static boolean isTradeable
    below the...

    Code:
    switch (item.getId()) {
    There could possibly be an item ID under that code, that you wanted tradeable, just delete the code the item id's located in, save, compile.
    You may add item you'd like to be Untradeable below that code.... Example.
    Say you wanted a firecape to be untradeable. You'd simply add..

    Code:
    case 6570: //firecape
    Under..

    Code:
    switch (item.getId()) {
    I hope i helped. Good luck.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jun 2012
    Age
    23
    Posts
    711
    Thanks given
    521
    Thanks received
    86
    Rep Power
    0
    Lol, oooor, just delete the parts where it says Untradeable_items and make a new method LuL.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [667/7**]Recolouring Items (Making Custom Items)
    By TaterMater in forum Tutorials
    Replies: 81
    Last Post: 08-16-2015, 06:28 PM
  2. Replies: 17
    Last Post: 11-24-2013, 09:40 PM
  3. [PI] Making certain players untradable
    By Someone in forum Help
    Replies: 7
    Last Post: 01-05-2011, 08:52 PM
  4. Non tradable items PLEASE REPLY!
    By sheezy2 in forum Help
    Replies: 14
    Last Post: 01-30-2009, 05:52 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •