Thread: [Question]pi custom item equips in wrong spot[question]

Results 1 to 6 of 6
  1. #1 [Question]pi custom item equips in wrong spot[question] 
    Registered Member
    Join Date
    Jan 2011
    Posts
    52
    Thanks given
    7
    Thanks received
    4
    Rep Power
    17
    Ok so i added some customs to my pi all of them equip right except my barrows whip and my donator cape my barrows whip equips in the arrows spot and my donator cape equips in the weapon slot how can i fix?
    Reply With Quote  
     

  2. #2  
    The One And Only

    KaiserCo's Avatar
    Join Date
    Dec 2010
    Posts
    2,420
    Thanks given
    509
    Thanks received
    445
    Rep Power
    209
    add them in item.config are u using delta or PI?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2011
    Posts
    52
    Thanks given
    7
    Thanks received
    4
    Rep Power
    17
    Quote Originally Posted by Revain View Post
    add them in item.config are u using delta or PI?
    project insanity(pi)
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Banned

    Join Date
    Mar 2011
    Posts
    4,064
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    its because barrows whip has arrow in it which in item.java is technically supposed to go in arrow slot

    anyway id just recommend staying away from customs like that,but its just my opinion
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Apr 2011
    Posts
    13
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    go into your pi data files then click data again then use the nifty equipment editor its fool proof
    Reply With Quote  
     

  7. #6  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    Dear Rune-server Members: I know this was from a year ago but i fount this when i googled 'custom item equip in wrong spot' so i answered the quest for following member that google this question will find this thread with it's answer.

    The answer to this post:


    File: src\server\model\items\ItemAssistant.java

    Find:
    Code:
    if(Config.itemRequirements) {
    You will see something like this:
    Code:
    				if(Config.itemRequirements) {
    					if(targetSlot == 10 || targetSlot == 7 || targetSlot == 5 || targetSlot == 4 || targetSlot == 0 || targetSlot == 9 || targetSlot == 10) {
    						if(c.defenceLevelReq > 0) {
    							if(c.getPA().getLevelForXP(c.playerXP[1]) < c.defenceLevelReq) {
    								c.sendMessage("You need a defence level of "+c.defenceLevelReq+" to wear this item.");
    								canWearItem = false;
    							}
    						}
    Above it add this:

    Code:
    if (wearID == 12742 || wearID == 12743 || wearID == 12744 || wearID == 12745 || wearID == 12746 || wearID == 12747 || wearID == 12748){
    targetSlot = 1;
    }
    'trageslot = 1;' Targets the cape slot.
    Tutorial: [Only registered and activated users can see links. ].
    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. item in wrong equip spot.
    By Plazzy in forum Help
    Replies: 2
    Last Post: 04-03-2012, 09:17 PM
  2. [PI]Item wields in wrong spot.
    By iMario in forum Help
    Replies: 10
    Last Post: 03-27-2012, 07:48 AM
  3. Custom Crowns Question
    By |Austin| in forum Help
    Replies: 8
    Last Post: 10-21-2009, 08:52 AM
  4. Custom Emote Question.
    By discipl3 in forum Help
    Replies: 7
    Last Post: 06-02-2009, 02:32 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
  •