Thread: [PI] Some items wont equip (Bodies, Halos, ect.)

Results 1 to 8 of 8
  1. #1 [PI] Some items wont equip (Bodies, Halos, ect.) 
    Registered Member Rylan's Avatar
    Join Date
    Jan 2013
    Posts
    60
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    Some of the newer items wont equip when I try to weild them. This is what it says:
    Please help!
    Reply With Quote  
     

  2. #2  
    Registered Member Rylan's Avatar
    Join Date
    Jan 2013
    Posts
    60
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    Help!
    Reply With Quote  
     

  3. #3  
    Extreme Donator [PI] Some items wont equip (Bodies, Halos, ect.) Market Banned



    Join Date
    Dec 2010
    Age
    25
    Posts
    6,060
    Thanks given
    1,692
    Thanks received
    1,238
    Rep Power
    1765
    Do you have server sided support for the items?
    Reply With Quote  
     

  4. #4  
    Registered Member Rylan's Avatar
    Join Date
    Jan 2013
    Posts
    60
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    I'm not sure. I'm somewhat new to coding.
    Reply With Quote  
     

  5. #5 [PI] Some items wont equip (Bodies, Halos, ect.) 
    Registered Member
    Join Date
    Mar 2013
    Posts
    28
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Below:
    Code:
    } else {
    targetSlot = 3
    }
    In wearItem(int wearID, int slot)

    Add:

    Code:
    switch (wearID) {
    /*Hat:
    targetSlot = 0;
    
    Cape:
    targetSlot = 1;
    
    Amulet:
    targetSlot = 2;
    
    Weapons:
    targetSlot = 3;
    
    Body:
    targetSlot = 4;
    
    Shield:
    targetSlot = 5;
    
    Legs:
    targetSlot = 7;
    
    Gloves:
    targetSlot = 9;
    
    Boots:
    targetSlot = 10;
    
    Ring:
    targetSlot = 12;
    
    Arrows:
    targetSlot = 13;
    */
    
    				case ##:
    					targetSlot = ####;
    				break;
    Replace ## with your ItemID.
    Replace #### with the slot.

    Hope I helped.
    Reply With Quote  
     

  6. #6  
    Registered Member Rylan's Avatar
    Join Date
    Jan 2013
    Posts
    60
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    I'm still confused on where I should put that stuff.
    Reply With Quote  
     

  7. #7  
    Registered Member
    danimals br0's Avatar
    Join Date
    Aug 2010
    Posts
    885
    Thanks given
    64
    Thanks received
    94
    Rep Power
    109
    Quote Originally Posted by Rylan View Post
    I'm still confused on where I should put that stuff.
    post the wearItem method and the item id you want to wear and the item equipment slot id.
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Jul 2012
    Posts
    114
    Thanks given
    10
    Thanks received
    7
    Rep Power
    0
    Quote Originally Posted by The7thSanctum View Post
    Below:
    Code:
    } else {
    targetSlot = 3
    }
    In wearItem(int wearID, int slot)

    Add:

    Code:
    switch (wearID) {
    /*Hat:
    targetSlot = 0;
    
    Cape:
    targetSlot = 1;
    
    Amulet:
    targetSlot = 2;
    
    Weapons:
    targetSlot = 3;
    
    Body:
    targetSlot = 4;
    
    Shield:
    targetSlot = 5;
    
    Legs:
    targetSlot = 7;
    
    Gloves:
    targetSlot = 9;
    
    Boots:
    targetSlot = 10;
    
    Ring:
    targetSlot = 12;
    
    Arrows:
    targetSlot = 13;
    */
    
    				case ##:
    					targetSlot = ####;
    				break;
    Replace ## with your ItemID.
    Replace #### with the slot.

    Hope I helped.
    That a bit of a longer way to do it, works none the less. He explained it fairly well too though. Case #### is the actual item id number. Like whip = 4151
    The target Slot is the slot the item is to go in, Boots = slot 10.
    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] PKP Items Wont Sell
    By Shady in forum Help
    Replies: 9
    Last Post: 03-25-2011, 11:31 PM
  2. some items not equiping
    By Lord Stark in forum Help
    Replies: 1
    Last Post: 03-24-2011, 07:00 PM
  3. [PI] Item slot ( Equipment )
    By entrix in forum Help
    Replies: 8
    Last Post: 02-03-2011, 05:55 PM
  4. [PI] Adding items, need some help :( [PI]
    By Kickyamom in forum Help
    Replies: 9
    Last Post: 10-29-2010, 05:15 PM
  5. 508/525 Items Wont Equip
    By Mr Steve in forum Help
    Replies: 10
    Last Post: 10-03-2010, 01:45 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •