Thread: some items dont equip properly

Results 1 to 9 of 9
  1. #1 some items dont equip properly 
    Officially Running

    Mr Dream's Avatar
    Join Date
    Dec 2013
    Posts
    1,922
    Thanks given
    555
    Thanks received
    295
    Rep Power
    905
    hi even when i add for example "Pirate bandana" in my:
    public static boolean playerHats(int itemId) {
    String[] data = { "boater", "cowl", "peg", "Pirate bandana",
    It still equips in weapon slot & same thing for some robes such as "black skirt" and fremennik robe..
    Attached image
    Attached image
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    What item name did you assign to it inside your item config file?


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. #3  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Call hierarchy. It may be checking for weapons prior to checking for hats; perhaps the code for weapons returns so it never reaches the hats part and voila, goes in your hand.
    Attached image
    Reply With Quote  
     

  4. #4  
    Officially Running

    Mr Dream's Avatar
    Join Date
    Dec 2013
    Posts
    1,922
    Thanks given
    555
    Thanks received
    295
    Rep Power
    905
    Quote Originally Posted by arch337 View Post
    What item name did you assign to it inside your item config file?
    damn never thought of that it's called "pirate bandanna" in the config xd, ty..

    EDIT: however the fremennik robe still won't go to right spot, hmm...
    Attached image
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2015
    Posts
    147
    Thanks given
    27
    Thanks received
    12
    Rep Power
    0
    You need to make sure the item is in your Item.cfg file.
    Check your ItemAssistant, search for something similar to wearID or targetSlot, you will find something like this.

    Code:
    if (wearID == 20154) {
    		targetSlot = 7;
    		}
    If you cant figure it out, I might be able to help through team viewer.

    Also you need to make sure that the Client sided ItemDef has your bandana.

    Code:
    case xxxx:
    item.name = bandana;
    item.model = xxxx
    item. itemActions [1] = "wear";
    break;
    Reply With Quote  
     

  6. #6  
    Officially Running

    Mr Dream's Avatar
    Join Date
    Dec 2013
    Posts
    1,922
    Thanks given
    555
    Thanks received
    295
    Rep Power
    905
    Quote Originally Posted by slayterr View Post
    You need to make sure the item is in your Item.cfg file.
    Check your ItemAssistant, search for something similar to wearID or targetSlot, you will find something like this.

    Code:
    if (wearID == 20154) {
    		targetSlot = 7;
    		}
    If you cant figure it out, I might be able to help through team viewer.

    Also you need to make sure that the Client sided ItemDef has your bandana.

    Code:
    case xxxx:
    item.name = bandana;
    item.model = xxxx
    item. itemActions [1] = "wear";
    break;
    ok so i added the case 3793 which is the fremennik robe to the target slot = 4 but still goes to legs slot
    Attached image
    Attached image
    Reply With Quote  
     

  7. #7  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Frostydapure View Post
    ok so i added the case 3793 which is the fremennik robe to the target slot = 4 but still goes to legs slot
    Probably because of the same name of something you got inside legs. "Robe" could be robe bottom.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  8. #8  
    Officially Running

    Mr Dream's Avatar
    Join Date
    Dec 2013
    Posts
    1,922
    Thanks given
    555
    Thanks received
    295
    Rep Power
    905
    Quote Originally Posted by arch337 View Post
    Probably because of the same name of something you got inside legs. "Robe" could be robe bottom.
    got it lol

    also new problemo is some shirts and tops giving me this weird look even tho it's in the right slot
    Attached image
    Attached image
    Attached image
    Reply With Quote  
     

  9. #9  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Frostydapure View Post
    got it lol

    also new problemo is some shirts and tops giving me this weird look even tho it's in the right slot
    Attached image
    There is two type of body


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    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. Replies: 13
    Last Post: 08-08-2016, 11:53 PM
  2. Replies: 7
    Last Post: 08-07-2013, 06:53 AM
  3. some items not equiping
    By Lord Stark in forum Help
    Replies: 1
    Last Post: 03-24-2011, 07:00 PM
  4. Proper Item Switching (Equipment)
    By Sanity in forum Show-off
    Replies: 21
    Last Post: 10-23-2009, 06:44 AM
  5. Making Some Items Non-Dropable
    By Javotoshop in forum Tutorials
    Replies: 0
    Last Post: 06-07-2007, 01:14 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
  •