Thread: [pi] replacing old items with new.

Results 1 to 3 of 3
  1. #1 [pi] replacing old items with new. 
    Registered Member
    Join Date
    Oct 2011
    Posts
    173
    Thanks given
    10
    Thanks received
    11
    Rep Power
    11
    For some odd reason my server has an item limit so i'm just wondering how i would replace old items with new ones. e.g

    i added a new item
    (steadfast boots)

    itemDef.java:

    Code:
    				case 19917:
    			itemDef.modelid = 53835;
    			itemDef.name = "Steadfast boots";
    			itemDef.description = "A pair of powerful-looking boots.";
    			itemDef.modelZoom = 900;
    			itemDef.modelRotationY = 165;
    			itemDef.modelRotationX = 99;
    			itemDef.modelOffset1 = 3;
    			itemDef.modelOffset2 = -7;
    			itemDef.value = 20000;
    			itemDef.anInt165 = 53327;
    			itemDef.anInt200 = 53643;
    			itemDef.groundActions = new String[5];
    			itemDef.groundActions[2] = "Take";
    			itemDef.itemActions = new String[5];
    			itemDef.itemActions[1] = "Equip";
    			break;
    then item.cfg

    Code:
    item = 19917	Samaden_seed	Plant_in_a_vine_herb_patch.	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    i replace that with this

    Code:
    item = 19917	Steadfast_boots	Boots.	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    yet when i bank them the old item shows and when i have them in my invent there is a 1 in the corner (to show they used to be stack-able)

    anyway to fix this as i would like to add customs lol
    or would the best way be to find something like boots that people don't use.

    any input appreciated thanks
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Sep 2011
    Posts
    2,730
    Thanks given
    1,150
    Thanks received
    907
    Rep Power
    668
    Let's take Item ID 2749, since it's a sliding piece and never used.

    Just change
    Code:
    19917
    to
    Code:
    2749
    And the item should go from a sliding piece to Steadfast Boots.
    Hope this helped, tell me if any problems with that.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2011
    Posts
    173
    Thanks given
    10
    Thanks received
    11
    Rep Power
    11
    thanks for this but i figured by using an item that has a note version and deleting both

    eg bronze spear P+ = 5704 and 5705 my bank auto +1's when it goes in the bank which was the reason for it changing id's it now works.

    thanks
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. [PI] replacing QP with PKP
    By Solarity in forum Help
    Replies: 0
    Last Post: 07-15-2011, 09:51 PM
  2. [PI] Help with replacing items
    By n10si t in forum Help
    Replies: 0
    Last Post: 01-23-2011, 08:29 PM
  3. replacing whatever.no-ip.org with whatever.com
    By kyconnny in forum Tutorials
    Replies: 23
    Last Post: 05-18-2010, 06:43 PM
  4. Replacing items.
    By Dexter Morgan in forum Requests
    Replies: 2
    Last Post: 08-26-2009, 10:50 PM
  5. Loading items via cache suite replacing
    By Vegeta in forum Snippets
    Replies: 4
    Last Post: 07-30-2009, 01:46 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
  •